Skip to content

feat(doctor): X6 — safe doctor --fix (non-destructive reconcile) - #49

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

feat(doctor): X6 — safe doctor --fix (non-destructive reconcile)#49
gustavobertoi merged 1 commit into
mainfrom
nightly/X6-fix

Conversation

@gustavobertoi

Copy link
Copy Markdown
Contributor

Wires --fix to the only strictly non-destructive remediation — the self-healing ledger reconcile (Manager.Reconcile, prunes dead ref rows). Never drops a volume/DB/container (those stay shared gc/workspace destroy). Best-effort/non-fatal. Completes X6 (trust+dns+shared probes + safe --fix). make ci green.

🤖 Generated with Claude Code

…pec 13)

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>
@gustavobertoi
gustavobertoi merged commit ff68b52 into main Jun 29, 2026
2 checks passed
@gustavobertoi
gustavobertoi deleted the nightly/X6-fix branch June 29, 2026 17:24
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