Skip to content

8Dionysus/aoa-memo

aoa-memo

aoa-memo is the memory and recall layer of the AoA ecosystem.

It exists to make memory explicit, reviewable, and bounded. Memory matters here, but memory is not proof.

Current release: v0.2.1. See CHANGELOG for release notes.

Start here

Use the shortest route by need:

Public recall entrypoints

For concrete recall contracts, start with:

  • examples/recall_contract.working.json
  • examples/recall_contract.semantic.json
  • examples/recall_contract.lineage.json
  • examples/recall_contract.router.semantic.json
  • examples/recall_contract.router.lineage.json
  • examples/recall_contract.object.working.json
  • examples/recall_contract.object.semantic.json
  • examples/recall_contract.object.lineage.json
  • examples/recall_contract.object.working.return.json

The doctrine-first and router-facing recall contracts remain stable. The object-facing family is the parallel entrypoint over curated memory objects, and it follows the same inspect -> capsule -> expand join rule.

If you are editing inside schemas/, examples/, generated/, or scripts/, also follow the nested AGENTS.md in that directory.

Route by need

  • doctrine and object reader surfaces: generated/memory_catalog.json, generated/memory_catalog.min.json, generated/memory_capsules.json, generated/memory_sections.full.json, generated/memory_object_catalog.json, generated/memory_object_catalog.min.json, generated/memory_object_capsules.json, and generated/memory_object_sections.full.json
  • recall contracts and memory-object examples: examples/recall_contract.*.json, examples/core_memory_contract.example.json, examples/checkpoint_to_memory_contract.example.json, and examples/memory_object_surface_manifest.json
  • failure-lesson doctrine and contract surfaces: docs/FAILURE_LESSON_MEMORY, docs/FAILURE_LESSON_RECALL, docs/DRIFT_REVIEW_LESSON_MEMORY, schemas/failure_lesson_memory_v1.json, examples/failure_lesson_memory.example.json, examples/failure_lesson_memory.lineage.example.json, examples/failure_lesson_memory.rollout.example.json, and examples/failure_lesson_memory.drift_review.example.json
  • recovery-pattern doctrine, adjunct contract, and native pattern surfaces: docs/RECOVERY_PATTERN_MEMORY, docs/RECOVERY_PATTERN_RECALL, docs/ROLLBACK_FOLLOWTHROUGH_PATTERN, schemas/recovery_pattern_memory_v1.json, examples/recovery_pattern_memory.example.json, examples/recovery_pattern_memory.lineage.example.json, examples/recovery_pattern_memory.rollout.example.json, examples/recovery_pattern_memory.rollback_followthrough.example.json, examples/recovery_pattern_memory.component_refresh.example.json, and examples/pattern.antifragility-stress-recovery-window.example.json
  • via negativa pruning checklist: docs/VIA_NEGATIVA_CHECKLIST
  • writeback, intake, runtime support, and landing governance surfaces: generated/runtime_writeback_targets.min.json, generated/runtime_writeback_intake.min.json, generated/runtime_writeback_governance.min.json, docs/RUNTIME_WRITEBACK_SEAM, docs/GROWTH_REFINERY_WRITEBACK, docs/QUEST_CHRONICLE_WRITEBACK, schemas/quest_chronicle.schema.json, and examples/quest_chronicle.example.json
  • memory readiness boundary: docs/MEMORY_READINESS_BOUNDARY
  • owner-local live receipt publication for closeout/stats integration: scripts/publish_live_receipts.py and .aoa/live_receipts/memo-writeback-receipts.jsonl
  • bridge, export, and guardrail surfaces: generated/kag_export.min.json, docs/KAG_SOURCE_EXPORT, docs/KAG_TOS_BRIDGE_CONTRACT, and docs/MEMORY_EVAL_GUARDRAILS
  • schemas and local validation: schemas/, python scripts/validate_memo.py, python scripts/validate_memory_surfaces.py, python scripts/validate_memory_object_surfaces.py, python scripts/validate_lifecycle_audit_examples.py, and python -m pytest -q tests

What aoa-memo owns

This repository is the source of truth for:

  • memory objects and recall surfaces
  • provenance threads and trace-bearing memory support surfaces
  • temporal relevance, salience, and temperature posture
  • memory-oriented retrieval contracts
  • the boundary between memory, proof, execution, and routing

What it does not own

Do not treat this repository as the main home for:

  • reusable techniques in aoa-techniques
  • bounded skill workflows in aoa-skills
  • eval bundles or verdict logic in aoa-evals
  • navigation and dispatch logic in aoa-routing
  • role contracts in aoa-agents
  • scenario composition in aoa-playbooks
  • derived knowledge substrate semantics in aoa-kag

Memory is valuable. It is not the same thing as source meaning, workflow meaning, or proof.

Current public surfaces

The committed machine-readable surfaces group into four families:

  • root registry: generated/memo_registry.min.json
  • doctrine family: generated/memory_catalog.json, generated/memory_catalog.min.json, generated/memory_capsules.json, and generated/memory_sections.full.json
  • object family: generated/memory_object_catalog.json, generated/memory_object_catalog.min.json, generated/memory_object_capsules.json, and generated/memory_object_sections.full.json
  • source-owned memo donor export: generated/kag_export.min.json

provenance_thread, witness_trace, inquiry_checkpoint, and checkpoint-to-memory contract surfaces remain support seams in this split, not a third generated memory-object family.

Go here when...

Build and validate

The canonical validator is:

python scripts/validate_memo.py

For a read-only current-state validation pass, run:

python scripts/validate_memo.py
python scripts/validate_memory_surfaces.py
python scripts/validate_memory_object_surfaces.py
python scripts/validate_lifecycle_audit_examples.py
python -m pytest -q tests

validate_memo.py also checks the local guidance surfaces in schemas/, examples/, generated/, and scripts/.

If you changed generator-backed surfaces, regenerate only the touched families first:

python scripts/generate_memory_object_surfaces.py
python scripts/generate_kag_export.py
python scripts/generate_runtime_writeback_targets.py
python scripts/generate_runtime_writeback_intake.py
python scripts/generate_runtime_writeback_governance.py
python scripts/generate_phase_alpha_writeback_map.py

Then rerun the read-only validation pass above and inspect git status -sb before opening a PR.

Current contour

aoa-memo is in contract hardening. The public baseline now includes doctrine surfaces, object-facing surfaces, a narrow source-owned memo KAG export, writeback seams, bridge/export contracts, and memo-side guardrail handoff surfaces without turning the repository into runtime infrastructure or a graph platform.

The current downstream guardrail pilot stays intentionally narrow: recall precision, provenance fidelity, and staleness. That keeps the memo layer explicit and reviewable without pretending it is already full proof doctrine.

High-pressure memory readiness now has an owner-local boundary map. Future durable-consequence, delta, retention, and recall pressure should route through existing memo objects first and then out to aoa-evals, aoa-kag, aoa-routing, aoa-agents, or abyss-stack when proof, graph lift, navigation, role authority, or runtime retention is the real owner concern.

Antifragility wave two stays inside that boundary. Failure lessons are bounded memory context for later recall and operator posture, not a new proof family and not a live runtime writeback lane.

Antifragility wave four extends that same posture to reviewed recovery patterns. Memo can preserve repeated-window recovery context and native pattern recall surfaces, but it still stays downstream from source-owned receipts, eval proof, and derived stats summaries.

License

Apache-2.0

About

Memory and recall layer for AoA: explicit memory objects, provenance threads, temporal relevance, salience, and reviewable recall contracts.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages