@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.
- package/CHANGELOG.md +117 -0
- package/README.md +3 -2
- package/SKILL.md +5 -1
- package/bridges/antigravity-cli-bridge/bin/agy-review-await-guard.test.mjs +176 -0
- package/bridges/antigravity-cli-bridge/bin/agy-review.sh +61 -14
- package/bridges/antigravity-cli-bridge/bin/agy-review.test.mjs +606 -467
- package/bridges/antigravity-cli-bridge/references/review-prompt.md +42 -4
- package/bridges/codex-cli-bridge/SKILL.md +18 -5
- package/bridges/codex-cli-bridge/bin/codex-await-guard.test.mjs +161 -0
- package/bridges/codex-cli-bridge/bin/codex-exec.sh +22 -17
- package/bridges/codex-cli-bridge/bin/codex-exec.test.mjs +356 -363
- package/bridges/codex-cli-bridge/bin/codex-review.sh +6 -6
- package/bridges/codex-cli-bridge/bin/codex-review.test.mjs +275 -286
- package/bridges/codex-cli-bridge/capability.json +1 -1
- package/bridges/codex-cli-bridge/references/driving-codex.md +4 -2
- package/bridges/codex-cli-bridge/references/sandbox-and-flags.md +3 -2
- package/bridges/codex-cli-bridge/setup/README.md +3 -1
- package/capability.json +1 -1
- package/package.json +1 -1
- package/references/hooks/gate-approve.mjs +1 -1
- package/references/modes/grounding.md +1 -1
- package/references/modes/mcp.md +37 -0
- package/references/modes/procedures.md +3 -3
- package/references/modes/recommendations.md +1 -0
- package/references/modes/uninstall.md +2 -1
- package/references/templates/agent_rules.md +4 -5
- package/tools/commands.mjs +7 -0
- package/tools/direct-run.mjs +3 -0
- package/tools/doc-parity.mjs +18 -2
- package/tools/grounding.mjs +10 -20
- package/tools/inject-methodology.mjs +2 -0
- package/tools/mcp-registration.mjs +283 -0
- package/tools/mcp-server.mjs +314 -0
- package/tools/mcp-stdio.mjs +229 -0
- package/tools/mcp.mjs +299 -0
- package/tools/procedures.mjs +7 -8
- package/tools/recommendations.mjs +90 -1
- 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
|
|
25
|
-
# what ships, so the same
|
|
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;
|
|
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
|
|
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
|
|
362
|
-
echo " A delegated review must run on the
|
|
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
|