{"slug":"writ","title":"writ","description":"Hybrid RAG rule retrieval and workflow enforcement for Claude Code. A five-stage pipeline (BM25 + vector + graph traversal + two-pass ranking) retrieves the right coding rules for each task in under 1ms from a Neo4j knowledge graph,.\n\n726x context reduction vs loading a full rulebook at 10K rules. A mode and gate state machine enforces workflow discipline at the tool-call boundary:\n- writes are blocked until plans and tests are approved.\n- Ships with 276 rules across 12 domains (Security, Clean Code, DRY, SOLID, Architecture, Testing, Error Handling, Performance, Scaling, API Design, Process, Documentation).\n- AI agents can propose new rules through a structural gate; frequency-driven graduation and human review control what stays.","developer":null,"category":null,"reported_installs":null,"active":true,"first_seen_at":"2026-10-03T22:13:33.942Z","last_seen_at":"2026-10-13T18:00:00.395Z","last_changed_at":"2026-10-03T22:13:33.942Z","platform":"claude","sources":["Community"],"works_with":["Claude Code"],"marketplace_url":null,"repository_url":"https://github.com/infinri/Writ.git","web_data":{},"github_data":{},"catalog_sources":{"community":[{"name":"writ","source":{"sha":"d3c33d3e35adc30dc4448d0829801f5a8a9138da","url":"https://github.com/infinri/Writ.git","source":"url"},"homepage":"https://github.com/infinri/Writ","description":"Hybrid RAG rule retrieval and workflow enforcement for Claude Code. A five-stage pipeline (BM25 + vector + graph traversal + two-pass ranking) retrieves the right coding rules for each task in under 1ms from a Neo4j knowledge graph,.\n\n726x context reduction vs loading a full rulebook at 10K rules. A mode and gate state machine enforces workflow discipline at the tool-call boundary:\n- writes are blocked until plans and tests are approved.\n- Ships with 276 rules across 12 domains (Security, Clean Code, DRY, SOLID, Architecture, Testing, Error Handling, Performance, Scaling, API Design, Process, Documentation).\n- AI agents can propose new rules through a structural gate; frequency-driven graduation and human review control what stays."}]}}