| name | chromatic-memory-registrar |
| description | Capture durable project memory after significant decisions, repo changes, PDR completions, migrations, agent dispatches, audits, or implementation cycles. Use when updating project state, decision registers, changelogs, memory logs, source-of-truth maps, or next actions across Claude, Codex, Cursor, Gemini, GitHub, and local repositories. |
| skill_api_version | 1 |
Chromatic Memory Registrar
Prevent loss of continuity across fast-moving, multi-system work by writing durable memory to the correct files rather than relying on chat history.
Source-of-truth hierarchy
When new information conflicts with existing records, resolve by priority:
- Explicit user instruction in current task
- Current repo source-of-truth docs (
CLAUDE.md, AGENTS.md, CHROMATIC_TREES.md)
- PDR decisions
- Project state files
- Agent logs and handoffs
- Chat summaries and inferred memory
Do not overwrite higher-priority sources silently. Create a contradiction entry and surface it.
Core procedure
- Identify the triggering event. What changed: a decision made, a repo migrated, a PDR completed, an agent dispatched, an audit finished?
- Classify the memory type. Match each piece of information to its correct output file:
- Architecture or workflow decisions →
DECISIONS.md
- Repo or system state →
PROJECT_STATE.md
- Completed work log →
CHANGELOG.md
- What to do next →
NEXT_ACTIONS.md
- Cross-agent continuity and source-of-truth pointers →
MEMORY_REGISTER.md
- Check for contradictions. Before writing, verify the new information is consistent with existing source-of-truth docs. If not, create a contradiction note and surface it to the user before proceeding.
- Write concisely and actionably. Each entry should enable a fresh agent to act correctly without needing the originating conversation.
- Label assumptions. Distinguish confirmed facts from inferred conclusions.
- Link sources. Include repo paths, PDR references, or file paths where evidence lives.
Output format
## Memory registration — [Event name]
### Decisions
- [Decision]: [Rationale] — Source: [file or PDR ref]
### Project state
- ...
### Changelog entry
- [date] [version] [change summary]
### Next actions
1. ...
### Contradictions (if any)
- New: ... conflicts with: [source] — Recommendation: [human decision needed / override with justification]
Guardrails
- Do not record uncertain inferences as durable facts; label them as assumptions.
- Do not overwrite human-authored policy without showing the change and getting confirmation.
- Do not store credentials, secrets, or tokens in memory files.
- Keep entries concise — future agents read these under context pressure; long entries reduce utility.
- Use
source-of-truth-audit first when multiple memory files appear inconsistent.
Related references
references/source-of-truth-rules.md
references/decision-log-template.md