Show HN: Writ – sub-ms rule retrieval and workflow enforcement for Claude Code
Category: devtools
Tags: ai-agents, rule-enforcement, static-analysis, plugin, claude-code
Score: 8.0/10 (Innovation: 8, Technical: 9, Documentation: 6, Utility: 7)
Writ is a Claude Code plugin that combines a multi-stage retrieval pipeline (BM25, vector similarity, graph traversal) for sub-millisecond rule selection with an enforcement system using bash hooks to gate tool calls and enforce static analysis. Its innovative combination of retrieval-augmented rule enforcement, state machine gating, and evolutionary rule proposal addresses a critical gap in AI-assisted coding workflows by ensuring agents follow defined rules and pass realistic checks.
Target audience: backend devs, devops, AI agent users
View on Hacker News