A nightly cron job that reconciles an agent's constitutional memory (memory.md) against
its evolving knowledge graph (Myelin).
This is "Approach A" in the Procedural Memory Graduation design — external reconciliation. It works, but it curates rather than discovers. The emergent graduation mechanism (Approach B) would complement this by auto-promoting stable graph knowledge.
┌─────────────┐ ┌──────────────┐ ┌──────────────────┐
│ Myelin Graph │────▶│ Prefrontal │────▶│ memory.md │
│ (evolving) │ │ Curator │ │ (constitution) │
└─────────────┘ │ (LLM) │ └──────────────────┘
└──────┬───────┘
│
▼
┌──────────────┐
│ amendment- │
│ log.md │
└──────────────┘
- Cron fires nightly at 11 PM ET (
prefrontal-cron-job.json) - Curator reads the constitution + rules + myelin graph state
- Drift analysis — looks for additions, updates, removals
- Surgical edits if needed; silent no-op if not (most runs)
- Amendment log traces every change back to source graph nodes
| File | Purpose |
|---|---|
prompt.md |
The curator's instructions — what to read, how to analyze, when to change |
memory.md |
The constitutional file it operates on (example with real content) |
rules.md |
Operational rules — reviewed but never modified by the curator |
amendment-log.md |
Audit trail of all constitutional changes (with sample entries) |
prefrontal-cron-job.json |
Cron job definition (Copilot CLI cron extension format) |
- Conservative by default — when in doubt, don't change it
- Silent when clean — no output on no-change runs
- Attribution required — every amendment traces to source graph nodes
- Surgical edits — change specific lines, never rewrite the whole file
- No intelligence in the constitution — signals and observations stay in the graph
This maps to the cerebellum's role during sleep — continuously refining internal models and validating them against incoming data. The constitution is the procedural layer; the curator keeps it honest.
See the Procedural Memory Graduation design doc for how this evolves into emergent graduation (Approach C: hybrid).