Skip to content

fix(config): preserve authored values and agents during Doctor repair - #135671

Merged
steipete merged 9 commits into
mainfrom
codex/update-doctor-include-recovery
Sep 2, 2026
Merged

steipete merged 9 commits into
mainfrom
codex/update-doctor-include-recovery

Conversation

@steipete

@steipete steipete commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Related: #134490

What Problem This Solves

Fixes an issue where upgrades or Doctor repairs could write a retired agent-roster shape, replace authored $include or environment expressions, discard a duplicate legacy agent during a partial replacement, or reject an unchanged included gateway.mode as removed.

This follows Jason (Json) (@fuller-stack-dev)'s recovery work in #134490, already merged in 80ae248. Automatic local coding-agent recovery landed there; this PR repairs configuration preservation and consent completion defects found while exercising that flow.

Why This Change Was Made

Doctor and the config writer share the canonical authored projection, carry roster-format intent separately from explicit value edits, and compare the final resolved gateway mode. One mapping from original list positions preserves each agent's expressions when IDs normalize, are missing or collide while another migration changes its fields. That same mapping protects every prior occurrence from unintended deletion. Typed plugin-repair outcomes replace duplicate consent bookkeeping.

The upgrade oracle uses installed-plugin inspection to verify the selected artifact and its official provenance or accepted capabilities. Portable fixtures preserve real child arguments/options, and the obsolete harness-only metadata build entry is removed.

Browser fixtures now wait at the boundaries owned by the UI: durable draft writes, synchronized submenu opening, and committed routes. The sidebar scope helper waits for the New, Writer chat and Automations routes before the next interaction, retaining all 21 clicks and existing scope/dismissal assertions. It captures failure diagnostics before closing the context. The terminal fixture retains real action clicks, handoff, credential-omission, clipboard, reconnect and mobile-pointer checks. These are test changes; production UI behavior and pointer-specific tests are unchanged.

User Impact

Doctor can persist roster repairs while retaining included-file bytes and each agent's environment expressions, including different expressions resolving to the same path. Ambiguous include ownership is refused before files change. A deferred replacement of a usable plugin stays nonblocking; consent that prevents activation stays an error. No operator configuration or storage schema is added.

Evidence

The original failure is recorded in Crabbox run 33562339257 and its investigation. The signed candidate is 76dbd7ba, integrated with main 5e6117d1. All four live scenarios used the same package: SHA256 005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33, 56,025,751 bytes, build ID 2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z.

  • Local gates: 104 writer tests, 21 Doctor tests, three real Gateway RPC cases and three Chromium cases passed with unchanged source/index. The Chromium Gateway is synthetic. Both complete source-review batches and the full changed-code gate passed, including type graphs, lint, unused-export scans and import-cycle checks.
  • Populated stable upgrade: the Docker scenario upgraded 2026.7.1-2 through automatic Doctor, followed by a manual service restart. Included-file bytes and authored environment expressions survived; repeated Doctor runs left the root and include bytes unchanged. Compound migrations with normalized, unnamed, duplicate and leading-null agent occurrences also passed.
  • Native recovery: a real Codex 0.151.0 process started with a recorded handoff latency of 20 ms after synthetic EACCES in the fresh Doctor child’s Node preload, before Doctor entry. This proves failed-subprocess recovery, not a production Doctor filesystem fault. Independent checks observed repair, healthy RPC and the exact candidate build. The harness then closed the interactive terminal normally; the updater retained exit 1. The agent is not claimed to exit itself.
  • Both first upgrades: the published 2026.7.1-2 baseline passed the normal 0022 install-umask case and the group-writable case. In the latter, account and wrapper umasks were 0002, while the controller remained 0022. The original update returned ok and exit 0 in 28.215 seconds, with the candidate already active at command completion and healthy RPC afterward. Doctor reported unsafe permissions and changed the configuration directory from 0775 to 0700; service/workspace directories stayed 0775, and the unit stayed 0664. Workspace/auth state was preserved. This was not a warning-free run or a repair of every group-writable path.
  • Exact-head CI: run 33607259155, attempt 2 passed, including the retried browser 14/14 shard and required openclaw/ci-gate. All 11 Linux declaration-fixture cases passed. The first attempt’s browser target closure remains tracked in #136210; unchanged Mac/Linux diagnostic replays and a successful retry do not establish its root cause or fix it.

Account/service cleanup and completion of all owned proof leases were verified. The group run followed an exporter permission failure (128), confirmed before product launch, and a standard synchronization timeout (124) that returned no completed product verdict; remote start during that timeout remains unknown. The final run retained product/package bytes, assertions, provider and timeouts. The original proof lease and group proof lease identify the runners; the durable proof comment contains all 12 sanitized records. Its downloadable manifest expires on September 9, 2026 at 10:05 UTC; the inline evidence remains available. Native Windows execution remains unverified.

The latest completed Claw review has no code finding. Its integration, packaged preservation/idempotence and maintainer-review items are addressed, along with the sole Rank-up move. The verified proof comment has already requested a fresh review for the later occurrence-allocation and typed-outcome changes; a queued refresh does not hold normal landing.

Scope against 5e6117d1: 36 files; production +186/−200 (net −14) across 14 files, tests/support +873/−225, tooling/build +118/−76, documentation +5/−4, assertion baseline +2/−2. No move discount. Tooling growth supplies artifact, provenance and consent checks.

Follow-up

#136025 tracks the pre-existing Doctor loop that restores retired official plugin aliases after canonical repair. #136210 tracks the intermittent browser first-navigation target closure. Both remain separate from this repair.

Co-authored-by: Jason (Json) [email protected]

Use canonical authored projection for invalid snapshots so a legacy agent
roster can migrate without restoring the retired list or flattening includes.
Keep roster-format intent separate from explicit value edits and consume it
only after the Doctor write commits. Compare resolved Gateway modes while
retaining intentional parameter removal and ambiguous-include safeguards.

Derive plugin consent failure from its existing typed outcomes, and arm the
transient composer-cue test observer before the user action.

Follow-up to #134490. The exact repair patch and all 26 managed-review
datasets are unchanged after adopting its landed main base. Independent
P0-P2 review, 107 integration cases, and 18 real Doctor cases on this base pass.
The earlier 528 config/Doctor cases pass with those owners unchanged.
Final packaged Crabbox upgrade and autonomous repair proof remains pending.

Co-authored-by: Jason (Json) <[email protected]>
@steipete steipete self-assigned this Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes commands Command implementations size: L maintainer Maintainer-authored PR labels Sep 1, 2026
@steipete
steipete marked this pull request as ready for review September 1, 2026 23:57
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 9:47 PM ET / September 2, 2026, 01:47 UTC.

ClawSweeper review

What this changes

This PR makes Doctor preserve authored includes and environment expressions while persisting unambiguous legacy agent-roster repairs, and replaces a stale ClawHub-only upgrade assertion with npm artifact checks.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer review: the dedicated roster-persistence repair is not on current main, and no introduced correctness defect was found, but exact-head packaged upgrade proof remains pending for a configuration-writing change.

Priority: P2
Reviewed head: 5dc01ddafb9eb026a349efb1fb1869db8d25b147
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has coherent owner-boundary changes and meaningful regression coverage, with packaged current-main proof still needed before merge.
Proof confidence 🌊 off-meta tidepool Not applicable: This is a maintainer-authored PR, so the external-contributor proof gate does not apply; however, its body expressly leaves the exact-head packaged Doctor-repair result pending, which remains a compatibility risk rather than missing contributor proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is a maintainer-authored PR, so the external-contributor proof gate does not apply; however, its body expressly leaves the exact-head packaged Doctor-repair result pending, which remains a compatibility risk rather than missing contributor proof.
Evidence reviewed 6 items Doctor write intent: The PR separates canonical roster-format persistence from explicit leaf-value writes, allowing Doctor to request the migration without marking every roster value as locally authored.
Configuration-writer boundary: The writer rejects include-owned roster replacement, projects the authored roster, and restores protected include content after injecting the canonical entries.
Behavioral regression coverage: The integration-style Doctor test writes real configuration and include files, verifies include bytes and environment expressions remain unchanged, then rereads and checks idempotence; ambiguous include ownership is separately refused.
Findings None None.
Security None None.

How this fits together

Doctor migrates invalid or retired OpenClaw configuration shapes, then hands a candidate to the atomic configuration writer. The writer must retain authored include boundaries and environment references while producing a valid configuration for Gateway startup.

flowchart LR
  A[Authored configuration] --> B[Doctor migration]
  B --> C{Roster ownership clear?}
  C -->|Yes| D[Canonical roster write]
  C -->|No| E[Refuse unsafe write]
  D --> F[Resolve includes and references]
  F --> G[Gateway configuration]
Loading

Decision needed

Question Recommendation
Is the refreshed exact-head packaged upgrade evidence sufficient to accept this configuration-persistence repair on current main? Wait for packaged proof: Record the redacted current-main merge package run showing include/reference preservation and repeat-run idempotence before merging.

Why: The source and focused regression coverage are coherent, but a Doctor write can affect existing authored configuration and the available final-package proof is expressly incomplete.

Before merge

  • Resolve merge risk (P1) - Current main has later changes in three central configuration files and the supplied test-merge ref is stale, so earlier runs do not prove the exact current-main merge result.
  • Resolve merge risk (P1) - Doctor rewrites existing configuration; the PR body still marks the exact-head packaged stable-to-candidate include/reference and repeat-run proof as pending.
  • Complete next step (P2) - The protected maintainer label and pending exact-head package evidence require maintainer merge review; no narrow mechanical repair is currently indicated.
Agent review details

Security

None.

PR surface

Source -8, Tests +406, Docs +1, Other +57. Total +456 across 26 files.

View PR surface stats
Area Files Added Removed Net
Source 12 82 90 -8
Tests 10 514 108 +406
Docs 1 5 4 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 3 81 24 +57
Total 26 682 226 +456

Review metrics

Metric Value Why it matters
Production versus test delta production −8; tests +406; E2E harness +57; docs +1 The runtime correction is net-negative; added coverage and harness assertions protect configuration persistence and npm-first upgrade recovery.
User configuration surface 0 user options added; 1 internal write-intent field added The change migrates existing configuration without adding an operator-facing setting.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/assertions.mjs, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/run.sh, migration/backfill/repair: src/commands/doctor-config-flow.ts, migration/backfill/repair: src/commands/doctor/shared/missing-configured-plugin-install.repair.ts, migration/backfill/repair: src/commands/doctor/shared/post-core-plugin-convergence.ts, migration/backfill/repair: src/flows/doctor-health-contribution-runners.config.ts, and 5 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Refresh packaged upgrade proof (recommended)
    Run the stable-to-current-main package scenario and attach redacted output proving Doctor preserves includes and environment references across the repair and repeat run.
  2. Pause for proof
    Keep the PR open if the exact-head package scenario cannot be recorded, because this write path changes existing user configuration.

Technical review

Best possible solution:

Land only after redacted exact-head packaged upgrade output demonstrates that Doctor preserves included-file bytes and environment expressions through the repair and a repeat run is idempotent.

Do we have a high-confidence way to reproduce the issue?

Yes: the focused Doctor composition test directly creates legacy configuration and include files, performs the repair, rereads the result, and checks idempotence. It was inspected but not executed because this review is read-only.

Is this the best way to solve the issue?

Yes, conditionally: carrying roster-format intent separately from explicit leaf edits keeps persistence ownership in the config writer and retains refusal for ambiguous include ownership; current-main packaged proof remains needed.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 174f1d98eced.

Labels

Label justifications:

  • P2: This is a bounded repair to Doctor and upgrade behavior with a limited but meaningful existing-user impact.
  • merge-risk: 🚨 compatibility: Doctor persists existing configuration, so a faulty upgrade path could alter authored includes or environment-reference expressions.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This is a maintainer-authored PR, so the external-contributor proof gate does not apply; however, its body expressly leaves the exact-head packaged Doctor-repair result pending, which remains a compatibility risk rather than missing contributor proof.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record redacted exact-head packaged upgrade output showing included files and environment expressions remain unchanged after Doctor repair and on the idempotent repeat run.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-01T23:56:23.724Z sha 84db903 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T01:39:32.900Z sha 5dc01dd :: needs maintainer review before merge. :: none

Validate automatic plugin recovery against the declared npm source, its
managed installation, exact version, artifact integrity, and capability
consent. Preserve selected-plugin consent deferral and the explicit
ClawHub companion audit.

Replace the stale ClawHub-only request expectation with a positive artifact
assertion and zero unexpected ClawHub requests. Exercise invalid records
and the real phase order, including macOS Bash 3.2 optional arguments.

The packaged stable-to-candidate reproduction exposed the obsolete oracle.
Focused regressions, all changed checks, and final managed review pass.
Full final-package Crabbox verification remains in progress.

Related: #134490
steipete and others added 2 commits September 1, 2026 19:28
Observe the committed nonempty draft and its post-send clear before replacing current metadata with the legacy outbox fixture. This prevents navigation from aborting the clear and restoring the old text and Blob.

The native IndexedDB latency reproduction fails before the correction and passes after it. Both original legacy table cases and the changed checks pass.
Share Doctor ID allocation with authored-config projection and roster
retention so normalization and concurrent migrations keep each agent and
its expressions. Preserve include ownership and typed plugin repair outcomes.

Integrate current main and strengthen installed-artifact upgrade proof and
durable browser fixture ordering. Packaged Crabbox validation follows this
exact reviewed commit before landing.

Co-authored-by: Jason (Json) <[email protected]>
@steipete steipete changed the title fix(config): preserve included values during Doctor repair fix(config): preserve authored values and agents during Doctor repair Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 2, 2026
steipete and others added 2 commits September 1, 2026 22:31
Retain installed-plugin identity and consent checks through the public
inspection command, and remove the unused private harness build entry.
Make the inspection fixture independent of executable PATH lookup and
update repeated Doctor assertions to the canonical repair outcomes.

The lossless Doctor owner repair remains unchanged. Focused owner,
Gateway, CLI, plugin and browser checks, the full changed-file gate and
managed source review passed. Final packaged Crabbox verification follows
this exact commit before landing.

Co-authored-by: Jason (Json) <[email protected]>
Integrate the current triage lazy-loading and plugin convergence owners.
The lossless config and consent repair remains unchanged. All 21 scoped
CLI, Doctor and scheduler cases and complete managed source review pass;
the prior complete changed-code gate remains valid for the unchanged repair.
Final packaged Crabbox verification follows this exact commit.

Co-authored-by: Jason (Json) <[email protected]>
Adopt the upstream composer cue regression test, removing the redundant
sidebar test change. The lossless config and typed consent repairs remain
unchanged. Writer, Doctor, real Gateway RPC and browser integration checks
pass alongside a fresh complete managed review. Final packaged Crabbox
verification follows this exact commit.

Co-authored-by: Jason (Json) <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 2, 2026
steipete and others added 2 commits September 2, 2026 00:26
Use the shared focus-synchronized submenu helper for both desktop openings
of Continue in terminal. Keep the real action clicks, exact handoff and
clipboard assertions, reconnect retirement, and mobile pointer flow.
Both browser cases and the changed-file gate pass with a clean managed review.

Co-authored-by: Jason (Json) <[email protected]>
Wait for committed UI routes before opening the agent-scoped Inbox, and
capture browser diagnostics before closing a failed scenario. Preserve all
agent filtering, dismissal, mobile and terminal continuation assertions.
Consume the upstream declaration-cache fixture repair from main.

The lossless configuration and typed plugin repair owners are unchanged.
131 focused writer, Doctor, Gateway and UI cases, the full changed-code
gate and the independent source review pass. The local declaration replay
was interrupted by its no-output watchdog without a test verdict; the
same case must pass on final-head Linux CI before landing. Final packaged
Crabbox recovery and upgrade verification also remain required.

Co-authored-by: Jason (Json) <[email protected]>
@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

PR #135671 has completed source and exact-package proof at 76dbd7ba6d2bbf679014b03880ea21c90c676a47. The package SHA256 is 005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33. Public sanitized verdicts: downloadable manifest (link expires September 9, 2026 at 10:05 UTC). The same sanitized records are preserved below in this comment.

All three before-merge items in the latest completed Claw review are addressed: the tested integration is current for the reviewed main pin; the populated 2026.7.1-2 Docker upgrade preserves authored includes/environment expressions and is byte-identical on repeated Doctor runs; and the maintainer has inspected the source and all four live scenarios. The sole Rank-up move requests this same redacted preservation/idempotence evidence.

Native recovery used synthetic EACCES in the fresh Doctor child’s Node preload, before Doctor entry. Real Codex launched with a recorded 20 ms handoff latency. Independent checks confirmed repair, healthy RPC and the exact build before the harness closed the interactive terminal normally; the updater retained exit 1. This is subprocess recovery proof, not a production Doctor filesystem fault or an agent auto-exit claim.

The Codex CLI contract was checked directly at commit 78c290807ce710180111df227df3b7a4fe845452: positional prompt, TTY requirement, workspace instruction discovery, and working-directory handling.

Normal and group-writable first upgrades also passed. The group account/wrapper used 0002, while the controller used 0022; the update returned ok and exit 0 in 28.215 seconds. Doctor emitted an unsafe-permissions warning and changed the configuration directory to 0700; service/workspace directories remained 0775 and the unit 0664. Workspace/auth and cleanup checks passed. The exporter failure (128) was confirmed before product launch. The synchronization timeout (124) returned no completed product verdict, with remote start unknown. Native Windows remains unverified.

CI attempt 2 passed, including browser 14/14 and the required gate. The successful retry does not fix the original browser target closure; #136210 records it. The pre-existing alias-restoration issue #136025 is also separate.

@clawsweeper re-review

The ordered occurrence allocator and typed outcomes extend beyond the completed review’s inspected 5dc diff. This requests one refreshed review; a queued refresh does not hold normal landing after the completed findings are addressed and exact-head CI passes. Original PR #134490 is already merged. Jason (Json), @fuller-stack-dev, retains credit.

Exact local proof commands

These commands were recorded in completed local receipts for tree 09e78036388bb0ca7a41b68f909518d1924da725, run from the repository root. Line wrapping changes only shell whitespace; every argument is preserved.

Writer and Doctor: 125 passing cases. The retained receipt records exit 0 and unchanged source/index.

env OPENCLAW_TESTBOX=0 node scripts/run-vitest.mjs run src/config/io.write-prepare.test.ts src/commands/doctor-config-flow.legacy-composition.test.ts

Gateway RPC: three passing cases, 47 filtered. The retained receipt records exit 0 and unchanged source/index.

env OPENCLAW_TESTBOX=0 node scripts/run-vitest.mjs run src/gateway/server.config-patch.test.ts -t 'agent entry'

Chromium: three passing cases with a synthetic Gateway, none filtered. The retained receipt records exit 0 and unchanged source/index.

env OPENCLAW_TESTBOX=0 node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/sidebar-attention-scope.e2e.test.ts ui/src/e2e/chat-continue-in-terminal.e2e.test.ts

Complete changed-code gate. The retained receipt records exit 0 and unchanged source/index.

env OPENCLAW_TESTBOX=0 node scripts/check-changed.mjs --base 5e6117d17d92dcac2ef6da6d609eb423b089a77a -- \
  config/assertion-safety-baseline.txt \
  docs/gateway/configuration.md \
  scripts/e2e/lib/upgrade-survivor/assertions.mjs \
  scripts/e2e/lib/upgrade-survivor/run.sh \
  src/cli/update-cli.test.ts \
  src/commands/doctor-config-flow.legacy-composition.test.ts \
  src/commands/doctor-config-flow.test.ts \
  src/commands/doctor-config-flow.ts \
  src/commands/doctor-plugin-registry.test.ts \
  src/commands/doctor/shared/config-flow-steps.ts \
  src/commands/doctor/shared/legacy-config-migrations.runtime.entries.ts \
  src/commands/doctor/shared/missing-configured-plugin-install.repair.ts \
  src/commands/doctor/shared/missing-configured-plugin-install.test.ts \
  src/commands/doctor/shared/post-core-plugin-convergence.test.ts \
  src/commands/doctor/shared/post-core-plugin-convergence.ts \
  src/config/io.runtime.ts \
  src/config/io.types.ts \
  src/config/io.write-prepare.test.ts \
  src/config/io.write-prepare.ts \
  src/config/io.write-topology.ts \
  src/config/io.write.ts \
  src/config/legacy.roster.ts \
  src/config/mutate.test.ts \
  src/config/mutate.ts \
  src/flows/doctor-health-contribution-runners.config.ts \
  src/flows/doctor-health-contribution-types.ts \
  src/flows/doctor-health-contributions.test.ts \
  src/gateway/server.config-patch.test.ts \
  test/scripts/clawhub-fixture-server.test.ts \
  test/scripts/docker-build-helper.test.ts \
  test/scripts/plugin-inspect.test-support.ts \
  test/scripts/upgrade-survivor-assertions.test.ts \
  tsdown.config.ts \
  ui/src/e2e/chat-continue-in-terminal.e2e.test.ts \
  ui/src/e2e/chat-outbox-payloads.e2e.test.ts \
  ui/src/e2e/sidebar-attention-scope.e2e.test-support.ts
Durable sanitized proof records (12 files)

These are the inspected, hash-verified publication inputs. Expiry of the download links does not remove the records below.

first-hop/group-writable.json

SHA256 07dfa57203a3587d592557f9a4b94a2232279e2a180b0b18b7da0b0c35b2712b; 7,200 bytes.

{
  "status": "passed",
  "variant": "group-writable",
  "candidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
  "baselineSpec": "[email protected]",
  "provenance": {
    "provider": "blacksmith-testbox",
    "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
    "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490"
  },
  "originalUpdateArgv": [
    "<installed openclaw executable>",
    "update",
    "--tag",
    "file:<verified candidate tarball>",
    "--yes",
    "--json"
  ],
  "argvProjection": "Only host filesystem paths are redacted; the file: scheme, argument order and flags are unchanged.",
  "originalUpdate": {
    "exitCode": 0,
    "signal": null,
    "timedOut": false,
    "durationMs": 28215,
    "resultStatus": "ok",
    "unsafePermissionsReported": true
  },
  "installedAtOriginalInvocationTerminal": {
    "present": true,
    "version": "2026.8.1",
    "commit": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
    "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z",
    "entrySha256": "4f4d29770da4f86dbd0e07cbd4d46deab785905dd89ac719033fcfd866fb5d17"
  },
  "serviceAtOriginalInvocationTerminal": {
    "commandExit": 0,
    "loadState": "loaded",
    "activeState": "active",
    "subState": "running",
    "unitInAccountHome": true,
    "inAccountCgroup": true,
    "execStartUsesOwnedPackage": true,
    "unitUmask": "0002",
    "dropInPathsPresent": false
  },
  "candidateGateway": {
    "ready": true,
    "rpc": true,
    "commandExit": 0,
    "activeState": "active",
    "serverVersion": "2026.8.1",
    "serverBuildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
  },
  "workspaceAndAuthPreserved": true,
  "umasks": {
    "controller": "0022",
    "account": "0002",
    "gatewayUnit": "0002",
    "wrapper": "0002"
  },
  "account": {
    "privateUserGroup": true,
    "passwdHomeMatches": true
  },
  "permissions": {
    "unsafePermissionsReported": true,
    "selectedBoundaries": [
      {
        "boundary": "baseline-running-before-upgrade",
        "roles": {
          "home": {
            "mode": "0750",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "configDirectory": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "serviceDirectory": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "unit": {
            "mode": "0664",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "config": {
            "mode": "0600",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "workspace": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          }
        }
      },
      {
        "boundary": "original-update-invocation-terminal-before-probes",
        "roles": {
          "home": {
            "mode": "0750",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "configDirectory": {
            "mode": "0700",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "serviceDirectory": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "unit": {
            "mode": "0664",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "config": {
            "mode": "0600",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "workspace": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          }
        }
      },
      {
        "boundary": "candidate-ready-before-cleanup",
        "roles": {
          "home": {
            "mode": "0750",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "configDirectory": {
            "mode": "0700",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "serviceDirectory": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "unit": {
            "mode": "0664",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "config": {
            "mode": "0600",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          },
          "workspace": {
            "mode": "0775",
            "ownedByTestAccount": true,
            "ownedByPrivateUserGroup": true
          }
        }
      }
    ],
    "qualification": "The config directory changed from 0775 to 0700. The account-owned, private-group service directory and unit retained 0775 and 0664; the successful update did not eliminate every group-writable path or diagnostic."
  },
  "postUpdateActions": "After the original update, the proof driver only observes and then cleans up. It introduces no coding agent, provider inference, separate permission repair, standalone Doctor, or manual post-update restart. The updater's own Doctor and repair steps remain enabled.",
  "observations": {
    "boundaryCount": 7,
    "eventCount": 46,
    "nonGatewayNodeWorkObservedAtInvocationTerminal": false,
    "nonGatewayNodeWorkObservedAfterReadiness": false
  },
  "limits": [
    "Fresh minimal configuration; populated state and nested includes are covered by the historical proof.",
    "Earlier unrecorded filesystem ownership and modes cannot be inferred from this run.",
    "Process sampling records observed identity/disappearance; it does not establish an unobserved child exit or parent join.",
    "This run succeeded after explicit data-only staging of the exact candidate package; native source sync and all input guards remained enabled. It does not establish that the earlier native transfer stall was repaired."
  ],
  "cleanup": {
    "serviceStopExit": 0,
    "disableLingerExit": 0,
    "temporaryAccountRemoved": true
  },
  "export": {
    "controllerExit": 0,
    "availableReceipts": [
      "summary.json",
      "events.json"
    ],
    "missingReceipts": []
  },
  "sourceEvidence": {
    "archiveSha256": "59bf25d0241926ee4a457ac2248130061e85fa84faf0a2a9db095d9df1a36e2c",
    "summarySha256": "3891c7df28f664f836894e69eb31617c3b509b8ee06692850695fb8b2329486d",
    "eventsSha256": "87b8c439a58279421a2fc7c0317977f365aa651bbb283b8c61770c7261ae3ee1",
    "exportStatusSha256": "9a259413a33d3ae342b651996cfe2f65d034f2806241eea45b69bb88e65aa281",
    "rootInspectionSha256": "7f3be2af29fbf4d509c060be16eccb4f6fded93dd6ad71be74166f5852559524",
    "nativeRunReceiptSha256": "6c8fd19f028fa2abe8c2b4cb715c30153a96044b23f21bcc23bff81d31315d55"
  }
}

first-hop/normal.json

SHA256 c2a8bdb1d905ac409436f447569fbe9b9a1f87d24e603d578306401c6eea30c9; 3,080 bytes.

{
  "status": "passed",
  "variant": "normal",
  "candidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
  "baselineSpec": "[email protected]",
  "originalUpdateArgv": [
    "<installed openclaw executable>",
    "update",
    "--tag",
    "file:<verified candidate tarball>",
    "--yes",
    "--json"
  ],
  "argvProjection": "Only host filesystem paths are redacted; the file: scheme, argument order and flags are unchanged.",
  "originalUpdate": {
    "exitCode": 0,
    "signal": null,
    "timedOut": false,
    "durationMs": 28657,
    "resultStatus": "ok",
    "unsafePermissionsReported": false
  },
  "installedAtOriginalInvocationTerminal": {
    "present": true,
    "version": "2026.8.1",
    "commit": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
    "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z",
    "entrySha256": "4f4d29770da4f86dbd0e07cbd4d46deab785905dd89ac719033fcfd866fb5d17"
  },
  "serviceAtOriginalInvocationTerminal": {
    "commandExit": 0,
    "loadState": "loaded",
    "activeState": "active",
    "subState": "running",
    "unitInAccountHome": true,
    "inAccountCgroup": true,
    "execStartUsesOwnedPackage": true,
    "unitUmask": "0002",
    "dropInPathsPresent": false
  },
  "candidateGateway": {
    "ready": true,
    "rpc": true,
    "commandExit": 0,
    "activeState": "active",
    "serverVersion": "2026.8.1",
    "serverBuildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
  },
  "workspaceAndAuthPreserved": true,
  "umasks": {
    "controller": "0022",
    "account": "0022",
    "gatewayUnit": "0002",
    "wrapper": "0002"
  },
  "postUpdateActions": "After the original update, the proof driver only observes and then cleans up. It introduces no coding agent, provider inference, separate permission repair, standalone Doctor, or manual post-update restart. The updater's own Doctor and repair steps remain enabled.",
  "limits": [
    "Fresh minimal configuration; populated state and nested includes are covered by the separate historical proof.",
    "Earlier unrecorded filesystem ownership and modes cannot be inferred from this run.",
    "Process sampling records observed identity/disappearance; it does not establish an unobserved child exit or parent join."
  ],
  "cleanup": {
    "serviceStopExit": 0,
    "disableLingerExit": 0,
    "temporaryAccountRemoved": true
  },
  "export": {
    "controllerExit": 0,
    "availableReceipts": [
      "summary.json",
      "events.json"
    ],
    "missingReceipts": []
  },
  "sourceEvidence": {
    "archiveSha256": "c232a61e283801bccf2cdc9ec9a5fd9e089f6c31fc1781d3709962161562c952",
    "summarySha256": "76a95f9c5129260e3c0e897f4600bc044e3cc44fd3f9f17743b1514b549d1f16",
    "exportStatusSha256": "4e79556214ec2d954e21d7007bd742a6d78986871ec035b2032cbd55e1792658"
  },
  "provenance": {
    "provider": "blacksmith-testbox",
    "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
    "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307"
  }
}

historical/config-preservation.json

SHA256 a8ab97ac33376bd3f2bb9a309b6648a72e620337c9cb6ed5f6bd7b8664e3ae54; 4,577 bytes.

[
  {
    "stage": "seed",
    "proofVariant": "identity-include",
    "baseline": "[email protected]",
    "sha256": "4f8a6bbc89058033b84471306933a2bfb9c73b1c436eed135ec14421d7965afe",
    "includeSha256": "ecc01ecc12fbb65f40b30429a2651b1902718f808553b684caec76df9133c0db",
    "includeOwner": "agents.list.1.identity"
  },
  {
    "stage": "after-update",
    "proofVariant": "identity-include",
    "sha256": "778adea8536f2add7c6148dab4c8f7cdc9d0255f5b38ab196b3e704dd339015a",
    "includeSha256": "ecc01ecc12fbb65f40b30429a2651b1902718f808553b684caec76df9133c0db",
    "includeOwner": "agents.entries.ops.identity",
    "authoredReferencesPreserved": true,
    "escapedReferencesPreserved": true,
    "agentRosterCanonical": true,
    "messageBypassPrecedencePreserved": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true
  },
  {
    "stage": "after-consent",
    "proofVariant": "identity-include",
    "sha256": "778adea8536f2add7c6148dab4c8f7cdc9d0255f5b38ab196b3e704dd339015a",
    "includeSha256": "ecc01ecc12fbb65f40b30429a2651b1902718f808553b684caec76df9133c0db",
    "includeOwner": "agents.entries.ops.identity",
    "authoredReferencesPreserved": true,
    "escapedReferencesPreserved": true,
    "agentRosterCanonical": true,
    "messageBypassPrecedencePreserved": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "canonicalCliRead": true,
    "includedValuesResolved": true
  },
  {
    "stage": "after-repeat-doctor",
    "proofVariant": "identity-include",
    "sha256": "778adea8536f2add7c6148dab4c8f7cdc9d0255f5b38ab196b3e704dd339015a",
    "includeSha256": "ecc01ecc12fbb65f40b30429a2651b1902718f808553b684caec76df9133c0db",
    "includeOwner": "agents.entries.ops.identity",
    "authoredReferencesPreserved": true,
    "escapedReferencesPreserved": true,
    "agentRosterCanonical": true,
    "messageBypassPrecedencePreserved": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "byteIdenticalAfterRepeatDoctor": true,
    "includeByteIdenticalAfterRepeatDoctor": true
  },
  {
    "stage": "doctor-occurrences-normalized",
    "proofVariant": "identity-include",
    "sha256": "25e51fa311c5cf95ac3f732ef26a0545d916ebd1860e731fafc2dacb4458b236",
    "includeSha256": "043c0b9edb535c72be4b303232324f09b4fb27f4e26ea79be1c8bead2d4be6de",
    "includeOwner": "gateway",
    "authoredReferencesPreserved": true,
    "agentRosterCanonical": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "canonicalCliRead": true,
    "includedValuesResolved": true,
    "byteIdenticalAfterRepeatDoctor": true,
    "includeByteIdenticalAfterRepeatDoctor": true
  },
  {
    "stage": "doctor-occurrences-unnamed",
    "proofVariant": "identity-include",
    "sha256": "859b7a62c326d0cf71c01349434bbd29ce6895638ceca2e8d4c2243b5a17b887",
    "includeSha256": "043c0b9edb535c72be4b303232324f09b4fb27f4e26ea79be1c8bead2d4be6de",
    "includeOwner": "gateway",
    "authoredReferencesPreserved": true,
    "agentRosterCanonical": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "canonicalCliRead": true,
    "includedValuesResolved": true,
    "byteIdenticalAfterRepeatDoctor": true,
    "includeByteIdenticalAfterRepeatDoctor": true
  },
  {
    "stage": "doctor-occurrences-duplicate",
    "proofVariant": "identity-include",
    "sha256": "d93e03852f16e3c0f5e187bb112e1c4b798edd9d27f2027ffab272546b484cf3",
    "includeSha256": "043c0b9edb535c72be4b303232324f09b4fb27f4e26ea79be1c8bead2d4be6de",
    "includeOwner": "gateway",
    "authoredReferencesPreserved": true,
    "agentRosterCanonical": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "canonicalCliRead": true,
    "includedValuesResolved": true,
    "byteIdenticalAfterRepeatDoctor": true,
    "includeByteIdenticalAfterRepeatDoctor": true
  },
  {
    "stage": "doctor-occurrences-leading-null",
    "proofVariant": "identity-include",
    "sha256": "de9f8be2d36881247cc0d4fb300ea81e0f5cf41aa5d7e320ffe3c03baa30e246",
    "includeSha256": "043c0b9edb535c72be4b303232324f09b4fb27f4e26ea79be1c8bead2d4be6de",
    "includeOwner": "gateway",
    "authoredReferencesPreserved": true,
    "agentRosterCanonical": true,
    "includeOwnershipPreserved": true,
    "includeAuthoredBytesPreserved": true,
    "canonicalCliRead": true,
    "includedValuesResolved": true,
    "byteIdenticalAfterRepeatDoctor": true,
    "includeByteIdenticalAfterRepeatDoctor": true
  }
]

historical/export-status.json

SHA256 998ac592bf0c047f7c236465a3c4aa5a2629de6a7802a135c8d06106617abf7e; 251 bytes.

{
  "requestedCandidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "proofVariant": "identity-include",
  "originalExitCode": 0,
  "driverPhase": "complete",
  "summary": {
    "status": "passed"
  },
  "failure": {},
  "missingReceipts": []
}

historical/proof-manifest.json

SHA256 e194cb8b49e22a2aba9c2366fc8eed39d535c6f64cb8189d19586977e75bbb00; 1,044 bytes.

{
  "status": "passed",
  "baselineSpec": "[email protected]",
  "baselineTagObjectSha": "be8b8a9e8838f832e4fa47cde8bea0a33aec71ba",
  "baselineCommitSha": "0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c",
  "candidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "proofVariant": "identity-include",
  "candidateVersion": "2026.8.1",
  "candidatePackageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
  "candidatePackageBytes": 56025751,
  "registryManifestSha256": "ac6ad0d249923174ec800c444f84b490daefb04e1e18466075d6abf7440c481e",
  "harness": {
    "originalRunSha256": "8b146044817a4b838fead8cc3ba509f2bb4064f9354b9771550730598ba74472",
    "patchedRunSha256": "7fed1487284b0493dbfc3d6f236028e418638a1f9d0370d3a8dffbf0f1b5ba96",
    "helperSha256": "24fe02d489dc2d49b3e2b68b19bf10928931c8abfa3a918b6a2b358a1d04600e",
    "configRecipeSha256": "fb1d417606e1b91c3280cc0144a501f7c553cc932d1719ee19a32751271439b7",
    "assertionsSha256": "1181eeaedb1d6f5ebafb6740486c17f75cb35186c1b38e2fa63f76ff74a83f72"
  }
}

historical/summary.json

SHA256 56d2c001a9eb5a189fc084e98769585eea81211fd3e3e3142f3642ae083881d7; 10,888 bytes.

{
  "status": "passed",
  "scenario": "base",
  "installedVersion": "2026.8.1",
  "updateRestartMode": "manual",
  "updateRecovery": null,
  "updateRestartSource": null,
  "baseline": {
    "spec": "[email protected]",
    "version": "2026.7.1-2"
  },
  "candidate": {
    "kind": "tarball",
    "version": "2026.8.1"
  },
  "timings": {
    "startupSeconds": 3,
    "updateRestartSeconds": null,
    "idempotenceSeconds": null,
    "healthzSeconds": 1,
    "readyzSeconds": 1,
    "statusSeconds": 1
  },
  "failure": null,
  "phases": [
    {
      "phase": "storage-preflight",
      "status": "started",
      "at": "2026-09-02T09:01:23.205Z"
    },
    {
      "phase": "storage-preflight",
      "status": "passed",
      "at": "2026-09-02T09:01:23.231Z"
    },
    {
      "phase": "validate-update-restart-mode",
      "status": "started",
      "at": "2026-09-02T09:01:23.256Z"
    },
    {
      "phase": "validate-update-restart-mode",
      "status": "passed",
      "at": "2026-09-02T09:01:23.280Z"
    },
    {
      "phase": "reset-run-state",
      "status": "started",
      "at": "2026-09-02T09:01:23.299Z"
    },
    {
      "phase": "reset-run-state",
      "status": "passed",
      "at": "2026-09-02T09:01:23.319Z"
    },
    {
      "phase": "install-baseline",
      "status": "started",
      "at": "2026-09-02T09:01:23.337Z"
    },
    {
      "phase": "install-baseline",
      "status": "passed",
      "at": "2026-09-02T09:01:31.182Z"
    },
    {
      "phase": "initialize-state",
      "status": "started",
      "at": "2026-09-02T09:01:31.198Z"
    },
    {
      "phase": "initialize-state",
      "status": "passed",
      "at": "2026-09-02T09:01:31.217Z"
    },
    {
      "phase": "apply-baseline-config-recipe",
      "status": "started",
      "at": "2026-09-02T09:01:31.232Z"
    },
    {
      "phase": "apply-baseline-config-recipe",
      "status": "passed",
      "at": "2026-09-02T09:01:50.555Z"
    },
    {
      "phase": "validate-baseline-config",
      "status": "started",
      "at": "2026-09-02T09:01:50.569Z"
    },
    {
      "phase": "validate-baseline-config",
      "status": "passed",
      "at": "2026-09-02T09:01:51.278Z"
    },
    {
      "phase": "resolve-candidate",
      "status": "started",
      "at": "2026-09-02T09:01:51.294Z"
    },
    {
      "phase": "resolve-candidate",
      "status": "passed",
      "at": "2026-09-02T09:01:51.943Z"
    },
    {
      "phase": "configure-clawhub-fixture",
      "status": "started",
      "at": "2026-09-02T09:01:51.960Z"
    },
    {
      "phase": "configure-clawhub-fixture",
      "status": "passed",
      "at": "2026-09-02T09:01:52.079Z"
    },
    {
      "phase": "prepare-update-restart-probe",
      "status": "started",
      "at": "2026-09-02T09:01:52.094Z"
    },
    {
      "phase": "prepare-update-restart-probe",
      "status": "passed",
      "at": "2026-09-02T09:01:52.108Z"
    },
    {
      "phase": "seed-authored-config",
      "status": "started",
      "at": "2026-09-02T09:01:52.122Z"
    },
    {
      "phase": "seed-authored-config",
      "status": "passed",
      "at": "2026-09-02T09:01:52.155Z"
    },
    {
      "phase": "validate-authored-baseline",
      "status": "started",
      "at": "2026-09-02T09:01:52.169Z"
    },
    {
      "phase": "validate-authored-baseline",
      "status": "passed",
      "at": "2026-09-02T09:01:52.860Z"
    },
    {
      "phase": "seed-state",
      "status": "started",
      "at": "2026-09-02T09:01:52.874Z"
    },
    {
      "phase": "seed-state",
      "status": "passed",
      "at": "2026-09-02T09:01:52.910Z"
    },
    {
      "phase": "install-baseline-plugin-dependencies",
      "status": "started",
      "at": "2026-09-02T09:01:52.925Z"
    },
    {
      "phase": "install-baseline-plugin-dependencies",
      "status": "passed",
      "at": "2026-09-02T09:01:52.940Z"
    },
    {
      "phase": "seed-legacy-plugin-dependency-debris",
      "status": "started",
      "at": "2026-09-02T09:01:52.955Z"
    },
    {
      "phase": "seed-legacy-plugin-dependency-debris",
      "status": "passed",
      "at": "2026-09-02T09:01:52.970Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris",
      "status": "started",
      "at": "2026-09-02T09:01:52.983Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris",
      "status": "passed",
      "at": "2026-09-02T09:01:52.998Z"
    },
    {
      "phase": "seed-source-only-plugin-shadow",
      "status": "started",
      "at": "2026-09-02T09:01:53.012Z"
    },
    {
      "phase": "seed-source-only-plugin-shadow",
      "status": "passed",
      "at": "2026-09-02T09:01:53.026Z"
    },
    {
      "phase": "assert-baseline",
      "status": "started",
      "at": "2026-09-02T09:01:53.039Z"
    },
    {
      "phase": "assert-baseline",
      "status": "passed",
      "at": "2026-09-02T09:01:53.127Z"
    },
    {
      "phase": "seed-legacy-runtime-deps-symlink",
      "status": "started",
      "at": "2026-09-02T09:01:53.141Z"
    },
    {
      "phase": "seed-legacy-runtime-deps-symlink",
      "status": "passed",
      "at": "2026-09-02T09:01:53.157Z"
    },
    {
      "phase": "configure-plugin-registry",
      "status": "started",
      "at": "2026-09-02T09:01:53.172Z"
    },
    {
      "phase": "configure-plugin-registry",
      "status": "passed",
      "at": "2026-09-02T09:01:53.349Z"
    },
    {
      "phase": "update-candidate",
      "status": "started",
      "at": "2026-09-02T09:01:53.362Z"
    },
    {
      "phase": "update-candidate",
      "status": "passed",
      "at": "2026-09-02T09:02:55.919Z"
    },
    {
      "phase": "assert-authored-automatic-migration",
      "status": "started",
      "at": "2026-09-02T09:02:55.932Z"
    },
    {
      "phase": "assert-authored-automatic-migration",
      "status": "passed",
      "at": "2026-09-02T09:02:55.964Z"
    },
    {
      "phase": "assert-automatic-migration",
      "status": "started",
      "at": "2026-09-02T09:02:55.979Z"
    },
    {
      "phase": "assert-automatic-migration",
      "status": "passed",
      "at": "2026-09-02T09:02:56.078Z"
    },
    {
      "phase": "assert-prepublish-requests",
      "status": "started",
      "at": "2026-09-02T09:02:56.091Z"
    },
    {
      "phase": "assert-prepublish-requests",
      "status": "passed",
      "at": "2026-09-02T09:02:57.506Z"
    },
    {
      "phase": "root-managed-vps-cli-usable",
      "status": "started",
      "at": "2026-09-02T09:02:57.525Z"
    },
    {
      "phase": "root-managed-vps-cli-usable",
      "status": "passed",
      "at": "2026-09-02T09:02:57.544Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris-before-doctor",
      "status": "started",
      "at": "2026-09-02T09:02:57.564Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris-before-doctor",
      "status": "passed",
      "at": "2026-09-02T09:02:57.580Z"
    },
    {
      "phase": "doctor",
      "status": "started",
      "at": "2026-09-02T09:02:57.595Z"
    },
    {
      "phase": "doctor",
      "status": "passed",
      "at": "2026-09-02T09:03:00.747Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris-cleaned",
      "status": "started",
      "at": "2026-09-02T09:03:00.761Z"
    },
    {
      "phase": "assert-legacy-plugin-dependency-debris-cleaned",
      "status": "passed",
      "at": "2026-09-02T09:03:00.775Z"
    },
    {
      "phase": "assert-legacy-runtime-deps-symlink-repaired",
      "status": "started",
      "at": "2026-09-02T09:03:00.788Z"
    },
    {
      "phase": "assert-legacy-runtime-deps-symlink-repaired",
      "status": "passed",
      "at": "2026-09-02T09:03:00.804Z"
    },
    {
      "phase": "validate-post-doctor-config",
      "status": "started",
      "at": "2026-09-02T09:03:00.822Z"
    },
    {
      "phase": "validate-post-doctor-config",
      "status": "passed",
      "at": "2026-09-02T09:03:01.358Z"
    },
    {
      "phase": "assert-survival",
      "status": "started",
      "at": "2026-09-02T09:03:01.375Z"
    },
    {
      "phase": "assert-survival",
      "status": "passed",
      "at": "2026-09-02T09:03:01.476Z"
    },
    {
      "phase": "fixture-plugin-consent",
      "status": "started",
      "at": "2026-09-02T09:03:01.489Z"
    },
    {
      "phase": "assert-prepublish-recovery-requests",
      "status": "started",
      "at": "2026-09-02T09:03:01.501Z"
    },
    {
      "phase": "assert-prepublish-recovery-requests",
      "status": "passed",
      "at": "2026-09-02T09:03:02.476Z"
    },
    {
      "phase": "fixture-plugin-consent",
      "status": "passed",
      "at": "2026-09-02T09:03:02.490Z"
    },
    {
      "phase": "validate-authored-after-consent",
      "status": "started",
      "at": "2026-09-02T09:03:02.503Z"
    },
    {
      "phase": "validate-authored-after-consent",
      "status": "passed",
      "at": "2026-09-02T09:03:03.013Z"
    },
    {
      "phase": "assert-authored-after-consent",
      "status": "started",
      "at": "2026-09-02T09:03:03.026Z"
    },
    {
      "phase": "assert-authored-after-consent",
      "status": "passed",
      "at": "2026-09-02T09:03:05.413Z"
    },
    {
      "phase": "authored-repeat-doctor",
      "status": "started",
      "at": "2026-09-02T09:03:05.438Z"
    },
    {
      "phase": "authored-repeat-doctor",
      "status": "passed",
      "at": "2026-09-02T09:03:09.131Z"
    },
    {
      "phase": "assert-authored-idempotence",
      "status": "started",
      "at": "2026-09-02T09:03:09.149Z"
    },
    {
      "phase": "assert-authored-idempotence",
      "status": "passed",
      "at": "2026-09-02T09:03:09.185Z"
    },
    {
      "phase": "assert-original-base-after-repeat",
      "status": "started",
      "at": "2026-09-02T09:03:09.203Z"
    },
    {
      "phase": "assert-original-base-after-repeat",
      "status": "passed",
      "at": "2026-09-02T09:03:09.305Z"
    },
    {
      "phase": "assert-doctor-occurrence-migrations",
      "status": "started",
      "at": "2026-09-02T09:03:09.321Z"
    },
    {
      "phase": "assert-doctor-occurrence-migrations",
      "status": "passed",
      "at": "2026-09-02T09:03:33.831Z"
    },
    {
      "phase": "gateway-start",
      "status": "started",
      "at": "2026-09-02T09:03:33.850Z"
    },
    {
      "phase": "gateway-start",
      "status": "passed",
      "at": "2026-09-02T09:03:36.673Z"
    },
    {
      "phase": "gateway-probes",
      "status": "started",
      "at": "2026-09-02T09:03:36.688Z"
    },
    {
      "phase": "gateway-probes",
      "status": "passed",
      "at": "2026-09-02T09:03:36.849Z"
    },
    {
      "phase": "gateway-status",
      "status": "started",
      "at": "2026-09-02T09:03:36.865Z"
    },
    {
      "phase": "gateway-status",
      "status": "passed",
      "at": "2026-09-02T09:03:37.556Z"
    }
  ]
}

historical/summary.md

SHA256 4b7acbbaf159ac223cfc0f74de7e8dfbd3108a6dec565a59fee21c9ff1218ad3; 1,719 bytes.

Historical upgrade and configuration preservation passed in an isolated Linux Crabbox run: 42 phases completed, with exit code 0 and no missing receipts.

The published baseline was `[email protected]`. The candidate was OpenClaw `2026.8.1`, commit `76dbd7ba6d2bbf679014b03880ea21c90c676a47`, packaged as 56,025,751 bytes with SHA256 `005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33`.

Authored environment expressions and the nested agent identity include survived the updater's automatic migration before standalone Doctor ran. After plugin consent handling, the installed CLI read the canonical configuration and resolved included values. Repeating Doctor left the complete configuration and include bytes identical, including metadata. The real packaged Doctor also passed normalized, unnamed, duplicate-ID and leading-null agent cases, preserving distinct workspace expressions that resolve to the same directory and an unrelated Gateway include.

This historical lane used manual Gateway startup after the upgrade. Gateway startup, health, readiness and RPC status checks all passed. Autonomous repair and first-hop evidence are tracked separately.

Two external fixture corrections preceded this pass: normal workspace dependency installation was restored, and the ownership assertion was aligned with the documented omission for sole ownership while retaining the explicit fleet-ownership requirement. The candidate package did not change during those corrections. Earlier failed runs are retained separately and are not counted as passing evidence. This bundle contains only the four projected JSON receipts and this summary; raw logs, configurations and installation contents are excluded.

manifest.json

SHA256 81ac69b09cdf4bbb48d1a3423c1db57653ef0012db9befcd6e4f54b69c1bcfcd; 3,434 bytes.

{
  "status": "complete-all-four-lanes-passed",
  "candidate": {
    "version": "2026.8.1",
    "commit": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
    "tree": "09e78036388bb0ca7a41b68f909518d1924da725",
    "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
    "packageBytes": 56025751,
    "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
  },
  "publishedBaseline": {
    "spec": "[email protected]",
    "commit": "0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c",
    "tagObject": "be8b8a9e8838f832e4fa47cde8bea0a33aec71ba"
  },
  "lanes": {
    "historical": {
      "status": "passed",
      "recordedPhases": 42,
      "rosterCases": [
        "normalized",
        "unnamed",
        "duplicate",
        "leading-null"
      ]
    },
    "native": {
      "status": "passed",
      "originalFailedUpdateExit": 1,
      "faultLimit": "EACCES injected during fresh Doctor child Node preload before Doctor entry; proves failed subprocess recovery, not a production Doctor filesystem fault."
    },
    "normalFirstHop": {
      "status": "passed",
      "originalUpdateExit": 0,
      "manualPostUpdateRestart": false
    },
    "groupWritableFirstHop": {
      "status": "passed",
      "originalUpdateExit": 0,
      "unsafePermissionsReported": true,
      "manualPostUpdateRestart": false,
      "explicitPackageStagingUsed": true,
      "nativeSourceSyncEnabled": true
    }
  },
  "cleanup": {
    "allTaskOwnedProofLeasesStopped": true,
    "downloadedArtifactsRetained": true
  },
  "projection": "The four historical JSON receipts are unchanged. Other records project selected outcomes, permission modes, public candidate identities, diagnostic provider/lease/run provenance and evidence hashes. Host paths, raw terminals/configurations and process inventories are omitted.",
  "files": {
    "first-hop/group-writable.json": {
      "bytes": 7200,
      "sha256": "07dfa57203a3587d592557f9a4b94a2232279e2a180b0b18b7da0b0c35b2712b"
    },
    "first-hop/normal.json": {
      "bytes": 3080,
      "sha256": "c2a8bdb1d905ac409436f447569fbe9b9a1f87d24e603d578306401c6eea30c9"
    },
    "historical/config-preservation.json": {
      "bytes": 4577,
      "sha256": "a8ab97ac33376bd3f2bb9a309b6648a72e620337c9cb6ed5f6bd7b8664e3ae54"
    },
    "historical/export-status.json": {
      "bytes": 251,
      "sha256": "998ac592bf0c047f7c236465a3c4aa5a2629de6a7802a135c8d06106617abf7e"
    },
    "historical/proof-manifest.json": {
      "bytes": 1044,
      "sha256": "e194cb8b49e22a2aba9c2366fc8eed39d535c6f64cb8189d19586977e75bbb00"
    },
    "historical/summary.json": {
      "bytes": 10888,
      "sha256": "56d2c001a9eb5a189fc084e98769585eea81211fd3e3e3142f3642ae083881d7"
    },
    "historical/summary.md": {
      "bytes": 1719,
      "sha256": "4b7acbbaf159ac223cfc0f74de7e8dfbd3108a6dec565a59fee21c9ff1218ad3"
    },
    "native/summary.json": {
      "bytes": 2264,
      "sha256": "7e7cc58d7d06d1f9315e708dc53aa5d85aaf96fcf291562fbea1e1bf6d886611"
    },
    "provenance.json": {
      "bytes": 2980,
      "sha256": "0b05f2ae0ee73d5c7d6f27088cae81c8699e57e58179e62720f3232b6cba5220"
    },
    "setup-history.json": {
      "bytes": 4089,
      "sha256": "0138d944e48ef355bb0a8e3e0206dd2390efba49e263b388a43078a33b3e3682"
    },
    "summary.md": {
      "bytes": 4039,
      "sha256": "64b16b0f775426f3ba5fcd67de3b16b5520000065c03177c7da374720fe1defd"
    }
  }
}

native/summary.json

SHA256 7e7cc58d7d06d1f9315e708dc53aa5d85aaf96fcf291562fbea1e1bf6d886611; 2,264 bytes.

{
  "status": "passed",
  "candidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
  "version": "2026.8.1",
  "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z",
  "scope": "Real installed Codex handoff and recovery after an injected fresh Doctor-child failure.",
  "faultInjectionBoundary": "EACCES injected during fresh Doctor child Node preload before Doctor entry; proves failed subprocess recovery, not a production Doctor filesystem fault.",
  "initialGateway": {
    "ready": true,
    "rpc": true,
    "version": "2026.8.1",
    "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
  },
  "safeFailure": {
    "exitCode": 1,
    "serviceRestartSafe": true,
    "noLifecycleStarted": true,
    "unchangedPackage": true,
    "originalProcessExited": true,
    "ready": true,
    "rpc": true
  },
  "codexInference": {
    "exitCode": 0,
    "exactReply": true
  },
  "recovery": {
    "serviceStoppedBeforeAgent": true,
    "nativeCodex": {
      "pty": true,
      "accountOwned": true,
      "updaterAncestor": true,
      "handoffLatencyMs": 20
    },
    "agentRepair": {
      "updateExit": 0,
      "doctorExit": 0,
      "permissionsRepaired": true,
      "workspacePreserved": true
    },
    "repairedGateway": {
      "ready": true,
      "rpc": true,
      "version": "2026.8.1",
      "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
    },
    "originalUpdateExit": 1,
    "originalFailureExitPreserved": true,
    "interactiveTerminalClosure": "After independent repair, ready/RPC and exact-build verification, the harness requested normal closure of the interactive terminal. Agent auto-exit is not established."
  },
  "cleanup": {
    "serviceStopExit": 0,
    "lingerExit": 0,
    "temporaryAccountRemoved": true
  },
  "sourceEvidence": {
    "inspectionSha256": "f0758ce221cb146df0ef57add81f4d5b61dabf4eb69f67f57dabc758bdfc75ef",
    "sanitizedArchiveSha256": "a28ef9ce80ea35b6a1b1e80091ca7cc318b2ced1a4ae6b0c6dbadd17015031ee"
  },
  "provenance": {
    "provider": "blacksmith-testbox",
    "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
    "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307"
  }
}

provenance.json

SHA256 0b05f2ae0ee73d5c7d6f27088cae81c8699e57e58179e62720f3232b6cba5220; 2,980 bytes.

{
  "candidate": {
    "version": "2026.8.1",
    "commit": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
    "tree": "09e78036388bb0ca7a41b68f909518d1924da725",
    "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
    "packageBytes": 56025751,
    "buildId": "2026.8.1-76dbd7ba6d2b-2026-09-02T08-10-02.397Z"
  },
  "publishedBaseline": {
    "spec": "[email protected]",
    "commit": "0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c",
    "tagObject": "be8b8a9e8838f832e4fa47cde8bea0a33aec71ba"
  },
  "lanes": {
    "historical": {
      "provider": "blacksmith-testbox",
      "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
      "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307",
      "status": "passed",
      "archiveSha256": "22db5661b00528ce13e872bcc5345bba490d99d494bf9d84a1453000f411e197",
      "inspectionSha256": "3ed1d1ad2827439ec9e4b630ba288732ce3c4a3f84d5b99bc94b5e8902af158f",
      "runReceiptSha256": "d580f74ac3966d46b10eba39784fa2a45c4857bfd4080dafce87d95e0da3132c"
    },
    "native": {
      "provider": "blacksmith-testbox",
      "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
      "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307",
      "status": "passed",
      "inspectionSha256": "f0758ce221cb146df0ef57add81f4d5b61dabf4eb69f67f57dabc758bdfc75ef",
      "sanitizedArchiveSha256": "a28ef9ce80ea35b6a1b1e80091ca7cc318b2ced1a4ae6b0c6dbadd17015031ee"
    },
    "normalFirstHop": {
      "provider": "blacksmith-testbox",
      "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
      "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307",
      "status": "passed",
      "archiveSha256": "c232a61e283801bccf2cdc9ec9a5fd9e089f6c31fc1781d3709962161562c952",
      "summarySha256": "76a95f9c5129260e3c0e897f4600bc044e3cc44fd3f9f17743b1514b549d1f16",
      "exportStatusSha256": "4e79556214ec2d954e21d7007bd742a6d78986871ec035b2032cbd55e1792658"
    },
    "groupWritableFirstHop": {
      "provider": "blacksmith-testbox",
      "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
      "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490",
      "status": "passed",
      "archiveSha256": "59bf25d0241926ee4a457ac2248130061e85fa84faf0a2a9db095d9df1a36e2c",
      "summarySha256": "3891c7df28f664f836894e69eb31617c3b509b8ee06692850695fb8b2329486d",
      "eventsSha256": "87b8c439a58279421a2fc7c0317977f365aa651bbb283b8c61770c7261ae3ee1",
      "exportStatusSha256": "9a259413a33d3ae342b651996cfe2f65d034f2806241eea45b69bb88e65aa281",
      "rootInspectionSha256": "7f3be2af29fbf4d509c060be16eccb4f6fded93dd6ad71be74166f5852559524",
      "nativeRunReceiptSha256": "6c8fd19f028fa2abe8c2b4cb715c30153a96044b23f21bcc23bff81d31315d55"
    }
  },
  "provenanceLimit": "Provider, lease and Actions run identify the proof environment; each lane's separate receipt and artifact hashes bind its outcome. They are diagnostic correlation, not authorization."
}

setup-history.json

SHA256 0138d944e48ef355bb0a8e3e0206dd2390efba49e263b388a43078a33b3e3682; 4,089 bytes.

{
  "candidateSha": "76dbd7ba6d2bbf679014b03880ea21c90c676a47",
  "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
  "priorFailuresRetained": true,
  "historicalFixtureCorrections": {
    "normalWorkspaceDependencyInstallRestored": true,
    "soleOwnershipOracleCorrectedToDocumentedOmission": true,
    "fleetOwnershipStillRequiredExplicitly": true,
    "completeRepeatByteChecksRetained": true,
    "candidatePackageUnchanged": true,
    "note": "Earlier failures are retained separately and do not count as passes."
  },
  "groupWritableSequence": [
    {
      "stage": "fixture-source-exporter",
      "provenance": {
        "provider": "blacksmith-testbox",
        "leaseId": "tbx_01m1gkb13ys21gctmw46a8z8ye",
        "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33608280307"
      },
      "exitCode": 128,
      "productProofCompleted": false,
      "receiptSha256": "96d03d16a0fdd1abc720e4cdf85e065c9c4337e59bc9b306f9c240cdba73be66",
      "note": "The external source exporter failed before product execution; exporter ownership was corrected."
    },
    {
      "stage": "native-source-sync",
      "provenance": {
        "provider": "blacksmith-testbox",
        "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
        "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490"
      },
      "exitCode": 124,
      "productProofCompleted": false,
      "remoteStart": "unknown",
      "receiptSha256": "9d251016cc301bcc4cd9d62a140739f16a5dd81d06a4265ce61fb310664beeba",
      "note": "Native synchronization timed out. This is retained as a transport failure."
    },
    {
      "stage": "data-only-scp-package-staging",
      "provenance": {
        "provider": "blacksmith-testbox",
        "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
        "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490"
      },
      "exitCode": 0,
      "proofExecuted": false,
      "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
      "packageBytes": 56025751,
      "localPackageUnchanged": true,
      "normalWrapperSyncStillRequired": true,
      "receiptSha256": "34c1cfa0e423a34c4a88e422625fd2562f8da9ed5acdfed5a485ab13afcb277e"
    },
    {
      "stage": "roundtrip-download-and-hash-verification",
      "matchesFinalPackage": true,
      "packageSha256": "005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33",
      "packageBytes": 56025751,
      "normalWrapperSyncAndAllInputGuardsRemain": true,
      "receiptSha256": "0ac2133067b59d02876451f379895890e1a2fcbdb89d97bc51cbb390f2f36740"
    },
    {
      "stage": "normal-native-wrapper-proof-after-staging",
      "provenance": {
        "provider": "blacksmith-testbox",
        "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
        "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490"
      },
      "exitCode": 0,
      "elapsedSeconds": 312.78,
      "sourceUnchanged": true,
      "normalSourceSyncEnabled": true,
      "allInputGuardsEnabled": true,
      "receiptSha256": "6c8fd19f028fa2abe8c2b4cb715c30153a96044b23f21bcc23bff81d31315d55"
    }
  ],
  "qualification": "The final group run proves the verified package and operator flow after explicit staging. It does not establish unassisted fresh transfer or a fix for the earlier native sync stall.",
  "cleanup": {
    "allTaskOwnedProofLeasesStopped": true,
    "downloadedArtifactsRetained": true,
    "finalGroupLease": {
      "provider": "blacksmith-testbox",
      "leaseId": "tbx_01m1gpt8pj1jajxddnea7mfrkg",
      "runUrl": "https://github.com/openclaw/openclaw/actions/runs/33613735490",
      "status": "completed",
      "proofAndDownloadTerminal": true,
      "stopExitCode": 0,
      "statusExitCode": 0,
      "receiptSha256": "fe578dae4a5652793f00a93baef3a735ecd45e4e9c34464e8814e67c73b72232"
    },
    "otherProofLeases": "The earlier shared proof lease and browser proof lease were already completed; the coordinating maintainer verified all task-owned proof environments are closed."
  }
}

summary.md

SHA256 64b16b0f775426f3ba5fcd67de3b16b5520000065c03177c7da374720fe1defd; 4,039 bytes.

All four proof lanes passed for OpenClaw `2026.8.1`, commit `76dbd7ba6d2bbf679014b03880ea21c90c676a47`. Every lane used the same 56,025,751-byte candidate package, SHA256 `005b34dcf17ff026443fb8330aed5af21cc46e10b830ca4c1a6cea6791325b33`. The published upgrade baseline was `[email protected]`. All task-owned proof leases are stopped, with downloaded evidence retained.

The historical lane used the real installed CLI and passed all 42 phases plus normalized, unnamed, duplicate-ID and leading-null Doctor cases. Authored environment expressions, include ownership and include bytes survived automatic migration before standalone Doctor. Canonical rereads and repeat Doctor preserved complete bytes, including metadata. Gateway startup, health, readiness and RPC passed after this lane's manual startup.

The native recovery lane exercised a real installed Codex process in an account-owned PTY. The service stopped before handoff; the agent repaired permissions, completed update and Doctor, and restored Gateway readiness/RPC while preserving the workspace. The original failed update still returned 1. After independent repair, readiness/RPC and exact-build verification, the harness requested normal closure of the interactive terminal; agent auto-exit is not established. The EACCES fault was injected during fresh Doctor-child Node preload before Doctor entry: this proves failed-subprocess recovery, not a production Doctor filesystem fault.

Both first-hop variants ran the original command once: `<installed openclaw executable> update --tag file:<verified candidate tarball> --yes --json`. Only host paths are redacted; the file: scheme, flags and argument order are exact. Both returned 0 with result `ok`, installed the expected commit, and reached Gateway readiness/RPC with workspace and authentication state preserved. After update, the proof driver only observed and cleaned up; it added no coding agent, separate permission repair, standalone Doctor or manual post-update restart. The updater's own Doctor and repair steps remained enabled.

The normal account used umask 0022; the group-writable account used 0002. Both recorded wrapper and Gateway-unit umask 0002. The group run reported an unsafe-permissions diagnostic: its config directory changed 0775→0700, while the test-account/private-group service directory and unit retained 0775/0664. Its success does not mean every group-writable path or diagnostic disappeared. These first-hop lanes used fresh minimal configuration; the historical lane covers populated state and includes. Process sampling does not prove unobserved child exits or parent joins.

Historical fixture corrections restored normal workspace dependency installation and aligned the sole/fleet ownership oracle with its documented contract, without changing the candidate package or weakening full byte comparisons. The group lane first hit a pre-product fixture exporter exit 128, then native sync timeout 124. That timeout yielded no completed product verdict; whether its remote command started is unknown. The exact package was subsequently staged with data-only SCP and verified by download/hash; the final proof still used normal native synchronization and all source/input guards. This qualifies the package/operator flow after staging and does not establish that the earlier transfer stall was repaired. Prior failed runs remain retained and do not count as passes.

Historical, native and normal first-hop evidence came from `blacksmith-testbox`, lease `tbx_01m1gkb13ys21gctmw46a8z8ye`, [Actions run 33608280307](https://github.com/openclaw/openclaw/actions/runs/33608280307). Group-writable evidence came from the same provider, lease `tbx_01m1gpt8pj1jajxddnea7mfrkg`, [Actions run 33613735490](https://github.com/openclaw/openclaw/actions/runs/33613735490). The four historical JSON receipts are unchanged; the other files project selected outcomes, permissions and provenance. The bundle contains no raw terminal, raw configuration, local filesystem paths or agent transcript.

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@steipete
steipete merged commit 4a478ee into main Sep 2, 2026
529 of 532 checks passed
@steipete
steipete deleted the codex/update-doctor-include-recovery branch September 2, 2026 10:32
@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 3, 2026
…openclaw#135671)

* fix(config): preserve authored references during Doctor repair

Use canonical authored projection for invalid snapshots so a legacy agent
roster can migrate without restoring the retired list or flattening includes.
Keep roster-format intent separate from explicit value edits and consume it
only after the Doctor write commits. Compare resolved Gateway modes while
retaining intentional parameter removal and ambiguous-include safeguards.

Derive plugin consent failure from its existing typed outcomes, and arm the
transient composer-cue test observer before the user action.

Follow-up to openclaw#134490. The exact repair patch and all 26 managed-review
datasets are unchanged after adopting its landed main base. Independent
P0-P2 review, 107 integration cases, and 18 real Doctor cases on this base pass.
The earlier 528 config/Doctor cases pass with those owners unchanged.
Final packaged Crabbox upgrade and autonomous repair proof remains pending.

Co-authored-by: Jason (Json) <[email protected]>

* test(update): verify npm artifacts in upgrade recovery

Validate automatic plugin recovery against the declared npm source, its
managed installation, exact version, artifact integrity, and capability
consent. Preserve selected-plugin consent deferral and the explicit
ClawHub companion audit.

Replace the stale ClawHub-only request expectation with a positive artifact
assertion and zero unexpected ClawHub requests. Exercise invalid records
and the real phase order, including macOS Bash 3.2 optional arguments.

The packaged stable-to-candidate reproduction exposed the obsolete oracle.
Focused regressions, all changed checks, and final managed review pass.
Full final-package Crabbox verification remains in progress.

Related: openclaw#134490

* test(ui): wait for draft persistence before legacy seeding

Observe the committed nonempty draft and its post-send clear before replacing current metadata with the legacy outbox fixture. This prevents navigation from aborting the clear and restoring the old text and Blob.

The native IndexedDB latency reproduction fails before the correction and passes after it. Both original legacy table cases and the changed checks pass.

* test(ui): wait for menu readiness in continuation proof

Use the shared focus-synchronized submenu helper for both desktop openings
of Continue in terminal. Keep the real action clicks, exact handoff and
clipboard assertions, reconnect retirement, and mobile pointer flow.
Both browser cases and the changed-file gate pass with a clean managed review.

Co-authored-by: Jason (Json) <[email protected]>

---------

Co-authored-by: Jason (Json) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant