aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
aien-architecture-mv / docs / ecosystem303 / FORMAT.md
| 1 | # EC303 capability inventory v1 |
| 2 | |
| 3 | Finite workstream under architecture issues 301, 302 and 303. NOT A MASTER PLAN. |
| 4 | The existing execution plan, roadmap, receipt verifier and release desk retain authority. |
| 5 | |
| 6 | `catalogue.ec303` is consumed by the handwritten seeded Omega structural check. |
| 7 | It begins with unsigned decimal tokens `303 1 40`, then forty records of twenty |
| 8 | unsigned decimal fields. ASCII space, tab, CR and LF separate tokens. There are |
| 9 | no comments, signs, hex literals, trailing tokens or implicit missing values. |
| 10 | Input must be shorter than 65536 bytes. Each decimal is at most 20 digits and |
| 11 | must fit u64. Records may be reordered; family IDs must occur exactly once. |
| 12 | |
| 13 | | Field | Meaning | |
| 14 | |---|---| |
| 15 | | 0 | Family ID, 1 through 40, fixed by families.tsv | |
| 16 | | 1 | Owning repository: 1 Omega, 2 aien-train, 3 CUDApp, 4 architecture | |
| 17 | | 2 | Implementation issue number in that repository | |
| 18 | | 3 | Accountable ledger owner number; routing responsibility is not an active executor | |
| 19 | | 4 | Whole-family state: 0 pending, 1 implemented, 2 verified, 3 integrated, 4 retired | |
| 20 | | 5 | Evidence environment: 0 absent, 1 host, 2 simulator, 3 physical | |
| 21 | | 6 | Required evidence bits: numerical oracle 1, model/config 2, physical 4 | |
| 22 | | 7 | Dependency bitset: bit (family ID minus one); zero means no dependencies | |
| 23 | | 8..11 | Reference IDs for exact source, seed, binary and independent review | |
| 24 | | 12..17 | Reference IDs for consumer, deletion, dependency audit, model/config, compiled controls and numerical oracle | |
| 25 | | 18 | Independent reviewer ledger number, distinct from field 3 | |
| 26 | | 19 | Reserved zero | |
| 27 | |
| 28 | Reference IDs are pointers, not hashes or evidence. Nonzero IDs must be resolved |
| 29 | by the existing release reviewer against immutable evidence and actual artifacts. |
| 30 | This check validates structure and necessary conditions only. It does not access |
| 31 | GitHub, resolve reference IDs, authenticate evidence, verify issue assignments, |
| 32 | inspect dependencies on disk, execute a model or authorize a release. A fabricated |
| 33 | nonzero reference can pass structure; the existing evidence verifier must reject it. |
| 34 | The success string explicitly states this limit. |
| 35 | |
| 36 | The v1 denominator is forty **capability families**, not forty APIs and not a |
| 37 | claim that all APIs are inventoried. Expanding each family's operator/API and |
| 38 | actual-consumer denominator remains architecture301 work. Unknown source paths, |
| 39 | references and dependencies remain visible in families.tsv and BACKLOG.md. |
| 40 | All forty whole-family rows are pending. Partial implementations have separate |
| 41 | source-backed notes and cannot advance an entire family. |
| 42 | |
| 43 | Rules enforced: exact version and denominator; unique in-range IDs; nonzero issue |
| 44 | and owner; bounded state/environment; mandatory per-family numerical/model/physical |
| 45 | requirements cannot be erased; bounded non-self dependencies; cycle refusal even |
| 46 | for pending rows; source/seed references before implementation; binary/review, |
| 47 | independent reviewer and compiled controls before verification; model/oracle/physical |
| 48 | evidence when required; consumer and dependency audit before integration; deletion |
| 49 | before retirement; every transitive dependency integrated before a consumer is |
| 50 | integrated or retired. The checker does not treat simulated results as physical. |
| 51 | |
| 52 | Exit 0 means STRUCTURE_OK only. Core refusal codes 1..19 are returned as exits |
| 53 | 31..49 by the CLI. Transport refusals: 20 oversize, 21 input error, 22 malformed |
| 54 | tokens/header/trailing bytes, 23 output error. The pure core returns 0 or the |
| 55 | refusal code and can be linked by concatenating the .om source with a consumer. |
| 56 | |
| 57 | Build with the independently reconstructed compiler191b776e, using its exact |
| 58 | source lock in SOURCES.md. These are existing Linux command-line build operations, |
| 59 | not a claim that the outer build/CI orchestration has already been retired: |
| 60 | |
| 61 | ```sh |
| 62 | cat tools/ecosystem303/catalogue.om tools/ecosystem303/cli.om > /tmp/ec303-cli.om |
| 63 | "$OMC" < /tmp/ec303-cli.om > /tmp/ec303 |
| 64 | chmod +x /tmp/ec303 |
| 65 | /tmp/ec303 < docs/ecosystem303/catalogue.ec303 |
| 66 | cat tools/ecosystem303/catalogue.om tests/ecosystem303/catalogue-test.om > /tmp/ec303-test.om |
| 67 | "$OMC" < /tmp/ec303-test.om > /tmp/ec303-test |
| 68 | chmod +x /tmp/ec303-test |
| 69 | /tmp/ec303-test |
| 70 | ``` |
| 71 | |
| 72 | Use unique private scratch paths during concurrent runs. No installed tool or |
| 73 | existing CI gate is changed by this candidate. |