feat(orchestration): add CLAUDE.md shared brain for parallel agent coordination

This commit is contained in:
rafia-10 2026-02-21 11:40:55 +03:00
parent c56db60ee8
commit 7a95cd8a57

20
.orchestration/CLAUDE.md Normal file
View file

@ -0,0 +1,20 @@
# CLAUDE.md
# Shared Brain for Roo Code Agent Sessions
## Project: AI-Native IDE Week 1
### Lessons Learned
- PreHook enforces scope and intent validation.
- PostHook logs AST diffs, content hashes, and mutation class.
- Session IDs and contributor model must be tied dynamically to each agent instance.
- Active intents are required for agent execution; context injection is mandatory.
- Parallel agents must respect content hashes to prevent stale file overwrites.
### Architectural Notes
- Hooks isolated and composable.
- agent_trace.jsonl stores intent → file → hash → mutation_class.
- Future: integrate real Git SHA for vcs.revision_id.
- Future: append lessons automatically when linter/test fails.