Skip to content

fix(doctor): preserve escaped references through config repair - #147453

Merged
fuller-stack-dev merged 76 commits into
mainfrom
fix/doctor-planned-config-references-136025
Sep 21, 2026
Merged

fuller-stack-dev merged 76 commits into
mainfrom
fix/doctor-planned-config-references-136025

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Related: #136025
Part of #145252

What Problem This Solves

Doctor could validate a planned repair using one config representation and commit another, losing escaped environment-reference intent during migration. Changing the environment between planning and writing could also replace authored references with resolved values. A later config revision must be refused without undoing an already committed repair.

User Impact and Release Note

Doctor retains its original matched authored/resolved reference pair across migrated paths and successive writes. Startup validates, predicts, and commits one restored config. Active and escaped reference intent, explicit edits, backup bytes, include ownership, write receipts, and later raw-drift refusal remain intact. No new config option, default, schema, or public API is introduced.

This prerequisite does not complete downstream alias convergence or close the original issue. Original alias-repair context: #138040 by @aniruddhaadak80. Original contributor @vincentkoc is credited in the preserved ancestry and integration commit.

Main Integration

  • Current GitHub-verified signed head: 072b7f45eb2a23066bf525755e51eb338c0292bc; tree: 0524f0c7e4ab986a8c87e4c181ddcac8bf13e7e2.
  • Parents: prior public 174a2ea7865bb4b262609fd47657a37c0916182e and main eba2d9f5da8c68a6276b481386fddb8374c89ebc. The effective diff against pinned main is exactly 14 Doctor production/test paths.
  • Lower fix(config): preserve reference intent and file ownership during writes #147440 landed at 7d7b5ba1b5a9afa132ff369c3ea50cdaa870ce40; fix(doctor): preserve revision checks across successive repairs #147235 landed at 1a7911f56c11ba5c980d598610f34961f35e641e. Their implementations are inherited from main, not duplicated in this residual.
  • All 14 patch preimages matched pinned main, and all 14 final postimages match the previously reviewed private composition. No new Doctor code or conflict resolution was needed for this final integration.

Validation and Applicability

  • Final signed candidate: production core typecheck and git diff --check pass. API-direct review of the identical effective diff is P0–P2 scoped-clean; its scope is the supplied patch and retained evidence, not an independently rerun whole-tree/runtime qualification.
  • Retained private composition: 119 scoped passing cases, core types, formatting, lint, and API-direct reviews. These remain bound to their original source; no unchanged test replay or whole-head CI transfer is claimed.
  • Exact 174a installed proof remains accepted at its original scope: verified published 2026.9.4 updater transition into the candidate with actual native Doctor success; emitted Doctor reference-preservation/migration cases across environment rotation and two completed writes, advancing revisions and exact prewrite backups; full Doctor CLI invalid-to-valid migration and stable repeat, except the documented wizard timestamp. No atomic-visibility or whole-stack recovery claim is made.
  • Final source applicability: reference restoration, config write/receipt, migration, preflight, and startup entrypoint owners are unchanged from the reviewed lower input. The changed direct io.runtime module adds an async-reader assertion method outside the Doctor path. Final package-wide behavior is not relabeled as freshly executed evidence.
  • Historical exact-174a CI 35593374285 attempt 1 succeeded with 200 passed, five skipped and zero failed; the required non-skipped openclaw/ci-gate was attached to that head only. Exact 072b CI 35661346931 attempt 1 succeeded (128 successful jobs, 17 skipped); its required non-skipped openclaw/ci-gate passed. ClawSweeper revision 14 found no actionable defect; its compatibility checklist is confirmed by the retained migration/backup/repeat proof and exact source applicability above, without claiming new-head installed execution.

Preserved Failures and Limits

  • Original CI 35575007986 attempt 1 remains FAILURE: four runtime-config assertions failed and the aggregate gate propagated them. Controlled metadata contexts reproduce the discovery-mock bypass; the original worker/cache/order cause remains UNKNOWN. The repaired fixture preserves acceptance/rejection, explicit-empty snapshots and separate provider autodetection assertions. Cold, preloaded and controlled-current 33-case matrices passed at their original scope; a passing successor is not retroactive cause proof.
  • Package Acceptance 35618894098 attempt 1 remains startup_failure, with zero jobs/check runs and no package or test execution. Its precise hosted validation cause remains UNKNOWN; it was not retried unchanged. The separate installed proof above is not a rewrite of this failed attempt.
  • Two Darwin full-CLI managed-handoff admission failures remain recorded. The unchanged lower-tree comparator reproduced the selected CLI variant and four receipt cases at the same admission boundary; the other CLI variant was not separately replayed. The reviewed private-control-directory receipt-fixture repair passed all four cases. The CLI failures are not called fixed or waived.
  • No affected local runtime tests were rerun in this final phase. Any further affected test must use verified task-private handoff SQLite paths in every process; HOME/state/TMPDIR alone is insufficient.

Same dedicated owner continues exact-head CI/review, supported native landing, live verification, and custody-safe closure. No live Odin update/restart, shared handoff-store mutation, unrelated work, or unchanged proof replay is part of this PR.

@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes commands Command implementations size: M maintainer Maintainer-authored PR labels Sep 13, 2026
@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 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 21, 2026, 6:20 PM ET / 22:20 UTC (Revision 14).

ClawSweeper review

What this changes

Doctor preserves active and escaped environment references through config migrations and successive repairs, with regression coverage for startup, backups, and write refusals.

Merge readiness

⛔ Blocked before merge - 1 item remains

This PR remains useful: current main and the latest release still lack Doctor’s matched planning-reference preservation. The updated evidence and source comparison address the previous composition concern; no actionable introduced defect was found.

Priority: P2
Reviewed head: 072b7f45eb2a23066bf525755e51eb338c0292bc

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-supported repair with meaningful regression coverage and no remaining actionable finding.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored PR. Its recorded installed updater/Doctor runs cover reference preservation, successive writes, backups, and CLI migration; source comparison supports scoped reuse without claiming fresh execution of the final package.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored PR. Its recorded installed updater/Doctor runs cover reference preservation, successive writes, backups, and CLI migration; source comparison supports scoped reuse without claiming fresh execution of the final package.
Evidence reviewed 8 items Introduced production changes: The pinned introduction delta captures the original authored/resolved pair, restores unchanged and migrated references against that pair, forwards explicit edits, and uses one restored startup candidate for validation, prediction, and persistence.
Still necessary on current main: Fetched main retains restoration against a later snapshot/environment rather than the original matched planning pair. The merged lower writer and receipt changes therefore do not replace this Doctor-specific repair.
Latest-release comparison: The supplied latest release, v2026.9.5, also contains the older restoreDoctorConfigEnvRefs implementation using resolveConfigIncludes and restoreEnvVarRefs with the supplied environment.
Findings None None.
Security None None.

How this fits together

Doctor reads user configuration, plans migrations, and sends repairs through the shared config writer. Gateway startup also uses this repair machinery before admitting a migrated configuration.

flowchart TD
  A[Authored config and environment] --> B[Matched config snapshot]
  B --> C[Doctor migration plan]
  C --> D[Restore reference intent]
  D --> E[Validate and check revision]
  E --> F[Shared config writer]
  F --> G[Saved config and backups]
  E --> H[Startup admission or refusal]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +110, Tests +391. Total +501 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 5 156 46 +110
Tests 9 417 26 +391
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 573 72 +501

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +110 lines; tests and support net +391 lines Production growth retains matched planning inputs and filters migration references while reusing the existing writer.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor-config-flow.ts, migration/backfill/repair: src/commands/doctor/shared/automatic-startup-config-repair.ts, migration/backfill/repair: src/commands/doctor/shared/config-flow-steps.ts, migration/backfill/repair: src/flows/doctor-health-contribution-runners.config.ts, migration/backfill/repair: src/flows/doctor-health-contribution-types.ts, unknown-data-model-change: src/commands/doctor/shared/automatic-startup-config-repair.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep reference restoration in Doctor’s existing planning flow and persistence in the shared writer, preserving authored intent without introducing another migration or write owner.

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

Yes, from source: plan a repair containing an environment reference, rotate that environment before writing, or migrate an escaped memory reference through startup repair. The old restoration and prediction paths explain the mismatch; this review did not execute them.

Is this the best way to solve the issue?

Yes. Retaining the matched planning pair and sharing the restored startup candidate addresses the mismatch while preserving the canonical writer’s revision, ownership, and backup checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 06fc929b483e.

Labels

Label changes:

  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: This fixes a bounded Doctor config-preservation defect during migration and successive repairs.
  • 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: The external-contributor proof gate does not apply to this MEMBER-authored PR. Its recorded installed updater/Doctor runs cover reference preservation, successive writes, backups, and CLI migration; source comparison supports scoped reuse without claiming fresh execution of the final package.

Evidence

What I checked:

  • Introduced production changes: The pinned introduction delta captures the original authored/resolved pair, restores unchanged and migrated references against that pair, forwards explicit edits, and uses one restored startup candidate for validation, prediction, and persistence. (src/commands/doctor/shared/config-flow-steps.ts:153, 072b7f45eb2a)
  • Still necessary on current main: Fetched main retains restoration against a later snapshot/environment rather than the original matched planning pair. The merged lower writer and receipt changes therefore do not replace this Doctor-specific repair. (src/commands/doctor/shared/config-flow-steps.ts:149, 06fc929b483e)
  • Latest-release comparison: The supplied latest release, v2026.9.5, also contains the older restoreDoctorConfigEnvRefs implementation using resolveConfigIncludes and restoreEnvVarRefs with the supplied environment. (src/commands/doctor/shared/config-flow-steps.ts:149, ec9c1a13db89)
  • Previous review concern addressed: The captured body explicitly maps retained installed 174a evidence to the final composition: published 2026.9.4 updater transition, native Doctor success, environment rotation, successive writes, exact backups, and CLI migration/repeat. Local blob identities confirm unchanged reference restoration, automatic startup repair, environment preservation, and write-topology helpers. Read-only GitHub source comparison identified inherited receipt invalidation, live-assertion composition, and startup input-comparison changes; these preserve the relevant safeguards. This establishes scoped reuse, not fresh whole-package execution. (src/commands/doctor/shared/automatic-startup-config-repair.ts:147, 072b7f45eb2a)
  • Revision and authority safeguards remain: The writer still checks the confirmed hash, expected config path, current update authority, and include boundary before persistence. Config revision hashing covers root bytes, included bytes, and include targets, so removing the resolved-value equality check permits environment rotation without permitting authored-file drift. (src/config/io.snapshot.ts:83, 072b7f45eb2a)
  • Focused regression contracts: Introduced cases cover active/escaped migrated references, explicit activation, canonical precedence, environment rotation across successive include writes, backup bytes, retained receipts after raw drift, and startup admission followed by drift refusal. The web-search fixture keeps explicit-empty metadata controls and separate provider autodetection assertions. Tests were inspected but not executed under this read-only review. (src/commands/doctor-config-flow.include-refusal.test.ts:32, 072b7f45eb2a)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-20T15:27:20.739Z sha cda7db7 :: blocked before merge. :: none
  • reviewed 2026-09-20T16:15:10.482Z sha 0942ac2 :: blocked before merge. :: none
  • reviewed 2026-09-20T16:47:13.083Z sha 5f454aa :: blocked before merge. :: none
  • reviewed 2026-09-20T17:22:08.516Z sha b2afc8c :: blocked before merge. :: none
  • reviewed 2026-09-21T07:58:46.081Z sha f045c72 :: blocked before merge. :: none
  • reviewed 2026-09-21T11:28:15.635Z sha 174a2ea :: blocked before merge. :: none
  • reviewed 2026-09-21T16:17:08.438Z sha 174a2ea :: blocked before merge. :: none
  • reviewed 2026-09-21T21:52:50.100Z sha 174a2ea :: blocked before merge. :: none

vincentkoc and others added 5 commits September 15, 2026 22:22
Merge the verified main baseline while retaining Vincent Koc's original
three-commit ancestry. Keep authored capture and public stripping together;
retain current-main migration and validation APIs and supplemental privacy tests.

Co-authored-by: Vincent Koc <[email protected]>
Merge the verified main baseline while retaining Vincent Koc's original
three-commit ancestry. Keep authored capture and public stripping together;
retain current-main migration and validation APIs and supplemental privacy tests.

Co-authored-by: Vincent Koc <[email protected]>
Keep migration-normalized values canonical and forward explicit reference
activation through both restoration passes and the Doctor writer.
…policy

Preserve contributor ancestry and current-main authorization, deferral,
and Windows activation behavior while routing token persistence through
the Doctor config owner before service mutation.
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts agents Agent runtime and tooling extensions: anthropic size: XL and removed size: L labels Sep 21, 2026
Integrate the retained Doctor residual with landed main. Keep the original authored and resolved planning pair across repairs, preserve active and escaped references when the environment changes, and use the same restored config for startup validation, prediction, and commit.

The 14 Doctor postimages are unchanged from the retained d1e77 candidate; inherited config write and receipt behavior comes from landed main.

Co-authored-by: Vincent Koc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added size: L and removed app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling extensions: anthropic size: XL labels Sep 21, 2026
@fuller-stack-dev
fuller-stack-dev marked this pull request as ready for review September 21, 2026 22:11
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 21, 2026
@fuller-stack-dev
fuller-stack-dev merged commit d3e5129 into main Sep 21, 2026
277 of 278 checks passed
@fuller-stack-dev
fuller-stack-dev deleted the fix/doctor-planned-config-references-136025 branch September 21, 2026 22:57
roboclaw-bot added a commit to jjjhenriksen/openclaw that referenced this pull request Sep 21, 2026
Incorporate the upstream prepared-metadata fixture repair (openclaw#147453) and pnpm observation guard repair (1497878) that own the observed unrelated CI failures. Preserve contributor ancestry.

Co-authored-by: Patrick-Erichsen <[email protected]>
roboclaw-bot added a commit to jjjhenriksen/openclaw that referenced this pull request Sep 21, 2026
Incorporate the upstream prepared-metadata fixture repair (openclaw#147453) and pnpm observation guard repair (1497878) that own the observed unrelated CI failures. Preserve contributor ancestry.

Co-authored-by: Patrick-Erichsen <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 22, 2026
…law#147453)

* fix(config): preserve references across plugin owner migrations

* fix(config): keep authored provenance out of config responses

Keep include-expanded authored snapshots internal across valid, invalid, and cached config reads. Cover read-scoped root/include responses while preserving the paired internal trees.

Defer alias migration helpers and their direct resolved-source API tests to the first consumer layer; preserve existing env-reference entrypoint coverage here.

* test(config): invalidate cached provenance fixtures

* fix(doctor): honor config write refusals before gateway repair

* test(doctor): simplify gateway repair mock arguments

* test(doctor): cover update metadata and include refusal

* fix(doctor): preserve revision checks across successive repairs

* test(doctor): preserve committed repairs after revision drift

* fix(config): preserve explicit reference write intent

* fix(doctor): preserve planned config references

* test(meeting-bot): control browser retry fixture clocks

* fix(doctor): preserve explicit and normalized reference intent

Keep migration-normalized values canonical and forward explicit reference
activation through both restoration passes and the Doctor writer.

* test(doctor): assert updater deferral through config writer

* test(models): keep native auth refresh fixture passive

* test(node): keep prepared workspace fixture owner private

Create the fixture owner root with the same private permissions as project
preparation so permissive host umasks cannot invalidate transfer tests.

* refactor(config): split authored env-reference accounting

Move unchanged authored-reference helpers and private snapshot tests into
coherent siblings so the provenance change satisfies the line-cap ratchet.

* fix(tooling): include authored env helper in PR wrapper archive

Keep the extracted wrapper source inventory complete after the config
helper extraction; preserve eager-import closure and provisioning guards.

* test(doctor): extract gateway writer fixtures for line caps

Keep all assertions and coverage while moving coherent gateway assertion
helpers and the linked token/writer fixture to sibling test support.

* test(doctor): bind persistence fixtures to observed config revisions

Use the real config snapshot for existing and absent config files and assert
the writer result. Preserve disk, metadata, privacy, and no-op assertions.

* refactor: extract config write values and reference test groups

* refactor: pass roster projection into write value preparation

* refactor: make config write value dependency a leaf contract

* fix: include config write values in PR wrapper source closure

* fix(config): restore read-time references through topology writes

* test(doctor): isolate installation consent runtime fixture

Keep real service auditing and runtime path classification while making the
installation-only fixture independent of the host Node launcher. Cover
denied, approved, and noninteractive consent for version-managed runtime drift.

* test: stabilize catalog clock and accepted agent dispatch

Keep the synthetic catalog clock on whole milliseconds so the exact arm
interval survives floating-point boundaries. Retain the dispatch fixture
clock until accepted work dispatches or responds, scoped to this invocation.

* test: drain status model fixture session resources

Give each status model test an owned state directory and await its scoped
cleanup so retained session-cost workers cannot leak into later suites.

* test: scope sandbox workspace authority fixture state

Own default and custom session stores and await scoped cleanup so cached
SQLite read scopes cannot leak into later auth-profile suites.

* fix(ci): bound worker fixture builds and SDK cycle traversal

* test(gateway): join inherited native-subagent tracked execution

Consume only the three qualified gateway fixture postimages from supplier
6711131 (PR openclaw#144318). Preserve suite
registration, complete lifetime row suppression and terminal success checks.
No production change or historical hosted-cause repair is claimed.

Source-commit: 6711131

* test(gateway): reuse shared session-store mock defaults

Remove redundant spawned-child fixture mock setup; the shared harness
already establishes the no-op default. Preserve all task-row suppression
and tracked execution assertions without raising session-accessor debt.

* fix(sqlite): retire aborted snapshot admission before allocation

Consume the exact qualified three-file cancellation repair from supplier
6711131 (PR openclaw#144318). Preserve shared
producer leases and cleanup ownership, plus the existing250ms cancellation
bound. Reuse atomic-marker readiness without weakening lifetime assertions.

Source-commit: 6711131

* fix(ui): preserve new-session focus after shortcuts dismissal

Consume four exact qualified focus-repair postimages from supplier
6711131 (PR openclaw#144318). Restore focus
only from a previously open drawer and let removed dialog ownership
restore focus once. Preserve cold/warm keyboard and typed-draft assertions.

Source-commit: 6711131

* test: isolate cancellation timing and active progress locator

Start owned cancellation timing after fixture exclusion and cold-open,
retaining the 250ms bound and all worker, reclamation and cleanup assertions.
Scope resumed progress to the active Progress note region, consuming the
exact qualified UI test postimage from supplier commit below.

Source-commit: 6711131

* test: use supported deferred for snapshot cancellation fixture

Reuse createDeferredCore under the existing hosted TypeScript target.
Preserve fixture readiness, the 250ms bound, and all lifetime, ownership
and cleanup assertions. No production or compiler-baseline changes.

* fix(config): preserve provenance during include rollback

Capture both post-write read environment snapshots through snapshotEnv so
rejected config-applied values roll back with their ownership metadata.
Exercise the existing rename and permission-fallback regressions through
applyConfigEnvVars instead of direct assignment. Preserve concurrent edits.

* test(gateway): scope spawned-child fixture storage

Resolve the shared spawned-child fixture store from its child agent and the
current test state root instead of the global /tmp/sessions.json locator.
Transcript admission performs a real SQLite target lookup before the mock
pending-input writer. Assert the test-owned target after joining execution
and preserve terminal success, dispatch count, and duplicate-row suppression.

The fixture isolation control fails on the parent; all353 ordered agent cases
and affected static gates pass. No unique historical hosted cause is claimed.

* test: synchronize Darwin watch setup and scope auth cleanup

Wait for a real parent FSEvents probe before creating the watched fixture
directory. Preserve native transcript-create, append, and directory assertions.

Scope auth snapshot disposal checks to the reader-owned path and agent, while
proving an unrelated shared-registry resource survives. The global-empty
control fails both cleanup branches; the repaired suite passes all six cases.

Both fixture deltas pass independent P2 review and affected native/static
checks. Production code is unchanged. Existing Windows cleanup failures
remain unresolved; no unique historical CI cause is claimed.

* test(gateway): join plugin fixture work before removing state

* test(config): pin web search validation metadata fixture

Use the declared manifest fixture for prepared validation while preserving explicit empty snapshots, acceptance and rejection assertions, and separate provider autodetection coverage. Controlled prepared-metadata contexts reproduce the discovery-mock bypass; original CI worker/cache/order remains unproven.

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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.

2 participants