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 / tools / zero-legacy / ledgers / portfolio-20261107 / README.md
| 1 | # Portfolio source, ELF and process closure snapshot, 2026-11-07 (DRA-178) |
| 2 | |
| 3 | Observed 2026-11-07 on the DGX Spark host (Linux AArch64) with omc `734f0a39` (this tool's |
| 4 | `omega.pin`): `closure` sha256 `19aa7bd8…752a`, `elfclose` `9026b0e8…0f44e`. This is a dated |
| 5 | inventory, not a qualification and not a migration verdict. It replaces nothing in #300 or in |
| 6 | `../aien-serve-http-bin-19173f9e.tsv`; those records stay as they were. |
| 7 | |
| 8 | ## What was scanned |
| 9 | |
| 10 | | Set | Repositories | How | |
| 11 | | --- | --- | --- | |
| 12 | | aien-dev public, not forks | 79 (63 active, 16 archived) | `portfolio.sh list.tsv OUT ZLBUILD`: each at the default-branch head in `list.tsv`, depth-1 fetch, `closure` (transitional mode) over every tracked file, `elfclose elf` over every file closure calls `ELF` | |
| 13 | | aien-dev public forks | 11 | not scanned: upstream code, not first-party (`forks.tsv`) | |
| 14 | | aien-dev private | 17 | scanned the same way on the host; results are not published here (private names and contents stay out of public files) | |
| 15 | |
| 16 | 79 + 11 + 17 = 107, the DRA-161 repository count. `summary.tsv` has one row per scanned public |
| 17 | repository: commit, archived flag, the closure count of every category, `OUTSTANDING` and `UNKNOWN` |
| 18 | as closure defines them, and the elfclose verdict counts of committed ELF files. |
| 19 | `elf-committed.tsv` is every committed ELF file with its elfclose row. |
| 20 | |
| 21 | Reproducibility: a second, independent run of `portfolio.sh` over six of the repositories |
| 22 | (CUDApp, aien-sovereign-core-mv, physics-mv, atlas, spark-connector, aien-architecture-mv) into a |
| 23 | fresh directory gave byte-identical summary rows, sorted-identical closure rows and identical |
| 24 | elfclose rows. The full 79-repository run took one pass; it was not repeated. |
| 25 | |
| 26 | ## Totals (public, scanned) |
| 27 | |
| 28 | | | Repos | Files | OM | C_H | RUST | PYTHON | SHELL | OSC | HEXASM | MAKE | HIDDEN | WRAPPER | FOREIGN | OUTSTANDING | UNKNOWN | |
| 29 | | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | |
| 30 | | active | 63 | 69,453 | 3,473 | 2,573 | 3,244 | 808 | 1,441 | 490 | 137 | 157 | 218 | 36 | 195 | 9,299 | 27,406 | |
| 31 | | archived | 16 | 842 | 0 | 49 | 71 | 157 | 3 | 0 | 0 | 2 | 30 | 0 | 10 | 322 | 212 | |
| 32 | |
| 33 | `UNKNOWN` is mostly `OTHER` (26,958 active files with a suffix closure has no rule for, much of it |
| 34 | evidence data) plus committed ELF and archive files that no manifest declares. Without per-repository |
| 35 | manifests these are open rows, not zero; writing the manifests belongs to each repository's owner. |
| 36 | File counts are per tracked file, so they say nothing about how much of that code is built, |
| 37 | shipped or run. |
| 38 | |
| 39 | ## Owners: reconciling the #300 ledger with this snapshot (`owners.tsv`) |
| 40 | |
| 41 | #300 (2026-10-23/24) bound migration work to 18 owner issues across 15 public repositories here |
| 42 | (plus one private repository and one site that lives outside this set). Against the |
| 43 | 63 active scanned repositories: |
| 44 | |
| 45 | | Group | Repos | OUTSTANDING rows | |
| 46 | | --- | ---: | ---: | |
| 47 | | has a #300 owner issue | 15 | 8,054 | |
| 48 | | outstanding rows but no #300 leaf (`UNCOVERED`) | 43 | 1,245 | |
| 49 | | no outstanding rows | 5 | 0 | |
| 50 | |
| 51 | So 8,054 of 9,299 active outstanding rows (86.61 %) sit in repositories that #300 already routes; |
| 52 | the 43 uncovered repositories are listed in `owners.tsv`, largest first: omega-rosetta 225, |
| 53 | synapse 170, omega-bridge 169, openaccel-lab 105, aien-train 101, omega-gpu-driver 73, |
| 54 | sovereign-intelligence 42, omnet 42, gpu-head-to-head 42. Per DRA-178 a new leaf is created only |
| 55 | for a verified uncovered gap; this table is the input for that decision, not the decision. Some of |
| 56 | these rows are tests, oracles or interop shims that may be legitimate exceptions; classifying them |
| 57 | (owner, exact consumer, successor or reviewed exception) is the next step, per repository. |
| 58 | |
| 59 | #300's preliminary indicators are kept as written; the same repositories now read: |
| 60 | |
| 61 | | Repository | #300 (2026-10-24, its own filter excluding docs/evidence/research/goldens) | This snapshot (whole tracked tree) | |
| 62 | | --- | --- | --- | |
| 63 | | omega-mv | `a0eafa39`: 603 .c, 312 .h, 250 .osc, 2 .hex, 2 .hex1 | `943d9555`: C_H 1,242, OSC 480, HEXASM 47, OM 1,358 | |
| 64 | | CUDApp | `3f9c154c`: 108 .c, 70 .h, 8 .osc, 42 .om | `b774723f`: C_H 443, OSC 8, OM 245 | |
| 65 | | aien-sovereign-core-mv | `9699d928`: 714 .rs | `dffdbd19`: RUST 809, C_H 8, OM 17 | |
| 66 | | aienux | `5550b70f`: 260 .c, 133 .h, 191 .rs | `2fc62070`: C_H 591, RUST 1,693, OM 234 | |
| 67 | |
| 68 | The two columns use different filters and different commits, so a difference is not a measured |
| 69 | migration change in either direction. |
| 70 | |
| 71 | ## Shipped ELF identity (`si-alpha-20261026.2.tsv`) |
| 72 | |
| 73 | The published SI release `alpha-20261026.2` (tarball checked against its `SHA256SUMS`): |
| 74 | `bin/aienos` (`e4cdd917…`) is `UNMARKED`, static, PT_LOAD only, as seeded omc output is; |
| 75 | `bin/aien-serve-http` (`19173f9e…`, the engine of `../aien-serve-http-bin-19173f9e.tsv`) is |
| 76 | `FOREIGN`: dynamic, `libm.so.6, libgcc_s.so.1, libc.so.6, ld-linux-aarch64.so.1`, marks |
| 77 | `gcc+clang+rustc+gnu+crt+note`. The shipped engine is a Rust/C build linked against the host C |
| 78 | library; its migration owner is aien-sovereign-core-mv#753. |
| 79 | |
| 80 | Committed binaries in active trees outside evidence directories that elfclose calls `FOREIGN`: |
| 81 | omega-mv `tools/physics0/pd1-convert/pd1_convert` and physics-mv `nvrm/lifecycle_gates` |
| 82 | (both gcc-built, dynamic). The rest are evidence blobs (omega-mv `evidence/`), AMD code objects |
| 83 | in CUDApp evidence, and this tool's own hostile fixtures. |
| 84 | |
| 85 | ## Running processes (`process-spark.tsv`) |
| 86 | |
| 87 | `procsnap.sh` at 2026-11-07T03:43Z (the header line of `process-spark.tsv`): 686 numeric entries |
| 88 | under `/proc`. 6 had no exe link (`# NOEXE`: kernel threads or processes that exited during the |
| 89 | scan) and 680 gave a `PROC` row. 413 of them belong to other users and read as `UNREADABLE` to an |
| 90 | unprivileged scanner (NOT_RUN for them: root or per-user scans are needed); of the scanning |
| 91 | account's 267, 219 are `FOREIGN` (shells, Python, Node, agent tools, Rust and C builds), 32 |
| 92 | `UNMARKED` (omc-built: omega-mcp, ollm, omega-node, omega-tool-model servers and this scanner) and |
| 93 | 16 unreadable (other namespaces); 413 + 219 + 32 + 16 = 680 (the `COUNT` rows). The `EXE` rows list |
| 94 | the account's executables outside the OS and agent-tool directories, by their last two path parts |
| 95 | only (no home directory, full path or command line), with the sha256 of the running image. A |
| 96 | process row identifies the bytes running; tying them to a source commit needs a rebuild or a |
| 97 | receipt. This snapshot was taken with elfclose `9026b0e8` (branch head `f363d1a2`), before the |
| 98 | fixes of the next commit (control-byte escaping, the new `MALFORMED` rules, the regular-file |
| 99 | check); it was not retaken with the fixed tool. |
| 100 | |
| 101 | ## Not run here |
| 102 | |
| 103 | - Root and other-user process scans; containers' and other machines' processes. |
| 104 | - Linked-object membership inside an ELF (which archive members or crates are in it). |
| 105 | - Source binding of `UNMARKED` binaries (rebuild-and-compare). |
| 106 | - Per-repository manifests declaring data, generated and external files. |
| 107 | - The classification of each outstanding row with owner, exact consumer and successor or reviewed |
| 108 | exception (DRA-178 acceptance 1); deletions (acceptance 3, DRA-155). |