ritsu-version: 9.1.0 domain: fullstack host_profile: claude-code tech_fingerprints:
- bun
- typescript rules_overrides: disable: [] downgrade: [] lint_cmd: bun run --cwd runtime lint test_cmd: bun run --cwd runtime test
- Language: TypeScript
- Runtime: Bun 1.3+
- Core: MCP Server (bun:sqlite storage)
- Skills: Markdown-based protocol (8 stages)
- Tiered Delivery: Enabled (P0/P1/P2)
- Intent Routing: Enabled (8 skills: init, think, dev, review, hunt, augment, deploy, freestyle)
- Adaptive Memory: Ready (3-tier progressive disclosure)
- Policy Engine: 12 detectors / 21 anti-patterns
- Ctx Storage: .ritsu/ctx-YYYY-MM.jsonl
- Artifact Storage: .ritsu/
- Vector Store: .ritsu/vectors.db
When you act as an AI agent (e.g. Antigravity, Claude Code, Cursor) in this repository:
- DDD & Clean Architecture: Follow Clean Architecture (no reverse dependencies from Domain to Infrastructure/Application) and DDD principles (high module cohesion, low coupling, no micro-file sprawl).
- Auto Quality Gates: Before proposing any code changes or declaring a task complete, you MUST run
ritsu_run_quality_gates(or runbun run --cwd runtime test/ritsu check --stagedorritsud check [staged_files]in terminal) to check for tests, linting, and policy compliance. - Self-Correction: If any checks fail, you MUST NOT ask the user for help immediately. Enter a self-correction loop (up to 3 times) to fix the errors and re-run quality gates.
- Emit Progress Events: Keep the lifecycle synced by calling the
ritsu_emit_eventtool whenever you start, succeed, or fail a task step. - Trigger Loops: You can trigger a scheduled loop in the background or foreground using
ritsu loop trigger <loop-id>(e.g.test-augment,pr-review,think-refinement). - Design-Stage Think Loop & D2C Integration: Trigger the refinement loop (
ritsu loop trigger think-refinement) and ensure designs satisfy DA-1 to DA-7. If the task involves MasterGo design content, you MUST automatically run the D2C workflow to compiled2c-spec.jsonand integrate the specifications/layout nodes indesign-sheet.mdbefore transitioning to thedevstage.