Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
35 lines
933 B
Markdown
35 lines
933 B
Markdown
---
|
|
type: prompt
|
|
name: msd:audit-fix
|
|
description: Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit
|
|
argument-hint: "--source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]"
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Edit
|
|
- Bash
|
|
- Grep
|
|
- Glob
|
|
- Agent
|
|
- AskUserQuestion
|
|
requires: [audit-uat]
|
|
---
|
|
<objective>
|
|
Run an audit, classify findings as auto-fixable vs manual-only, then autonomously fix
|
|
auto-fixable issues with test verification and atomic commits.
|
|
|
|
Flags:
|
|
- `--max N` — maximum findings to fix (default: 5)
|
|
- `--severity high|medium|all` — minimum severity to process (default: medium)
|
|
- `--dry-run` — classify findings without fixing (shows classification table)
|
|
- `--source <audit>` — which audit to run (default: audit-uat)
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.claude/msd-core/workflows/audit-fix.md
|
|
</execution_context>
|
|
|
|
<process>
|
|
Execute end-to-end.
|
|
</process>
|