start-vibing-stacks 2.37.0 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -12
- package/package.json +1 -1
- package/stacks/_shared/commands/feature.md +12 -11
- package/stacks/_shared/commands/fix.md +10 -9
- package/stacks/_shared/hooks/user-prompt-submit.ts +11 -5
- package/stacks/_shared/skills/dead-code-hygiene/SKILL.md +136 -0
- package/stacks/_shared/skills/final-check/SKILL.md +2 -1
- package/stacks/_shared/skills/quality-gate/SKILL.md +8 -1
- package/stacks/nodejs/stack.json +2 -1
- package/stacks/php/stack.json +2 -1
- package/stacks/python/stack.json +2 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Multi-stack AI workflow for **Claude Code** & **Cursor**. One command installs a
|
|
|
6
6
|
npx start-vibing-stacks
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
> Latest: **v2.
|
|
9
|
+
> Latest: **v2.38.0** — New `dead-code-hygiene` skill: remove unused legacy/inert code after replacements so leftover paths do not confuse later agent context. Workflow nudge in `user-prompt-submit` + `/feature`/`/fix`. Universal skills: **30**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ npx start-vibing-stacks
|
|
|
15
15
|
| Layer | Count | Purpose |
|
|
16
16
|
|---|---|---|
|
|
17
17
|
| Agents | **7** universal | `research-web` (MCP-first) · `documenter` (memory layer) · `domain-updater` · `commit-manager` · `tester` · `claude-md-compactor` (compaction) · **`security-auditor` (VETO)** |
|
|
18
|
-
| Skills | **
|
|
18
|
+
| Skills | **30** shared + stack-specific + frontend | Versioned (`version:` frontmatter), upgradable via `migrate` |
|
|
19
19
|
| Hooks | `session-start` · `user-prompt-submit` · `pre-tool-use` · `post-tool-use` · `stop-validator` · `final-check` | Multi-instance coordination + git/docs/secrets/code-quality gates |
|
|
20
20
|
| Commands | `/feature` · `/fix` · `/research` · `/validate` · `/peers` | Slash commands |
|
|
21
21
|
| Workflows | `ci.yml` + `security.yml` per stack (audit · gitleaks · CodeQL · **Semgrep** · **Trivy** · **CycloneDX SBOM** · **dependency-review** · **OpenSSF Scorecard**) | Copied to `.github/workflows/` when target is empty |
|
|
@@ -35,13 +35,13 @@ npx start-vibing-stacks
|
|
|
35
35
|
|
|
36
36
|
## Skill matrix
|
|
37
37
|
|
|
38
|
-
### Universal (
|
|
38
|
+
### Universal (30 — shared across stacks)
|
|
39
39
|
|
|
40
40
|
| Group | Skills |
|
|
41
41
|
|---|---|
|
|
42
42
|
| **Security** | `security-baseline` · `secrets-management` · `ai-llm-security` |
|
|
43
43
|
| **Observability** | `observability` |
|
|
44
|
-
| **Reliability** | `error-handling` · `database-migrations` · `tool-resilience` |
|
|
44
|
+
| **Reliability** | `error-handling` · `database-migrations` · `tool-resilience` · `dead-code-hygiene` |
|
|
45
45
|
| **A11y / UX** | `accessibility-wcag22` · `ui-ux-audit` |
|
|
46
46
|
| **CI / Quality** | `ci-pipelines` · `quality-gate` · `final-check` · `git-workflow` |
|
|
47
47
|
| **Infra** | `docker-patterns` · `podman-patterns` · `kubernetes-patterns` · `hook-development` · `multi-instance-coordination` |
|
|
@@ -207,16 +207,17 @@ This release includes a comprehensive set of permissive memories for legitimate
|
|
|
207
207
|
1. BRANCH feature/ | fix/ | refactor/ | test/
|
|
208
208
|
2. RESEARCH research-web (MCP-first; new features only)
|
|
209
209
|
3. IMPLEMENT stack rules + strict types + security
|
|
210
|
-
4.
|
|
211
|
-
5.
|
|
212
|
-
6.
|
|
213
|
-
7.
|
|
214
|
-
8.
|
|
215
|
-
9.
|
|
216
|
-
10.
|
|
210
|
+
4. HYGIENE dead-code-hygiene — delete unused legacy/inert paths from this change
|
|
211
|
+
5. TEST tester (Vitest / pytest / PHPUnit / Playwright)
|
|
212
|
+
6. SECURITY security-auditor — VETO on CRITICAL/HIGH/MEDIUM findings
|
|
213
|
+
7. QUALITY quality-gate: typecheck → lint → test → build
|
|
214
|
+
8. COMMIT commit-manager — verifies gates, diff-driven message, push
|
|
215
|
+
9. DOCUMENT documenter — maps files/commits to domains, regenerates _index.json
|
|
216
|
+
10. WISDOM domain-updater — records session learnings, PREPENDS new entry to CLAUDE.md ## Recent Changes (append-only LIFO, cap 10, multi-instance safe)
|
|
217
|
+
11. COMPACT claude-md-compactor — triggers if CLAUDE.md > 20 KB
|
|
217
218
|
```
|
|
218
219
|
|
|
219
|
-
Steps
|
|
220
|
+
Steps 6–7 cannot be skipped — `security-auditor` and `quality-gate` veto `commit-manager` on findings.
|
|
220
221
|
|
|
221
222
|
---
|
|
222
223
|
|
package/package.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: feature
|
|
3
|
-
description: Start a new feature with the full workflow (research → plan → implement → test → security → quality → commit → docs).
|
|
4
|
-
version: 1.
|
|
3
|
+
description: Start a new feature with the full workflow (research → plan → implement → hygiene → test → security → quality → commit → docs).
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# /feature — Start New Feature
|
|
8
8
|
|
|
9
9
|
Always read `.claude/config/active-project.json` first to know the active stack.
|
|
10
10
|
|
|
11
|
-
Execute in order — do not skip steps. Steps
|
|
11
|
+
Execute in order — do not skip steps. Steps 6–7 have **VETO power** over commit.
|
|
12
12
|
|
|
13
13
|
| # | Step | Agent / Skill |
|
|
14
14
|
|---|---|---|
|
|
15
15
|
| 1 | **Research** (only for new tech / patterns) | `research-web` |
|
|
16
16
|
| 2 | **Plan** — break into tasks, create TODO list | (you, in plan mode) |
|
|
17
17
|
| 3 | **Implement** — follow stack patterns + strict types | (you) |
|
|
18
|
-
| 4 | **
|
|
19
|
-
| 5 | **
|
|
20
|
-
| 6 | **
|
|
21
|
-
| 7 | **
|
|
22
|
-
| 8 | **
|
|
23
|
-
| 9 | **
|
|
18
|
+
| 4 | **Dead-code hygiene** — delete unused legacy/inert paths from this change (no `// LEGACY` stubs) | `dead-code-hygiene` |
|
|
19
|
+
| 5 | **Test** — unit + e2e | `tester` |
|
|
20
|
+
| 6 | **Security** — adversarial audit | `security-auditor` (VETO) |
|
|
21
|
+
| 7 | **Quality** — typecheck → lint → test → build | `quality-gate` |
|
|
22
|
+
| 8 | **Commit** — gate-aware, diff-driven message | `commit-manager` |
|
|
23
|
+
| 9 | **Map** — files + commits → domains | `documenter` |
|
|
24
|
+
| 10 | **Wisdom + Recent Changes** — record learnings, PREPEND new `### YYYY-MM-DD · branch · vX.Y.Z` entry to `CLAUDE.md` `## Recent Changes` (append-only LIFO, cap 10) | `domain-updater` |
|
|
24
25
|
|
|
25
|
-
If `security-auditor` returns CRITICAL/HIGH/MEDIUM, fix before re-running step
|
|
26
|
+
If `security-auditor` returns CRITICAL/HIGH/MEDIUM, fix before re-running step 6. Steps 9–10 run AFTER push and never before.
|
|
26
27
|
|
|
27
|
-
**Multi-instance note:** `commit-manager` v3.0.0 stages only THIS session's files via `scope.ts` when `.claude/state/` is present — peers' uncommitted files are never bundled into your commit. For a manual / interactive equivalent of Step
|
|
28
|
+
**Multi-instance note:** `commit-manager` v3.0.0 stages only THIS session's files via `scope.ts` when `.claude/state/` is present — peers' uncommitted files are never bundled into your commit. For a manual / interactive equivalent of Step 8, use `/commit-mine` (skip `/feature` from Step 8 onward).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fix
|
|
3
|
-
description: Fix a bug — reproduce, isolate, minimal fix, regression test, security check, commit, record wisdom.
|
|
4
|
-
version: 1.
|
|
3
|
+
description: Fix a bug — reproduce, isolate, minimal fix, fix-induced dead-code hygiene, regression test, security check, commit, record wisdom.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# /fix — Fix Bug
|
|
@@ -13,13 +13,14 @@ Always read `.claude/config/active-project.json` first.
|
|
|
13
13
|
| 1 | **Reproduce** — read the error, reproduce locally, isolate the root cause (NOT the symptom) | (you) |
|
|
14
14
|
| 2 | **Failing test first** — write a regression test that proves the bug | `tester` |
|
|
15
15
|
| 3 | **Apply minimal fix** — do not refactor adjacent code in the same commit | (you) |
|
|
16
|
-
| 4 | **
|
|
17
|
-
| 5 | **
|
|
18
|
-
| 6 | **
|
|
19
|
-
| 7 | **
|
|
20
|
-
| 8 | **
|
|
21
|
-
| 9 | **
|
|
16
|
+
| 4 | **Dead-code hygiene (scoped)** — delete only code made unreachable by *this* fix (old branch, shim, duplicate). Broad cleanup → separate `refactor:` commit | `dead-code-hygiene` |
|
|
17
|
+
| 5 | **Verify** — re-run the regression test + the wider suite | `tester` |
|
|
18
|
+
| 6 | **Security** — only if the bug touched auth / input / secrets / SSRF surface | `security-auditor` (VETO) |
|
|
19
|
+
| 7 | **Quality gate** — typecheck → lint → test → build | `quality-gate` |
|
|
20
|
+
| 8 | **Commit** — `fix(scope): <subject>`, diff-driven body, per-instance scoped staging | `commit-manager` v3.0.0 |
|
|
21
|
+
| 9 | **Map** — files + commit → domain | `documenter` v3.0.0 |
|
|
22
|
+
| 10 | **Wisdom + Recent Changes entry** — append to domain `## Problems & Solutions` (symptom + root cause + fix + prevention + skill ref) AND PREPEND `### YYYY-MM-DD · branch · fix-tag` to `CLAUDE.md` `## Recent Changes` | `domain-updater` v3.0.0 |
|
|
22
23
|
|
|
23
24
|
`domain-updater` deduplicates by symptom/root-cause. If the same bug recurred, it appends a "Recurrence" note instead of a duplicate entry.
|
|
24
25
|
|
|
25
|
-
**Multi-instance note:** Step
|
|
26
|
+
**Multi-instance note:** Step 8 stages only THIS session's files via `scope.ts` when `.claude/state/` is present (peers' uncommitted files are never bundled). For a manual / interactive Step 8 (no chain auto-trigger), use `/commit-mine` instead.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// @sv-version: 1.
|
|
2
|
+
// @sv-version: 1.3.0
|
|
3
3
|
/**
|
|
4
4
|
* UserPromptSubmit Hook — Start Vibing Stacks
|
|
5
5
|
*
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* peer messages reach the user before this turn runs, and warn if active
|
|
11
11
|
* peers exist.
|
|
12
12
|
*
|
|
13
|
+
* v1.3.0: workflow adds dead-code hygiene step (skill `dead-code-hygiene`) between
|
|
14
|
+
* WORK and quality gates — remove inert legacy paths before commit.
|
|
13
15
|
* v1.2.0: workflow guidance now points at `## Recent Changes` (append-only LIFO)
|
|
14
16
|
* instead of `## Last Change` (overwritten). Aligned with `commit-manager` v3.0.0
|
|
15
17
|
* and `domain-updater` v3.0.0 — multi-instance safe.
|
|
@@ -161,11 +163,15 @@ async function main(): Promise<void> {
|
|
|
161
163
|
|
|
162
164
|
2. WORK through each item sequentially.
|
|
163
165
|
|
|
164
|
-
3.
|
|
166
|
+
3. DEAD-CODE HYGIENE — after replacements/refactors, delete unused legacy/inert paths
|
|
167
|
+
in the same change (skill: dead-code-hygiene). Evidence via grep + typecheck/tests;
|
|
168
|
+
do not leave // LEGACY stubs. On /fix: only code made unreachable by this fix.
|
|
165
169
|
|
|
166
|
-
4.
|
|
170
|
+
4. Run quality gates: ${qualityCmd}
|
|
167
171
|
|
|
168
|
-
5.
|
|
172
|
+
5. COMMIT using conventional commits via commit-manager agent (v3.0.0+: stages only THIS session's files via scope.ts when .claude/state/ exists — peers' uncommitted files are never bundled).
|
|
173
|
+
|
|
174
|
+
6. UPDATE CLAUDE.md:
|
|
169
175
|
a. PREPEND a new entry under "## Recent Changes" — heading exactly:
|
|
170
176
|
"### ${today} · <branch> · <version-or-tag>" followed by 1-4 plain-text lines.
|
|
171
177
|
Append-only LIFO; cap 10 (drop ONLY the oldest if exceeded). Multi-instance safe.
|
|
@@ -173,7 +179,7 @@ async function main(): Promise<void> {
|
|
|
173
179
|
b. Update ALL affected rule/flow sections (Critical Rules, FORBIDDEN, NRY) when the change
|
|
174
180
|
modifies how the project works.
|
|
175
181
|
|
|
176
|
-
|
|
182
|
+
7. Run stop-validator before finishing.${standardsContext}${peersBlock}`;
|
|
177
183
|
|
|
178
184
|
console.log(JSON.stringify({ continue: true, systemMessage }));
|
|
179
185
|
process.exit(0);
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dead-code-hygiene
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: Remove unused legacy/inert code after replacements and refactors so leftover paths do not confuse later agent context. Invoke after you replace a module, dual-path, shim, or helper and before quality gates. Prefer evidence (grep + typecheck/tests) over guesswork; never delete public APIs without confirmation.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Dead-Code Hygiene
|
|
8
|
+
|
|
9
|
+
**Invoke after a replacement, migration, or refactor** that makes an old path unreachable — before quality gates and commit. Leftover inert code is read by the next session and steers agents the wrong way.
|
|
10
|
+
|
|
11
|
+
> Prefer **delete in the same change** over “leave for later.” Commenting-out or `// LEGACY` stubs are still context pollution.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Golden Rules
|
|
16
|
+
|
|
17
|
+
1. **Same change, not a follow-up TODO.** When you introduce the new path, remove the old one in that edit set.
|
|
18
|
+
2. **Evidence before delete.** Grep for callers/imports/route names; run typecheck/tests. No evidence → leave it and note uncertainty.
|
|
19
|
+
3. **Scope tight on `/fix`.** Only remove code made unreachable by *this* fix (old branch, dead shim). Broad cleanup → separate `refactor:` commit.
|
|
20
|
+
4. **When uncertain, do not delete.** Prefer a short `TODO(dead-code): verify callers` over a wrong deletion.
|
|
21
|
+
5. **Update docs/domains** when a path you remove was documented.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## When to Invoke
|
|
26
|
+
|
|
27
|
+
| Signal | Action |
|
|
28
|
+
|---|---|
|
|
29
|
+
| Replaced helper / module / page with a new one | Delete old file + update imports |
|
|
30
|
+
| Dual path (`v1` + `v2`, feature-flag both always-on) | Collapse to the live path; remove dead branch |
|
|
31
|
+
| Compatibility shim with zero remaining callers | Delete shim |
|
|
32
|
+
| Copy-pasted “keep for rollback” block in same PR | Delete; git history is the rollback |
|
|
33
|
+
| Unused import / export flagged by lint | Remove in the same pass |
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Verification Protocol (before delete)
|
|
38
|
+
|
|
39
|
+
1. **Search references** — symbol name, file basename, route/component string (Inertia `component:`, Next route segment, Laravel route name).
|
|
40
|
+
2. **Check dynamic uses** — string dispatch, `import()`, reflection, config maps, Blade/React name tables.
|
|
41
|
+
3. **Run the stack gate** — typecheck / PHPStan / ruff after removal.
|
|
42
|
+
4. **Run relevant tests** — at least the suite covering the changed surface.
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# Node / TS — find remaining references (adjust pattern)
|
|
46
|
+
rg -n "OldHelper|old-helper" --glob '!dist/**' --glob '!node_modules/**'
|
|
47
|
+
|
|
48
|
+
# PHP
|
|
49
|
+
rg -n "OldHelper|old_helper" app/ routes/ resources/ tests/
|
|
50
|
+
|
|
51
|
+
# Python
|
|
52
|
+
rg -n "old_helper|OldHelper" --glob '!**/__pycache__/**' --glob '!.venv/**'
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Optional tooling (prefer over guesswork when installed):
|
|
56
|
+
|
|
57
|
+
| Stack | Tool |
|
|
58
|
+
|---|---|
|
|
59
|
+
| Node/TS | ESLint `no-unused-vars` / `knip` / `ts-prune` |
|
|
60
|
+
| PHP | PHPStan level 4+ (dead code / always-true) |
|
|
61
|
+
| Python | Ruff `F401`/`F841`, `vulture` |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Safe vs Unsafe Deletions
|
|
66
|
+
|
|
67
|
+
| Safe (with evidence) | Unsafe — do NOT delete without confirmation |
|
|
68
|
+
|---|---|
|
|
69
|
+
| Unreferenced private helper in same package | Public package API / exported library surface |
|
|
70
|
+
| Orphan page after route rewrite | Feature-flagged path still toggled in prod |
|
|
71
|
+
| Dead import after move | Dynamic import / string-dispatch target |
|
|
72
|
+
| Empty wrapper that only re-exports removed code | Test fixtures / factories used by name |
|
|
73
|
+
| Commented-out blocks left from this session | Migration “down” paths still required |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Anti-Patterns (FORBIDDEN)
|
|
78
|
+
|
|
79
|
+
| Action | Why |
|
|
80
|
+
|---|---|
|
|
81
|
+
| Leave `// OLD:` / `# LEGACY` blocks “just in case” | Next agent reads them as live guidance |
|
|
82
|
+
| Keep dual implementations indefinitely | Doubles maintenance + context noise |
|
|
83
|
+
| Delete by filename alone without grep | Breaks dynamic / config references |
|
|
84
|
+
| Broad cleanup inside a minimal `/fix` | Violates fix scope; mix bugs with refactors |
|
|
85
|
+
| Suppress unused-lint instead of removing | Hides the signal |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Polyglot Examples
|
|
90
|
+
|
|
91
|
+
```ts
|
|
92
|
+
// WRONG — new path + inert old export left for "rollback"
|
|
93
|
+
export { NewCheckout } from './new-checkout';
|
|
94
|
+
export { OldCheckout } from './old-checkout'; // unused; confuses next session
|
|
95
|
+
|
|
96
|
+
// CORRECT — single live path
|
|
97
|
+
export { NewCheckout } from './new-checkout';
|
|
98
|
+
// delete old-checkout.ts after rg shows zero callers
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
```php
|
|
102
|
+
// WRONG — route still points at unused controller after rewrite
|
|
103
|
+
// Route::get('/billing', [OldBillingController::class, 'show']);
|
|
104
|
+
|
|
105
|
+
// CORRECT — update route + delete OldBillingController once rg is clean
|
|
106
|
+
Route::get('/billing', [BillingController::class, 'show']);
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
# WRONG — keep unused helper after extract
|
|
111
|
+
def legacy_normalize(x): # no callers
|
|
112
|
+
return x.strip()
|
|
113
|
+
|
|
114
|
+
# CORRECT — delete legacy_normalize; keep only the live path
|
|
115
|
+
def normalize(x: str) -> str:
|
|
116
|
+
return x.strip()
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Pre-Commit Checklist
|
|
122
|
+
|
|
123
|
+
- [ ] Replaced paths: old files/exports removed or still have proven callers
|
|
124
|
+
- [ ] No `LEGACY` / commented dual implementations added in this change
|
|
125
|
+
- [ ] Grep clean for removed symbol names
|
|
126
|
+
- [ ] Typecheck / lint / relevant tests pass
|
|
127
|
+
- [ ] Domain docs / CLAUDE.md updated if a documented path was removed
|
|
128
|
+
- [ ] `/fix` scope: only fix-induced dead code (else separate refactor commit)
|
|
129
|
+
|
|
130
|
+
## See Also
|
|
131
|
+
|
|
132
|
+
- `final-check` — mechanical leftovers (`console.log`, `any`, debug dumps); complementary
|
|
133
|
+
- `quality-gate` — typecheck/lint/test/build after hygiene
|
|
134
|
+
- `git-workflow` — use `refactor:` for broad dead-code deletions; keep `/fix` minimal
|
|
135
|
+
- `tool-resilience` — if grep/edit tools fail while verifying callers
|
|
136
|
+
- `error-handling` — application error paths (not inert-code cleanup)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: final-check
|
|
3
|
-
version: 2.0.
|
|
3
|
+
version: 2.0.1
|
|
4
4
|
description: Final validator with VETO power. Now executable — runs `npx tsx .claude/hooks/final-check.ts` to scan for debug statements, secrets, .skip, any, RCE risks, SQL concat. Blocks completion on CRITICAL/HIGH findings.
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -88,6 +88,7 @@ The default Stop is `stop-validator.ts` (git/branch/CLAUDE.md/secret scan). `fin
|
|
|
88
88
|
|
|
89
89
|
## See Also
|
|
90
90
|
|
|
91
|
+
- `dead-code-hygiene` — remove unused legacy/inert paths after replacements (run before this scan)
|
|
91
92
|
- `quality-gate` — typecheck/lint/test/build (different scope)
|
|
92
93
|
- `security-baseline` — what the secret/RCE rules enforce
|
|
93
94
|
- `stop-validator.ts` — git/branch/docs gate (sibling, complementary)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: quality-gate
|
|
3
|
-
version: 1.0.
|
|
3
|
+
version: 1.0.1
|
|
4
|
+
description: Run stack quality checks (typecheck → lint → test → build) before commit. Invoke after dead-code hygiene and before commit-manager. Blocks on required gate failures.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Quality Gate — Verification System
|
|
@@ -60,3 +61,9 @@ bun run build # Build verification (must come AFTER
|
|
|
60
61
|
2. **FIX ERRORS, DON'T SKIP** — never use `--no-verify`
|
|
61
62
|
3. **ORDER MATTERS** — run in defined order (cheapest first)
|
|
62
63
|
4. **REPORT RESULTS** — show pass/fail for each gate
|
|
64
|
+
|
|
65
|
+
## See Also
|
|
66
|
+
|
|
67
|
+
- `dead-code-hygiene` — delete unused legacy/inert code after replacements (before this gate)
|
|
68
|
+
- `final-check` — mechanical leftovers / secrets / RCE scan (complementary)
|
|
69
|
+
- `git-workflow` — commit only after required gates pass
|
package/stacks/nodejs/stack.json
CHANGED
package/stacks/php/stack.json
CHANGED