aoa-stats is the central statistical measurability organ of OS Abyss. It
defines shared statistical compatibility, federates owner-local root stats/
ports, and turns bounded source-owned evidence into deterministic read models.
Those models help humans and tools see populations and movement; they do not
become workflow, proof, route, memory, KAG, runtime, identity, or owner truth.
Current release:
v0.2.0. See CHANGELOG for release notes.
AGENTS.md— operating law and route boundariesDESIGN.md— durable source/mechanics architecturestats/README.md— authored stats source homemechanics/README.md— operation and payload mapskills/README.md— admitted owner-local callable proceduredocs/BOUNDARIES.md— authority stop-linesdocs/ARCHITECTURE.md— derived-view layersROADMAP.mdandREADME.md#current-v0-surface— current contourdocs/decisions/— durable rationale, not statusVALIDATION.md— on-demand focused and full checks
| Concern | Authoritative surface | Weaker companions |
|---|---|---|
| shared measurement and outcome-observation grammar | stats/measurement-contract/ |
pure implementation, local packets, C10 producer adapters, MCP representation |
| local-port compatibility and owner coverage | stats/federation/ |
workspace scans and consumer caches |
| owner-local metric meaning | each owner's root stats/port.manifest.json |
central inventory and cross-repo views |
| receipt admission | stats/intake-contract/ and schemas/stats-event-envelope.schema.json |
examples, live registry, generated summaries |
| read-model lifecycle and meaning | stats/read-models/{active,deferred,retired}/*.profile.json |
public catalog, generated output, MCP projection |
| non-catalog stats contracts | stats/operation-contracts/active/*.operation.json |
part-local payload and root compatibility routes |
| operation and focused-validation ownership | mechanics/topology.json and its named package or part routes |
root compatibility routes |
| repository callable procedure | skills/aoa-stats/SKILL.md and skills/port.manifest.json |
managed OS user-profile copy |
| executable measurement semantics | stats/measurement-contract/ as source, src/aoa_stats_builder/measurement.py and src/aoa_stats_builder/outcome.py as pure implementations |
validators and access adapters |
| stats read contract | stats/surface-catalog/CODEX_MCP.md |
stack-owned aoa-stats-mcp implementation and project registration |
| public contracts | catalog schemas under schemas/ |
examples and docs |
| public derived output | generated/*.min.json |
KAG indexes and consumer caches |
| local live output admission | stats/read-models/active/*.profile.json#live_state_capable |
state/generated/, live catalog, watcher output |
| current operations | nearest mechanic part | compatibility docs and root launchers |
Generated, compact, KAG, MCP, and installed surfaces remain subordinate to their authored source and named owner inputs.
The checked source home carries the shared measurement grammar, local-port
federation contract and owner inventory, receipt admission, authored read-model
and operation contracts, deterministic projection, stable public schemas, and
read-only catalog access. Exact lifecycle state comes from the profiles under
stats/read-models/; non-catalog maturity comes from
stats/operation-contracts/; the compact public
projection is
generated/summary_surface_catalog.min.json.
The root is intentionally narrow:
schemas/— stable catalog and receipt contractsgenerated/— committed public read modelsscripts/— public, compatibility, and repo-wide commandsskills/— one admitted owner-local callable bundle and its port manifesttests/— repository and public-contract checksdocs/— repository-wide architecture, boundaries, decisions, release guidance, and historyexamples/codex_plane_deployment_summary.example.json— retained external compatibility fixturemanifests/artifact_bundles/— public summary-catalog bundle
Operation-owned config, docs, examples, supporting schemas, manifests,
systemd templates, builders, validators, and focused tests live under their
mechanic parts. scripts/validate_mechanics_topology.py enforces this
placement contract. A focused test shared by several parts may live at the
mechanic-package level only when it constrains one shared importable core and
that package payload root is declared in mechanics/topology.json. Its single
package VALIDATION.md owner must be declared separately by the exact
package_validation_surface field; an undeclared package procedure is not an
owner.
The operation route starts at mechanics/README.md; its
machine-readable inventory and source-family crosswalk live in
mechanics/topology.json. The root README does not
replay that changing part inventory.
Use the on-demand checks in VALIDATION.md, then follow the
nearest changed family's AGENTS.md and topology-declared package or part
VALIDATION.md.
Script-specific working guidance stays in
scripts/AGENTS.md.
For registered owner-local feeds and watcher use, follow the
live-receipt-refresh operator guide
and its adjacent
VALIDATION.md.
The active registry and watcher templates live in
mechanics/recurrence/parts/live-receipt-refresh/. Local refresh writes under
ignored state/; committed public output stays under generated/. Local live
materialization includes only active profiles with live_state_capable: true,
and its catalog lists only outputs actually materialized. Reference-only
profiles remain in the committed catalog and retired profiles remain explicit
stale-cleanup inputs. The authored profiles and indexed decisions own the exact
current admission and lifecycle rationale.
For read-only MCP use, follow
stats/surface-catalog/CODEX_MCP.md.
The stack-owned aoa-stats-mcp is the single MCP access implementation. The
statistical core and its direct packet-read contract do not depend on MCP
runtime.
- Source repositories own payload meaning and current domain truth.
aoa-evalsowns bounded proof and verdict interpretation.aoa-statsowns shared statistical compatibility, deterministic derivation, and the shape of its read models; local owners retain metric meaning.- C10 outcome receipts remain content-minimized owner observations; they grant no causal, semantic, effect, or policy-training authority.
- Missing, stale, rejected, or unregistered evidence stays visible; it is not converted into success or zero.
- A count, trend, or window cannot by itself prove mastery, intent, causality, self-agency, or owner health.
Use CONTRIBUTING.md,
docs/RELEASING.md, and
CHANGELOG.md. Release commands stay in the release guide;
the normal repository gate stays in VALIDATION.md.