safeword 0.79.4 → 0.79.6

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.
Files changed (145) hide show
  1. package/codex-plugin/.codex-plugin/plugin.json +1 -1
  2. package/codex-plugin/hooks.json +5 -5
  3. package/codex-plugin/skills/audit/SKILL.md +5 -5
  4. package/codex-plugin/skills/bdd/SKILL.md +1 -1
  5. package/codex-plugin/skills/bdd/references/PLAN_IMPLEMENTATION.md +2 -2
  6. package/codex-plugin/skills/bdd/references/TDD.md +1 -1
  7. package/codex-plugin/skills/explain/SKILL.md +1 -1
  8. package/codex-plugin/skills/quality-review/SKILL.md +2 -2
  9. package/codex-plugin/skills/retro-filer/SKILL.md +2 -2
  10. package/codex-plugin/skills/review-spec/SKILL.md +2 -2
  11. package/codex-plugin/skills/self-review/SKILL.md +1 -1
  12. package/dist/{architecture-S3OSTB4H.js → architecture-PKFEYKF5.js} +2 -2
  13. package/dist/{architecture-document-YDTAC5QW.js → architecture-document-TJCHWOJK.js} +2 -2
  14. package/dist/{architecture-monorepo-AIEIMAPM.js → architecture-monorepo-AO32KPUV.js} +2 -2
  15. package/dist/{boundary-VIXWHN33.js → boundary-N5KK4A6Z.js} +2 -2
  16. package/dist/{chunk-WWXTDCRU.js → chunk-6AXGKGWT.js} +2 -2
  17. package/dist/{chunk-QJN3F2DH.js → chunk-DLZI44FS.js} +2 -2
  18. package/dist/{chunk-OSUHI4TI.js → chunk-HJH6WBOE.js} +5 -5
  19. package/dist/{chunk-VAANBFPH.js → chunk-L3SMWGOE.js} +3 -3
  20. package/dist/{chunk-X6JGUZBL.js → chunk-PXZXYPMR.js} +102 -3
  21. package/dist/chunk-PXZXYPMR.js.map +1 -0
  22. package/dist/{chunk-H6PUYXZB.js → chunk-R3PPYLUW.js} +4 -4
  23. package/dist/{chunk-3ZJDGGD4.js → chunk-VIPT6ILW.js} +2 -2
  24. package/dist/{chunk-EHL763GT.js → chunk-WGZWXTTK.js} +5 -5
  25. package/dist/{chunk-ZLUYSYVL.js → chunk-WPHE4CVS.js} +2 -2
  26. package/dist/{chunk-ZLUYSYVL.js.map → chunk-WPHE4CVS.js.map} +1 -1
  27. package/dist/{chunk-ABCPY5EJ.js → chunk-XAMYX76Z.js} +2 -2
  28. package/dist/{chunk-GZDOSVXD.js → chunk-ZESNDCRI.js} +4 -4
  29. package/dist/{cleanup-4NAPXMIO.js → cleanup-6L62LCDG.js} +2 -2
  30. package/dist/{cleanup-command-WTHLT2F5.js → cleanup-command-2WKL5BRW.js} +2 -2
  31. package/dist/cli.js +74 -74
  32. package/dist/{clients-LCF5WXUQ.js → clients-XVKTYXEE.js} +2 -2
  33. package/dist/{codex-bootstrap-EXJ6LU2H.js → codex-bootstrap-7SSVALDH.js} +7 -7
  34. package/dist/{codex-hook-MWOKXKZG.js → codex-hook-GKRJPUNY.js} +5 -5
  35. package/dist/{codify-ZA4G7X3E.js → codify-LNYGFHNV.js} +2 -2
  36. package/dist/{commands-BW6IT3JW.js → commands-3IU6AYOC.js} +18 -17
  37. package/dist/commands-3IU6AYOC.js.map +1 -0
  38. package/dist/{config-GWNOWMCA.js → config-QZNMTUOI.js} +2 -2
  39. package/dist/{configured-paths-ONZCG3G6.js → configured-paths-FUIGDAVZ.js} +2 -2
  40. package/dist/{contract-OW6KBX7H.js → contract-7QIHCA4W.js} +2 -2
  41. package/dist/{coordinator-PBY5MSQL.js → coordinator-TAAXZQMR.js} +2 -2
  42. package/dist/{corpus-NK7NZQZ5.js → corpus-MHWRUDM4.js} +2 -2
  43. package/dist/{doctor-BIKX45BM.js → doctor-SJS2BPSG.js} +7 -7
  44. package/dist/{drain-retro-spool-R6OBXJDT.js → drain-retro-spool-XI4CVY7S.js} +2 -2
  45. package/dist/{feature-directories-CRJABGWW.js → feature-directories-6MPL5ZRF.js} +2 -2
  46. package/dist/{finalization-OFQUSUHY.js → finalization-PY7G42IH.js} +2 -2
  47. package/dist/{gh-cli-2KWJ6K2U.js → gh-cli-HVKU4I6Y.js} +2 -2
  48. package/dist/{github-rest-ORPXE32P.js → github-rest-54VTCFIW.js} +2 -2
  49. package/dist/index.js +1 -1
  50. package/dist/{job-BGMFXWZN.js → job-4M25USS7.js} +2 -2
  51. package/dist/{learning-sync-6N535XMT.js → learning-sync-7VVFZ3OD.js} +2 -2
  52. package/dist/{legacy-global-guidance-POGNYKLA.js → legacy-global-guidance-V4JCERWT.js} +2 -2
  53. package/dist/{lint-gherkin-6STLAAWV.js → lint-gherkin-ETTY3MXC.js} +2 -2
  54. package/dist/{namespace-root-7A3KODH2.js → namespace-root-43RV2IFR.js} +2 -2
  55. package/dist/{operations-55E4AZMZ.js → operations-IQIDWWPZ.js} +7 -7
  56. package/dist/{output-P4FGEE5R.js → output-QMPSPK63.js} +2 -2
  57. package/dist/{packet-XEO3VJ5C.js → packet-BXY5QGOH.js} +2 -2
  58. package/dist/presets/typescript/index.js +1 -1
  59. package/dist/{profile-TCX5YACH.js → profile-ZDGVS7K4.js} +2 -2
  60. package/dist/{prompt-BC4XM43M.js → prompt-PIJUM242.js} +2 -2
  61. package/dist/{public-retros-5SXQSFZO.js → public-retros-LUZPH4SH.js} +2 -2
  62. package/dist/{remove-F7MRQGWW.js → remove-MU6LEEDE.js} +6 -6
  63. package/dist/{retro-JFL525DZ.js → retro-IM2FTTHU.js} +8 -8
  64. package/dist/{retro-draft-spool-76AT67XQ.js → retro-draft-spool-3JN6FWYY.js} +2 -2
  65. package/dist/{retro-drain-CHO4ZILS.js → retro-drain-AR3LXXVW.js} +3 -3
  66. package/dist/{retro-extract-UCTHXVKK.js → retro-extract-QHOKLHJZ.js} +2 -2
  67. package/dist/{review-knowledge-6HL72ICO.js → review-knowledge-PQTVPBNO.js} +2 -2
  68. package/dist/{review-pr-B7PQMF3M.js → review-pr-TCYNHFBV.js} +2 -2
  69. package/dist/{review-pr-publication-DZIBSYS2.js → review-pr-publication-EBC4H5PX.js} +2 -2
  70. package/dist/{run-CEDZ4URF.js → run-3PYMWPO3.js} +2 -2
  71. package/dist/{self-report-2PZ7P4RF.js → self-report-VVKFLU2M.js} +2 -2
  72. package/dist/{status-YRCB6M6N.js → status-GOFUSYCW.js} +7 -7
  73. package/dist/{status-PYCQEYCE.js → status-KXYK4CCR.js} +2 -2
  74. package/dist/{sync-config-HWG2UZL3.js → sync-config-7ZHN42PO.js} +2 -2
  75. package/dist/{sync-tracker-3NCNU6JX.js → sync-tracker-EZVDE2SK.js} +2 -2
  76. package/dist/{test-execution-XQWPSIRI.js → test-execution-HH7YOBMA.js} +4 -4
  77. package/dist/{test-plan-NESN2F6D.js → test-plan-3IPYL6YK.js} +4 -4
  78. package/dist/{ticket-new-M2NIPF6T.js → ticket-new-2PTLPHXK.js} +2 -2
  79. package/dist/{ticket-sync-D3PMDNMK.js → ticket-sync-VSEH3NGG.js} +2 -2
  80. package/dist/{tracker-map-SBDK5W3J.js → tracker-map-S5BIOIGC.js} +2 -2
  81. package/dist/{tracker-sync-XKVB2WYV.js → tracker-sync-YU7IKTNB.js} +2 -2
  82. package/package.json +1 -1
  83. package/dist/chunk-X6JGUZBL.js.map +0 -1
  84. package/dist/commands-BW6IT3JW.js.map +0 -1
  85. /package/dist/{architecture-S3OSTB4H.js.map → architecture-PKFEYKF5.js.map} +0 -0
  86. /package/dist/{architecture-document-YDTAC5QW.js.map → architecture-document-TJCHWOJK.js.map} +0 -0
  87. /package/dist/{architecture-monorepo-AIEIMAPM.js.map → architecture-monorepo-AO32KPUV.js.map} +0 -0
  88. /package/dist/{boundary-VIXWHN33.js.map → boundary-N5KK4A6Z.js.map} +0 -0
  89. /package/dist/{chunk-WWXTDCRU.js.map → chunk-6AXGKGWT.js.map} +0 -0
  90. /package/dist/{chunk-QJN3F2DH.js.map → chunk-DLZI44FS.js.map} +0 -0
  91. /package/dist/{chunk-OSUHI4TI.js.map → chunk-HJH6WBOE.js.map} +0 -0
  92. /package/dist/{chunk-VAANBFPH.js.map → chunk-L3SMWGOE.js.map} +0 -0
  93. /package/dist/{chunk-H6PUYXZB.js.map → chunk-R3PPYLUW.js.map} +0 -0
  94. /package/dist/{chunk-3ZJDGGD4.js.map → chunk-VIPT6ILW.js.map} +0 -0
  95. /package/dist/{chunk-EHL763GT.js.map → chunk-WGZWXTTK.js.map} +0 -0
  96. /package/dist/{chunk-ABCPY5EJ.js.map → chunk-XAMYX76Z.js.map} +0 -0
  97. /package/dist/{chunk-GZDOSVXD.js.map → chunk-ZESNDCRI.js.map} +0 -0
  98. /package/dist/{cleanup-4NAPXMIO.js.map → cleanup-6L62LCDG.js.map} +0 -0
  99. /package/dist/{cleanup-command-WTHLT2F5.js.map → cleanup-command-2WKL5BRW.js.map} +0 -0
  100. /package/dist/{clients-LCF5WXUQ.js.map → clients-XVKTYXEE.js.map} +0 -0
  101. /package/dist/{codex-bootstrap-EXJ6LU2H.js.map → codex-bootstrap-7SSVALDH.js.map} +0 -0
  102. /package/dist/{codex-hook-MWOKXKZG.js.map → codex-hook-GKRJPUNY.js.map} +0 -0
  103. /package/dist/{codify-ZA4G7X3E.js.map → codify-LNYGFHNV.js.map} +0 -0
  104. /package/dist/{config-GWNOWMCA.js.map → config-QZNMTUOI.js.map} +0 -0
  105. /package/dist/{configured-paths-ONZCG3G6.js.map → configured-paths-FUIGDAVZ.js.map} +0 -0
  106. /package/dist/{contract-OW6KBX7H.js.map → contract-7QIHCA4W.js.map} +0 -0
  107. /package/dist/{coordinator-PBY5MSQL.js.map → coordinator-TAAXZQMR.js.map} +0 -0
  108. /package/dist/{corpus-NK7NZQZ5.js.map → corpus-MHWRUDM4.js.map} +0 -0
  109. /package/dist/{doctor-BIKX45BM.js.map → doctor-SJS2BPSG.js.map} +0 -0
  110. /package/dist/{drain-retro-spool-R6OBXJDT.js.map → drain-retro-spool-XI4CVY7S.js.map} +0 -0
  111. /package/dist/{feature-directories-CRJABGWW.js.map → feature-directories-6MPL5ZRF.js.map} +0 -0
  112. /package/dist/{finalization-OFQUSUHY.js.map → finalization-PY7G42IH.js.map} +0 -0
  113. /package/dist/{gh-cli-2KWJ6K2U.js.map → gh-cli-HVKU4I6Y.js.map} +0 -0
  114. /package/dist/{github-rest-ORPXE32P.js.map → github-rest-54VTCFIW.js.map} +0 -0
  115. /package/dist/{job-BGMFXWZN.js.map → job-4M25USS7.js.map} +0 -0
  116. /package/dist/{learning-sync-6N535XMT.js.map → learning-sync-7VVFZ3OD.js.map} +0 -0
  117. /package/dist/{legacy-global-guidance-POGNYKLA.js.map → legacy-global-guidance-V4JCERWT.js.map} +0 -0
  118. /package/dist/{lint-gherkin-6STLAAWV.js.map → lint-gherkin-ETTY3MXC.js.map} +0 -0
  119. /package/dist/{namespace-root-7A3KODH2.js.map → namespace-root-43RV2IFR.js.map} +0 -0
  120. /package/dist/{operations-55E4AZMZ.js.map → operations-IQIDWWPZ.js.map} +0 -0
  121. /package/dist/{output-P4FGEE5R.js.map → output-QMPSPK63.js.map} +0 -0
  122. /package/dist/{packet-XEO3VJ5C.js.map → packet-BXY5QGOH.js.map} +0 -0
  123. /package/dist/{profile-TCX5YACH.js.map → profile-ZDGVS7K4.js.map} +0 -0
  124. /package/dist/{prompt-BC4XM43M.js.map → prompt-PIJUM242.js.map} +0 -0
  125. /package/dist/{public-retros-5SXQSFZO.js.map → public-retros-LUZPH4SH.js.map} +0 -0
  126. /package/dist/{remove-F7MRQGWW.js.map → remove-MU6LEEDE.js.map} +0 -0
  127. /package/dist/{retro-JFL525DZ.js.map → retro-IM2FTTHU.js.map} +0 -0
  128. /package/dist/{retro-draft-spool-76AT67XQ.js.map → retro-draft-spool-3JN6FWYY.js.map} +0 -0
  129. /package/dist/{retro-drain-CHO4ZILS.js.map → retro-drain-AR3LXXVW.js.map} +0 -0
  130. /package/dist/{retro-extract-UCTHXVKK.js.map → retro-extract-QHOKLHJZ.js.map} +0 -0
  131. /package/dist/{review-knowledge-6HL72ICO.js.map → review-knowledge-PQTVPBNO.js.map} +0 -0
  132. /package/dist/{review-pr-B7PQMF3M.js.map → review-pr-TCYNHFBV.js.map} +0 -0
  133. /package/dist/{review-pr-publication-DZIBSYS2.js.map → review-pr-publication-EBC4H5PX.js.map} +0 -0
  134. /package/dist/{run-CEDZ4URF.js.map → run-3PYMWPO3.js.map} +0 -0
  135. /package/dist/{self-report-2PZ7P4RF.js.map → self-report-VVKFLU2M.js.map} +0 -0
  136. /package/dist/{status-PYCQEYCE.js.map → status-GOFUSYCW.js.map} +0 -0
  137. /package/dist/{status-YRCB6M6N.js.map → status-KXYK4CCR.js.map} +0 -0
  138. /package/dist/{sync-config-HWG2UZL3.js.map → sync-config-7ZHN42PO.js.map} +0 -0
  139. /package/dist/{sync-tracker-3NCNU6JX.js.map → sync-tracker-EZVDE2SK.js.map} +0 -0
  140. /package/dist/{test-execution-XQWPSIRI.js.map → test-execution-HH7YOBMA.js.map} +0 -0
  141. /package/dist/{test-plan-NESN2F6D.js.map → test-plan-3IPYL6YK.js.map} +0 -0
  142. /package/dist/{ticket-new-M2NIPF6T.js.map → ticket-new-2PTLPHXK.js.map} +0 -0
  143. /package/dist/{ticket-sync-D3PMDNMK.js.map → ticket-sync-VSEH3NGG.js.map} +0 -0
  144. /package/dist/{tracker-map-SBDK5W3J.js.map → tracker-map-S5BIOIGC.js.map} +0 -0
  145. /package/dist/{tracker-sync-XKVB2WYV.js.map → tracker-sync-YU7IKTNB.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "safeword",
3
- "version": "0.79.4",
3
+ "version": "0.79.6",
4
4
  "description": "Safeword workflow guidance and gates for Codex.",
5
5
  "author": {
6
6
  "name": "Arcade AI"
@@ -6,7 +6,7 @@
6
6
  "hooks": [
7
7
  {
8
8
  "type": "command",
9
- "command": "bunx --bun safeword@0.79.4 hook codex session-start --plugin-hook",
9
+ "command": "bunx --bun safeword@0.79.6 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.79.4 hook codex pre-tool-use --plugin-hook",
22
+ "command": "bunx --bun safeword@0.79.6 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.79.4 hook codex post-tool-use --plugin-hook",
35
+ "command": "bunx --bun safeword@0.79.6 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.79.4 hook codex user-prompt-submit --plugin-hook",
48
+ "command": "bunx --bun safeword@0.79.6 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.79.4 hook codex stop --plugin-hook",
61
+ "command": "bunx --bun safeword@0.79.6 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.79.4 project namespace-root --cwd "$PROJECT_DIR")"
560
+ NS_ROOT="$(bunx --bun safeword@0.79.6 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.79.4 project namespace-root --cwd "$PROJECT_DIR" 2> /dev/null)"
720
+ NS_ROOT="$(bunx --bun safeword@0.79.6 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.79.4 project namespace-root --cwd "$PROJECT_DIR" --key personas 2> /dev/null)"
725
- SURFACES_FILE="$(bunx --bun safeword@0.79.4 project namespace-root --cwd "$PROJECT_DIR" --key surfaces 2> /dev/null)"
726
- GLOSSARY_FILE="$(bunx --bun safeword@0.79.4 project namespace-root --cwd "$PROJECT_DIR" --key glossary 2> /dev/null)"
724
+ PERSONAS_FILE="$(bunx --bun safeword@0.79.6 project namespace-root --cwd "$PROJECT_DIR" --key personas 2> /dev/null)"
725
+ SURFACES_FILE="$(bunx --bun safeword@0.79.6 project namespace-root --cwd "$PROJECT_DIR" --key surfaces 2> /dev/null)"
726
+ GLOSSARY_FILE="$(bunx --bun safeword@0.79.6 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.79.4 review run scenario-gate feature-file ticket-spec [legacy-test-definitions] --agent-handoff --json
56
+ SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.79.6 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.79.4 project review-knowledge --json`. Resolve a review-capable Safeword CLI, then invoke the coordinator with the current files identified by the resolver:
85
+ 1. **Independent review first.** At review time, run `bunx --bun safeword@0.79.6 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.79.4 review run plan-implementation impl-plan.md spec.md ticket.md feature-file principles-file personas-file surfaces-file --agent-handoff --json
88
+ SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.79.6 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.79.4 review run plan-implementation impl-plan.md ticket-spec feature-file --agent-handoff --json
199
+ SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.79.6 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.79.4 project namespace-root --cwd "$PROJECT_DIR")"
42
+ NS_ROOT="$(bunx --bun safeword@0.79.6 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.79.4 project review-knowledge --json` at the
53
+ For a BDD ticket, run `bunx --bun safeword@0.79.6 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.79.4 review run quality-review changed-file [more-changed-files...] --agent-handoff --json
178
+ SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.79.6 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.79.4 project retro-drain "<spool-path>" --validated-jsonl`.
20
+ `bunx --bun safeword@0.79.6 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.79.4 project retro-drain "<spool-path>"`; never rewrite or
63
+ `bunx --bun safeword@0.79.6 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.79.4 project review-knowledge --json` and read the current
19
+ `bunx --bun safeword@0.79.6 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.79.4 review run scenario-gate feature-file ticket-spec [legacy-test-definitions] --agent-handoff --json
38
+ SAFEWORD_REVIEW_PROGRESS=1 bunx --bun safeword@0.79.6 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.79.4 project review-knowledge --json` and use its
48
+ review time, run `bunx --bun safeword@0.79.6 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-ZLUYSYVL.js";
28
+ import "./chunk-WPHE4CVS.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-S3OSTB4H.js.map
653
+ //# sourceMappingURL=architecture-PKFEYKF5.js.map
@@ -11,7 +11,7 @@ import {
11
11
  import "./chunk-NEOV7ZY3.js";
12
12
  import "./chunk-VZ5B2SIO.js";
13
13
  import "./chunk-HF3DXZEA.js";
14
- import "./chunk-ZLUYSYVL.js";
14
+ import "./chunk-WPHE4CVS.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-YDTAC5QW.js.map
25
+ //# sourceMappingURL=architecture-document-TJCHWOJK.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-ZLUYSYVL.js";
8
+ import "./chunk-WPHE4CVS.js";
9
9
  export {
10
10
  discoverUnreadableWorkspaces,
11
11
  discoverWorkspaces,
12
12
  extractMonorepoArchitectureSnapshot,
13
13
  monorepoFingerprintOf
14
14
  };
15
- //# sourceMappingURL=architecture-monorepo-AIEIMAPM.js.map
15
+ //# sourceMappingURL=architecture-monorepo-AO32KPUV.js.map
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  readFileSafe
28
28
  } from "./chunk-HF3DXZEA.js";
29
- import "./chunk-ZLUYSYVL.js";
29
+ import "./chunk-WPHE4CVS.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-VIXWHN33.js.map
630
+ //# sourceMappingURL=boundary-N5KK4A6Z.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  parse,
7
7
  setupPythonTooling
8
- } from "./chunk-X6JGUZBL.js";
8
+ } from "./chunk-PXZXYPMR.js";
9
9
  import {
10
10
  SAFEWORD_PRIMARY_LINT_SCRIPT,
11
11
  detect
@@ -1697,4 +1697,4 @@ export {
1697
1697
  LEFTHOOK_CONFIGS,
1698
1698
  createProjectContext
1699
1699
  };
1700
- //# sourceMappingURL=chunk-WWXTDCRU.js.map
1700
+ //# sourceMappingURL=chunk-6AXGKGWT.js.map
@@ -7,7 +7,7 @@ import {
7
7
  matchesWorkspacePattern,
8
8
  parse,
9
9
  pythonWorkspaceOwns
10
- } from "./chunk-X6JGUZBL.js";
10
+ } from "./chunk-PXZXYPMR.js";
11
11
  import {
12
12
  findAllInTree,
13
13
  findFileMatchingInTree,
@@ -425,4 +425,4 @@ function resolveTestPlan(root, options = {}) {
425
425
  export {
426
426
  resolveTestPlan
427
427
  };
428
- //# sourceMappingURL=chunk-QJN3F2DH.js.map
428
+ //# sourceMappingURL=chunk-DLZI44FS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  observeCursorProject,
4
4
  projectLifecycleSchema,
5
5
  unselectedCursorFinding
6
- } from "./chunk-H6PUYXZB.js";
6
+ } from "./chunk-R3PPYLUW.js";
7
7
  import {
8
8
  legacyGlobalGuidanceDiagnostic,
9
9
  observeLegacyGlobalGuidance
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-23BNG6FE.js";
18
18
  import {
19
19
  detectPackageManager
20
- } from "./chunk-X6JGUZBL.js";
20
+ } from "./chunk-PXZXYPMR.js";
21
21
  import {
22
22
  combineEffects,
23
23
  combinedResultState,
@@ -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-PYCQEYCE.js");
81
+ const { observeClaudeStatus } = await import("./status-KXYK4CCR.js");
82
82
  surfaces.push({ name: "claude", result: observeClaudeStatus(cwd) });
83
83
  }
84
84
  if (agents.includes("codex")) {
85
- const { observeCodexMigration } = await import("./operations-55E4AZMZ.js");
85
+ const { observeCodexMigration } = await import("./operations-IQIDWWPZ.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-OSUHI4TI.js.map
241
+ //# sourceMappingURL=chunk-HJH6WBOE.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-QOLHGAD5.js";
4
4
  import {
5
5
  SAFEWORD_SCHEMA
6
- } from "./chunk-3ZJDGGD4.js";
6
+ } from "./chunk-VIPT6ILW.js";
7
7
  import {
8
8
  parse
9
- } from "./chunk-X6JGUZBL.js";
9
+ } from "./chunk-PXZXYPMR.js";
10
10
  import {
11
11
  CODEX_MIGRATION_SCHEMA
12
12
  } from "./chunk-AVAUUIDB.js";
@@ -772,4 +772,4 @@ export {
772
772
  observeCodexSessionProof,
773
773
  observeCodexHookProof
774
774
  };
775
- //# sourceMappingURL=chunk-VAANBFPH.js.map
775
+ //# sourceMappingURL=chunk-L3SMWGOE.js.map
@@ -842,7 +842,7 @@ function matchesWorkspacePattern(relative, pattern) {
842
842
 
843
843
  // src/packs/python/setup.ts
844
844
  import { execFileSync as execFileSync2 } from "child_process";
845
- import { readdirSync, realpathSync } from "fs";
845
+ import { readdirSync, readFileSync, realpathSync, unlinkSync, writeFileSync } from "fs";
846
846
  import nodePath2 from "path";
847
847
  var PYTHON_LAYERS = {
848
848
  domain: ["domain", "models", "entities", "core"],
@@ -1088,6 +1088,18 @@ function detectPythonPackageManagerAt(directory) {
1088
1088
  }
1089
1089
  return exists(nodePath2.join(directory, "Pipfile")) ? "pipenv" : void 0;
1090
1090
  }
1091
+ function uvLockDirectory(cwd, repoRoot) {
1092
+ const root = nodePath2.resolve(repoRoot);
1093
+ const projectDirectory = nodePath2.resolve(cwd);
1094
+ let directory = projectDirectory;
1095
+ while (true) {
1096
+ if (exists(nodePath2.join(directory, "uv.lock")) && (directory === projectDirectory || pythonWorkspaceOwns(directory, projectDirectory))) {
1097
+ return directory;
1098
+ }
1099
+ if (directory === root) return void 0;
1100
+ directory = nodePath2.dirname(directory);
1101
+ }
1102
+ }
1091
1103
  function getPythonInstallCommand(cwd, tools = ["ruff"], repoRoot = cwd) {
1092
1104
  const pm = detectPythonPackageManager(cwd, repoRoot);
1093
1105
  const toolList = tools.join(" ");
@@ -1151,11 +1163,39 @@ function getPythonToolDependencyGaps(cwd, includeImportLinter) {
1151
1163
  return tools.length === 0 ? [] : [{ directory, tools }];
1152
1164
  });
1153
1165
  }
1166
+ function installUvDependencies(cwd, tools, repoRoot) {
1167
+ const manifestPath = nodePath2.join(cwd, "pyproject.toml");
1168
+ const lockDirectory = uvLockDirectory(cwd, repoRoot);
1169
+ const lockPath = lockDirectory && nodePath2.join(lockDirectory, "uv.lock");
1170
+ const manifestBefore = exists(manifestPath) ? readFileSync(manifestPath) : void 0;
1171
+ const lockBefore = lockPath ? readFileSync(lockPath) : void 0;
1172
+ try {
1173
+ execFileSync2("uv", ["add", "--dev", ...tools], {
1174
+ cwd,
1175
+ stdio: "pipe",
1176
+ timeout: 6e4
1177
+ });
1178
+ if (lockDirectory) {
1179
+ execFileSync2("uv", ["lock", "--check"], {
1180
+ cwd: lockDirectory,
1181
+ stdio: "pipe",
1182
+ timeout: 6e4
1183
+ });
1184
+ }
1185
+ return true;
1186
+ } catch {
1187
+ if (manifestBefore) writeFileSync(manifestPath, manifestBefore);
1188
+ else if (exists(manifestPath)) unlinkSync(manifestPath);
1189
+ if (lockPath && lockBefore) writeFileSync(lockPath, lockBefore);
1190
+ return false;
1191
+ }
1192
+ }
1154
1193
  function installPythonDependencies(cwd, tools, repoRoot = cwd) {
1155
1194
  if (tools.length === 0) return true;
1156
1195
  if (process.env.SAFEWORD_SKIP_INSTALL) return true;
1157
1196
  const pm = detectPythonPackageManager(cwd, repoRoot);
1158
1197
  if (pm === "pip") return false;
1198
+ if (pm === "uv") return installUvDependencies(cwd, tools, repoRoot);
1159
1199
  try {
1160
1200
  const invocation = pythonInstallInvocation(cwd, tools, repoRoot);
1161
1201
  execFileSync2(invocation.command, invocation.arguments, {
@@ -1169,6 +1209,65 @@ function installPythonDependencies(cwd, tools, repoRoot = cwd) {
1169
1209
  return false;
1170
1210
  }
1171
1211
  }
1212
+ function restorePythonFiles(snapshots) {
1213
+ for (const [path2, content] of snapshots) {
1214
+ if (content) writeFileSync(path2, content);
1215
+ else if (exists(path2)) unlinkSync(path2);
1216
+ }
1217
+ }
1218
+ function uvBatchTargets(gaps, repoRoot) {
1219
+ return gaps.flatMap((gap, index) => {
1220
+ if (detectPythonPackageManagerAt(gap.directory) !== "uv") return [];
1221
+ const lockDirectory = uvLockDirectory(gap.directory, repoRoot) ?? gap.directory;
1222
+ return [
1223
+ {
1224
+ index,
1225
+ lockDirectory,
1226
+ paths: [
1227
+ nodePath2.join(gap.directory, "pyproject.toml"),
1228
+ nodePath2.join(lockDirectory, "uv.lock")
1229
+ ]
1230
+ }
1231
+ ];
1232
+ });
1233
+ }
1234
+ function snapshotPythonFiles(targets) {
1235
+ return new Map(
1236
+ [...new Set(targets.flatMap((target) => target.paths))].map((path2) => [
1237
+ path2,
1238
+ exists(path2) ? readFileSync(path2) : void 0
1239
+ ])
1240
+ );
1241
+ }
1242
+ function finalizeUvLocks(targets) {
1243
+ try {
1244
+ const lockDirectories = new Set(targets.map((target) => target.lockDirectory));
1245
+ for (const directory of lockDirectories) {
1246
+ execFileSync2("uv", ["lock"], { cwd: directory, stdio: "pipe", timeout: 6e4 });
1247
+ execFileSync2("uv", ["lock", "--check"], {
1248
+ cwd: directory,
1249
+ stdio: "pipe",
1250
+ timeout: 6e4
1251
+ });
1252
+ }
1253
+ return true;
1254
+ } catch {
1255
+ return false;
1256
+ }
1257
+ }
1258
+ function failUvResults(results, targets) {
1259
+ for (const { index } of targets) results[index] = false;
1260
+ }
1261
+ function installPythonDependencyBatch(gaps, repoRoot) {
1262
+ const targets = uvBatchTargets(gaps, repoRoot);
1263
+ const snapshots = snapshotPythonFiles(targets);
1264
+ const results = gaps.map((gap) => installPythonDependencies(gap.directory, gap.tools, repoRoot));
1265
+ const installFailed = targets.some(({ index }) => !results.at(index));
1266
+ if (!installFailed && finalizeUvLocks(targets)) return results;
1267
+ restorePythonFiles(snapshots);
1268
+ failUvResults(results, targets);
1269
+ return results;
1270
+ }
1172
1271
  function setupPythonTooling() {
1173
1272
  return { files: [] };
1174
1273
  }
@@ -1183,7 +1282,7 @@ export {
1183
1282
  pythonWorkspaceOwns,
1184
1283
  getPythonInstallCommand,
1185
1284
  getPythonToolDependencyGaps,
1186
- installPythonDependencies,
1285
+ installPythonDependencyBatch,
1187
1286
  setupPythonTooling,
1188
1287
  detectPackageManager,
1189
1288
  installDependencies,
@@ -1229,4 +1328,4 @@ smol-toml/dist/index.js:
1229
1328
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1230
1329
  *)
1231
1330
  */
1232
- //# sourceMappingURL=chunk-X6JGUZBL.js.map
1331
+ //# sourceMappingURL=chunk-PXZXYPMR.js.map