1.4 KiB
1.4 KiB
Memory Bank Operating Protocol
Purpose
Capture durable engineering knowledge for PEDW FrontEnd so AI agents and humans make consistent, safe decisions over time.
When to Update
Update memory-bank entries when any of the following occur:
- A non-trivial architectural or implementation decision is made.
- A recurring pattern is introduced or standardized.
- A pitfall/incident/root cause is discovered.
- A release introduces meaningful behavior/risk changes.
- Open questions block safe delivery.
Who Updates
- AI agent: must add or amend entries for non-trivial changes completed during a task.
- Human engineer/reviewer: validates or amends entries during PR review.
- Tech lead/owner: resolves open questions and marks decisions as accepted/superseded.
Required Metadata (for every new entry)
date:YYYY-MM-DDauthor:agent name or personscope:files/routes/features affectedtype:decision | pattern | pitfall | change | question | glossaryrationale:why this mattersimpact:user/system/security/i18n/a11y implicationsstatus:proposed | accepted | superseded | open | resolved
Entry Quality Rules
- Keep entries concise and specific to this repository.
- Link to concrete files/paths where possible.
- Do not include secrets, tokens, personal data, or sensitive payload examples.
- If uncertain, record assumptions explicitly and add to
open-questions.md.