-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Context
Part of the CLAUDE.md cross-repo DRY refactor (RFC-001) tracked in cybermonkey/prompts#564.
Artemis currently has a 919-line monolithic CLAUDE.md with governance contracts (testing, security, workflow, git rules, coordination) copy-pasted inline. This violates RFC-001's progressive disclosure architecture and makes governance updates a manual multi-repo operation.
Goal
Replace with a thin proxy (~60 lines) that:
- Imports
GOVERNANCE-SUMMARY.mdas the always-loaded compact ruleset (~65 rules) - References full contracts via
@third_party/prompts/CONTRACT.mdimports - Retains only artemis-specific context (bug bounty automation, Go toolchain, worker architecture, commands)
Work
-
Add
third_party/promptsgit submodule:git submodule add ssh://git@vhost7:9001/cybermonkey/prompts.git third_party/prompts
-
Write thin
CLAUDE.md(~60 lines) containing:- Project purpose (bug bounty automation, distributed scanning, Go)
- Commands (build, test, lint — from Makefile)
- Governing contracts table with
@third_party/prompts/imports - Artemis-specific approach (human-centric, evidence-based, worker architecture)
- Cross-repo work section
- Testing:
@third_party/prompts/TESTING.md+@third_party/prompts/TESTING-GO.md
-
Once
cybermonkey/prompts#562merges, add:Generic anti-patterns (cross-repo): @third_party/prompts/ANTI-PATTERNS.md
Pattern
Same pattern applied to hecate, hera, helen. See:
- hecate:
refactor/2374-claude-md-factoring - hera:
refactor/7-claude-md-factoring - helen:
refactor/14-claude-md-factoring
Branch
refactor/<this-issue-number>-claude-md-factoring
References
- RFC-001:
third_party/prompts/docs/rfcs/RFC-001-governance-prompt-architecture.md(once submodule is added) - Tracking issue:
cybermonkey/prompts#564 - ANTI-PATTERNS.md blocker:
cybermonkey/prompts#562
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels