interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

docs(adr): ADR 0010 fabric machine identity and capability advertisement design record

merged 4ead4fe32ae35a87 #54 · opened 2026-09-24 12:47 UTC · closed 2026-09-24 14:13 UTC · merged 2026-09-24 14:13 UTC

Imported from GitHub aien-dev/aienux#54, by Copilot

Base 017a9a868dbb88c0c03cf7a19a39a8663cea1766 · Head fce2e88378e8856d51ac1fdce76b4749b962159d

Merged on GitHub as 98c5762a3e3f0bf00884e38522cda64b264b0e69; reachable from main d01b2f19cccf3e173a6bdb3541813d467f537a76 (observed 2026-11-18T16:35:40Z)

Copilot wrote on 2026-09-24 12:47 UTC

$ bash scripts/verify_all.sh      # Spark (aarch64), head fce2e88
test result: ok. 2 passed; 0 failed
test result: ok. 6 passed; 0 failed
test result: ok. 1 passed; 0 failed
test result: ok. 6 passed; 0 failed
test result: ok. 4 passed; 0 failed
test result: ok. 2 passed; 0 failed
test result: ok. 15 passed; 0 failed
test result: ok. 36 passed; 0 failed
PASS  pre-exit report printed
PASS  image is this commit
PASS  left firmware and entered the kernel
PASS  final report on the SPCR console
PASS  no panic or fault
PASS  swTPM live boot reached kernel alive and final report
PASS  Soak run 1/3: clean boot & reset
PASS  Soak run 2/3: clean boot & reset
PASS  Soak run 3/3: clean boot & reset
PASS  Corrupted binary cleanly rejected by firmware without reaching kernel alive
PASS  Recovery banner displayed
PASS  100% RAM disk verified
PASS  Internal NVMe confirmed unmounted
PASS  Automated recovery test passed
PASS  All packaged kernel modules loaded (16/16)
PASS  USB keyboard detected
PASS  USB stick visible
PASS  NVMe drive visible
rc=0

Issue #37 opens early design discussion for the fabric lane: machines join under a Machine ID, not a brand, and advertise CPU, memory, accelerators, models, tools, and load. Activation is gated on M6 native networking, so the deliverable now is a design record, not code.

Changes

  • docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md — new ADR, status "design record, not accepted, no code mandated". Decisions captured:
    • Identity: machines join under a stable, operator-provisioned MachineId, provisioned once per ADR 0007 discipline and distinct from LogicalAgentId. Brand and vendor strings are capability data, never identity (ARCHITECTURE §2: "a given computer is Machine N").
    • Advertisement: the six issue categories, split into static capabilities (Machine Capsule-derived, signed per change) and short-lived load telemetry (unsigned, never used for authorization). Tools are advertised in AEGIS capability vocabulary so placement and authorization read the same data.
    • Transport posture: pull-or-respond among provisioned machines; no open broadcast. Every exchange is an EffectIntent crossing the AEGIS boundary per ADR 0004, even read-only queries.
    • Activation boundary: post-M6 only, with four preconditions (M6 transport, MachineId provisioning flow, reviewed wire format, operator sign-off) and seven invariants in existing ADR style.
  • docs/adr/README.md — index row for ADR 0010 with cross-references.
  • ROADMAP.md — #37 fabric lane now links the design record.

Intent

Pin identity and advertisement semantics early so M6 networking work cannot accidentally harden brand-based identity, broadcast discovery, or an AEGIS-bypassing advertisement format. Discussion continues on the issue until operator acceptance.

  • Fixes #37

Follow-up commit fce2e88: merged main (ADR index now lists 0010 and 0012; 0011 is #57) and set Status: Proposed. in the ADR and index, per review. Design record only; no code.

Note: the Gate 4 soak step passed on this run but hangs intermittently on main (#61).

🤖 Generated with Claude Code

SECURITY_IMPACT: BOUNDARY

Fetch it

A git bundle of the pull request's head, 7938 bytes.

curl -fsSL https://interplane.io/drakestapleton/aienux/patches/4ead4fe32ae35a87.bundle -o 4ead4fe32ae35a87.bundle
git fetch 4ead4fe32ae35a87.bundle refs/pull/54/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aienux
54
fce2e88378e8856d51ac1fdce76b4749b962159d
{"kind":"github-import","owner":"aien-dev","repo":"aienux","number":54,"url":"https://github.com/aien-dev/aienux/pull/54","export_sha256":"222ed873664c8b6770fec92487a3521a4b5f81629ee6399038e519facf854bee","imported_utc":"2026-11-18T16:35:40Z"}

Changes

diff --git a/ROADMAP.md b/ROADMAP.md
index 0a05922d..bec4b697 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -72,7 +72,8 @@ local agent, power off, power on, and it remembers.
 Separate lanes that never block the critical path:
 [#36](https://github.com/aien-dev/aienos/issues/36) GB10 characterization (no GPU
 execution yet) and [#37](https://github.com/aien-dev/aienos/issues/37) Fabric
-(after native networking).
+(after native networking; early design in
+[ADR 0010](docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md)).
 
 Related repositories: [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core)
 holds the AIEN runtime, Cortex, AEGIS and `aien-proof`, the shared test board
diff --git a/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md b/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md
new file mode 100644
index 00000000..70ed0a4d
--- /dev/null
+++ b/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md
@@ -0,0 +1,167 @@
+# ADR 0010: Fabric Machine Identity and Capability Advertisement
+
+Status: Proposed.
+
+Open for early discussion per
+[issue #37](https://github.com/aien-dev/aienos/issues/37). Not yet accepted.
+Nothing in this record is active before native networking
+([M6](../MILESTONES.md)) and the preconditions below are met. No code is
+mandated by this record.
+
+Governing: [ARCHITECTURE.md section 2](../ARCHITECTURE.md) (Personal Fabric),
+[BLUEPRINT.md section 25](../BLUEPRINT.md) (Phase 8 Personal Fabric),
+[BLUEPRINT.md section 26](../BLUEPRINT.md) (state mobility),
+[BLUEPRINT.md section 21](../BLUEPRINT.md) (Machine Capsule),
+[MILESTONES.md Phase 8](../MILESTONES.md), [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md),
+[ADR 0007](0007-continuous-existence-provisioning-once.md).
+
+## Context
+
+The architecture already fixes the endpoint: a given computer is Machine N,
+not "the AIEN computer"; hardware and vendor details are capabilities, not
+identities (ARCHITECTURE.md section 2). One logical AIEN spans several
+machines, and the machines are resources of the operator's environment
+(BLUEPRINT.md section 25). Phase 8 assigns this work to a future
+`crates/aienos-fabric/` crate covering peer-to-peer capability discovery,
+state synchronization, and RPC.
+
+Issue #37 asks for early design discussion on the two questions that precede
+everything else in the fabric:
+
+1. Under what identity does a machine join the fabric.
+2. What a joining machine advertises about itself, and how that advertisement
+   is represented, authorized, bounded, and kept current.
+
+Deciding these two points early keeps M6 networking work from accidentally
+hardening brand-based identity, unsolicited broadcast behaviour, or an
+advertisement format that bypasses AEGIS. This record captures the design
+constraints so that early work can proceed in parallel with the M0 to M6
+critical path without premature protocol commitment.
+
+## Decision
+
+### Identity: machines join under a Machine ID, never a brand
+
+1. A machine joins the fabric under a `MachineId`: a stable, opaque,
+   operator-provisioned identifier generated locally at provisioning time and
+   bound to the operator's AIEN environment. Following the continuous-existence
+   rule (ADR 0007), a `MachineId` is created once per physical machine at
+   provisioning; boot, reboot, kernel restart, and model reload resume it and
+   never mint a replacement.
+2. Vendor, brand, model name, and marketing identifiers ("NVIDIA", "DGX
+   Spark") are capability data, never identity. A replacement machine with the
+   same brand is a different `MachineId`; the same machine with replaced parts
+   keeps its `MachineId`. The DGX Spark is the reference machine, not AIEN's
+   identity (BLUEPRINT.md section 24).
+3. The machine's hardware description is a Machine Capsule (BLUEPRINT.md
+   section 21): CPU, accelerator, memory, storage, network, display, audio,
+   USB, Bluetooth, input, known drivers, and compatibility requirements.
+   The capsule is a property of the machine record, not of the identity.
+4. The `MachineId` is distinct from the `LogicalAgentId`. The agent identity
+   exists above machines (Blueprint section 25); a machine never impersonates
+   the agent, and agent migration between machines is an execution-state
+   transition recorded with a continuity receipt, not a new agent.
+
+### Advertisement: declared capability set
+
+5. A joining machine advertises exactly the categories named in issue #37:
+   - **CPU**: topology, architecture, efficiency classes, frequency
+     envelopes, as discovered by native topology discovery (M2 already
+     provides the baseline).
+   - **Memory**: total and available capacity, unified-memory properties and
+     block budgets per ADR 0005.
+   - **Accelerators**: presence, class, and driver status (for example the
+     GB10 GPU as a characterized capability, per issue #36 work; accelerator
+     presence is capability data even before accelerator execution exists).
+   - **Models**: model identities and versions currently loadable on this
+     machine, behind the Model ABI; a model is a replaceable component, never
+     an identity.
+   - **Tools**: the capability surface the machine can execute, in the same
+     vocabulary AEGIS uses for capability scope (`fs.write`, `code.build`,
+     and similar names), so placement decisions and authorization decisions
+     read the same data.
+   - **Load**: current dynamic pressure (scheduler occupancy, memory
+     pressure, thermal and power state where measurable), advertised as a
+     separate, short-lived class of data from the static capability set.
+6. Static capabilities and dynamic load are distinct records with distinct
+   lifetimes. Static data changes only on provisioning, hardware change, or
+   software update and is signed once per change; load data is unsigned
+   telemetry-grade information refreshed periodically and never used for
+   authorization decisions.
+7. Advertisement is pull-or-respond within the operator's own fabric, not
+   open broadcast. A machine answers capability queries from machines it has
+   been provisioned to trust; it does not announce itself to the local
+   network at large, and it does not respond to unprovisioned requesters.
+8. Every advertisement exchange is an outbound network effect and therefore
+   crosses the AEGIS boundary (ADR 0004): even read-only capability queries
+   are `EffectIntent`s evaluated against capability grants. Fabric
+   participation never bypasses AEGIS under the label of discovery or
+   research.
+
+### Representation and scope
+
+9. The capability advertisement derives from the Machine Capsule and reuses
+   the machine's existing discovered evidence (CPU topology, memory map,
+   identity reports) rather than introducing a parallel inventory path.
+10. Advertisements are bounded in size, versioned in schema, and validated on
+    receipt. A received advertisement grants the sender nothing; it is input
+    to the receiving machine's own placement and scheduling decisions.
+11. Partition sovereignty (MILESTONES.md Phase 8) applies to identity:
+    disconnection never invalidates a `MachineId` or an advertised
+    capability record; a disconnected machine falls back to autonomous local
+    operation with its last committed records.
+
+### Activation boundary (post-M6)
+
+12. This design activates only after M6 minimal networking provides the
+    secure control transport. Until then, no crate implements this record;
+    host-side prototypes may model the data structures for discussion, but
+    nothing ships in the trusted base.
+
+## Preconditions
+
+Before any implementation of this record may merge:
+
+1. M6 minimal networking (DHCP/static IP, ARP/NDP, IP, UDP/TCP, secure
+   control transport) is complete and evidenced.
+2. The `MachineId` provisioning flow is defined with the same
+   provisioning-once discipline as `LogicalAgentId` (ADR 0007), including
+   Recovery Core behaviour when machine identity state cannot be verified.
+3. The advertisement wire format is specified with its schema version,
+   size bounds, signature scheme, and validation rules, and reviewed as an
+   irreversible data format per CONTRIBUTING.md.
+4. Operator approval per the governance rule in this directory, since this
+   record touches persistent identity and a security boundary.
+
+## Invariants
+
+1. **Identity above machines**: the `LogicalAgentId` never depends on any
+   `MachineId`; machines are replaceable substrate.
+2. **Brand is not identity**: no protocol field, log line, or proof receipt
+   may use vendor or product names where a `MachineId` belongs.
+3. **AEGIS boundary**: all fabric traffic, including read-only capability
+   advertisement, is an external effect under AEGIS evaluation (ADR 0004).
+4. **Capsule-derived advertisement**: the advertised static capability set is
+   derived from the Machine Capsule and native discovery evidence, not from
+   hand-maintained configuration.
+5. **Partition sovereignty**: loss of fabric connectivity never blocks local
+   core operation or corrupts identity state.
+6. **Secrets invariant**: NO PLAINTEXT SECRETS IN REPOSITORY OR BUILD
+   ARTIFACTS.
+7. **Unslop standard**: zero em dashes, zero en dashes, and direct technical
+   documentation.
+
+## Consequences
+
+- M6 networking work can proceed knowing the fabric will use
+  operator-scoped pull-or-respond discovery, avoiding accidental broadcast
+  protocol commitments.
+- Issue #36 (GB10 characterization) output feeds the accelerator entry of
+  the capability advertisement when the fabric activates.
+- The future `crates/aienos-fabric/` crate starts from a defined identity
+  model and capability vocabulary rather than inventing them during Phase 8.
+- State mobility (Blueprint section 26) and the heterogeneous compute
+  scheduler (MILESTONES.md Phase 8) consume the capability advertisement as
+  their placement input.
+- This record remains a design record until the operator accepts it; early
+  discussion continues on issue #37.
diff --git a/docs/adr/README.md b/docs/adr/README.md
index 2a3768bc..77302362 100644
--- a/docs/adr/README.md
+++ b/docs/adr/README.md
@@ -15,6 +15,7 @@ This directory documents the key architectural decisions and formal technical sp
 | [ADR 0007](0007-continuous-existence-provisioning-once.md) | Continuous Existence and Provisioning-Once | Accepted | 2026-09-23 | [`CONTINUOUS_EXISTENCE_AMENDMENT.md`](../CONTINUOUS_EXISTENCE_AMENDMENT.md); [`ARCHITECTURE.md` §1, §10](../ARCHITECTURE.md); [`SYSTEMS_INTEGRATION_SEQUENCE.md` Steps 1–10](../SYSTEMS_INTEGRATION_SEQUENCE.md); [`MILESTONES.md` Phase 3, 6, 8](../MILESTONES.md); [ADR 0005](0005-unified-memory-c1-cow-and-reservation-accounting.md); [ADR 0006](0006-deterministic-recovery-core-and-offline-operator-authority.md) |
 | [ADR 0008](0008-temporary-bring-up-firmware-report-exception.md) | Temporary bring-up exception: post-handoff firmware report (trigger 11) | Accepted (temporary) | 2026-09-24 | [ADR 0003](0003-bootstrap-firmware-handoff-and-minimal-object-store.md); [`MILESTONES.md` section 0](../MILESTONES.md); [`NATIVE_BOOT_ONE_TIME.md`](../NATIVE_BOOT_ONE_TIME.md) |
 | [ADR 0009](0009-el2-bootstrap-to-el1h-kernel-transition.md) | Two-Stage Exception Level Architecture (EL2 Bootstrap to EL1h Kernel) | Accepted | 2026-09-24 | [`ARCHITECTURE.md` §3, §6](../ARCHITECTURE.md); [`BLUEPRINT.md` §8, §15](../BLUEPRINT.md); [`MILESTONES.md` Phase 2, 3](../MILESTONES.md) |
+| [ADR 0010](0010-fabric-machine-identity-and-capability-advertisement.md) | Fabric Machine Identity and Capability Advertisement | Proposed (post-M6) | 2026-09-24 | [`ARCHITECTURE.md` §2](../ARCHITECTURE.md); [`BLUEPRINT.md` §21, §25, §26](../BLUEPRINT.md); [`MILESTONES.md` Phase 8](../MILESTONES.md); [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md); [ADR 0007](0007-continuous-existence-provisioning-once.md); [issue #37](https://github.com/aien-dev/aienos/issues/37) |
 | [ADR 0012](0012-self-construction-capability-growth-and-generations.md) | Self-Construction, Capability Growth, and Reversible System Generations | Accepted | 2026-09-24 | [ADR 0002](0002-incumbent-os-as-migration-environment.md); [ADR 0006](0006-deterministic-recovery-core-and-offline-operator-authority.md); [ADR 0007](0007-continuous-existence-provisioning-once.md); [`ROADMAP.md`](../../ROADMAP.md) (SEED-0A, SEED-0B) |
 
 ---