Skip to content

fix(cli): retire invalid secret flags and prove doctor recovery - #118926

Merged
vincentkoc merged 30 commits into
mainfrom
codex/qa0803-doctor-cli-recovery
Aug 5, 2026
Merged

vincentkoc merged 30 commits into
mainfrom
codex/qa0803-doctor-cli-recovery

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The CLI maturity taxonomy lacked executable product proof for doctor gateway auth checks, foreign-port diagnosis, systemd start-limit guidance, and bounded recovery verification. The config builder also still exposed two retired SecretRef provider bypass flags that generated schema-invalid configuration.

What Changed

  • Adds a native QA scenario for cli.auth-and-secretref-checks.
  • Adds an explicitly gated Linux systemd producer for cli.port-and-startup-diagnosis and cli.restart-guidance.
  • Exercises the built doctor CLI, real TCP ownership, a real systemd start limit, the documented gateway restart --json handoff, independent status/RPC/health checks, and exact cleanup.
  • Isolates the recovery target from ambient OPENCLAW_GATEWAY_PORT and OPENCLAW_GATEWAY_URL overrides.
  • Derives the systemd user-bus environment from the effective account UID instead of inheriting ambient XDG_RUNTIME_DIR or DBUS_SESSION_BUS_ADDRESS.
  • Emits honest blocked evidence unless OPENCLAW_QA_ALLOW_SYSTEMD_RECOVERY=1 is set on a prepared Linux systemd host.
  • Removes the retired --provider-allow-insecure-path and --provider-allow-symlink-command builder flags, their input plumbing, and obsolete documentation.
  • Corrects the public SecretRef docs to use supported path hardening: resolved non-symlink command paths plus optional trustedDirs.

No config schema, protocol, taxonomy, or QA Lab runtime semantics change. The plugin manifest type now matches the existing materialized provider contract by dropping a field that was never applied.

Validation

Current head: fccf952031566dbe854a62325d0845d811db4ff7

Sanitized AWS Crabbox:

  • Provider: direct AWS, public network, no Tailscale, no hydration, no instance profile.
  • Run: https://crabbox.openclaw.ai/portal/runs/run_422508d83404
  • Lease cbx_d3c809aefd99 was released after the successful run.
  • Exact PR head verified before execution.
  • Focused hostile-environment producer tests: 7 passed.
  • pnpm check:changed: pass, including typecheck, lint, import-cycle checks, and build.
  • Private QA build: pass.
  • doctor-gateway-startup-recovery through qa suite: pass with hostile ambient gateway port, URL, external-supervisor, sudo-scope, XDG_RUNTIME_DIR, and DBUS_SESSION_BUS_ADDRESS overrides set.
  • Primary proof emitted for cli.port-and-startup-diagnosis and cli.restart-guidance.
  • Recovery artifacts preserve the producer log, summary, gateway status/RPC result, health result, and qa-evidence.json.

Additional proof:

  • doctor-auth-secretref-checks producer E2E: pass, with primary proof for cli.auth-and-secretref-checks.
  • SecretRef schema, retired-config migration, and resolver contract tests: 336 passed.
  • Docs MDX: pass.
  • Docs link audit: 6,387 internal links checked, 0 broken.
  • node scripts/docs-list.js: pass.
  • git diff --check: pass.

Repair Summary

  • Root cause: the original draft used unsupported secure-command options, treated a host-sensitive service test as an ordinary Vitest lane, inherited host service-repair and gateway-target overrides, and initially overclaimed the recovery command. Separately, the CLI kept accepting two retired builder flags even though the strict schema rejected the resulting config.
  • Owner boundary: CLI config argument construction, QA scenario definitions and product-boundary producers, plus the directly referenced SecretRef docs.
  • Canonical fix: remove the invalid CLI surface; secure the exec SecretRef fixture with trusted command-directory policy; make systemd recovery an explicit script producer with honest blocked/pass/fail evidence; isolate the target; follow doctor’s bounded gateway restart --json handoff; persist observed status and health.
  • Removed paths: the two retired provider bypass flags and the generic systemd E2E registration that could not guarantee a native prepared host.
  • Production TypeScript LOC delta: +2/-26, net -24. Tests and QA evidence producers are counted separately.

ClawSweeper Findings Addressed

  • Removed the invalid allowInsecurePath fixture option and use trustedDirs for the generated secure command.
  • Removed the retired CLI builder flags instead of preserving a path that generated invalid configuration.
  • Removed the manifest-only allowInsecurePath field that normalization preserved but provider materialization ignored.
  • Replaced the generic systemd route with an opt-in native producer that blocks before mutation when prerequisites are absent and fails after execution begins.
  • Clears inherited service-repair policy, gateway target overrides, and external-supervisor mode.
  • Clears inherited sudo markers so service installation and direct systemctl --user checks target the same account scope.
  • Replaces inherited systemd user-bus variables with values derived from the effective account UID, with hostile-environment regression coverage.
  • Persists actual status and health payloads.
  • Uses the stable built launcher and canonical service account home/state/config.
  • Fails closed when Windows ACL hardening cannot be applied.
  • Removes the dead resolver bypass parameter and replaces its stale Windows recovery advice with supported fail-closed guidance.
  • Aligns the scenario contract with the documented gateway restart handoff.
  • Adds deterministic terminal normalization, foreign-listener classification, socket cleanup, and strict-null-safe test ownership.
  • Removed the release-owned changelog edit.
  • Reran the full systemd producer on the exact final head with hostile ambient gateway, supervisor, sudo, and systemd user-bus overrides.

Punchcard-Session: clear-river-orchard-dn

@vincentkoc vincentkoc self-assigned this Aug 3, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Aug 3, 2026
@clawsweeper

clawsweeper Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 11:18 PM ET / August 5, 2026, 03:18 UTC.

ClawSweeper review

What this changes

This PR removes two schema-invalid secret-provider CLI flags, deletes their ineffective security bypasses, updates secret-provider documentation, and adds QA coverage for Doctor recovery.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: current main still accepts two secret-provider CLI flags that its strict schema rejects, and this PR removes that invalid path with focused recovery proof. No blocking patch defect was found; Vincentkoc is the likely related contributor from the active CLI, secret, and QA history.

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

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The repair follows the schema and resolver ownership boundary with substantial exact-head QA evidence, pending only a maintainer compatibility choice.
Proof confidence 🦞 diamond lobster (5/6) Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; its supplied exact-head QA evidence nevertheless supports the claimed recovery behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; its supplied exact-head QA evidence nevertheless supports the claimed recovery behavior.
Evidence reviewed 6 items Current main still exposes the invalid inputs: The config CLI registers both retired flags, and its input builder forwards them into provider objects.
Current schema rejects the generated fields: The strict secret-provider schema omits both flags; existing dead-config-key coverage confirms retired provider fields reject.
Doctor already owns persisted-state cleanup: The existing legacy migration strips the retired fields, so removal at the CLI producer boundary does not require a runtime compatibility reader.
Findings None None.
Security None None.

How this fits together

OpenClaw’s config CLI writes secret-provider settings that the resolver validates before reading files or commands. Doctor migrates retired persisted settings, while QA Lab records whether gateway recovery can complete safely on a real host.

flowchart LR
  A[Operator CLI input] --> B[Secret provider config]
  B --> C[Strict config schema]
  C --> D[Secret resolver]
  D --> E[Secure file or command access]
  F[Doctor] --> G[Retired config migration]
  G --> B
  H[QA Lab] --> I[Gateway recovery evidence]
Loading

Decision needed

Question Recommendation
Should existing automation that still invokes the two retired secret-provider flags be rejected immediately, or should a temporary CLI compatibility window be supported? Reject retired flags now: Merge the canonical removal and require scripts to use verified paths and trusted directories instead.

Why: The patch removes public CLI inputs, and repository policy treats CLI/config compatibility changes as requiring human upgrade-scope judgment.

Before merge

  • Resolve merge risk (P1) - Existing scripts that still pass either retired flag will now fail argument parsing; maintainers should explicitly accept that immediate rejection rather than restore a schema-invalid compatibility path.
  • Complete next step (P1) - Human confirmation is needed for the intentional public CLI compatibility break; no contributor repair finding remains.
Agent review details

Security

None.

PR surface

Source -27, Tests +1230, Docs -5, Other +60. Total +1258 across 21 files.

View PR surface stats
Area Files Added Removed Net
Source 7 2 29 -27
Tests 7 1256 26 +1230
Docs 5 12 17 -5
Config 0 0 0 0
Generated 0 0 0 0
Other 2 60 0 +60
Total 21 1330 72 +1258

Review metrics

Metric Value Why it matters
Provider-builder CLI surface 2 removed Both removed options are public inputs that current strict schemas cannot persist.
Production versus test LOC production +2/-29; tests and QA +1316/-26; docs +12/-17 The production path is net-negative; the larger QA addition supplies bounded real recovery evidence.

Stored data model

Persistent data-model change detected: migration/backfill/repair: qa/scenarios/runtime/doctor-auth-secretref-checks.yaml, migration/backfill/repair: qa/scenarios/runtime/doctor-gateway-startup-recovery.yaml, migration/backfill/repair: test/e2e/qa-lab/runtime/doctor-auth-secretref-checks.e2e.test.ts, migration/backfill/repair: test/e2e/qa-lab/runtime/doctor-gateway-startup-recovery.test.ts, migration/backfill/repair: test/e2e/qa-lab/runtime/doctor-gateway-startup-recovery.ts, unknown-data-model-change: test/e2e/qa-lab/runtime/doctor-auth-secretref-checks.e2e.test.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Confirm immediate rejection (recommended)
    Merge after a maintainer confirms that scripts using either retired flag should fail rather than preserve an invalid config route.
  2. Pause for a deprecation decision
    Hold the PR if maintainers need a temporary public CLI compatibility contract.

Technical review

Best possible solution:

Confirm the retired flags should fail immediately, with affected scripts moved to verified non-symlink command paths and trusted directories.

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

Yes, from source: current main accepts both flags even though its strict secret-provider schema omits them, so their resulting configuration cannot be valid.

Is this the best way to solve the issue?

Yes: removing the producer-side flags and their ineffective bypasses is the canonical repair; preserving an alias would retain a schema-invalid configuration route.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 1f3d45b76f51.

Labels

Label justifications:

  • P2: This is a bounded security-hardening and CLI cleanup with a compatibility decision, not an active outage.
  • merge-risk: 🚨 compatibility: Removing two public CLI flags can break existing scripts even though the generated fields are schema-invalid.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster 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 maintainer-authored PR is exempt from the external-contributor proof gate; its supplied exact-head QA evidence nevertheless supports the claimed recovery behavior.

Evidence

Acceptance criteria:

  • [P1] Review the exact-head QA evidence and confirm the intended public CLI removal.
  • [P1] After approval, run the existing focused secret and QA-Lab checks in the repository’s approved proof environment.

What I checked:

Likely related people:

  • vincentkoc: Authored the active retirement and Doctor-QA repair trail. (role: recent CLI, QA, and configuration contributor; confidence: medium; commits: 123c65140942, fccf95203156; files: src/cli/config-cli.ts, src/cli/config-cli-input.ts, test/e2e/qa-lab/runtime/doctor-gateway-startup-recovery.ts)

Rank-up moves

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

  • Confirm that rejecting scripts using the retired flags immediately is the intended upgrade behavior.

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 (20 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-04T20:09:41.347Z sha 17e1f5f :: needs changes before merge. :: [P1] Clear inherited Gateway target overrides | [P2] Remove the still-advertised retired provider flags
  • reviewed 2026-08-04T22:26:47.516Z sha 39118c2 :: found issues before merge. :: [P1] Clear the external supervisor override | [P2] Remove the remaining manifest bypass contract | [P2] Remove the release-owned changelog entry
  • reviewed August 4, 2026, 8:24 PM ET / August 5, 2026, 00:24 UTC sha unknown :: found issues before merge. :: [P1] Clear the external supervisor override | [P2] Remove the manifest bypass contract | [P2] Drop the release-owned changelog edit
  • reviewed 2026-08-05T00:38:00.728Z sha 54ec128 :: needs changes before merge. :: [P2] Isolate the native systemd user scope | [P2] Correct the Windows ACL recovery guidance
  • reviewed 2026-08-05T01:10:02.500Z sha ed3f331 :: found issues before merge. :: [P2] Isolate the complete systemd user identity
  • reviewed 2026-08-05T01:16:23.645Z sha ed3f331 :: needs changes before merge. :: [P2] Isolate the systemd user-manager bus
  • reviewed 2026-08-05T02:07:01.060Z sha fccf952 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-05T02:16:12.756Z sha fccf952 :: needs maintainer review before merge. :: none

* origin/main: (208 commits)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  ...
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
* origin/main:
  fix(agents): protect private memory in shared chats (#119198)
  perf(cli): skip absent gateway workspace dotenv (#119227)
  fix(agents): observe native provider prompt egress (#119219)
  fix(feishu): report bot identity retry failures (#102185)
  fix(memory): load configured providers for CLI search (#119186)
  fix(discord): count retained speech bytes
  test(discord): isolate exact speech overflow
  test(discord): cover exact speech overflow
  fix(discord): bound realtime exact speech
Punchcard-Session: crisp-lantern-orchard-nv

* origin/main:
  perf(memory): defer session backfill runtime (#119372)
  fix(ci): isolate built TUI PTY fixture (#119339)
  fix(commands): restore tool inventory for dynamic models (#119306)
  fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257)
  docs: add ChromeOS (Crostini) platform install guide (#107663)
  test(msteams): serve JWKS from in-process server in auth coverage (#119354)
  fix(qa): enable OpenAI for stored audio scenario (#119349)
  test(agents): realpath apply-patch temp dir fixture (#119353)
  test(slack): drop redundant .js-suffixed system-event mock (#119352)
  fix(exec): leave safe builtins unrewritten in enforced mode (#119351)
  fix(sessions): keep gateway responsive while large transcript archives are built (#112424)
  fix(tui): restore provider auth in installed local mode (#119283)
Punchcard-Session: crisp-lantern-orchard-nv
Punchcard-Session: crisp-lantern-orchard-nv
Punchcard-Session: crisp-lantern-orchard-nv
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 5, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Punchcard-Session: crisp-lantern-orchard-nv
Punchcard-Session: crisp-lantern-orchard-nv
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: ed3f3316d990567f2c100f8e70a9c9bde98ab045

The two findings from the prior immutable review artifact are addressed:

  • the native systemd QA producer now clears SUDO_USER, SUDO_UID, SUDO_GID, and SUDO_COMMAND, with regression assertions;
  • the dead SecretRef path bypass parameter and test-fixture plumbing are removed, and Windows diagnostics now point only to supported fail-closed remediation.

Exact-head proof: https://crabbox.openclaw.ai/portal/runs/run_869bd098af1e

The changed gate, private QA build, and native doctor-gateway-startup-recovery QA scenario all passed. The scenario ran with hostile gateway port, gateway URL, external-supervisor, and sudo-scope environment values and emitted passing qa-evidence.json.

@clawsweeper

clawsweeper Bot commented Aug 5, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Punchcard-Session: crisp-lantern-orchard-nv
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Aug 5, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: fccf952031566dbe854a62325d0845d811db4ff7

The remaining systemd user-manager isolation finding is addressed:

  • the QA producer discards inherited XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS;
  • it derives both values from the effective account UID so direct systemctl --user commands and product commands target the same manager;
  • the regression test injects hostile user-999 bus values and verifies derivation to the selected UID.

Exact-head proof: https://crabbox.openclaw.ai/portal/runs/run_422508d83404

The focused hostile-environment test, changed gate, private QA build, and native doctor-gateway-startup-recovery scenario all passed. The native scenario ran with hostile D-Bus, gateway, external-supervisor, and sudo-scope variables and emitted passing qa-evidence.json.

@vincentkoc
vincentkoc marked this pull request as ready for review August 5, 2026 02:38
@vincentkoc
vincentkoc requested a review from a team as a code owner August 5, 2026 02:38
@vincentkoc
vincentkoc merged commit fd1662f into main Aug 5, 2026
201 of 205 checks passed
@vincentkoc
vincentkoc deleted the codex/qa0803-doctor-cli-recovery branch August 5, 2026 03:20
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 5, 2026
* origin/main:
  fix(channels): honor explicit preview streaming settings
  refactor(telegram): consolidate outbound contracts and targets (#119438)
  fix(qa): retry transport cleanup and always stop owned labs (#119442)
  fix(mcp): guard stdio stdout frame parsing against oversized-buffer crash (#119379)
  refactor(auto-reply): centralize delivery deduplication and routing (#119436)
  fix(qa): preserve scenario isolation in serial suites (#119439)
  perf(xai): lazy-load optional capability runtimes (#119374)
  refactor(browser): consolidate browser CLI and normalization helpers (#119432)
  fix(qa): require ready transport accounts (#119431)
  refactor(media): share image and video geometry normalization (#119416)
  fix(config): preserve plugin metadata for missing config (#119421)
  fix: retry delivery when outbound adapter is unavailable (#119371)
  fix(cli): retire invalid secret flags and prove doctor recovery (#118926)
  refactor(signal): share outbound and reaction transport (#119415)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
…claw#118926)

* test(qa): add doctor CLI recovery coverage

* test(qa): secure doctor exec SecretRef proof

* test(qa): gate doctor systemd recovery proof

* test(qa): normalize doctor terminal output

* test(qa): close doctor probe sockets

* test(qa): classify doctor probe as foreign

* test(qa): track doctor probe sockets

* test(qa): retain doctor instance narrowing

* test(qa): preserve observed doctor recovery proof

* test(qa): keep doctor recovery on stable dist

* test(qa): honor Windows exec ACL blocking

* test(qa): use canonical home for systemd recovery

* test(qa): follow bounded gateway recovery

* test(qa): accept lifecycle service label

* test(qa): align doctor recovery contract

Punchcard-Session: crisp-lantern-orchard-nv

* docs(secrets): remove retired provider bypasses

Punchcard-Session: crisp-lantern-orchard-nv

* test(qa): isolate doctor recovery target

Punchcard-Session: crisp-lantern-orchard-nv

* fix(cli): retire invalid secret provider flags

Punchcard-Session: crisp-lantern-orchard-nv

* test(qa): isolate doctor supervisor mode

Punchcard-Session: crisp-lantern-orchard-nv

* fix(plugins): remove dead secret path bypass

Punchcard-Session: crisp-lantern-orchard-nv

* chore: drop release-owned changelog entry

Punchcard-Session: crisp-lantern-orchard-nv

* test(qa): isolate doctor sudo scope

Punchcard-Session: crisp-lantern-orchard-nv

* fix(secrets): remove dead path bypass

Punchcard-Session: crisp-lantern-orchard-nv

* test(qa): isolate systemd user bus

Punchcard-Session: crisp-lantern-orchard-nv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes docs Improvements or additions to documentation extensions: qa-lab 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. 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