Skip to content

feat(doctor): X6 (part) — trust readiness probe in doctor - #33

Merged
gustavobertoi merged 1 commit into
mainfrom
nightly/X6-probes
Jun 29, 2026
Merged

feat(doctor): X6 (part) — trust readiness probe in doctor#33
gustavobertoi merged 1 commit into
mainfrom
nightly/X6-probes

Conversation

@gustavobertoi

Copy link
Copy Markdown
Contributor

Adds a non-fatal trust (mkcert) probe to doctor (mkcert/CA/certutil readiness + remediation) — the decision-#3 self-verification for the gated trust feature (N2), toward the full X6 matrix + --fix. Test: doctor --json lists it. make ci green.

🤖 Generated with Claude Code

…(spec 05/13)

Add a `trust (mkcert)` probe to `devstack doctor`: it reports local-CA readiness
(mkcert on PATH, CAROOT rootCA.pem, certutil for Firefox/NSS) with the exact
remediation, as a WARNING (local HTTPS is opt-in, so a missing CA never fails
doctor). This is the decision-#3 self-verification for the sudo-gated trust
feature (N2) and a step toward the full X6 doctor matrix + safe --fix.

Test: doctor --json lists the trust probe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gustavobertoi
gustavobertoi merged commit 5ff6ce9 into main Jun 29, 2026
2 checks passed
@gustavobertoi
gustavobertoi deleted the nightly/X6-probes branch June 29, 2026 16:03
gustavobertoi added a commit that referenced this pull request Jun 29, 2026
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gustavobertoi added a commit that referenced this pull request Jun 29, 2026
…pec 13) (#49)

Wire `--fix` to the only strictly non-destructive remediation: the self-healing
ledger reconcile (prune ref rows for projects no longer live), via
Manager.Reconcile. It NEVER drops a volume/DB/container — those stay explicit-
confirmation jobs (`shared gc`, `workspace destroy`). Best-effort: a down daemon
or non-workspace dir is reported, not fatal.

With the trust/dns/shared probes (PRs #33/#35/#48) this completes X6: the full
doctor matrix + a safe --fix.

Verified: `doctor --fix` outside a workspace prints "reconcile skipped" and
exits 0.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant