safeword 0.41.0 → 0.42.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/dist/{check-VEXXW2TC.js → check-AVB7Y3SN.js} +2 -2
- package/dist/{chunk-72S7LANR.js → chunk-5SXZ2UJ5.js} +2 -2
- package/dist/{chunk-JEJ7DP4T.js → chunk-6CYLDBT7.js} +9 -7
- package/dist/{chunk-JEJ7DP4T.js.map → chunk-6CYLDBT7.js.map} +1 -1
- package/dist/cli.js +5 -5
- package/dist/{diff-ZWOGSKEB.js → diff-4HN7P4HM.js} +2 -2
- package/dist/{reset-Q326UAJZ.js → reset-KWZD4QQA.js} +2 -2
- package/dist/{setup-MZBTKI44.js → setup-AH7VIXAA.js} +3 -3
- package/dist/{upgrade-DSY7HSS4.js → upgrade-AS7VGPYP.js} +3 -3
- package/package.json +4 -1
- package/templates/SAFEWORD.md +2 -0
- package/templates/commands/self-review.md +39 -0
- package/templates/doc-templates/ticket-template.md +1 -1
- package/templates/hooks/lib/active-ticket.ts +26 -0
- package/templates/hooks/lib/jtbd.ts +121 -46
- package/templates/hooks/lib/ledger-validation.ts +32 -6
- package/templates/hooks/lib/parse-annotation.ts +12 -0
- package/templates/hooks/lib/quality-state.ts +7 -0
- package/templates/hooks/lib/quality.ts +0 -3
- package/templates/hooks/lib/replan-relevance.ts +153 -0
- package/templates/hooks/lib/replan.ts +117 -0
- package/templates/hooks/lib/review-ledger.ts +149 -0
- package/templates/hooks/post-tool-quality.ts +5 -3
- package/templates/hooks/pre-tool-quality.ts +118 -9
- package/templates/hooks/prompt-questions.ts +18 -3
- package/templates/hooks/session-auto-upgrade.ts +9 -6
- package/templates/hooks/stop-quality.ts +6 -3
- package/templates/hooks/write-review-stamp.ts +114 -0
- package/templates/skills/bdd/DISCOVERY.md +7 -6
- package/templates/skills/bdd/SCENARIOS.md +4 -3
- package/templates/skills/bdd/SKILL.md +38 -22
- package/templates/skills/bdd/SPLITTING.md +2 -2
- package/templates/skills/cleanup-zombies/SKILL.md +1 -0
- package/templates/skills/lint/SKILL.md +1 -0
- package/templates/skills/quality-review/SKILL.md +1 -1
- package/templates/skills/self-review/SKILL.md +62 -0
- package/templates/skills/ticket-system/SKILL.md +1 -1
- package/templates/spec-template.md +9 -0
- package/templates/cursor/rules/bdd-decomposition.mdc +0 -6
- package/templates/skills/bdd/DECOMPOSITION.md +0 -65
- /package/dist/{check-VEXXW2TC.js.map → check-AVB7Y3SN.js.map} +0 -0
- /package/dist/{chunk-72S7LANR.js.map → chunk-5SXZ2UJ5.js.map} +0 -0
- /package/dist/{diff-ZWOGSKEB.js.map → diff-4HN7P4HM.js.map} +0 -0
- /package/dist/{reset-Q326UAJZ.js.map → reset-KWZD4QQA.js.map} +0 -0
- /package/dist/{setup-MZBTKI44.js.map → setup-AH7VIXAA.js.map} +0 -0
- /package/dist/{upgrade-DSY7HSS4.js.map → upgrade-AS7VGPYP.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readConfiguredPath,
|
|
12
12
|
reconcile,
|
|
13
13
|
resolveConfiguredPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6CYLDBT7.js";
|
|
15
15
|
import "./chunk-LODQOJEK.js";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
@@ -760,4 +760,4 @@ async function check(options) {
|
|
|
760
760
|
export {
|
|
761
761
|
check
|
|
762
762
|
};
|
|
763
|
-
//# sourceMappingURL=check-
|
|
763
|
+
//# sourceMappingURL=check-AVB7Y3SN.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
addInstalledPack,
|
|
4
4
|
isGitRepo,
|
|
5
5
|
isPackInstalled
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6CYLDBT7.js";
|
|
7
7
|
import {
|
|
8
8
|
SAFEWORD_PEER_DEPENDENCIES
|
|
9
9
|
} from "./chunk-HSC7TELY.js";
|
|
@@ -309,4 +309,4 @@ export {
|
|
|
309
309
|
getEslintPeerMismatchWarning,
|
|
310
310
|
maybeAutoPatchOrNudge
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=chunk-
|
|
312
|
+
//# sourceMappingURL=chunk-5SXZ2UJ5.js.map
|
|
@@ -2607,6 +2607,9 @@ var SAFEWORD_SCHEMA = {
|
|
|
2607
2607
|
},
|
|
2608
2608
|
".safeword/hooks/lib/parse-annotation.ts": { template: "hooks/lib/parse-annotation.ts" },
|
|
2609
2609
|
".safeword/hooks/lib/jtbd.ts": { template: "hooks/lib/jtbd.ts" },
|
|
2610
|
+
".safeword/hooks/lib/replan-relevance.ts": { template: "hooks/lib/replan-relevance.ts" },
|
|
2611
|
+
".safeword/hooks/lib/replan.ts": { template: "hooks/lib/replan.ts" },
|
|
2612
|
+
".safeword/hooks/lib/review-ledger.ts": { template: "hooks/lib/review-ledger.ts" },
|
|
2610
2613
|
".safeword/hooks/lib/lint-config.ts": { template: "hooks/lib/lint-config.ts" },
|
|
2611
2614
|
".safeword/hooks/lib/typecheck-gate.ts": { template: "hooks/lib/typecheck-gate.ts" },
|
|
2612
2615
|
".safeword/hooks/lib/checkbox-transitions.ts": {
|
|
@@ -2658,6 +2661,9 @@ var SAFEWORD_SCHEMA = {
|
|
|
2658
2661
|
".safeword/hooks/pre-tool-quality.ts": {
|
|
2659
2662
|
template: "hooks/pre-tool-quality.ts"
|
|
2660
2663
|
},
|
|
2664
|
+
".safeword/hooks/write-review-stamp.ts": {
|
|
2665
|
+
template: "hooks/write-review-stamp.ts"
|
|
2666
|
+
},
|
|
2661
2667
|
".safeword/hooks/pre-tool-config-guard.ts": {
|
|
2662
2668
|
template: "hooks/pre-tool-config-guard.ts"
|
|
2663
2669
|
},
|
|
@@ -2777,9 +2783,6 @@ var SAFEWORD_SCHEMA = {
|
|
|
2777
2783
|
".claude/skills/bdd/SCENARIOS.md": {
|
|
2778
2784
|
template: "skills/bdd/SCENARIOS.md"
|
|
2779
2785
|
},
|
|
2780
|
-
".claude/skills/bdd/DECOMPOSITION.md": {
|
|
2781
|
-
template: "skills/bdd/DECOMPOSITION.md"
|
|
2782
|
-
},
|
|
2783
2786
|
".claude/skills/bdd/TDD.md": {
|
|
2784
2787
|
template: "skills/bdd/TDD.md"
|
|
2785
2788
|
},
|
|
@@ -2800,6 +2803,7 @@ var SAFEWORD_SCHEMA = {
|
|
|
2800
2803
|
".claude/skills/lint/SKILL.md": { template: "skills/lint/SKILL.md" },
|
|
2801
2804
|
".claude/skills/verify/SKILL.md": { template: "skills/verify/SKILL.md" },
|
|
2802
2805
|
".claude/skills/audit/SKILL.md": { template: "skills/audit/SKILL.md" },
|
|
2806
|
+
".claude/skills/self-review/SKILL.md": { template: "skills/self-review/SKILL.md" },
|
|
2803
2807
|
".claude/skills/cleanup-zombies/SKILL.md": {
|
|
2804
2808
|
template: "skills/cleanup-zombies/SKILL.md"
|
|
2805
2809
|
},
|
|
@@ -2856,9 +2860,6 @@ var SAFEWORD_SCHEMA = {
|
|
|
2856
2860
|
".cursor/rules/bdd-scenarios.mdc": {
|
|
2857
2861
|
template: "cursor/rules/bdd-scenarios.mdc"
|
|
2858
2862
|
},
|
|
2859
|
-
".cursor/rules/bdd-decomposition.mdc": {
|
|
2860
|
-
template: "cursor/rules/bdd-decomposition.mdc"
|
|
2861
|
-
},
|
|
2862
2863
|
".cursor/rules/bdd-tdd.mdc": {
|
|
2863
2864
|
template: "cursor/rules/bdd-tdd.mdc"
|
|
2864
2865
|
},
|
|
@@ -2875,6 +2876,7 @@ var SAFEWORD_SCHEMA = {
|
|
|
2875
2876
|
".cursor/commands/bdd.md": { template: "commands/bdd.md" },
|
|
2876
2877
|
".cursor/commands/debug.md": { template: "commands/debug.md" },
|
|
2877
2878
|
".cursor/commands/verify.md": { template: "commands/verify.md" },
|
|
2879
|
+
".cursor/commands/self-review.md": { template: "commands/self-review.md" },
|
|
2878
2880
|
".cursor/commands/audit.md": { template: "commands/audit.md" },
|
|
2879
2881
|
".cursor/commands/cleanup-zombies.md": {
|
|
2880
2882
|
template: "commands/cleanup-zombies.md"
|
|
@@ -3286,4 +3288,4 @@ export {
|
|
|
3286
3288
|
detectLanguages2,
|
|
3287
3289
|
createProjectContext
|
|
3288
3290
|
};
|
|
3289
|
-
//# sourceMappingURL=chunk-
|
|
3291
|
+
//# sourceMappingURL=chunk-6CYLDBT7.js.map
|