aoa-kag is the derived knowledge substrate layer of the AoA ecosystem.
It exists to make knowledge-ready structures explicit, reviewable, and bounded. Source repositories keep authored meaning. aoa-kag keeps the derived substrate built from those truths.
Current release:
v0.2.2. See CHANGELOG for release notes.
Use the shortest route by need:
- role, model, and source-first posture: CHARTER, docs/KAG_MODEL, docs/BOUNDARIES, and docs/SOURCE_POLICY
- one current bounded consumer path: docs/CONSUMER_GUIDE, docs/TOS_ZARATHUSTRA_ROUTE_RETRIEVAL_PACK, and docs/FEDERATION_SPINE
- source-owned dependencies, bridge posture, and regrounding: docs/SOURCE_OWNED_EXPORT_DEPENDENCIES, docs/BRIDGE_CONTRACTS, docs/REASONING_HANDOFF, docs/RECURRENCE_REGROUNDING, docs/BOUNDARIES, and docs/SOURCE_POLICY
- maturity governance, owner wait states, and proof lanes: docs/KAG_MATURITY_GOVERNANCE, docs/KAG_OWNER_WAIT_STATES, docs/KAG_PROOF_EXPECTATIONS, and
generated/kag_maturity_governance.min.json - additive stress and quarantine doctrine: docs/KAG_STRESS_REGROUNDING, docs/KAG_PROJECTION_QUARANTINE, and docs/KAG_REGROUNDING_CHAOS_WAVE1.md
- federation and counterpart surfaces: docs/COUNTERPART_CONSUMER_CONTRACT, docs/COUNTERPART_FEDERATION_EXPOSURE_REVIEW, docs/FEDERATION_KAG_READINESS, docs/FEDERATION_SPINE, and docs/COUNTERPART_EDGE_CONTRACTS
- current derived pilots: docs/TECHNIQUE_LIFT_PACK, docs/TOS_TEXT_CHUNK_MAP, docs/TOS_RETRIEVAL_AXIS_PACK, docs/REASONING_HANDOFF_PACK, docs/TOS_ZARATHUSTRA_ROUTE_PACK, docs/TOS_ZARATHUSTRA_ROUTE_RETRIEVAL_PACK, docs/CROSS_SOURCE_NODE_PROJECTION, and docs/TOS_RAW_TABLE_INTAKE_STUB
- docs map: docs/README
- current direction: ROADMAP
- registry and substrate projections:
generated/kag_registry.json,generated/kag_registry.min.json, andmanifests/kag_registry.json - manifest-driven donor and ToS lift packs:
generated/technique_lift_pack*.json,generated/tos_text_chunk_map*.json,generated/tos_retrieval_axis_pack*.json,generated/tos_zarathustra_route_pack*.json,generated/tos_zarathustra_route_retrieval_pack*.json, and the matchingmanifests/*.json - maturity stop-rule and wait-state surface:
generated/kag_maturity_governance*.json,manifests/kag_maturity_governance.json, docs/KAG_MATURITY_GOVERNANCE, docs/KAG_OWNER_WAIT_STATES, and docs/KAG_PROOF_EXPECTATIONS - reasoning, return, and federation bridge surfaces:
generated/reasoning_handoff_pack*.json,generated/return_regrounding_pack*.json,generated/federation_spine*.json,generated/counterpart_federation_exposure_review*.json, and docs/FEDERATION_KAG_READINESS - additive projection-health and regrounding adjuncts:
schemas/projection_health_receipt_v1.json,schemas/regrounding_ticket_v1.json,examples/projection_health_receipt.example.json,examples/regrounding_ticket.example.json,examples/projection_health_receipt.retrieval-outage-honesty.example.json,examples/regrounding_ticket.retrieval-outage-honesty.example.json, docs/KAG_STRESS_REGROUNDING, docs/KAG_PROJECTION_QUARANTINE, and docs/KAG_REGROUNDING_CHAOS_WAVE1.md - via negativa pruning checklist: docs/VIA_NEGATIVA_CHECKLIST
- tiny consumer and bounded cross-source adjuncts:
generated/tiny_consumer_bundle*.json,generated/cross_source_node_projection*.json, andexamples/*.example.json - current-state validation:
python scripts/validate_kag.py,python scripts/validate_nested_agents.py, andpython -m unittest discover -s tests -p 'test_*.py' - release-prep parity and targeted regeneration:
python scripts/release_check.py,python scripts/generate_kag.py, andgit status -sb
This repository is the source of truth for:
- derived substrate structure
- provenance-aware lifted surfaces
- normalized node and edge views at the substrate layer
- retrieval-ready chunk, section, and route packs
- graph-friendly but bounded schemas and exports
- framework-neutral substrate for later downstream consumers
Do not treat this repository as the source of truth for:
- authored technique, skill, or eval meaning
- primary memory objects
- routing logic as such
- scenario composition
- Tree of Sophia source texts or canonical authored nodes
- giant framework-specific application code
aoa-kag is not a replacement for the source repositories it lifts from.
The committed public surfaces group into these families:
- registry and core substrate:
generated/kag_registry.jsonandgenerated/kag_registry.min.json - manifest-driven lift packs:
generated/technique_lift_pack*.json,manifests/technique_lift_pack.json, and docs/TECHNIQUE_LIFT_PACK.md - ToS-derived packs:
generated/tos_text_chunk_map*.json,generated/tos_retrieval_axis_pack*.json,generated/tos_zarathustra_route_pack*.json, andgenerated/tos_zarathustra_route_retrieval_pack*.json - maturity governance and stop-rule surface:
generated/kag_maturity_governance*.json,manifests/kag_maturity_governance.json, docs/KAG_MATURITY_GOVERNANCE.md, docs/KAG_OWNER_WAIT_STATES.md, and docs/KAG_PROOF_EXPECTATIONS.md - reasoning, return, and federation seams:
generated/reasoning_handoff_pack*.json,generated/return_regrounding_pack*.json,generated/federation_spine*.json, and the federation export / counterpart review families - additive stress and quarantine adjuncts:
schemas/projection_health_receipt_v1.json,schemas/regrounding_ticket_v1.json,examples/projection_health_receipt.example.json,examples/regrounding_ticket.example.json,examples/projection_health_receipt.retrieval-outage-honesty.example.json,examples/regrounding_ticket.retrieval-outage-honesty.example.json, docs/KAG_STRESS_REGROUNDING.md, docs/KAG_PROJECTION_QUARANTINE.md, and docs/KAG_REGROUNDING_CHAOS_WAVE1.md - tiny consumer and cross-source adjuncts:
generated/tiny_consumer_bundle*.jsonandgenerated/cross_source_node_projection*.json
Schemas, examples, and manifests alongside those families make the derived surfaces reviewable without moving authority out of the owning repositories.
- you need authored meaning for techniques, skills, evals, or source texts: go to the owning repository
- you need the ecosystem center and layer map:
Agents-of-Abyss - you need source-authored philosophy and canonical tree surfaces:
Tree-of-Sophia - you need navigation and dispatch rather than derived substrate semantics:
aoa-routing - you need explicit memory objects or recall posture:
aoa-memo
For a read-only current-state pass, run:
python scripts/validate_kag.py
python scripts/validate_nested_agents.py
python -m unittest discover -s tests -p 'test_*.py'For release-prep parity, run:
python scripts/release_check.py
git status -sbrelease_check.py is side-effectful because it regenerates KAG outputs before validating them.
If you need targeted regeneration and direct validation, run:
python scripts/generate_kag.py
python scripts/validate_kag.pyIf neighboring donor repositories are not checked out beside aoa-kag, set the relevant root variables before running the generators or validators:
AOA_TECHNIQUES_ROOTAOA_PLAYBOOKS_ROOTAOA_EVALS_ROOTTREE_OF_SOPHIA_ROOTAOA_MEMO_ROOTAOA_AGENTS_ROOT
aoa-kag remains intentionally bounded. The public baseline now includes manifest-driven lift packs, ToS-derived chunk and route packs, a multi-source reasoning handoff pack, a bounded recurrence regrounding pack, a maturity-governance stop-rule pack, a federation spine pilot, and one bounded cross-source projection without pretending the repository is already a full graph engine.
For Tree-of-Sophia, the live spine still starts from source-owned tiny-export posture. The downstream aoa-kag adjunct appears only after the source-owned tiny-entry handoff, so derived retrieval never silently replaces ToS authority.
aoa-memo also publishes a source-owned bridge-bearing donor export for readiness, and docs/MEMORY_READINESS_BOUNDARY.md is the memo-owned boundary for future durable-consequence, retention, and live-ledger pressure. The live spine intentionally stays narrower than that wider bridge horizon.
The current pause posture is explicit now: maintain and prove the existing AOA-K-* set, keep AOA-K-0008 contract-only, and wait for neighboring owner layers to publish stronger source-owned exports, contracts, or proof lanes before widening the substrate.
Apache-2.0