Phase 1-3: Add memory, skills, and improvement systems
- memory/: cross-session project memory with decisions, lessons, failures, architecture, and sessions categories. Each has format templates and lifecycle documentation. - skills/: 12 reusable specialized methodologies (tdd, systematic-debugging, architecture-design, code-review, security-review, repository-analysis, failure-analysis, refactoring, test-analysis, incident-investigation, browser-automation, research). Each has frontmatter and methodology sections. - improvements/: proposal-based improvement system requiring human approval. - scripts/memory-lifecycle.sh: deterministic memory operations (recall, store, list, search, sessions, cleanup). - scripts/test-memory-system.sh: 12 structural tests for all new systems. - orchestrator.md: added Memory Recall stage, Learning and Memory Storage stage, Improvement Proposals workflow, memory/skills rules, and 3 new actions (A23-A27) to the action catalog. Updated behavioral acceptance test and state separation model. - All 12 subagents: added Memory & Skills Awareness sections with recall and store instructions. - docs/AGENT_ARCHITECTURE.md: documented memory, skills, and improvements systems (sections 12-14). Updated action count (27), state model, and remaining weaknesses. - README.md: documented new systems, updated repository layout, added test-memory-system.sh documentation. All 39 tests pass (16 architecture + 12 memory + 11 bootstrap).
This commit is contained in:
@@ -86,6 +86,20 @@ Your primary evidence is the verdict: what you checked, what matched, what did n
|
||||
|
||||
Stop when your deliverable is complete and verified per your Completion Rule; escalate when the contract to verify against is missing or ambiguous.
|
||||
|
||||
## Memory & Skills Awareness
|
||||
|
||||
Before reviewing, check project memory for relevant context:
|
||||
- `scripts/memory-lifecycle.sh recall decisions <keywords>` — for scope/approval decisions
|
||||
- `scripts/memory-lifecycle.sh recall failures <keywords>` — for past review misses to watch for
|
||||
- `scripts/memory-lifecycle.sh recall lessons <keywords>` — for proven review approaches
|
||||
|
||||
After completing review, store durable findings:
|
||||
- Recurring review miss → `scripts/memory-lifecycle.sh store failures <file>`
|
||||
- Proven review technique → `scripts/memory-lifecycle.sh store lessons <file>`
|
||||
|
||||
Load relevant skills when your brief includes a skill path (e.g., `skills/code-review/SKILL.md`, `skills/security-review/SKILL.md`).
|
||||
Do NOT re-derive review checklists already documented in skills.
|
||||
|
||||
## Review Boundary
|
||||
|
||||
Your job is verification, but your sandbox permissions are writable. Use that only where this prompt permits:
|
||||
|
||||
Reference in New Issue
Block a user