@windyroad/jtbd 0.7.2-preview.241 → 0.7.2-preview.243
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/hooks/jtbd-enforce-edit.sh +3 -0
- package/hooks/jtbd-eval.sh +5 -0
- package/package.json +1 -1
|
@@ -68,6 +68,9 @@ case "$FILE_PATH" in
|
|
|
68
68
|
exit 0 ;;
|
|
69
69
|
*/MEMORY.md|*/.claude/projects/*/memory/*)
|
|
70
70
|
exit 0 ;;
|
|
71
|
+
# READ tolerance only — gate skips user edits to .claude/plans/. NOT a write
|
|
72
|
+
# target for agents. .claude/ is user-controlled config space; agents must not
|
|
73
|
+
# write project-generated artefacts here. See P131.
|
|
71
74
|
*/.claude/plans/*.md|*.claude/plans/*.md)
|
|
72
75
|
exit 0 ;;
|
|
73
76
|
*/RISK-POLICY.md)
|
package/hooks/jtbd-eval.sh
CHANGED
|
@@ -41,6 +41,11 @@ Does NOT apply to: CSS, images, fonts, lockfiles, changesets, memory files,
|
|
|
41
41
|
plan files, docs/problems/ (problem tickets), docs/BRIEFING.md, docs/briefing/,
|
|
42
42
|
RISK-POLICY.md, .risk-reports/, docs/jtbd/,
|
|
43
43
|
docs/PRODUCT_DISCOVERY.md, docs/VOICE-AND-TONE.md, docs/STYLE-GUIDE.md.
|
|
44
|
+
NOTE: these exclusions are READ tolerance — the JTBD gate skips user
|
|
45
|
+
edits to these paths. They are NOT agent write targets. Never write
|
|
46
|
+
project-generated artefacts (plans, audits, scratch state) under
|
|
47
|
+
.claude/ — that is user-controlled config space. Project-generated
|
|
48
|
+
content belongs under docs/ or directly in problem-ticket bodies (P131).
|
|
44
49
|
HOOK_OUTPUT
|
|
45
50
|
mark_announced "jtbd" "$SESSION_ID"
|
|
46
51
|
fi
|