@sabaiway/agent-workflow-kit 1.45.0 → 1.45.1
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 +11 -0
- package/SKILL.md +1 -1
- package/bridges/codex-cli-bridge/SKILL.md +7 -7
- package/bridges/codex-cli-bridge/bin/codex-exec.sh +3 -3
- package/bridges/codex-cli-bridge/bin/codex-exec.test.mjs +1 -1
- package/bridges/codex-cli-bridge/bin/codex-review.sh +4 -4
- package/bridges/codex-cli-bridge/capability.json +2 -2
- package/bridges/codex-cli-bridge/references/driving-codex.md +2 -2
- package/bridges/codex-cli-bridge/references/sandbox-and-flags.md +2 -2
- package/capability.json +1 -1
- package/package.json +1 -1
- package/references/modes/bridge-settings.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ Semantically versioned ([semver](https://semver.org)), newest first. The `versio
|
|
|
4
4
|
is the current release. `upgrade` mode reads a project's `docs/ai/.workflow-version` and applies
|
|
5
5
|
every `migrations/<version>-<slug>.md` newer than it, in semver order.
|
|
6
6
|
|
|
7
|
+
## 1.45.1 — codex frontier pin moves to gpt-5.6-sol (bridge 2.5.0)
|
|
8
|
+
|
|
9
|
+
A **patch** release (the kit surface is unchanged; the bundled `codex-cli-bridge` moves 2.4.0 →
|
|
10
|
+
**2.5.0**). Both codex wrappers' quality-first pin advances to the new frontier:
|
|
11
|
+
`DEFAULT_CODEX_MODEL` `gpt-5.5` → **`gpt-5.6-sol`** ("Latest frontier agentic coding model",
|
|
12
|
+
catalog priority 1 — verified against the codex CLI's own server model catalog on 2026-07-12),
|
|
13
|
+
effort stays **`xhigh`** (supported: low…ultra), the service tier stays STANDARD by default (the
|
|
14
|
+
`priority`/Fast spend knob is unchanged: consented, never a default). The refuse-on-non-default
|
|
15
|
+
guard, `CODEX_PROBE=1` escape, and every other wrapper contract are untouched; SKILL/references
|
|
16
|
+
prose follows the pin in lockstep.
|
|
17
|
+
|
|
7
18
|
## 1.45.0 — Autonomy series close: upgrade Recommendations, bridge-wrappers tier, review-domain mask fix (AD-044 Plan 4)
|
|
8
19
|
|
|
9
20
|
A **feature** release closing the AD-044 autonomy series (ships with memory 2.1.0, engine 1.15.0,
|
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: agent-workflow-kit
|
|
|
3
3
|
description: Deploy or upgrade a portable AI-agent memory-and-workflow system in any project. Use when the user wants to bootstrap `docs/ai/` + an entry-point `AGENTS.md` (+ `CLAUDE.md` alias) + cap/archive/index enforcement in a new or existing repo, set up the Memory Map and session protocols, install the docs-rotation pre-commit hook, or run `/agent-workflow-kit` / `/agent-workflow-kit upgrade`. Triggers on phrases like "set up the memory system", "deploy the AI workflow here", "bootstrap docs/ai", "upgrade the workflow".
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
|
-
version: '1.45.
|
|
6
|
+
version: '1.45.1'
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# agent-workflow-kit
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: codex-cli-bridge
|
|
3
3
|
description: Delegate work to the OpenAI Codex CLI (`codex`) under a ChatGPT subscription — run plan/instruction EXECUTION in a sandboxed workspace, or get a read-only ADVISORY review of a plan or working-tree diff — as a second delegated-execution backend beside Antigravity. Use when the user wants to hand a bounded coding task or plan to `codex exec`, get a second-opinion review from codex, install or authenticate Codex CLI, understand its sandbox/network/approval policy, drive codex efficiently from the main agent (exec vs review, resume, the commit boundary), bridge project context (`AGENTS.md`) into codex, or troubleshoot codex flags, models, auth, or its no-TTY headless behaviour.
|
|
4
4
|
metadata:
|
|
5
|
-
version: '2.
|
|
5
|
+
version: '2.5.0'
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# codex-cli-bridge
|
|
@@ -49,10 +49,10 @@ this skill. Both wrappers enforce the subscription path before invoking codex:
|
|
|
49
49
|
## Models quality-first pinned
|
|
50
50
|
|
|
51
51
|
Delegated codex work ALWAYS runs on the **frontier model at maximum reasoning effort**: the wrappers
|
|
52
|
-
**pin** `gpt-5.
|
|
53
|
-
— knowingly-worse output is never traded for quota. The pin is deliberate (an explicit `-m gpt-5.
|
|
52
|
+
**pin** `gpt-5.6-sol` / `xhigh` and **refuse** (exit 2, loud) a non-default `CODEX_MODEL` / `CODEX_EFFORT`
|
|
53
|
+
— knowingly-worse output is never traded for quota. The pin is deliberate (an explicit `-m gpt-5.6-sol`
|
|
54
54
|
guarantees the *strongest* model, not merely the CLI's current default); a release-time gate against
|
|
55
|
-
<https://developers.openai.com/codex/models> re-checks that `gpt-5.
|
|
55
|
+
<https://developers.openai.com/codex/models> re-checks that `gpt-5.6-sol` is still the strongest selectable
|
|
56
56
|
Codex model. Economy comes only from **quality-neutral waste removal** (clean capture, a hard timeout,
|
|
57
57
|
a precomputed review diff, `resume` instead of re-sending context), never from a downgrade.
|
|
58
58
|
|
|
@@ -62,7 +62,7 @@ output as real delegated work.
|
|
|
62
62
|
|
|
63
63
|
| Variable | Default | Effect |
|
|
64
64
|
|---|---|---|
|
|
65
|
-
| `CODEX_MODEL` | `gpt-5.
|
|
65
|
+
| `CODEX_MODEL` | `gpt-5.6-sol` (pinned) | model passed to `-m`; a non-default is REFUSED unless `CODEX_PROBE=1` |
|
|
66
66
|
| `CODEX_EFFORT` | `xhigh` (pinned) | reasoning effort (`-c model_reasoning_effort=…`); non-default REFUSED unless `CODEX_PROBE=1` |
|
|
67
67
|
|
|
68
68
|
`codex --version` reports the CLI version, **not** the model list. Quota is metered in **messages**
|
|
@@ -106,10 +106,10 @@ defeat a policy is guarded — see [§ Models](#models-quality-first-pinned).
|
|
|
106
106
|
|
|
107
107
|
| Variable | Default | Effect |
|
|
108
108
|
|---|---|---|
|
|
109
|
-
| `CODEX_MODEL` | `gpt-5.
|
|
109
|
+
| `CODEX_MODEL` | `gpt-5.6-sol` (pinned) | model; non-default REFUSED unless `CODEX_PROBE=1` |
|
|
110
110
|
| `CODEX_EFFORT` | `xhigh` (pinned) | reasoning effort; non-default REFUSED unless `CODEX_PROBE=1` |
|
|
111
111
|
| `CODEX_HARD_TIMEOUT` | `3600` (exec) / `1800` (review) | hard wall-clock cap (seconds) via `timeout`/`gtimeout`; exit 124/137 ⇒ "exceeded hard cap". No `timeout` binary ⇒ loud warning + uncapped (never silent). |
|
|
112
|
-
| `CODEX_SERVICE_TIER` | unset (standard tier) | **SPEND knob**: `priority` (catalog name "Fast") = ~1.5× token speed at a **2.5× credit rate** on gpt-5.
|
|
112
|
+
| `CODEX_SERVICE_TIER` | unset (standard tier) | **SPEND knob**: `priority` (catalog name "Fast") = ~1.5× token speed at a **2.5× credit rate** on gpt-5.6-sol — quality-neutral (same model). codex accepts any `-c service_tier` string silently (probe-pinned 2026-07-05), so the wrapper validates: an unsupported value warns and runs standard. Env or settings file. |
|
|
113
113
|
| `CODEX_SESSION_FILE` | `./.codex-last-session` | where `codex-exec` records the session id and where `--resume-last` reads it |
|
|
114
114
|
| `CODEX_REVIEW_MAX_TOTAL_BYTES` | `1500000` | `codex-review code`: above this the assembled diff goes via a git-dir temp file instead of inline — never truncated |
|
|
115
115
|
| `CODEX_REVIEW_SCHEMA` | unset | `codex-review`: `=1` returns findings as a validated JSON object (`--output-schema`), with a raw-text fallback. Default off. |
|
|
@@ -69,7 +69,7 @@ Guarded passthrough after '--':
|
|
|
69
69
|
|
|
70
70
|
Settings file (KEY=VALUE, parsed never sourced; env wins over file, file wins over built-in default):
|
|
71
71
|
${XDG_CONFIG_HOME:-~/.config}/agent-workflow/bridge-settings.conf
|
|
72
|
-
CODEX_SERVICE_TIER — service tier: 'priority' (Fast — ~1.5x speed at a 2.5x credit rate on gpt-5.
|
|
72
|
+
CODEX_SERVICE_TIER — service tier: 'priority' (Fast — ~1.5x speed at a 2.5x credit rate on gpt-5.6-sol); a consented SPEND knob, default off (standard tier)
|
|
73
73
|
CODEX_HARD_TIMEOUT — hard wall-clock cap, integer seconds 1..86400 (built-in default 3600)
|
|
74
74
|
|
|
75
75
|
Environment: CODEX_HARD_TIMEOUT (seconds, default 3600), CODEX_PROBE=1 (throwaway probe only).
|
|
@@ -169,7 +169,7 @@ aw_apply_settings() {
|
|
|
169
169
|
}
|
|
170
170
|
aw_apply_settings
|
|
171
171
|
|
|
172
|
-
DEFAULT_CODEX_MODEL="gpt-5.
|
|
172
|
+
DEFAULT_CODEX_MODEL="gpt-5.6-sol" # frontier coding model (verified locally) — pinned
|
|
173
173
|
DEFAULT_CODEX_EFFORT="xhigh" # maximum reasoning effort — pinned
|
|
174
174
|
CODEX_MODEL="${CODEX_MODEL:-$DEFAULT_CODEX_MODEL}"
|
|
175
175
|
CODEX_EFFORT="${CODEX_EFFORT:-$DEFAULT_CODEX_EFFORT}"
|
|
@@ -180,7 +180,7 @@ CODEX_HARD_TIMEOUT="${CODEX_HARD_TIMEOUT:-3600}"
|
|
|
180
180
|
# Codex service tier (quality-neutral speed knob; live-probed 2026-07-05): default EMPTY ⇒ no
|
|
181
181
|
# service_tier flag (standard tier) — enabling Fast is a consented per-host SPEND act, never a
|
|
182
182
|
# silent default. The only server-catalog tier id on this subscription is 'priority' (catalog
|
|
183
|
-
# display name "Fast": ~1.5x token speed at a 2.5x credit rate on gpt-5.
|
|
183
|
+
# display name "Fast": ~1.5x token speed at a 2.5x credit rate on gpt-5.6-sol; quality-neutral —
|
|
184
184
|
# same model). codex itself accepts ANY -c service_tier string silently (probe-verified), so
|
|
185
185
|
# the wrapper validates the effective value: an unsupported one warns and runs on the standard
|
|
186
186
|
# tier — a typo can never silently masquerade as Fast.
|
|
@@ -346,7 +346,7 @@ describe('codex-exec.sh — preflight (unchanged invariants)', () => {
|
|
|
346
346
|
|
|
347
347
|
describe('codex-exec.sh — resume entrypoint restates every invariant (3.1)', () => {
|
|
348
348
|
const RESUME_INVARIANTS = [
|
|
349
|
-
/(^|\n)resume(\n|$)/, /(^|\n)--ignore-user-config(\n|$)/, /(^|\n)gpt-5\.
|
|
349
|
+
/(^|\n)resume(\n|$)/, /(^|\n)--ignore-user-config(\n|$)/, /(^|\n)gpt-5\.6-sol(\n|$)/,
|
|
350
350
|
/model_reasoning_effort=xhigh/, /sandbox_mode=workspace-write/,
|
|
351
351
|
/approval_policy=never/, /sandbox_workspace_write\.network_access=false/,
|
|
352
352
|
];
|
|
@@ -66,7 +66,7 @@ Receipt:
|
|
|
66
66
|
|
|
67
67
|
Settings file (KEY=VALUE, parsed never sourced; env wins over file, file wins over built-in default):
|
|
68
68
|
${XDG_CONFIG_HOME:-~/.config}/agent-workflow/bridge-settings.conf
|
|
69
|
-
CODEX_SERVICE_TIER — service tier: 'priority' (Fast — ~1.5x speed at a 2.5x credit rate on gpt-5.
|
|
69
|
+
CODEX_SERVICE_TIER — service tier: 'priority' (Fast — ~1.5x speed at a 2.5x credit rate on gpt-5.6-sol); a consented SPEND knob, default off (standard tier)
|
|
70
70
|
CODEX_HARD_TIMEOUT — hard wall-clock cap, integer seconds 1..86400 (built-in default 1800)
|
|
71
71
|
CODEX_REVIEW_MAX_TOTAL_BYTES — inline-payload cap, integer bytes 1..100000000 (default 1500000); above it the diff rides via a git-dir temp file
|
|
72
72
|
|
|
@@ -167,12 +167,12 @@ aw_apply_settings() {
|
|
|
167
167
|
}
|
|
168
168
|
aw_apply_settings
|
|
169
169
|
|
|
170
|
-
DEFAULT_CODEX_MODEL="gpt-5.
|
|
170
|
+
DEFAULT_CODEX_MODEL="gpt-5.6-sol"
|
|
171
171
|
DEFAULT_CODEX_EFFORT="xhigh"
|
|
172
172
|
# Review-receipt identity (AD-038). AW_BRIDGE_VERSION mirrors this bridge's SKILL.md/capability.json
|
|
173
173
|
# version (drift-guarded by codex-review.test.mjs against capability.json).
|
|
174
174
|
AW_RECEIPT_BACKEND="codex"
|
|
175
|
-
AW_BRIDGE_VERSION="2.
|
|
175
|
+
AW_BRIDGE_VERSION="2.5.0"
|
|
176
176
|
CODEX_MODEL="${CODEX_MODEL:-$DEFAULT_CODEX_MODEL}"
|
|
177
177
|
CODEX_EFFORT="${CODEX_EFFORT:-$DEFAULT_CODEX_EFFORT}"
|
|
178
178
|
# Generous hard cap for a slow xhigh review (subscription latency varies).
|
|
@@ -183,7 +183,7 @@ CODEX_REVIEW_MAX_TOTAL_BYTES="${CODEX_REVIEW_MAX_TOTAL_BYTES:-1500000}"
|
|
|
183
183
|
# Codex service tier (quality-neutral speed knob; live-probed 2026-07-05): default EMPTY ⇒ no
|
|
184
184
|
# service_tier flag (standard tier) — enabling Fast is a consented per-host SPEND act, never a
|
|
185
185
|
# silent default. The only server-catalog tier id on this subscription is 'priority' (catalog
|
|
186
|
-
# display name "Fast": ~1.5x token speed at a 2.5x credit rate on gpt-5.
|
|
186
|
+
# display name "Fast": ~1.5x token speed at a 2.5x credit rate on gpt-5.6-sol; quality-neutral —
|
|
187
187
|
# same model). codex itself accepts ANY -c service_tier string silently (probe-verified), so
|
|
188
188
|
# the wrapper validates the effective value: an unsupported one warns and runs on the standard
|
|
189
189
|
# tier — a typo can never silently masquerade as Fast.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"schema": 1,
|
|
4
4
|
"name": "codex-cli-bridge",
|
|
5
5
|
"kind": "execution-backend",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.5.0",
|
|
7
7
|
"provides": ["execute", "review"],
|
|
8
8
|
"roles": {
|
|
9
9
|
"execute": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"values": ["priority"],
|
|
51
51
|
"default": null,
|
|
52
52
|
"appliesTo": ["codex-exec", "codex-review"],
|
|
53
|
-
"effect": "codex service tier; 'priority' (catalog display name Fast) = ~1.5x token speed at a 2.5x credit rate on gpt-5.
|
|
53
|
+
"effect": "codex service tier; 'priority' (catalog display name Fast) = ~1.5x token speed at a 2.5x credit rate on gpt-5.6-sol — quality-neutral (same model), live-probed 2026-07-05. Unset/empty ⇒ no service_tier flag (standard tier). SPEND KNOB: enabling it is a consented per-host act, never a default. codex itself accepts any -c service_tier string silently, so the wrapper validates the value."
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"key": "CODEX_HARD_TIMEOUT",
|
|
@@ -20,7 +20,7 @@ judgment.
|
|
|
20
20
|
|
|
21
21
|
## Quality-first: model & effort are pinned
|
|
22
22
|
|
|
23
|
-
Delegated codex work ALWAYS runs on the frontier model at max effort: `gpt-5.
|
|
23
|
+
Delegated codex work ALWAYS runs on the frontier model at max effort: `gpt-5.6-sol` / `xhigh` are **pinned**
|
|
24
24
|
and a non-default `CODEX_MODEL`/`CODEX_EFFORT` is **refused** (exit 2). Do not try to "tune down" the
|
|
25
25
|
model or effort for a real run — the wrapper will stop you. Quota is metered in **messages** (rolling
|
|
26
26
|
5h + weekly), so economy comes from removing waste (clean capture, the precomputed review diff, resume),
|
|
@@ -77,7 +77,7 @@ codex-exec --resume <session-id> <file|-> # explicit session id
|
|
|
77
77
|
|
|
78
78
|
Resume continues the SAME codex session, so you avoid re-sending the original context. It runs through
|
|
79
79
|
the wrapper, which **re-establishes every invariant** (subscription-only `*_API_KEY` scrub,
|
|
80
|
-
`--ignore-user-config`, the pinned `gpt-5.
|
|
80
|
+
`--ignore-user-config`, the pinned `gpt-5.6-sol`/`xhigh`) and **restates the full posture via `-c`** —
|
|
81
81
|
because `codex exec resume` resets the sandbox/approval/network posture and rejects `-s`/`--add-dir`/`-C`,
|
|
82
82
|
the wrapper passes `-c sandbox_mode=workspace-write -c approval_policy=never -c
|
|
83
83
|
sandbox_workspace_write.network_access=false` explicitly. A resume takes no passthrough flags and an
|
|
@@ -50,7 +50,7 @@ echoes `session: <id>` to stderr. On a missing/empty final-message file it falls
|
|
|
50
50
|
|
|
51
51
|
## Quality-first guard (pinned model & effort)
|
|
52
52
|
|
|
53
|
-
The wrappers default `CODEX_MODEL=gpt-5.
|
|
53
|
+
The wrappers default `CODEX_MODEL=gpt-5.6-sol` and `CODEX_EFFORT=xhigh` and **refuse** (exit 2, loud) any
|
|
54
54
|
non-default — delegated work always uses the frontier model at max effort; quality is never traded for
|
|
55
55
|
quota. `CODEX_PROBE=1` relaxes this for a throwaway, effort-independent probe only (echoed loudly), and
|
|
56
56
|
a probe still runs on the subscription, in the sandbox, with clean capture.
|
|
@@ -186,7 +186,7 @@ exec` over the precomputed diff instead, keeping every invariant intact.
|
|
|
186
186
|
| `-o, --output-last-message <f>` | write ONLY the final message (clean capture) |
|
|
187
187
|
| `--json` | structured event stream (`thread.started` ⇒ session id) |
|
|
188
188
|
| `--output-schema <f>` | constrain output to a JSON schema (`CODEX_REVIEW_SCHEMA=1`) |
|
|
189
|
-
| `-m <model>` | model (wrapper default `gpt-5.
|
|
189
|
+
| `-m <model>` | model (wrapper default `gpt-5.6-sol`, pinned via `CODEX_MODEL`) |
|
|
190
190
|
| `-c model_reasoning_effort=<effort>` | reasoning effort (wrapper default `xhigh`, pinned via `CODEX_EFFORT`) |
|
|
191
191
|
| `--ignore-user-config` | do NOT load `$CODEX_HOME/config.toml`; auth still uses `CODEX_HOME` |
|
|
192
192
|
| `--color never` | disable ANSI colour in output |
|
package/capability.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sabaiway/agent-workflow-kit",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.1",
|
|
4
4
|
"description": "Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One command deploys an AGENTS.md entry point + docs/ai context with cap/archive/index enforcement into any repo.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
|
@@ -6,7 +6,7 @@ The reader + consent-gated **writer** for the **host-level** bridge settings fil
|
|
|
6
6
|
|
|
7
7
|
| key | bridge | values | note |
|
|
8
8
|
|---|---|---|---|
|
|
9
|
-
| `CODEX_SERVICE_TIER` | codex | `priority` | **SPEND KNOB** — the "Fast" tier: ~1.5× token speed at a **2.5× credit rate** on gpt-5.
|
|
9
|
+
| `CODEX_SERVICE_TIER` | codex | `priority` | **SPEND KNOB** — the "Fast" tier: ~1.5× token speed at a **2.5× credit rate** on gpt-5.6-sol, quality-neutral (same model). Default unset ⇒ standard tier. |
|
|
10
10
|
| `CODEX_HARD_TIMEOUT` | codex | integer `1..86400` | hard wall-clock cap (seconds) via `timeout(1)`. |
|
|
11
11
|
| `CODEX_REVIEW_MAX_TOTAL_BYTES` | codex | integer `1..100000000` | codex-review payload size above which the diff rides a temp file (never truncated). |
|
|
12
12
|
| `AGY_HARD_TIMEOUT` | agy | duration `5m`/`30m`/`90s` (unit required, nonzero) | hard wall-clock cap via `timeout(1)`. |
|