diff --git a/infra/device-core-deploy/ACCEPTANCE_20260929.md b/infra/device-core-deploy/ACCEPTANCE_20260929.md index 56a50c8..4458ae9 100644 --- a/infra/device-core-deploy/ACCEPTANCE_20260929.md +++ b/infra/device-core-deploy/ACCEPTANCE_20260929.md @@ -1,17 +1,22 @@ # Device Core automatic deployment acceptance -Evidence dates: 2026-09-29/30. Automatic releases r11 and r12 were accepted in -sequence without manual NAS commands. Earlier r9 was rejected by runtime +Evidence dates: 2026-09-29/30. Automatic releases r11/r12 and subsequently +r13/r14 were accepted in sequence without manual NAS commands. The latter pair +used accepted network-priority002 under root runner015; see +[the full production acceptance register](NETWORK_PRIORITY_20260930.md). Earlier r9 was rejected by runtime acceptance and successfully rolled back; its exact cause remains unresolved. This report concerns Device Core only. B2 multi-client contours are a separate implementation in `NODEDC_MISSION_CORE_ARNAVI-VPS`. ## Installed authority -Current installed Platform source: `d1c5401f52f32cdc4bc4c6db5df8f8d5d6fc7045`. +Current installed Platform source: `50dc3b1a2cb1191484f5b90de2d2702b14127425`. Root runner SHA-256: -`3eefc75591bb08339d79c6a484912d7d6a8881fe8729e966b6f0bf32da21da80`. +`7a213b7d086225ac9677f52e1bde99dd4b57d77da7c548aadb11793336911cf2`. The operator's promotion on 2026-09-30 returned `verify-install-ok`, Python3.8.15. +This is runner015. Its metadata002 acceptance and subsequent automatic releases +are recorded in [the network-priority report](NETWORK_PRIORITY_20260930.md). +The runner013 details below describe the earlier instrumentation checkpoint. Bootstrap and runs8/9 used preceding runner012, SHA `c1301d1072f3d5d39ba422a09847a05a5aad8a753c816d7fb6916d1f1cadd9c6`, from Platform `f7416bc59a19a9ac53c4f4591eaf50a7f4a41641`. diff --git a/infra/device-core-deploy/NETWORK_PRIORITY_20260930.md b/infra/device-core-deploy/NETWORK_PRIORITY_20260930.md index 9d27cc2..6e93836 100644 --- a/infra/device-core-deploy/NETWORK_PRIORITY_20260930.md +++ b/infra/device-core-deploy/NETWORK_PRIORITY_20260930.md @@ -1,9 +1,9 @@ # Stable primary network for recurring Device Core releases -Status: runner014 was installed on 2026-09-30, but plan001 rejected an empty -Compose endpoint representation before mutation. The corrected015/002 source -is qualified; its root promotion, metadata acceptance and two subsequent -automatic releases remain pending. Production remains r12. +Status: root runner015 and metadata002 were accepted on 2026-09-30. +Two subsequent normal releases, r13 and r14, passed CI, automatic canonical +installation and separate UI/health acceptance. Both used the accepted override +with strict runtime fingerprint v2 and no manual NAS plan/apply. DCPLATFORM-21 owns this exact registry addition; DCPLATFORM-37 tracks acceptance. ## Reproduced defect and evidence limits @@ -37,8 +37,7 @@ Local reports and executable reproductions are retained under workspace: `result.json`, `rollout-result.json`, `fingerprint-result.json` and their corresponding Python scripts. These are test evidence, never NAS payload. -The NAS foundation identifies the Compose2.20 family; its exact installed patch -version is reported by the new canonical preflight. The local Engine is newer +The accepted NAS plan002 identified Compose `2.20.1-6047-g6817716`. The local Engine is newer than NAS Docker24.0.2, so these checks do not replace NAS acceptance. The old r9 receipt retained only an aggregate Manager configuration hash, and @@ -152,9 +151,83 @@ then review a fresh NAS `plan`. Only the matching new plan authorizes the already-requested `apply`. No raw Docker/diagnostic shell acceptance follows `deploy-ok`: the runner owns that gate. -After metadata acceptance, update Device Core's Platform source pin to the -published reviewed commit. Submit two ordered normal main updates and verify -their CI qualification, automatic applied receipts, archives/backups, runtime -evidence and separate authenticated UI/public-health checks. Until then this -correction is source-qualified, not accepted in production. Do not advance -Device Core main before the fixed r12 metadata transition has been accepted. +The completed acceptance sequence was: metadata002 → Device Core Platform pin +update in `33cd08c7ab4b1ee87e8c943fca4a30f38c782aae` → automatic r13 → +documentation commit `6ca6738bab22d0fdef714b90c68959363106ee5b` → automatic r14. +For each release, verify CI, canonical receipt/archive/backup, runtime evidence +and separate authenticated UI/public health. On another installation, never +advance main before its exact metadata predecessor transition is accepted. + +## Production acceptance register + +Installed root runner015 SHA: +`7a213b7d086225ac9677f52e1bde99dd4b57d77da7c548aadb11793336911cf2`, +Python3.8.15, exact operator `verify-install-ok`. Published source: +`50dc3b1a2cb1191484f5b90de2d2702b14127425` on +`fix/device-core-network-priority-20260930`; Device Core pins the full commit. + +Metadata002 was accepted at2026-09-30T09:12:12Z, applied journal390, +archive SHA `5ee23f440ef4a5ef7593c5c35b27b17d93d556453df69e152caee1ddd41e8c7b`. +Backup: +`device-core-network-priority-device-core-network-priority-v1-20260930-002-20260930-121204`. +Independent SMB lifecycle inspection found one applied receipt, matching archive, +existing backup, no failed receipt/warnings and expected absence from inbox. +This proves the registered metadata acceptance; it is not an application release. +Do not restage/replay002 or the superseded001. + +Live application acceptance below must follow CI → controller → canonical +archive/ledger/backup → authenticated Device Core UI/public GET health. +No manual NAS commands or shell acceptance are needed after `deploy-ok`. + +First release after002: r13/source `33cd08c7ab4b1ee87e8c943fca4a30f38c782aae`. +CI passed265application/25CI/170artifact cases (17historical skips). Canonical +acceptance at09:25:33Z, ledger391, archive SHA +`5fa322be2619ddfe2ad91f9e7d2c9d2cd1b3f8d91d34b7a2e5650eb9b617fc98`, backup +`device-core-release-device-core-release-v1-r13-33cd08c7ab4b1ee87e8c943fca4a30f38c782aae-20260930-122207`. +The before snapshot identifies r12, both private primary networks and accepted +override SHA `01cd551b23ac56eee2577e60f9e1e4ecdcc252cd09c122d73583e3c39c9f2644`. +All77 regular artifact files were compared with r12: only manifest and release +descriptor differ. This qualifies delivery/recreation, not a schema migration. +Independent CI receipt, archive digest, unique canonical record and backup agree; +lifecycle terminal_success without warnings/failed record. Public GET health200, +all three health flags true; authenticated reload retained DC SUDO, DCTOUCH and +Robot2B — Moscow Trike Delivery, with no user/device-data mutation. + +Second source `6ca6738bab22d0fdef714b90c68959363106ee5b` records r13 acceptance +and triggers r14 through the ordinary main push path. It changes only the +Device Core deployment documentation. No second root command is involved. + +A Mac observation issue occurred after r13: the existing SMB read initially +returned465 zero bytes for the appended row although the controller reported +deployed. Read-only macOS F_NOCACHE/F_RDAHEAD returned the complete391st JSON +record, after which the canonical lifecycle inspector passed. The NAS journal +was not edited and the release was not replayed. The local observer now reads +journals without the client data cache and still rejects malformed rows. A +controller status alone must never substitute for journal/archive/backup proof. + +Second release r14 was accepted at2026-09-30T09:38:00Z, ledger392, archive SHA +`385c2fec8fce300cb80a93edfbcb0d537e34755b0ccc35294c0102b3c4a7f724`, backup +`device-core-release-device-core-release-v1-r14-6ca6738bab22d0fdef714b90c68959363106ee5b-20260930-123508`. +CI passed the same265application/25CI/170artifact cases (17historical skips). +The independently downloaded CI receipt/archive agree with the unique canonical +record and existing backup. Lifecycle is terminal_success, with no failed +record/warnings. Its before snapshot identifies r13; effective Compose file +hashes and all diagnostic field hashes equal the r13 before snapshot, including +both private primary networks. Canonical acceptance also checks the recreated +services against those strict before fingerprints before reporting success. +Artifact payload comparison r13/r14 again differs only in manifest and release +descriptor. Public GET health200 and authenticated Devices UI retained DC SUDO, +DCTOUCH and Robot2B — Moscow Trike Delivery after reload. + +The two-release gate is complete. No manual source staging, plan/apply, SSH +session or Mac-side deploy authority was used. Mac tools only observed Gitea/SMB +and product health/UI; the independent NAS controller performed installation. +This is measured acceptance of the Device Core delivery path and the reproduced +network-selection correction, not proof of the lost historical r9 field, fleet +load capacity, universal multi-repo onboarding or every possible outage. + +Local evidence: `outputs/device-core-stability-20260930/automatic-acceptance/` +contains per-source CI receipts/packages, journal/archive lifecycle checks, +redacted runtime evidence, product checks and cross-release payload/field-digest +comparisons. Platform documentation is published separately from Device Core +main, so recording r14 does not cause an endless chain of documentation releases. diff --git a/infra/device-core-deploy/README.md b/infra/device-core-deploy/README.md index ecf9171..5d3fd17 100644 --- a/infra/device-core-deploy/README.md +++ b/infra/device-core-deploy/README.md @@ -2,15 +2,18 @@ Status: 2026-09-30. Push-to-main qualification and automatic installation work on Synology. The outbound controller bootstrap is recorded in ledger386. -Runs11 and12 were accepted automatically in sequence (ledgers388/389), with -source `b2660df9e26afe977bfa62efd35a8397eac4898b` now accepted. A real npm +Runs11 and12 were accepted automatically in sequence (ledgers388/389), followed +by runs13 and14 (ledgers391/392). Current accepted application source is +`6ca6738bab22d0fdef714b90c68959363106ee5b`. A real npm ECONNRESET during run12 recovered through the bounded CI install retry. Earlier run9 failed Manager runtime configuration acceptance and rolled back; -its exact cause remains unresolved. Installed runner013 retains per-field +its exact cause remains unresolved. The installed runner retains per-field diagnostics without weakening acceptance. See [the evidence report](ACCEPTANCE_20260929.md). An independently reproduced equal-priority Compose network-selection defect now -has a tested correction. Runner014 is installed; its first metadata plan exposed -a null-endpoint parser case. Corrected015/002 promotion and live acceptance are pending. +has a tested correction. Runner014's first metadata plan exposed +a null-endpoint parser case. Corrected runner015 and metadata002 are now accepted; +two subsequent automatic application releases, r13 and r14, passed canonical +installation and separate authenticated UI/public-health acceptance. See [the exact network-priority transition](NETWORK_PRIORITY_20260930.md). DCPLATFORM-21 owns the deployment contract; DCPLATFORM-37 tracks acceptance. @@ -117,12 +120,16 @@ canon. Device Core uses its own exact Core+Manager Compose entry with unchanged `c1301d1072f3d5d39ba422a09847a05a5aad8a753c816d7fb6916d1f1cadd9c6`. - Runner013 subsequently passed operator verify-install as `3eefc75591bb08339d79c6a484912d7d6a8881fe8729e966b6f0bf32da21da80`. +- Current runner015 passed operator verify-install as + `7a213b7d086225ac9677f52e1bde99dd4b57d77da7c548aadb11793336911cf2`. + Metadata002 was accepted at2026-09-30T09:12:12Z, canonical journal390. + See the network-priority report for its immutable artifact and backup identity. - The data-only bootstrap built by `build_autodeploy.py` passed fresh plan/apply; artifact SHA is `fe9298baa5f41a35c2705ee9946b730ff2de7d5b5c9b2b8eb1b4cca0bc8ed12b`. - NAS imported its root-private credential and removed enrollment staging. The temporary Mac credential was removed after acceptance. Neither a Mac nor SMB needs to remain connected for recurring delivery. -- Ordered automatic releases r11/r12 were verified against their CI receipts, +- Ordered automatic releases r11/r12 and then r13/r14 were verified against their CI receipts, archive digests, unique canonical journal rows and backups. Failed-check and crash/reconciliation tests are source qualification, not a claim that the NAS was deliberately crashed during production acceptance. @@ -137,8 +144,8 @@ successfully to run8. Its failed archive must not be replayed. The initial snapshots retained only an aggregate configuration hash, so the specific field was not available after rollback removed the failed container. -Installed runner013 adds diagnostic field hashes to new before snapshots. -It binds each observation to the checked container/image/configuration identity. +Diagnostics introduced in runner013 add field hashes to new before snapshots. +Each observation is bound to the checked container/image/configuration identity. On a mismatch, the canonical failed receipt retains changed field names and their hashes before the failed generation is removed. Raw environment values, inspect payloads and external exception text are not included. The v2 comparison,