Skip to content

8Dionysus/aoa-kag

aoa-kag

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.

Start here

Use the shortest route by need:

Route by need

  • registry and substrate projections: generated/kag_registry.json, generated/kag_registry.min.json, and manifests/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 matching manifests/*.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, and examples/*.example.json
  • current-state validation: python scripts/validate_kag.py, python scripts/validate_nested_agents.py, and python -m unittest discover -s tests -p 'test_*.py'
  • release-prep parity and targeted regeneration: python scripts/release_check.py, python scripts/generate_kag.py, and git status -sb

What aoa-kag owns

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

What it does not own

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.

Current public surfaces

The committed public surfaces group into these families:

  • registry and core substrate: generated/kag_registry.json and generated/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, and generated/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*.json and generated/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.

Go here when...

  • 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

Build and validate

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 -sb

release_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.py

If neighboring donor repositories are not checked out beside aoa-kag, set the relevant root variables before running the generators or validators:

  • AOA_TECHNIQUES_ROOT
  • AOA_PLAYBOOKS_ROOT
  • AOA_EVALS_ROOT
  • TREE_OF_SOPHIA_ROOT
  • AOA_MEMO_ROOT
  • AOA_AGENTS_ROOT

Current contour

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.

License

Apache-2.0

About

Knowledge substrate layer for AoA: provenance-aware derived structures, graph-ready projections, and framework-neutral retrieval surfaces built from source-first repositories.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages