@sabaiway/agent-workflow-kit 5.11.2 → 7.0.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/README.md +3 -2
  3. package/SKILL.md +5 -1
  4. package/bridges/antigravity-cli-bridge/bin/agy-review-await-guard.test.mjs +176 -0
  5. package/bridges/antigravity-cli-bridge/bin/agy-review.sh +61 -14
  6. package/bridges/antigravity-cli-bridge/bin/agy-review.test.mjs +606 -467
  7. package/bridges/antigravity-cli-bridge/references/review-prompt.md +42 -4
  8. package/bridges/codex-cli-bridge/SKILL.md +18 -5
  9. package/bridges/codex-cli-bridge/bin/codex-await-guard.test.mjs +161 -0
  10. package/bridges/codex-cli-bridge/bin/codex-exec.sh +22 -17
  11. package/bridges/codex-cli-bridge/bin/codex-exec.test.mjs +356 -363
  12. package/bridges/codex-cli-bridge/bin/codex-review.sh +6 -6
  13. package/bridges/codex-cli-bridge/bin/codex-review.test.mjs +275 -286
  14. package/bridges/codex-cli-bridge/capability.json +1 -1
  15. package/bridges/codex-cli-bridge/references/driving-codex.md +4 -2
  16. package/bridges/codex-cli-bridge/references/sandbox-and-flags.md +3 -2
  17. package/bridges/codex-cli-bridge/setup/README.md +3 -1
  18. package/capability.json +1 -1
  19. package/package.json +1 -1
  20. package/references/hooks/gate-approve.mjs +1 -1
  21. package/references/modes/grounding.md +1 -1
  22. package/references/modes/mcp.md +37 -0
  23. package/references/modes/procedures.md +3 -3
  24. package/references/modes/recommendations.md +1 -0
  25. package/references/modes/uninstall.md +2 -1
  26. package/references/templates/agent_rules.md +4 -5
  27. package/tools/commands.mjs +7 -0
  28. package/tools/direct-run.mjs +3 -0
  29. package/tools/doc-parity.mjs +18 -2
  30. package/tools/grounding.mjs +10 -20
  31. package/tools/inject-methodology.mjs +2 -0
  32. package/tools/mcp-registration.mjs +283 -0
  33. package/tools/mcp-server.mjs +314 -0
  34. package/tools/mcp-stdio.mjs +229 -0
  35. package/tools/mcp.mjs +299 -0
  36. package/tools/procedures.mjs +7 -8
  37. package/tools/recommendations.mjs +90 -1
  38. package/tools/uninstall.mjs +356 -45
@@ -21,8 +21,8 @@
21
21
  # back as a validated JSON object, with a raw-text fallback.
22
22
  #
23
23
  # Auth/policy: subscription-only, identical to codex-exec.sh. Quality-first: the
24
- # review runs on the frontier model at max effort (advisory findings still bear on
25
- # what ships, so the same no-downgrade guard applies; CODEX_PROBE=1 relaxes it for
24
+ # review runs on the PINNED model at max effort (advisory findings still bear on
25
+ # what ships, so the same pin-integrity guard applies; CODEX_PROBE=1 relaxes it for
26
26
  # a throwaway probe only).
27
27
  #
28
28
  # Best-effort read hygiene: the review runs under a temporary HOME / XDG_* with an
@@ -39,7 +39,7 @@ set -euo pipefail
39
39
  case "${1:-}" in
40
40
  --help|-h)
41
41
  cat <<'HELP'
42
- codex-review — read-only ADVISORY review by the OpenAI Codex CLI (subscription-only; frontier model at max effort).
42
+ codex-review — read-only ADVISORY review by the OpenAI Codex CLI (subscription-only; the PINNED model at max effort).
43
43
 
44
44
  Usage:
45
45
  codex-review plan <plan-file> [--nonce <n>]
@@ -348,7 +348,7 @@ fi
348
348
  aw_timeout_banner="$(aw_timeout_label "$timeout_bin" "$CODEX_HARD_TIMEOUT")"
349
349
  echo "review posture: model=$CODEX_MODEL effort=$CODEX_EFFORT tier=${CODEX_SERVICE_TIER:-standard} timeout=$aw_timeout_banner" >&2
350
350
 
351
- # --- Quality-first guard: refuse a silent model/effort downgrade ---------------
351
+ # --- Quality-first guard: refuse any non-pinned model/effort ---------------
352
352
  # A relaxed run is RECORDED, not just warned about: the receipt carries probe:true so the kit's
353
353
  # review-state gate rejects it — "do NOT use this as a real review" becomes a mechanism, not a plea.
354
354
  REVIEW_PROBE=false
@@ -358,8 +358,8 @@ if [[ "${CODEX_PROBE:-}" == "1" ]]; then
358
358
  echo " output as a real review (model='$CODEX_MODEL' effort='$CODEX_EFFORT')." >&2
359
359
  else
360
360
  if [[ "$CODEX_MODEL" != "$DEFAULT_CODEX_MODEL" ]]; then
361
- echo "error: CODEX_MODEL='$CODEX_MODEL' is not the pinned frontier model '$DEFAULT_CODEX_MODEL'." >&2
362
- echo " A delegated review must run on the frontier model at max effort (quality-first)." >&2
361
+ echo "error: CODEX_MODEL='$CODEX_MODEL' is not the pinned model '$DEFAULT_CODEX_MODEL'." >&2
362
+ echo " A delegated review must run on the pinned model at max effort (quality-first)." >&2
363
363
  echo " For a throwaway probe whose result is effort-independent, set CODEX_PROBE=1." >&2
364
364
  exit 2
365
365
  fi