ARBI
Documents / docs/evidence/update-operations.md

Update orchestration software evidence

Scope: #73, ADR-0020. Local reviewer: Codex. Conditions: Linux x64, Node 24.19.0, pnpm 11.5.2, real private SQLite stores, ephemeral in-memory signing/identity secrets, authenticated loopback HTTP Range server, synthetic module inventory and persistent synthetic slots. No physical controller, mechanical restraint, power measurement, cellular modem, live publisher or production identity is involved.

The positive flow installs Pico, pod and finally edge, one dispatch each, and migrates actual representative edge data. Duplicate concurrent request keys recover one operation; concurrent advance calls serialize. Reopening the operation journal with a new edge epoch retains the actual transfer offset, original human/session and audit joins. Download/staging observations have no installation effect; only actual persisted synthetic boot/health yields device outcome. Audit sequences are dense per exact producer stream; bounded audit pages retain one high-water snapshot while access facts append. Immutable initiating deadlines and journal prefixes reject rewriting.

A real server socket closes after 4,096 response-body bytes. The next ranges start at 4,096 and 69,632; observed payload charges reconcile exactly to the 70,000-byte synthetic artifact. This prefix is explicitly awaiting whole-artifact verification. Another HTTP response delivers 8,192 rejected/discarded bytes. Retry exhausts the 70,000-byte allowance before another source request; an explicit authorized override permits completion, with 78,192 actual application bytes. Removing engineering permission rejects override even while update permission remains. Local interlock refusal still blocks activation after override.

Independent cases refuse active motion, manual control, maintenance conflict, parked mode, missing retention, line clearance, stable power, interlock, target procedure or independent ownership. Engineers/viewers cannot request updates. Revocation during an actual range read prevents installation and protected response delivery. Missing audit acknowledgement prevents admission entirely. If progress acknowledgement is lost after a committed charge, status exposes that original charge with missing receipt coverage and installed firmware unchanged; retry resumes from the actual durable offset.

A lost reply after durable installation reservation but before dispatch leaves no observed boot and never resends after reconnect. A lost reply after actual synthetic slot commit recovers one boot and confirms without second installation. A failed canary restores the exact trusted baseline through a new healthy synthetic boot and halts later targets. A security-floor change after an unconfirmed trial deliberately blocks legacy rollback, retaining one installed trial and zero rollback dispatches. Metered consent and original deadlines remain enforced without deadline renewal on duplicate requests. Fixture SQLite files omit issued credentials, private-key markers and private provider URLs.

This is source/integration evidence only. Socket and acknowledgement injection are deliberate harness faults; they do not demonstrate modem behavior or abrupt power loss in an installed target. Pending transfer grants use conservative bounds; missing receipts remain gaps. Carrier/radio/wire accounting, production key custody, qualified retention/line-clearance and power evidence, actual Pico/Linux updater rollback, public deployment and browser behavior are separate acceptance gates.

Local verification passes 464 protocol checks; 179 focused audit/update/security/transfer checks including ten orchestration scenarios; 89 dashboard source checks (15 native-only skips); 67 native PostgreSQL checks; dashboard/edge builds and lint; ordinary/preview HTTP guards; and 288 documentation link checks. The issue PR records the tested code revision and exact-head CI/review. No browser or installed-system acceptance is claimed by this API issue.

Tested software revision: d3105a2207304c0ab9cc683cfc063f1aa9bde0cd. Documentation updates only identify this tested code snapshot; exact-head automation is recorded by the issue PR.

Review follow-up: 28 update/security/transfer checks pass after enforcing the 32-attempt composition limit, preserving unknown allowance at a period boundary, recording recovery-required on an uncertain target reply, and keeping handler failures separate from SDK authorization denial.

Tested review-fix revision: 953946fb87bae9b6be9110fe818aa13842da96ab (local reviewer Codex). Exact-head CI and CodeRabbit review remain recorded on the issue PR.