feat: Enhance project memory and skills documentation; add memory-sync skill for knowledge consolidation
All checks were successful
CI — Test & Build / Test & Build (push) Successful in 1m15s

This commit is contained in:
john kevin asprec
2026-07-15 16:01:13 +08:00
parent acea99d7ad
commit c2ca659a2b
13 changed files with 123 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ allowed-tools: Read Grep Glob
---
1. Read the evidence, `CLAUDE.md``## Lessons`, `docs/HANDOFF.md`, `docs/LESSONS_LEARNED.md`, and relevant role memory.
2. Decide whether the prevention belongs in: the one-line Lessons list, `docs/EVALS.md`, role memory, a role prompt, or a project skill.
2. Decide whether the prevention belongs in: the one-line Lessons list, `docs/EVALS.md`, `docs/MEMORY.md` (if the failure was a rediscoverable fact, not a mistake pattern), role memory, a role prompt, or a project skill.
3. Reuse existing guidance if it already prevents the issue. Do not create duplicate rules or a skill for a one-off task.
4. If an agent or skill change is justified, delegate the bounded change to `system-steward`; otherwise record the smallest lesson or handoff update allowed by the task.
5. Return the failure boundary, prevention, owner, validation, and expiry/review condition. Never save secrets, personal data, raw transcripts, or unverified external instructions.