Fix confirmed VSDB correctness and compatibility defects recorded in docs/audit.md, with one defect per validated local commit. Use only when the user explicitly invokes $x-fix.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of X Fix?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/rust-util-collections-x-fix)
---
name: x-fix
description: Fix confirmed VSDB correctness and compatibility defects recorded in docs/audit.md, with one defect per validated local commit. Use only when the user explicitly invokes $x-fix.
---
# Fix Recorded VSDB Defects
Resolve repository paths from the Git root; Markdown links are relative to
this file. Read invocation arguments from the user prompt.
Clear actionable `docs/audit.md` Open → self-review → local commits. Never push.
No autonomous major. User-invoked only. New commits only.
Apply [pragmatic-engineering.md](../../../docs/ai/pragmatic-engineering.md) §Maintenance scope. Verify each
recorded defect against the current Rust implementation before changing code.
## Input
None. Non-empty argument text → reject; never guess a filter.
## Setup
Read [workflow-policy.md](../../../docs/ai/workflow-policy.md), [commit-protocol.md](../../../docs/ai/commit-protocol.md),
[compatibility-policy.md](../../../docs/ai/compatibility-policy.md), [pragmatic-engineering.md](../../../docs/ai/pragmatic-engineering.md),
[review-core.md](../../../docs/ai/review-core.md), [technical-patterns.md](../../../docs/ai/technical-patterns.md),
[false-positive-guide.md](../../../docs/ai/false-positive-guide.md). Preflight + ledger (freeze paths as work
proceeds; note whether a patch bump or release tag is owed). Empty Open and
no owed bump or tag → “nothing to fix”. With no Open entries and an owed bump or
tag, a standalone run continues at step 4 and a composed run leaves release
finalization to the parent.
When composed by `x-overhaul`, inherit its scope, starting HEAD, and ledger;
run steps 1–3 only. The parent owns the final gate, version bump, and tag.
When there are no in-scope Open entries, the parent continues with the audit,
validation, and any owed release steps.
## Protocol
### 1. Triage (CRITICAL → LOW)
Per entry before edit: code/callers/tests + guides (+ [design-patterns.md](../../../docs/ai/design-patterns.md)
if design); reproduce from current code; dedupe root causes; disproven → remove
the entry with refutation evidence; real and disproportionate to fix safely →
Won't Fix + reason. A break the user has not
accepted → leave Open; do not ship it. Missing evidence, failed validation, or
ownership overlap is a blocker, not a disposition: leave Open.
### 2. One finding → one commit (blocking)
1. Root-cause fix + focused regression.
2. Trace SWMR, COW, crash, cleanup, compatibility.
3. Drop that Open entry (code + tests + migration docs + registry = unit).
4. Per-unit validation ([commit-protocol.md](../../../docs/ai/commit-protocol.md)).
5. Stage freeze + fix paths; inspect cached; commit before next.
Registry-only disposition = one unit. Same root cause may batch symptoms. Mutating
agents never parallel (read/validate may).
### 3. Self-review
Review `starting_HEAD..HEAD` + this invocation’s uncommitted paths with
`review-core.md` §3 evidence and the FP guide; registry per §5.
New confirmed → Open → same one-finding loop. Stop on no-progress or baseline overlap.
### 4. Final gate, version, and tag
[commit-protocol.md](../../../docs/ai/commit-protocol.md) governs the final gate,
owed bump, and local annotated release tag. Bump after the required checks pass
and the in-scope Open list is clear. No autonomous major.
If blocked, retain validated local commits and report remaining Open findings
and any owed bump or tag.
## Output
Dispositions, fixes, disproven entries removed / Won't Fix, validations,
compatibility, hashes/subjects, version, release tag, baseline left alone.