@windyroad/jtbd 0.7.1-preview.185 → 0.7.1-preview.187
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 +1 -1
- package/hooks/lib/review-gate.sh +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ This examines your existing features and asks about your user jobs, personas, an
|
|
|
39
39
|
|------|---------|-------------|
|
|
40
40
|
| `jtbd-eval.sh` | Every prompt | Evaluates whether the task involves user-facing UI |
|
|
41
41
|
| `jtbd-enforce-edit.sh` | Edit or Write | Blocks edits until the JTBD agent has reviewed |
|
|
42
|
-
| `jtbd-mark-reviewed.sh` | Agent completes | Marks the review as done (TTL:
|
|
42
|
+
| `jtbd-mark-reviewed.sh` | Agent completes | Marks the review as done (TTL: 3600s) |
|
|
43
43
|
|
|
44
44
|
## Agent
|
|
45
45
|
|
package/hooks/lib/review-gate.sh
CHANGED
|
@@ -16,7 +16,7 @@ check_review_gate() {
|
|
|
16
16
|
local POLICY_FILE="$3" # e.g., "docs/STYLE-GUIDE.md"
|
|
17
17
|
local MARKER="/tmp/${SYSTEM}-reviewed-${SESSION_ID}"
|
|
18
18
|
local HASH_FILE="/tmp/${SYSTEM}-reviewed-${SESSION_ID}.hash"
|
|
19
|
-
local TTL_SECONDS="${REVIEW_TTL:-
|
|
19
|
+
local TTL_SECONDS="${REVIEW_TTL:-3600}"
|
|
20
20
|
|
|
21
21
|
# 1. Marker must exist
|
|
22
22
|
if [ ! -f "$MARKER" ]; then
|