safeword 0.78.7 → 0.78.8
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/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/codex-plugin/hooks.json +5 -5
- package/codex-plugin/skills/audit/SKILL.md +5 -5
- package/codex-plugin/skills/bdd/SKILL.md +1 -1
- package/codex-plugin/skills/bdd/references/PLAN_IMPLEMENTATION.md +2 -2
- package/codex-plugin/skills/bdd/references/TDD.md +1 -1
- package/codex-plugin/skills/explain/SKILL.md +1 -1
- package/codex-plugin/skills/quality-review/SKILL.md +2 -2
- package/codex-plugin/skills/retro-filer/SKILL.md +2 -2
- package/codex-plugin/skills/review-spec/SKILL.md +2 -2
- package/codex-plugin/skills/self-review/SKILL.md +1 -1
- package/dist/{architecture-HZWCT732.js → architecture-LBHZZFHR.js} +2 -2
- package/dist/{architecture-document-F4UUBRLN.js → architecture-document-3AAG5IT3.js} +2 -2
- package/dist/{architecture-monorepo-JTKQ334X.js → architecture-monorepo-PTYRKDIM.js} +2 -2
- package/dist/{boundary-D3EGHD5C.js → boundary-FBI7Z5NM.js} +2 -2
- package/dist/{chunk-OXEAZ2SO.js → chunk-MD3PENSY.js} +3 -3
- package/dist/{chunk-EUINNZUT.js → chunk-UUONZXZA.js} +2 -2
- package/dist/{chunk-EUINNZUT.js.map → chunk-UUONZXZA.js.map} +1 -1
- package/dist/{cleanup-NFU4TLOW.js → cleanup-BL2ETSUX.js} +2 -2
- package/dist/{cleanup-command-T2AP5AYU.js → cleanup-command-DTYP4Q3C.js} +2 -2
- package/dist/cli.js +66 -66
- package/dist/{clients-2MLVXX5D.js → clients-QIGKZH3M.js} +2 -2
- package/dist/{codex-bootstrap-KETSXOET.js → codex-bootstrap-QML6FI6W.js} +2 -2
- package/dist/{codex-hook-SSGQOIUL.js → codex-hook-W57DQ6ZO.js} +2 -2
- package/dist/{codify-J6SGU2U5.js → codify-NTZXG5KH.js} +2 -2
- package/dist/{commands-DZDEK2TF.js → commands-54OVQ6GY.js} +6 -6
- package/dist/{config-DDV4JM2U.js → config-4B6Z2X3A.js} +2 -2
- package/dist/{configured-paths-JIVRWVUT.js → configured-paths-NZM7RKH4.js} +2 -2
- package/dist/{contract-RRWILDE4.js → contract-EC4L6NGW.js} +2 -2
- package/dist/{coordinator-4G6PIWX5.js → coordinator-WNN3AMXF.js} +2 -2
- package/dist/{corpus-T3USVCRH.js → corpus-F4MBMP6D.js} +2 -2
- package/dist/{doctor-URGPEWKB.js → doctor-FXYBUHL4.js} +3 -3
- package/dist/{drain-retro-spool-K6LILQXL.js → drain-retro-spool-NCXBXBIK.js} +2 -2
- package/dist/{drain-retro-spool-K6LILQXL.js.map → drain-retro-spool-NCXBXBIK.js.map} +1 -1
- package/dist/{feature-directories-BXDAPSYF.js → feature-directories-7BK2SMRK.js} +2 -2
- package/dist/{finalization-NOXTO236.js → finalization-ZESDREBN.js} +2 -2
- package/dist/{gh-cli-RMMYG5LT.js → gh-cli-B3SYMEXG.js} +2 -2
- package/dist/{github-rest-PVREXJ4D.js → github-rest-CMZV7PRV.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{job-5BJDGCLJ.js → job-N7FAVW7M.js} +2 -2
- package/dist/{learning-sync-CYHPL7NE.js → learning-sync-VIDIKODF.js} +2 -2
- package/dist/{legacy-global-guidance-7YABLBWO.js → legacy-global-guidance-F65LHSR2.js} +2 -2
- package/dist/{lint-gherkin-LXRAXUNB.js → lint-gherkin-2GOY275A.js} +2 -2
- package/dist/{namespace-root-LMXTCF3U.js → namespace-root-DVAEAG4H.js} +2 -2
- package/dist/{operations-YSOXEY2L.js → operations-425HLFUS.js} +2 -2
- package/dist/{output-7KI2Y4AG.js → output-QKXTUV5S.js} +2 -2
- package/dist/{packet-TOXQSAZI.js → packet-P6Q2ADOD.js} +2 -2
- package/dist/presets/typescript/index.js +1 -1
- package/dist/{profile-YTHLD57Q.js → profile-776O3YYL.js} +2 -2
- package/dist/{prompt-CYAC2DNB.js → prompt-VZUJUZMU.js} +2 -2
- package/dist/{remove-LT7OUT2W.js → remove-2W2ZRVJN.js} +2 -2
- package/dist/{retro-Q3TUH44G.js → retro-UPZYMYID.js} +8 -8
- package/dist/{retro-draft-spool-SC4LIHD4.js → retro-draft-spool-SG5VVHGA.js} +2 -2
- package/dist/{retro-drain-VDXR7P5P.js → retro-drain-XY5NEUVT.js} +3 -3
- package/dist/{retro-extract-MJASC7A6.js → retro-extract-PLQINDUB.js} +2 -2
- package/dist/{review-knowledge-22LG7REZ.js → review-knowledge-MJNOOVEV.js} +2 -2
- package/dist/{review-knowledge-22LG7REZ.js.map → review-knowledge-MJNOOVEV.js.map} +1 -1
- package/dist/{review-pr-KOG44DAD.js → review-pr-LIDC7ORN.js} +75 -28
- package/dist/review-pr-LIDC7ORN.js.map +1 -0
- package/dist/{review-pr-publication-76J7YOGV.js → review-pr-publication-4VFOQVW7.js} +2 -2
- package/dist/{run-GLOA5YBJ.js → run-KREQB6N5.js} +2 -2
- package/dist/{self-report-VJ55TAFD.js → self-report-YZ474ZZI.js} +2 -2
- package/dist/{status-EOULVBDE.js → status-2TYLHW7I.js} +2 -2
- package/dist/{status-ZONE6Q2N.js → status-F5CMBBNC.js} +3 -3
- package/dist/{sync-config-FISZDWMF.js → sync-config-UQQAGHSK.js} +2 -2
- package/dist/{sync-tracker-LJFGIH75.js → sync-tracker-M5QYD2FD.js} +2 -2
- package/dist/{test-execution-BKSDVBWE.js → test-execution-AO7SHJ42.js} +2 -2
- package/dist/{test-plan-VWLHPY7B.js → test-plan-5RAQATA7.js} +2 -2
- package/dist/{ticket-new-3LV3SJQU.js → ticket-new-EE3AAVIB.js} +2 -2
- package/dist/{ticket-sync-UQ23VYAL.js → ticket-sync-HWN7SFEE.js} +2 -2
- package/dist/{tracker-map-5ZSM4QU5.js → tracker-map-4JT7IZXQ.js} +2 -2
- package/dist/{tracker-sync-OH3VT6RL.js → tracker-sync-FF2RDH3L.js} +2 -2
- package/package.json +1 -1
- package/templates/hooks/lib/blocked-on-gate.ts +2 -2
- package/templates/hooks/lib/drain-retro-spool.ts +1 -1
- package/templates/hooks/lib/principle-trace.ts +2 -2
- package/templates/hooks/lib/project-knowledge.ts +1 -1
- package/templates/workflows/pr-review-worker.yml +63 -8
- package/dist/review-pr-KOG44DAD.js.map +0 -1
- /package/dist/{architecture-HZWCT732.js.map → architecture-LBHZZFHR.js.map} +0 -0
- /package/dist/{architecture-document-F4UUBRLN.js.map → architecture-document-3AAG5IT3.js.map} +0 -0
- /package/dist/{architecture-monorepo-JTKQ334X.js.map → architecture-monorepo-PTYRKDIM.js.map} +0 -0
- /package/dist/{boundary-D3EGHD5C.js.map → boundary-FBI7Z5NM.js.map} +0 -0
- /package/dist/{chunk-OXEAZ2SO.js.map → chunk-MD3PENSY.js.map} +0 -0
- /package/dist/{cleanup-NFU4TLOW.js.map → cleanup-BL2ETSUX.js.map} +0 -0
- /package/dist/{cleanup-command-T2AP5AYU.js.map → cleanup-command-DTYP4Q3C.js.map} +0 -0
- /package/dist/{clients-2MLVXX5D.js.map → clients-QIGKZH3M.js.map} +0 -0
- /package/dist/{codex-bootstrap-KETSXOET.js.map → codex-bootstrap-QML6FI6W.js.map} +0 -0
- /package/dist/{codex-hook-SSGQOIUL.js.map → codex-hook-W57DQ6ZO.js.map} +0 -0
- /package/dist/{codify-J6SGU2U5.js.map → codify-NTZXG5KH.js.map} +0 -0
- /package/dist/{commands-DZDEK2TF.js.map → commands-54OVQ6GY.js.map} +0 -0
- /package/dist/{config-DDV4JM2U.js.map → config-4B6Z2X3A.js.map} +0 -0
- /package/dist/{configured-paths-JIVRWVUT.js.map → configured-paths-NZM7RKH4.js.map} +0 -0
- /package/dist/{contract-RRWILDE4.js.map → contract-EC4L6NGW.js.map} +0 -0
- /package/dist/{coordinator-4G6PIWX5.js.map → coordinator-WNN3AMXF.js.map} +0 -0
- /package/dist/{corpus-T3USVCRH.js.map → corpus-F4MBMP6D.js.map} +0 -0
- /package/dist/{doctor-URGPEWKB.js.map → doctor-FXYBUHL4.js.map} +0 -0
- /package/dist/{feature-directories-BXDAPSYF.js.map → feature-directories-7BK2SMRK.js.map} +0 -0
- /package/dist/{finalization-NOXTO236.js.map → finalization-ZESDREBN.js.map} +0 -0
- /package/dist/{gh-cli-RMMYG5LT.js.map → gh-cli-B3SYMEXG.js.map} +0 -0
- /package/dist/{github-rest-PVREXJ4D.js.map → github-rest-CMZV7PRV.js.map} +0 -0
- /package/dist/{job-5BJDGCLJ.js.map → job-N7FAVW7M.js.map} +0 -0
- /package/dist/{learning-sync-CYHPL7NE.js.map → learning-sync-VIDIKODF.js.map} +0 -0
- /package/dist/{legacy-global-guidance-7YABLBWO.js.map → legacy-global-guidance-F65LHSR2.js.map} +0 -0
- /package/dist/{lint-gherkin-LXRAXUNB.js.map → lint-gherkin-2GOY275A.js.map} +0 -0
- /package/dist/{namespace-root-LMXTCF3U.js.map → namespace-root-DVAEAG4H.js.map} +0 -0
- /package/dist/{operations-YSOXEY2L.js.map → operations-425HLFUS.js.map} +0 -0
- /package/dist/{output-7KI2Y4AG.js.map → output-QKXTUV5S.js.map} +0 -0
- /package/dist/{packet-TOXQSAZI.js.map → packet-P6Q2ADOD.js.map} +0 -0
- /package/dist/{profile-YTHLD57Q.js.map → profile-776O3YYL.js.map} +0 -0
- /package/dist/{prompt-CYAC2DNB.js.map → prompt-VZUJUZMU.js.map} +0 -0
- /package/dist/{remove-LT7OUT2W.js.map → remove-2W2ZRVJN.js.map} +0 -0
- /package/dist/{retro-Q3TUH44G.js.map → retro-UPZYMYID.js.map} +0 -0
- /package/dist/{retro-draft-spool-SC4LIHD4.js.map → retro-draft-spool-SG5VVHGA.js.map} +0 -0
- /package/dist/{retro-drain-VDXR7P5P.js.map → retro-drain-XY5NEUVT.js.map} +0 -0
- /package/dist/{retro-extract-MJASC7A6.js.map → retro-extract-PLQINDUB.js.map} +0 -0
- /package/dist/{review-pr-publication-76J7YOGV.js.map → review-pr-publication-4VFOQVW7.js.map} +0 -0
- /package/dist/{run-GLOA5YBJ.js.map → run-KREQB6N5.js.map} +0 -0
- /package/dist/{self-report-VJ55TAFD.js.map → self-report-YZ474ZZI.js.map} +0 -0
- /package/dist/{status-EOULVBDE.js.map → status-2TYLHW7I.js.map} +0 -0
- /package/dist/{status-ZONE6Q2N.js.map → status-F5CMBBNC.js.map} +0 -0
- /package/dist/{sync-config-FISZDWMF.js.map → sync-config-UQQAGHSK.js.map} +0 -0
- /package/dist/{sync-tracker-LJFGIH75.js.map → sync-tracker-M5QYD2FD.js.map} +0 -0
- /package/dist/{test-execution-BKSDVBWE.js.map → test-execution-AO7SHJ42.js.map} +0 -0
- /package/dist/{test-plan-VWLHPY7B.js.map → test-plan-5RAQATA7.js.map} +0 -0
- /package/dist/{ticket-new-3LV3SJQU.js.map → ticket-new-EE3AAVIB.js.map} +0 -0
- /package/dist/{ticket-sync-UQ23VYAL.js.map → ticket-sync-HWN7SFEE.js.map} +0 -0
- /package/dist/{tracker-map-5ZSM4QU5.js.map → tracker-map-4JT7IZXQ.js.map} +0 -0
- /package/dist/{tracker-sync-OH3VT6RL.js.map → tracker-sync-FF2RDH3L.js.map} +0 -0
package/codex-plugin/hooks.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"hooks": [
|
|
7
7
|
{
|
|
8
8
|
"type": "command",
|
|
9
|
-
"command": "bunx --bun safeword@0.78.
|
|
9
|
+
"command": "bunx --bun safeword@0.78.8 hook codex session-start --plugin-hook",
|
|
10
10
|
"timeout": 120,
|
|
11
11
|
"statusMessage": "Loading Safeword standing instructions"
|
|
12
12
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hooks": [
|
|
20
20
|
{
|
|
21
21
|
"type": "command",
|
|
22
|
-
"command": "bunx --bun safeword@0.78.
|
|
22
|
+
"command": "bunx --bun safeword@0.78.8 hook codex pre-tool-use --plugin-hook",
|
|
23
23
|
"timeout": 30,
|
|
24
24
|
"statusMessage": "Checking Safeword edit gates"
|
|
25
25
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"hooks": [
|
|
33
33
|
{
|
|
34
34
|
"type": "command",
|
|
35
|
-
"command": "bunx --bun safeword@0.78.
|
|
35
|
+
"command": "bunx --bun safeword@0.78.8 hook codex post-tool-use --plugin-hook",
|
|
36
36
|
"timeout": 30,
|
|
37
37
|
"statusMessage": "Surfacing Safeword post-tool context"
|
|
38
38
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"hooks": [
|
|
46
46
|
{
|
|
47
47
|
"type": "command",
|
|
48
|
-
"command": "bunx --bun safeword@0.78.
|
|
48
|
+
"command": "bunx --bun safeword@0.78.8 hook codex user-prompt-submit --plugin-hook",
|
|
49
49
|
"timeout": 30,
|
|
50
50
|
"statusMessage": "Checking queued Safeword prompt context"
|
|
51
51
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"hooks": [
|
|
59
59
|
{
|
|
60
60
|
"type": "command",
|
|
61
|
-
"command": "bunx --bun safeword@0.78.
|
|
61
|
+
"command": "bunx --bun safeword@0.78.8 hook codex stop --plugin-hook",
|
|
62
62
|
"timeout": 600,
|
|
63
63
|
"statusMessage": "Checking Safeword stop continuation"
|
|
64
64
|
}
|
|
@@ -557,7 +557,7 @@ Changed project learnings in the resolved namespace root's `learnings/*.md` must
|
|
|
557
557
|
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel 2> /dev/null || pwd)}"
|
|
558
558
|
source "$PROJECT_DIR/.safeword/hooks/lib/audit-scope.sh"
|
|
559
559
|
audit_scope_initialize "$PROJECT_DIR"
|
|
560
|
-
NS_ROOT="$(bunx --bun safeword@0.78.
|
|
560
|
+
NS_ROOT="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR")"
|
|
561
561
|
|
|
562
562
|
learning_is_in_audit_scope() {
|
|
563
563
|
[ "$AUDIT_SCOPE_MODE" = "repository" ] && return 0
|
|
@@ -717,13 +717,13 @@ audit_scope_initialize "$PROJECT_DIR"
|
|
|
717
717
|
|
|
718
718
|
# Resolve the namespace root (honors config paths.projectRoot in real runs).
|
|
719
719
|
# Fall back on directory existence — robust when the resolver hook is absent.
|
|
720
|
-
NS_ROOT="$(bunx --bun safeword@0.78.
|
|
720
|
+
NS_ROOT="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR" 2> /dev/null)"
|
|
721
721
|
[ -d "$NS_ROOT" ] || {
|
|
722
722
|
if [ -d "$PROJECT_DIR/.project" ]; then NS_ROOT="$PROJECT_DIR/.project"; else NS_ROOT="$PROJECT_DIR/.safeword-project"; fi
|
|
723
723
|
}
|
|
724
|
-
PERSONAS_FILE="$(bunx --bun safeword@0.78.
|
|
725
|
-
SURFACES_FILE="$(bunx --bun safeword@0.78.
|
|
726
|
-
GLOSSARY_FILE="$(bunx --bun safeword@0.78.
|
|
724
|
+
PERSONAS_FILE="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR" --key personas 2> /dev/null)"
|
|
725
|
+
SURFACES_FILE="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR" --key surfaces 2> /dev/null)"
|
|
726
|
+
GLOSSARY_FILE="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR" --key glossary 2> /dev/null)"
|
|
727
727
|
[ -n "$PERSONAS_FILE" ] || PERSONAS_FILE="$NS_ROOT/personas.md"
|
|
728
728
|
[ -n "$SURFACES_FILE" ] || SURFACES_FILE="$NS_ROOT/surfaces.md"
|
|
729
729
|
[ -n "$GLOSSARY_FILE" ] || GLOSSARY_FILE="$NS_ROOT/glossary.md"
|
|
@@ -53,7 +53,7 @@ and ticket scope; its typed verdict decides. Resolve a review-capable Safeword
|
|
|
53
53
|
CLI first; source checkouts do not guarantee a bare `safeword` on `PATH`:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.
|
|
56
|
+
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.8 review run scenario-gate feature-file ticket-spec [legacy-test-definitions] --agent-handoff --json
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
The coordinator prefers the opposite headless agent and labels a permitted
|
|
@@ -82,10 +82,10 @@ Scaffold from `.safeword/templates/impl-plan-template.md` (sibling to `ticket.md
|
|
|
82
82
|
|
|
83
83
|
## Exit: review, then (optionally) the user
|
|
84
84
|
|
|
85
|
-
1. **Independent review first.** At review time, run `bunx --bun safeword@0.78.
|
|
85
|
+
1. **Independent review first.** At review time, run `bunx --bun safeword@0.78.8 project review-knowledge --json`. Resolve a review-capable Safeword CLI, then invoke the coordinator with the current files identified by the resolver:
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.
|
|
88
|
+
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.8 review run plan-implementation impl-plan.md spec.md ticket.md feature-file principles-file personas-file surfaces-file --agent-handoff --json
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
The shared coordinator sends that bounded packet to the opposite headless agent when available; its typed verdict, failure classification, and independence level are authoritative. Only when that typed result is `REVIEW_ROUTES_EXHAUSTED`, invoke `$safeword:finish-review` immediately with the original result and the same accepted targets; return every other result unchanged and do not substitute another private subagent. Give the reviewer the current `spec.md`, configured principles file, configured personas file, and configured surfaces file in that packet. The reviewer refutes the plan: challenge whether it selected the actually applicable principles, whether each concrete consequence follows from its principle, whether the proposed proof can prove that consequence, whether conflicts belong in Known deviations, whether the design fulfills each persona's JTBD, and whether any affected surface was omitted or lacks credible proof. Also check wrong-direction design, missed scenarios, and editorial padding via the deletion test. Fix findings, re-resolve the sources, re-review, then stamp the exit with the returned agent provenance (`write-review-stamp.ts --author-agent "author-agent" --reviewer-agent "actual-reviewer" --independence "independence" --phase plan-implementation`, where the review gate is enabled). Add `--model` only when the executed reviewer reports a verifiable model identifier; the coordinator never invents one. Human handoff happens **only after** this review passes — raw planning output is never presented for approval. Exception, any time: information only the user has (intent, priorities, constraints not in code or docs) routes to the user the moment the gap appears — `$safeword:elicit`.
|
|
@@ -196,7 +196,7 @@ Off by default. When `.safeword/config.json` sets `architectureReviewGate: true`
|
|
|
196
196
|
2. **A fresh-context review.** Resolve a review-capable Safeword CLI, then run the shared coordinator with only the bounded design evidence:
|
|
197
197
|
|
|
198
198
|
```bash
|
|
199
|
-
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.
|
|
199
|
+
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.8 review run plan-implementation impl-plan.md ticket-spec feature-file --agent-handoff --json
|
|
200
200
|
```
|
|
201
201
|
|
|
202
202
|
The shared coordinator prefers the opposite headless agent. Only when its typed result is `REVIEW_ROUTES_EXHAUSTED`, invoke `$safeword:finish-review` with the original result and the same accepted targets; return every other result unchanged. Degraded findings cannot satisfy a required independent-review gate. On an independent pass, stamp it:
|
|
@@ -39,7 +39,7 @@ Gather the durable trail safeword already keeps, then narrate it. Run:
|
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel 2> /dev/null || pwd)}"
|
|
42
|
-
NS_ROOT="$(bunx --bun safeword@0.78.
|
|
42
|
+
NS_ROOT="$(bunx --bun safeword@0.78.8 project namespace-root --cwd "$PROJECT_DIR")"
|
|
43
43
|
# What you're on now: the last re-entry line names the current ticket + Next
|
|
44
44
|
tail -3 "$NS_ROOT/re-entry.md" 2> /dev/null
|
|
45
45
|
# Fallback when re-entry is empty: in_progress tickets (not epics)
|
|
@@ -50,7 +50,7 @@ If in a BDD workflow, read the current ticket from `<namespace-root>/tickets/` a
|
|
|
50
50
|
|
|
51
51
|
### Project-principle challenge
|
|
52
52
|
|
|
53
|
-
For a BDD ticket, run `bunx --bun safeword@0.78.
|
|
53
|
+
For a BDD ticket, run `bunx --bun safeword@0.78.8 project review-knowledge --json` at the
|
|
54
54
|
start of each pass and read the current `principles`, `personas`, and `surfaces`
|
|
55
55
|
paths and content it returns (including overrides such as `paths.principles`).
|
|
56
56
|
Do not substitute labels or intake-era content.
|
|
@@ -175,7 +175,7 @@ Each pass:
|
|
|
175
175
|
CLI first; source checkouts do not guarantee a bare `safeword` on `PATH`:
|
|
176
176
|
|
|
177
177
|
```bash
|
|
178
|
-
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.
|
|
178
|
+
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.8 review run quality-review changed-file [more-changed-files...] --agent-handoff --json
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
A healthy deep review may return `REVIEW_PENDING` after its foreground
|
|
@@ -17,7 +17,7 @@ a caller-nominated path. The spool contains sanitized safeword findings for
|
|
|
17
17
|
## Procedure
|
|
18
18
|
|
|
19
19
|
1. Before reading or making any tracker call, run
|
|
20
|
-
`bunx --bun safeword@0.78.
|
|
20
|
+
`bunx --bun safeword@0.78.8 project retro-drain "<spool-path>" --validated-jsonl`.
|
|
21
21
|
Use only its JSONL stdout as the filing input. A nonzero exit means validation
|
|
22
22
|
failed: make no search, comment, or create call, leave the spool unchanged,
|
|
23
23
|
and report `retro-filer: cannot file - draft validation failed`. If its output
|
|
@@ -60,7 +60,7 @@ a caller-nominated path. The spool contains sanitized safeword findings for
|
|
|
60
60
|
the draft only when the append succeeded and the exact ack is visible. If the
|
|
61
61
|
append or verification fails, leave the draft in place.
|
|
62
62
|
5. Create at most five new issues per run. Drain only by running
|
|
63
|
-
`bunx --bun safeword@0.78.
|
|
63
|
+
`bunx --bun safeword@0.78.8 project retro-drain "<spool-path>"`; never rewrite or
|
|
64
64
|
delete the spool directly. The helper removes only drafts whose valid ack is
|
|
65
65
|
reader-visible, so unfiled or unacknowledged drafts remain. If tracker write
|
|
66
66
|
access is unavailable, leave the spool unchanged and report
|
|
@@ -16,7 +16,7 @@ Adversarially review a ticket's scenarios: treat them as if you're trying to bre
|
|
|
16
16
|
- **Manual re-run** — invoke `$safeword:review-spec` anytime after `define-behavior` (e.g., scenarios changed during implement and you want to re-validate). Allowed on a closed ticket too — a post-hoc audit is still readable.
|
|
17
17
|
|
|
18
18
|
Read the active ticket's `.feature` source first. At review time, run
|
|
19
|
-
`bunx --bun safeword@0.78.
|
|
19
|
+
`bunx --bun safeword@0.78.8 project review-knowledge --json` and read the current
|
|
20
20
|
`principles`, `personas`, and `surfaces` source paths and content it returns, so
|
|
21
21
|
the review is grounded in project knowledge rather than labels or stale intake
|
|
22
22
|
context. The resolver honors `paths.principles`, `paths.personas`, and
|
|
@@ -35,7 +35,7 @@ Resolve a review-capable Safeword CLI first; source checkouts do not guarantee
|
|
|
35
35
|
a bare `safeword` on `PATH`:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.
|
|
38
|
+
SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.78.8 review run scenario-gate feature-file ticket-spec [legacy-test-definitions] --agent-handoff --json
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
The coordinator's assigned/actual reviewer, failure classification, and
|
|
@@ -45,7 +45,7 @@ installed helper — report it to the user and resolve before retrying.
|
|
|
45
45
|
## Review the spec (do this now, with the stamp written)
|
|
46
46
|
|
|
47
47
|
The stamp records that a review was invoked; the actual scrutiny is yours. At
|
|
48
|
-
review time, run `bunx --bun safeword@0.78.
|
|
48
|
+
review time, run `bunx --bun safeword@0.78.8 project review-knowledge --json` and use its
|
|
49
49
|
current `principles`, `personas`, and `surfaces` source paths and content—not
|
|
50
50
|
labels remembered from intake. These resolve from `paths.principles`,
|
|
51
51
|
`paths.personas`, and `paths.surfaces` when configured. Read those sources with the active ticket's
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
readJson,
|
|
26
26
|
writeJson
|
|
27
27
|
} from "./chunk-HF3DXZEA.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UUONZXZA.js";
|
|
29
29
|
|
|
30
30
|
// src/commands/architecture.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -650,4 +650,4 @@ export {
|
|
|
650
650
|
architectureStage,
|
|
651
651
|
architectureStaged
|
|
652
652
|
};
|
|
653
|
-
//# sourceMappingURL=architecture-
|
|
653
|
+
//# sourceMappingURL=architecture-LBHZZFHR.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "./chunk-MVNK7U5P.js";
|
|
12
12
|
import "./chunk-VZ5B2SIO.js";
|
|
13
13
|
import "./chunk-HF3DXZEA.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UUONZXZA.js";
|
|
15
15
|
export {
|
|
16
16
|
isSafewordOwned,
|
|
17
17
|
isWouldChangeAction,
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
selfHealProject,
|
|
23
23
|
selfHealProjectPreservingProse
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=architecture-document-
|
|
25
|
+
//# sourceMappingURL=architecture-document-3AAG5IT3.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
monorepoFingerprintOf
|
|
6
6
|
} from "./chunk-VZ5B2SIO.js";
|
|
7
7
|
import "./chunk-HF3DXZEA.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UUONZXZA.js";
|
|
9
9
|
export {
|
|
10
10
|
discoverUnreadableWorkspaces,
|
|
11
11
|
discoverWorkspaces,
|
|
12
12
|
extractMonorepoArchitectureSnapshot,
|
|
13
13
|
monorepoFingerprintOf
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=architecture-monorepo-
|
|
15
|
+
//# sourceMappingURL=architecture-monorepo-PTYRKDIM.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
readFileSafe
|
|
28
28
|
} from "./chunk-HF3DXZEA.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-UUONZXZA.js";
|
|
30
30
|
|
|
31
31
|
// src/commands/boundary.ts
|
|
32
32
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -627,4 +627,4 @@ function boundary(options) {
|
|
|
627
627
|
export {
|
|
628
628
|
boundary
|
|
629
629
|
};
|
|
630
|
-
//# sourceMappingURL=boundary-
|
|
630
|
+
//# sourceMappingURL=boundary-FBI7Z5NM.js.map
|
|
@@ -78,11 +78,11 @@ async function observeLifecycleSurfaces(cwd, agents, environment = process.env)
|
|
|
78
78
|
const project = await observeStatus(cwd, agents, environment);
|
|
79
79
|
const surfaces = [{ name: "project", result: project }];
|
|
80
80
|
if (agents.includes("claude")) {
|
|
81
|
-
const { observeClaudeStatus } = await import("./status-
|
|
81
|
+
const { observeClaudeStatus } = await import("./status-2TYLHW7I.js");
|
|
82
82
|
surfaces.push({ name: "claude", result: observeClaudeStatus(cwd) });
|
|
83
83
|
}
|
|
84
84
|
if (agents.includes("codex")) {
|
|
85
|
-
const { observeCodexMigration } = await import("./operations-
|
|
85
|
+
const { observeCodexMigration } = await import("./operations-425HLFUS.js");
|
|
86
86
|
surfaces.push({ name: "codex", result: observeCodexMigration(cwd, environment) });
|
|
87
87
|
}
|
|
88
88
|
if (agents.includes("cursor")) {
|
|
@@ -238,4 +238,4 @@ export {
|
|
|
238
238
|
summarizeLifecycleStatus,
|
|
239
239
|
observeLifecycleStatus
|
|
240
240
|
};
|
|
241
|
-
//# sourceMappingURL=chunk-
|
|
241
|
+
//# sourceMappingURL=chunk-MD3PENSY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// <define:__SAFEWORD_RELAY_BUILD_ATTESTATION__>
|
|
2
|
-
var define_SAFEWORD_RELAY_BUILD_ATTESTATION_default = { ancestorPairs: [], artifacts: {}, buildCommit: "
|
|
2
|
+
var define_SAFEWORD_RELAY_BUILD_ATTESTATION_default = { ancestorPairs: [], artifacts: {}, buildCommit: "640758c5fd7ccf676458aac4c85442c37f6ab323", enabled: false, manifestBase64: "ewogICJlbmFibGVkIjogZmFsc2UsCiAgInZlcnNpb24iOiAxCn0K", manifestSha256: "946401206ee213e84b672a7f2a400cfa7da911c2f5d6da1c051e63940ed27262" };
|
|
3
3
|
|
|
4
4
|
export {
|
|
5
5
|
define_SAFEWORD_RELAY_BUILD_ATTESTATION_default
|
|
6
6
|
};
|
|
7
|
-
//# sourceMappingURL=chunk-
|
|
7
|
+
//# sourceMappingURL=chunk-UUONZXZA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["<define:__SAFEWORD_RELAY_BUILD_ATTESTATION__>"],"sourcesContent":["{\"ancestorPairs\":[],\"artifacts\":{},\"buildCommit\":\"
|
|
1
|
+
{"version":3,"sources":["<define:__SAFEWORD_RELAY_BUILD_ATTESTATION__>"],"sourcesContent":["{\"ancestorPairs\":[],\"artifacts\":{},\"buildCommit\":\"640758c5fd7ccf676458aac4c85442c37f6ab323\",\"enabled\":false,\"manifestBase64\":\"ewogICJlbmFibGVkIjogZmFsc2UsCiAgInZlcnNpb24iOiAxCn0K\",\"manifestSha256\":\"946401206ee213e84b672a7f2a400cfa7da911c2f5d6da1c051e63940ed27262\"}"],"mappings":";AAAA,wDAAC,eAAgB,CAAC,GAAE,WAAY,CAAC,GAAE,aAAc,4CAA2C,SAAU,OAAM,gBAAiB,wDAAuD,gBAAiB,mEAAkE;","names":[]}
|
|
@@ -11,11 +11,11 @@ import "./chunk-QOLHGAD5.js";
|
|
|
11
11
|
import "./chunk-HNCUIXDY.js";
|
|
12
12
|
import "./chunk-FOYGZ4MK.js";
|
|
13
13
|
import "./chunk-HF3DXZEA.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UUONZXZA.js";
|
|
15
15
|
export {
|
|
16
16
|
claudeCleanupPreconditionDigest,
|
|
17
17
|
claudeLegacyMutations,
|
|
18
18
|
migrateClaudeLegacyAutomatically,
|
|
19
19
|
recoverClaudeCleanup
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=cleanup-
|
|
21
|
+
//# sourceMappingURL=cleanup-BL2ETSUX.js.map
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
VERSION
|
|
31
31
|
} from "./chunk-UAFM77KW.js";
|
|
32
32
|
import "./chunk-HF3DXZEA.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-UUONZXZA.js";
|
|
34
34
|
|
|
35
35
|
// src/claude-plugin/cleanup-command.ts
|
|
36
36
|
function statusClassification(result) {
|
|
@@ -132,4 +132,4 @@ function cleanupClaudeLegacy(cwd, options) {
|
|
|
132
132
|
export {
|
|
133
133
|
cleanupClaudeLegacy
|
|
134
134
|
};
|
|
135
|
-
//# sourceMappingURL=cleanup-command-
|
|
135
|
+
//# sourceMappingURL=cleanup-command-DTYP4Q3C.js.map
|