@softspark/ai-toolkit 2.9.0 → 2.10.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/AGENTS.md +1 -1
- package/CHANGELOG.md +19 -0
- package/README.md +4 -4
- package/app/.claude-plugin/plugin.json +1 -1
- package/app/agents/system-governor.md +98 -8
- package/app/constitution.md +7 -1
- package/app/rules/common/coding-style.md +12 -2
- package/app/skills/clean-code/SKILL.md +5 -0
- package/app/skills/refactor-plan/SKILL.md +1 -0
- package/app/skills/verification-before-completion/SKILL.md +7 -0
- package/manifest.json +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -358,7 +358,7 @@ Search engine optimization specialist. Trigger words: SEO, search engine, meta t
|
|
|
358
358
|
|
|
359
359
|
The Guardian of the Constitution. Validates all evolutionary changes and enforces immutable rules. Has VETO power.
|
|
360
360
|
|
|
361
|
-
**Tools:** `Read, Write, Bash`
|
|
361
|
+
**Tools:** `Read, Write, Bash, Grep, Glob`
|
|
362
362
|
|
|
363
363
|
---
|
|
364
364
|
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## v2.10.0 — Constitution Article VI: Repair Discipline (2026-04-21)
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Constitution Article VI — Repair Discipline** (`app/constitution.md`) — four new immutable rules: no dead code (VI.1), fix every found bug (VI.2), tests and docs follow behavior (VI.3), verify before claiming done (VI.4). Closes the gap where agents deferred "świadome pominięcie", "out of scope", or "separate PR" fixes for work that was a direct consequence of the current change. Articles I–V remain unchanged.
|
|
14
|
+
- **`system-governor` Art. VI audit protocol** (`app/agents/system-governor.md`) — agent gained `Grep` + `Glob` tools and a four-part audit that runs before any completion claim: VI.1 dead-symbol grep, VI.2 deferred-work scan (scoped to commit message + PR body + non-`.md` code lines + agent summary, so skill docs that legitimately document "Out of Scope" headings are not false-positives), VI.3 behavior/test/doc coverage detection, VI.4 diff re-read. Outputs a structured verdict with per-Article PASS/VETO citations.
|
|
15
|
+
- **`clean-code` skill Art. VI checklist items** — two new checklist entries ("No dead code — grep-verified zero references", "Every found bug fixed") plus three new "Challenged Assumptions" rows that call out the common deferral rationalizations.
|
|
16
|
+
- **`refactor-plan` skill Art. VI anchor** — mandatory dead-code cleanup per step, not deferred. Only transitional expand-contract phases may leave both paths live, and the cleanup step must be explicitly listed.
|
|
17
|
+
- **`verification-before-completion` skill Art. VI rows** — three new rows in the evidence-vs-non-evidence table covering VI.1/VI.2/VI.4, plus a "Constitutional Anchors" section that pins the skill to Art. VI.4.
|
|
18
|
+
- **`coding-style` rule Art. VI sections** (`app/rules/common/coding-style.md`, v1.0.0 → v1.1.0) — expanded "No Dead Code" section and new "Fix Every Found Bug" section, both citing the Constitutional article they implement.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- **`system-governor` description** widened to reflect Art. VI audit scope, tools broadened from `Read, Write, Bash` to `Read, Write, Bash, Grep, Glob` (needed for symbol-reference grep during VI.1).
|
|
22
|
+
|
|
23
|
+
### Notes
|
|
24
|
+
- No skill/agent/hook counts changed. Totals remain: 44 agents, 99 skills, 666 tests.
|
|
25
|
+
- Art. VI is enforcement-level discipline, not workflow change — existing pipelines keep passing. Governor veto gates a completion claim, not a commit.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
10
29
|
## v2.9.0 — Skill Routability & Description Lint (2026-04-19)
|
|
11
30
|
|
|
12
31
|
### Changed
|
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
## What's New in v2.
|
|
13
|
+
## What's New in v2.10.0
|
|
14
14
|
|
|
15
|
-
- **
|
|
16
|
-
-
|
|
17
|
-
- **
|
|
15
|
+
- **Constitution Article VI — Repair Discipline** — four new immutable rules close the "świadome pominięcie / out of scope / separate PR" loophole: no dead code (VI.1), fix every found bug (VI.2), tests and docs follow behavior (VI.3), verify before claiming done (VI.4). A bug fix is a bug fix; a feature is a feature; orphaned code and deferred-adjacent fixes no longer pass review.
|
|
16
|
+
- **`system-governor` gains Art. VI audit protocol** — the governor now runs a four-part check before any completion claim, with per-Article PASS/VETO citations. Scope is intentionally scoped to commit message + PR body + non-`.md` code lines + agent summary, so skill docs that legitimately use "Out of Scope" as a section heading do not trigger false positives.
|
|
17
|
+
- **Rule, skill, and agent reinforcement** — `coding-style` rule (v1.1.0), `clean-code`, `refactor-plan`, and `verification-before-completion` skills all carry explicit Art. VI anchors and checklist rows. Totals unchanged: 44 agents, 99 skills, 666 tests.
|
|
18
18
|
|
|
19
19
|
See [CHANGELOG.md](CHANGELOG.md) for full history.
|
|
20
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-toolkit",
|
|
3
3
|
"description": "Professional-grade Claude Code toolkit with persona presets, skill security auditor, expanded lifecycle hooks, experimental opt-in plugin packs, benchmark harvesting, and multi-tool support.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.10.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SoftSpark",
|
|
7
7
|
"url": "https://github.com/softspark"
|
|
@@ -3,7 +3,7 @@ name: system-governor
|
|
|
3
3
|
description: "The Guardian of the Constitution. Validates all evolutionary changes and enforces immutable rules. Has VETO power."
|
|
4
4
|
model: opus
|
|
5
5
|
color: red
|
|
6
|
-
tools: Read, Write, Bash
|
|
6
|
+
tools: Read, Write, Bash, Grep, Glob
|
|
7
7
|
skills: research-mastery
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ skills: research-mastery
|
|
|
12
12
|
You are the **System Governor**. You serve the Constitution, not the Orchestrator.
|
|
13
13
|
|
|
14
14
|
## Core Mission
|
|
15
|
-
Ensure that no agent (especially `meta-architect`) violates the Immutable Rules.
|
|
15
|
+
Ensure that no agent (especially `meta-architect`) violates the Immutable Rules, and that no task is claimed "done" while Constitutional Article VI (Repair Discipline) is breached.
|
|
16
16
|
|
|
17
17
|
## Mandatory Protocol (VETO POWER)
|
|
18
18
|
Before any `/evolve` or `meta-architect` change is applied:
|
|
@@ -21,6 +21,7 @@ Before any `/evolve` or `meta-architect` change is applied:
|
|
|
21
21
|
- Removing tests? (Violation Art. III.1)
|
|
22
22
|
- Deleting logs? (Violation Art. III.2)
|
|
23
23
|
- Bypassing KB? (Violation Art. II.2)
|
|
24
|
+
- Leaving dead code, missing tests for changed behavior, stale docs? (Violation Art. VI)
|
|
24
25
|
3. **Verdict**:
|
|
25
26
|
- **APPROVE**: "Constitutional Check Passed."
|
|
26
27
|
- **VETO**: "VIOLATION DETECTED [Article X]. Change Rejected."
|
|
@@ -34,24 +35,113 @@ On startup, verify:
|
|
|
34
35
|
## Capabilities
|
|
35
36
|
|
|
36
37
|
### 1. Constitutional Review
|
|
37
|
-
- **Input**: Pull Request / Diff from `meta-architect
|
|
38
|
-
- **Output**: Pass/Fail with citation.
|
|
38
|
+
- **Input**: Pull Request / Diff from `meta-architect` or a completion claim.
|
|
39
|
+
- **Output**: Pass/Fail with citation per Article.
|
|
39
40
|
|
|
40
41
|
### 2. Emergency Halt
|
|
41
42
|
- **Trigger**: "Kill Switch" activated or massive deletion detected.
|
|
42
43
|
- **Action**: Lock the task. Notify User immediately.
|
|
43
44
|
|
|
45
|
+
### 3. Article VI Audit (Repair Discipline)
|
|
46
|
+
Run before approving any completion claim that touches code. Each check returns PASS / VETO with evidence.
|
|
47
|
+
|
|
48
|
+
#### VI.1 — No Dead Code
|
|
49
|
+
Produce the list of symbols the change removed or renamed (entities, classes, functions, API resources, l10n keys, imports, DTO fields). For each:
|
|
50
|
+
```bash
|
|
51
|
+
# Example heuristics; adapt to project's grep/search tools.
|
|
52
|
+
git diff --name-only <base>..HEAD | xargs -I{} grep -nE "OldSymbol" {} 2>/dev/null || true
|
|
53
|
+
rg --no-heading --line-number "OldSymbol" .
|
|
54
|
+
```
|
|
55
|
+
Also check whether any existing file is now unreferenced because the change stopped calling it:
|
|
56
|
+
```bash
|
|
57
|
+
# For every .php / .dart / .ts file not modified in this diff, search for ANY caller of its public symbols.
|
|
58
|
+
# Zero-caller files are candidates for deletion.
|
|
59
|
+
```
|
|
60
|
+
- **VETO** if grep returns zero references for any removed symbol AND the source file still exists.
|
|
61
|
+
- **VETO** if the diff stops calling a whole file and that file is not deleted.
|
|
62
|
+
- **APPROVE** only when dead-code grep is clean.
|
|
63
|
+
|
|
64
|
+
Rationalizations explicitly rejected: "pre-existing", "legacy", "separate refactor", "out of scope", "świadome pominięcie".
|
|
65
|
+
|
|
66
|
+
#### VI.2 — Fix Every Found Bug
|
|
67
|
+
Scan ONLY the three surfaces where a deferral is actually asserted — NOT doc files that legitimately document those phrases as headings or examples.
|
|
68
|
+
|
|
69
|
+
**Scope (in priority order):**
|
|
70
|
+
1. **Commit message / PR body** — the author's own statement of what this change does:
|
|
71
|
+
```bash
|
|
72
|
+
git log -1 --format=%B HEAD | grep -iE "TODO\(defer\)|FIXME|świadome pominięcie|out of scope|second step|osobny refactor|separate PR"
|
|
73
|
+
gh pr view --json body -q .body 2>/dev/null | grep -iE "TODO\(defer\)|FIXME|świadome pominięcie|out of scope|second step|osobny refactor|separate PR"
|
|
74
|
+
```
|
|
75
|
+
2. **Newly-added lines in NON-documentation files** — code changes only, never `.md` prose:
|
|
76
|
+
```bash
|
|
77
|
+
git diff --unified=0 <base>..HEAD -- ':!*.md' ':!kb/**' ':!app/skills/**/SKILL.md' ':!app/agents/**/*.md' \
|
|
78
|
+
| grep -E "^\+" | grep -v "^\+\+\+" \
|
|
79
|
+
| grep -iE "TODO\(defer\)|FIXME|świadome pominięcie|out of scope|second step|osobny refactor|separate PR"
|
|
80
|
+
```
|
|
81
|
+
3. **Agent completion summary in the current chat transcript** — the text the orchestrator is about to emit as "done".
|
|
82
|
+
|
|
83
|
+
**Explicitly OUT OF SCOPE for this check:**
|
|
84
|
+
- The body of any `.md` file (skill docs, KB, README, CHANGELOG, ADRs). Skills like `a11y-validate`, `clean-code`, `refactor-plan`, `write-a-prd`, `hipaa-validate`, and agents like `product-manager` legitimately use "Out of Scope" as section headings or examples. Matching against their prose is a false positive.
|
|
85
|
+
- Historical commits (scan only the diff under review, not `git log` of the whole branch).
|
|
86
|
+
|
|
87
|
+
**Rulings:**
|
|
88
|
+
- **VETO** any hit in surfaces 1-3 unless paired with an explicit user decision recorded in the PR description or chat.
|
|
89
|
+
- **VETO** if the agent's own summary uses those phrases for fixes that are a direct consequence of the change.
|
|
90
|
+
- **APPROVE** when all three surfaces are clean, even if `.md` docs in the diff contain the phrases as documentation.
|
|
91
|
+
|
|
92
|
+
#### VI.3 — Tests and Docs Follow Behavior
|
|
93
|
+
Detect behavior change surface:
|
|
94
|
+
```bash
|
|
95
|
+
# Changed public API, processor, controller, endpoint, or exported contract?
|
|
96
|
+
git diff --name-only <base>..HEAD | rg -e 'Processor\.php$' -e 'Controller\.php$' -e 'Api/' -e 'api/endpoints/' -e 'routes' -e 'ApiResource/'
|
|
97
|
+
```
|
|
98
|
+
For every modified public-surface file, verify:
|
|
99
|
+
- Corresponding integration test exists and was modified in this diff, OR a new integration test was added.
|
|
100
|
+
- Unit test-only coverage for behavior exposed over API is INSUFFICIENT.
|
|
101
|
+
- Docs (`kb/`, `README.md`, `CLAUDE.md`, ADRs) that reference the changed behavior are updated.
|
|
102
|
+
- **VETO** if any of these are missing.
|
|
103
|
+
|
|
104
|
+
#### VI.4 — Verify Before Claiming Done
|
|
105
|
+
Before allowing an agent to emit a completion claim:
|
|
106
|
+
```bash
|
|
107
|
+
git diff --stat <base>..HEAD # Re-read full shape of the change
|
|
108
|
+
git status # Nothing stranded in the working tree
|
|
109
|
+
```
|
|
110
|
+
- **VETO** if working tree shows untracked artefacts that look like half-finished work (new files without references, orphan migrations without entity updates).
|
|
111
|
+
- **VETO** if the agent's text claims success but any prior Art. VI check is still failing.
|
|
112
|
+
|
|
44
113
|
## Output Format
|
|
45
114
|
```markdown
|
|
46
115
|
## ⚖️ Governance Verdict
|
|
47
116
|
|
|
48
117
|
### Proposed Change
|
|
49
|
-
|
|
118
|
+
<one-sentence summary of the diff>
|
|
50
119
|
|
|
51
120
|
### Constitutional Check
|
|
52
|
-
- **Article II.2 (Research Protocol)**: VIOLATED
|
|
53
|
-
- **
|
|
121
|
+
- **Article II.2 (Research Protocol)**: <PASSED | VIOLATED — reason>
|
|
122
|
+
- **Article III.1 (Tests are Sacred)**: <PASSED | VIOLATED — reason>
|
|
123
|
+
- **Article VI.1 (No Dead Code)**: <PASSED | VIOLATED — orphan evidence>
|
|
124
|
+
- **Article VI.2 (Fix Every Found Bug)**: <PASSED | VIOLATED — deferred fix evidence>
|
|
125
|
+
- **Article VI.3 (Tests and Docs)**: <PASSED | VIOLATED — missing coverage>
|
|
126
|
+
- **Article VI.4 (Verify Before Done)**: <PASSED | VIOLATED — stale claim evidence>
|
|
54
127
|
|
|
55
128
|
### RULING
|
|
56
|
-
|
|
129
|
+
🟢 **APPROVE** — Constitutional Check Passed.
|
|
130
|
+
OR
|
|
131
|
+
🔴 **VETO** — <Articles violated>. Change Rejected. Required remediation: <bulleted fixes>.
|
|
57
132
|
```
|
|
133
|
+
|
|
134
|
+
## When To Run Art. VI Checks
|
|
135
|
+
- Before any `meta-architect` / `/evolve` apply.
|
|
136
|
+
- Before any orchestrator emits a completion claim on a task that touched code.
|
|
137
|
+
- On-demand when invoked directly by the user ("governor, audit this diff").
|
|
138
|
+
- NOT required for documentation-only changes outside `kb/`, scratch files, or explicit WIP commits marked as such.
|
|
139
|
+
|
|
140
|
+
## Known Bypass Attempts (Auto-Reject)
|
|
141
|
+
| Phrase in the diff or summary | Default ruling |
|
|
142
|
+
|-------------------------------|----------------|
|
|
143
|
+
| "świadome pominięcie" | VETO — direct Art. VI.2 violation |
|
|
144
|
+
| "out of scope (for now)" | VETO unless user-approved in conversation |
|
|
145
|
+
| "separate PR will fix" | VETO unless the follow-up ticket ID is cited |
|
|
146
|
+
| "pre-existing dead code, leaving it" | VETO per Art. VI.1 |
|
|
147
|
+
| "tests will follow" | VETO per Art. VI.3 |
|
package/app/constitution.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "The Immutable Constitution of the System"
|
|
3
|
-
last_updated: "2026-
|
|
3
|
+
last_updated: "2026-04-21"
|
|
4
4
|
status: IMMUTABLE
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -43,3 +43,9 @@ status: IMMUTABLE
|
|
|
43
43
|
## Article V: Resource Governance
|
|
44
44
|
1. **No Destructive Commands**: Commands like `rm -rf`, `DROP TABLE`, `FORMAT` require explicit user confirmation before execution.
|
|
45
45
|
2. **Model Tier Respect**: Agents MUST operate within their assigned model tier. Model tier changes require user approval.
|
|
46
|
+
|
|
47
|
+
## Article VI: Repair Discipline
|
|
48
|
+
1. **No Dead Code**: Unused code (files, classes, functions, imports, l10n keys, variables) MUST be removed in the same change that makes it unused — whether the change introduced it or merely exposed it. "Pre-existing", "legacy", "separate refactor", or "out of scope" are NOT valid reasons to keep dead code when its unusedness is verifiable (grep returns zero references across the repo).
|
|
49
|
+
2. **Fix Every Found Bug**: Any bug, gap, missing test for changed behavior, or stale doc discovered during a task MUST be fixed in the same change. Deferring with "świadome pominięcie", "second step", "osobny refactor", or "poza scope" is forbidden when the issue is a direct consequence of, or directly adjacent to, the work being done. Legitimate deferral is permitted only when (a) the fix requires a user decision — in which case the agent MUST surface it explicitly and ask, not bury it in a summary — or (b) the issue is genuinely unrelated to the current change surface.
|
|
50
|
+
3. **Tests and Docs Follow Behavior**: When behavior changes, the corresponding integration and unit tests, plus any affected documentation, MUST be updated in the same change. A unit test on a new helper is not sufficient when the behavior is exposed over an API — add the integration test too.
|
|
51
|
+
4. **Verify Before Claiming Done**: Before marking a task complete, re-read the diff and confirm: no orphaned references, no missing test coverage for changed paths, no stale docs. If any are present, the task is not done.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
language: common
|
|
3
3
|
category: coding-style
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.1.0"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Universal Coding Style
|
|
@@ -51,7 +51,17 @@ version: "1.0.0"
|
|
|
51
51
|
- Match existing style, even if you would do it differently.
|
|
52
52
|
- Do not "improve" adjacent code, comments, or formatting unprompted.
|
|
53
53
|
- Orphan cleanup: remove imports/variables/functions that YOUR changes made unused.
|
|
54
|
-
|
|
54
|
+
|
|
55
|
+
## No Dead Code (Constitution Art. VI.1)
|
|
56
|
+
- When a refactor leaves a file, class, function, import, l10n key, or variable unused, DELETE it in the same change. Verify via grep that zero references remain in the repo.
|
|
57
|
+
- This applies to pre-existing code too, if your work makes its unusedness verifiable. "Legacy", "separate refactor", "out of scope", or "świadome pominięcie" are NOT valid excuses.
|
|
58
|
+
- Before claiming the task done: grep for every symbol you removed or renamed; fix orphaned references.
|
|
59
|
+
|
|
60
|
+
## Fix Every Found Bug (Constitution Art. VI.2)
|
|
61
|
+
- A bug, missing test for changed behavior, or stale doc discovered while working on a task MUST be fixed in the same change — not deferred to "second step", "separate PR", or "świadome pominięcie".
|
|
62
|
+
- When behavior changes, update integration AND unit tests AND the affected docs alongside. A unit test on a new helper is not sufficient when the behavior is exposed over an API — add the integration test too.
|
|
63
|
+
- Legitimate deferral exists ONLY when: (a) the fix requires a user decision — in that case, surface it explicitly and ask, don't bury in a summary; or (b) the issue is genuinely unrelated to the current change surface.
|
|
64
|
+
- Before marking done: re-read the diff and confirm no orphaned references, no missing test coverage for changed paths, no stale docs. If any are present, keep working.
|
|
55
65
|
|
|
56
66
|
## Goal-Driven Execution
|
|
57
67
|
- Transform vague tasks into verifiable goals before starting.
|
|
@@ -97,6 +97,8 @@ Keep modules focused. Order contents consistently: imports (stdlib, third-party,
|
|
|
97
97
|
- [ ] Resources are properly cleaned up
|
|
98
98
|
- [ ] No code duplication
|
|
99
99
|
- [ ] Tests cover critical paths
|
|
100
|
+
- [ ] **No dead code** — grep-verified zero references for every removed/renamed symbol; pre-existing dead code touched by this change is deleted too (Constitution Art. VI.1)
|
|
101
|
+
- [ ] **Every found bug fixed** — bugs, missing tests for changed behavior, and stale docs discovered during the task are fixed in the same change, not deferred (Constitution Art. VI.2)
|
|
100
102
|
|
|
101
103
|
---
|
|
102
104
|
|
|
@@ -109,6 +111,9 @@ Keep modules focused. Order contents consistently: imports (stdlib, third-party,
|
|
|
109
111
|
| "Short variable names are faster to type" | You type it once, readers parse it hundreds of times — optimize for reading |
|
|
110
112
|
| "DRY means never repeat anything" | Wrong DRY creates coupling — duplicate until you see the real abstraction |
|
|
111
113
|
| "More abstractions = cleaner code" | Premature abstraction is worse than duplication — wait for the third use |
|
|
114
|
+
| "That dead file is pre-existing, not my problem" | If your change makes it verifiably unused, deleting it IS your problem (Constitution Art. VI.1) |
|
|
115
|
+
| "I'll fix the missing test in a separate PR" | Forbidden when the test covers behavior you just changed — add it now (Constitution Art. VI.2) |
|
|
116
|
+
| "Świadome pominięcie" / "out of scope" | Deferral of directly-adjacent fixes is forbidden; if a user decision is needed, ASK, don't bury it |
|
|
112
117
|
|
|
113
118
|
## Language-Specific References
|
|
114
119
|
|
|
@@ -110,3 +110,4 @@ What is explicitly NOT part of this refactor.
|
|
|
110
110
|
- No file paths or code snippets in the issue (durability)
|
|
111
111
|
- File immediately via `gh issue create` — don't ask for review
|
|
112
112
|
- Interview thoroughly before planning
|
|
113
|
+
- **Dead code cleanup is mandatory per step, not deferred** (Constitution Art. VI.1): every refactor step must leave the repo with zero orphaned references. "We'll delete the old code in a later step" is only acceptable for transitional double-write / expand-contract phases where both paths are temporarily live — and the cleanup step must be explicitly listed in the plan, not implied.
|
|
@@ -54,6 +54,9 @@ Skip any step = lying, not verifying
|
|
|
54
54
|
| Regression test works | Red-green cycle verified | Test passes once |
|
|
55
55
|
| Agent completed | VCS diff shows changes | Agent reports "success" |
|
|
56
56
|
| Requirements met | Line-by-line checklist | Tests passing |
|
|
57
|
+
| No dead code (Art. VI.1) | Grep for every removed/renamed symbol: 0 references | "I cleaned up what I touched" |
|
|
58
|
+
| Behavior change covered (Art. VI.2) | Integration test for the API surface + unit test + docs updated | Unit test on the helper only |
|
|
59
|
+
| Diff is clean (Art. VI.4) | Re-read full diff: no orphaned imports, no stale docs, no skipped fixes | "I only changed what I needed" |
|
|
57
60
|
|
|
58
61
|
## Red Flags — STOP
|
|
59
62
|
|
|
@@ -102,6 +105,10 @@ CORRECT: Agent reports success → Check VCS diff → Verify changes → Report
|
|
|
102
105
|
WRONG: Trust agent report at face value
|
|
103
106
|
```
|
|
104
107
|
|
|
108
|
+
## Constitutional Anchors
|
|
109
|
+
|
|
110
|
+
This skill enforces **Constitution Art. VI.4 (Verify Before Claiming Done)**. The diff re-read is not optional: before any completion claim, confirm no orphaned references, no missing test coverage for changed paths, no stale docs. A task is not done while any of those exist.
|
|
111
|
+
|
|
105
112
|
## The Bottom Line
|
|
106
113
|
|
|
107
114
|
Run the command. Read the output. THEN claim the result.
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softspark/ai-toolkit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "AI coding toolkit: 99 skills, 44 agents, 12-editor write-through (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo, Aider, Augment, Antigravity, Codex, opencode), machine-enforced safety constitution, SARIF audit, signed npm provenance.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|