feat: mandate real-time auto-documentation of project memory updates across all interaction turns

This commit is contained in:
2026-04-30 15:05:49 -06:00
parent 5ceb3ec42e
commit 4e8c018f83
2 changed files with 15 additions and 7 deletions

View File

@@ -13,9 +13,9 @@ Make workspace memory maintenance part of the agent's normal job, not a separate
---
## Default Agent Behavior
## Default Agent Behavior (Real-Time Auto-Documentation)
For any meaningful prompt, the agent should decide whether the interaction changes project memory.
For EVERY meaningful prompt, the agent MUST execute a real-time auto-documentation loop. It is not an optional workflow; it is the core of the agent's job.
This applies to:
@@ -27,7 +27,7 @@ This applies to:
- debugging discussions
- corrections to previous understanding
The agent should not wait for a separate promotion command when the right update is already clear.
The agent MUST NOT wait for a separate promotion command. The agent MUST proactively use file editing tools to update `project-knowledge/` (including 01-current, 02-work-items, 03-context, 04-people, 06-daily) within the SAME conversational turn if new information is detected or if prior context becomes stale.
- When editing `project-knowledge/`, write as a human engineer maintaining shared project documentation.
- Keep agent-operating logic out of `project-knowledge/`; store that logic in prompts, commands, skills, agents, or `agent-memory/`.