agent-bios 0.20.0 → 0.21.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/DEPENDENCIES.md +3 -2
- package/README.md +25 -9
- package/claude/guides/cli-multi-model-workflow.md +6 -6
- package/claude/guides/gpt-prompting.md +151 -75
- package/codex/agents/frontier.toml +1 -1
- package/codex/agents/reviewer.toml +1 -1
- package/codex/agents/workhorse.toml +1 -1
- package/codex/guides/cli-multi-model-workflow.md +6 -6
- package/codex/guides/gpt-prompting.md +151 -75
- package/compose/app_bridge/scripts/bridge.py +8 -0
- package/compose/instructions_app.py +20 -2
- package/compose/instructions_install.py +34 -8
- package/compose/instructions_setup.py +4 -1
- package/docs/advanced-launch.md +1 -1
- package/docs/macos-linux.md +92 -0
- package/docs/recovery.md +1 -1
- package/docs/releases/0.20.1.md +76 -0
- package/docs/releases/0.21.0.md +101 -0
- package/docs/setup.md +7 -3
- package/docs/windows.md +23 -14
- package/install.sh +72 -41
- package/launch/agent-launch.toml +11 -9
- package/launch/provision-venv.sh +3 -2
- package/package.json +3 -2
- package/provenance.json +1 -1
- package/session-distill/distill.py +22 -2
- package/session-distill/runlib/declare.py +70 -3
- package/session-distill/runlib/dispatch.py +26 -20
- package/session-distill/runlib/gate.py +149 -11
- package/session-distill/runlib/packet.py +3 -2
- package/session-distill/runlib/stage_form.py +1 -1
- package/session-distill/runlib/stage_judge.py +8 -4
- package/session-distill/runlib/views.py +1 -1
- package/session-distill/schemas/run.schema.json +10 -1
- package/session-distill/seats.json +35 -60
- package/wrappers/claude-run.sh +10 -7
- package/wrappers/codex-helm.sh +8 -8
- package/wrappers/codex-run.sh +9 -6
package/DEPENDENCIES.md
CHANGED
|
@@ -231,8 +231,9 @@ Agent-bios does not install credentials or infer a model account from dependency
|
|
|
231
231
|
It reads codex-cli's trace frames, which appear only under the caller's
|
|
232
232
|
`RUST_LOG=tungstenite::protocol=trace,codex_otel.log_only=info,codex_core::responses_retry=warn`;
|
|
233
233
|
the channel is unsupported and version-bound, so a capture without it attests no model. The
|
|
234
|
-
frame shape was verified on codex-cli 0.163.0
|
|
235
|
-
its first 0.
|
|
234
|
+
frame shape was verified on codex-cli 0.163.0 and seen again in 0.167.0's live captures; session
|
|
235
|
+
distill pins 0.171.0 since 2026-11-24, and its first 0.171.0 capture is what confirms the shape
|
|
236
|
+
there. A capture refuses a codex whose
|
|
236
237
|
version is not `CODEX_RUN_VERSION` (`HOST_VERSION_MISMATCH`), and every exit the adapter takes
|
|
237
238
|
before it starts codex names its code (`codex-run: CODE ...`), which the distill driver records
|
|
238
239
|
as the call's `runner_refused`.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Build an instruction library you can inspect, edit, and reuse. Choose what each
|
|
6
6
|
CLI session or Codex app task uses, while preserving your existing global instruction files.
|
|
7
7
|
|
|
8
|
-
[0.
|
|
8
|
+
[0.21.0 release notes](docs/releases/0.21.0.md)
|
|
9
9
|
|
|
10
10
|
## Purpose
|
|
11
11
|
|
|
@@ -71,24 +71,40 @@ See [setup and prerequisites](docs/setup.md).
|
|
|
71
71
|
|
|
72
72
|
### In a terminal
|
|
73
73
|
|
|
74
|
-
One line per platform
|
|
75
|
-
serves an explicitly promoted release rather than a moving latest.
|
|
74
|
+
One line per platform, each from the project's installation page.
|
|
76
75
|
|
|
77
|
-
On **Windows
|
|
78
|
-
|
|
76
|
+
On **Windows**, in PowerShell. The current release is an unsigned preview, and
|
|
77
|
+
the script says so before it installs:
|
|
79
78
|
|
|
80
79
|
```text
|
|
81
|
-
|
|
80
|
+
irm https://kangminlee-maker.github.io/agent-bios/install.ps1 | iex
|
|
82
81
|
```
|
|
83
82
|
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
From the Command Prompt or the Run box:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
powershell -c "irm https://kangminlee-maker.github.io/agent-bios/install.ps1 | iex"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
If a managed machine's security software refuses a downloaded script run this
|
|
90
|
+
way, use the version-specific command on the release page, which saves the
|
|
91
|
+
script and checks its SHA-256 first ([Windows installation](docs/windows.md)).
|
|
92
|
+
|
|
93
|
+
On **macOS or Linux**:
|
|
86
94
|
|
|
87
95
|
```text
|
|
88
96
|
curl -fsSL https://kangminlee-maker.github.io/agent-bios/install.sh | bash
|
|
89
97
|
```
|
|
90
98
|
|
|
91
|
-
|
|
99
|
+
It needs no npm, Node.js or preinstalled Python. It installs the latest release
|
|
100
|
+
after checking it against the npm registry's SHA-512, uses an existing Python 3.12+
|
|
101
|
+
or downloads a pinned one into its own folder, adds `~/.local/bin` to your shell's
|
|
102
|
+
PATH when it is missing, and opens setup. Releases up to 0.20.1 predate this and
|
|
103
|
+
still install through npm, which needs Python 3.12+ and Node.js 18+ with npm.
|
|
104
|
+
Options and removal: [macOS and Linux installation](docs/macos-linux.md).
|
|
105
|
+
|
|
106
|
+
When setup did not open (an npm-installed release, or a run without a terminal),
|
|
107
|
+
deploy the work environment with:
|
|
92
108
|
|
|
93
109
|
```bash
|
|
94
110
|
agent-bios install
|
|
@@ -239,11 +239,11 @@ Binding (2026-10-21):
|
|
|
239
239
|
|
|
240
240
|
| Slot | Binding | Notes |
|
|
241
241
|
|---|---|---|
|
|
242
|
-
| FRONTIER | Claude Fable 5.2 · GPT-6 Astra (read-only; max default; launcher may explicitly select Ultra) | bounded hardest decisions and verdicts |
|
|
243
|
-
| HELM | Claude Opus 5.5 (high) · GPT-6.
|
|
244
|
-
| WORKHORSE | Claude Sonnet 5.5 (high) · GPT-6.
|
|
242
|
+
| FRONTIER | Claude Fable 5.2 · GPT-6.2 Astra (read-only; max default; launcher may explicitly select Ultra) | bounded hardest decisions and verdicts |
|
|
243
|
+
| HELM | Claude Opus 5.5 (high) · GPT-6.2 Sol (xhigh) — main Ultra requires explicit selection; bounded FRONTIER Ultra allowed | standing main; Codex defaults bypass, explicit sandbox narrows |
|
|
244
|
+
| WORKHORSE | Claude Sonnet 5.5 (high) · GPT-6.2 Sol (high) | implementation and per-item judgment; the Codex seat shares HELM's model, so it differs by effort alone and buys no cross-model perspective |
|
|
245
245
|
| SWEEP | Claude Haiku 5.5 (medium) · GPT-6 Luna (max) | read-only; one explicit rule per item; not a rebind candidate |
|
|
246
|
-
| VERIFIER-A | plain `codex exec` deep pass — GPT-6.
|
|
246
|
+
| VERIFIER-A | plain `codex exec` deep pass — GPT-6.2 Sol at ultra effort, packet on stdin (`-c service_tier="fast"` as explicit fast opt-in) | strongest single reader; cross-family from a Claude main |
|
|
247
247
|
| VERIFIER-B | Claude Code ultracode workflow (keyword-opened, many-agent) | code/execution kind; fan-out counterpart |
|
|
248
248
|
| INDEPENDENT-PR-REVIEWER | Codex CLI | adversarial `gh pr diff` review |
|
|
249
249
|
| Claude relocation | EnterWorktree, `/cd`, `--worktree`; resume is directory-scoped | verified 2.1.207 |
|
|
@@ -254,7 +254,7 @@ Binding (2026-10-21):
|
|
|
254
254
|
Codex direct-drive (verified 0.144.1, 2026-07-12):
|
|
255
255
|
|
|
256
256
|
- `codex-helm` defaults the HELM main to `--dangerously-bypass-approvals-and-sandbox`; explicit `--sandbox` wins in any flag order. Non-Ultra defaults native multi-agent off; explicit main Ultra defaults it on.
|
|
257
|
-
- HELM is instructed to dispatch tiers through internal `codex-run`, which pins model/effort/sandbox. FRONTIER uses a separate `gpt-6-astra`, read-only root: max by default, Ultra for divisible work, lower effort when cost/latency dominates. Nested multi-agent is enabled only for Ultra. Native `codex exec` spawn cannot pin role/effort.
|
|
257
|
+
- HELM is instructed to dispatch tiers through internal `codex-run`, which pins model/effort/sandbox. FRONTIER uses a separate `gpt-6.2-astra`, read-only root: max by default, Ultra for divisible work, lower effort when cost/latency dominates. Nested multi-agent is enabled only for Ultra. Native `codex exec` spawn cannot pin role/effort.
|
|
258
258
|
- This is an instruction-backed, live-E2E-verified default, not a security boundary: main bypass and arbitrary expert `-c` remain available by design. `frontier.toml` pins the direct native FRONTIER default to max; launcher projections overwrite it from the selected tier.
|
|
259
259
|
- `codex-run` owns reach, stdin, schema, profiles, expert `-c`, channel preservation, and exit status. Keep it internal.
|
|
260
260
|
- `claude-run` is its Claude-side twin and the command a composable review contract names for a panel dispatch on that host. Same shape: prompt on stdin, final message on stdout, exit status mirrored, `--model`/`--effort` pinning the seat, everything it does not recognise forwarded to `claude`. It denies the mutating tools by default, which is not the OS-level sandbox `codex-run` gets — do not read the two defaults as equivalent guarantees. Dispatch whatever command the contract names rather than the bare CLI: only the adapter can report what the dispatch actually did, and a review with no receipt stays PROPOSED.
|
|
@@ -264,7 +264,7 @@ Dispatch packets:
|
|
|
264
264
|
|
|
265
265
|
| Target | Required packet / default |
|
|
266
266
|
|---|---|
|
|
267
|
-
| GPT-6 Astra FRONTIER | outcome, evidence, decision boundary, stop/verification; max default; read-only |
|
|
267
|
+
| GPT-6.2 Astra FRONTIER | outcome, evidence, decision boundary, stop/verification; max default; read-only |
|
|
268
268
|
| GPT-5.6 Terra WORKHORSE | outcome, frozen scope/inputs, authority, done-when, evidence/report, escalation; xhigh |
|
|
269
269
|
| GPT-5.6 Luna SWEEP | exact search space, one rule per item, ambiguity behavior, stop, output; max; read-only; no architecture/debugging |
|
|
270
270
|
| Claude Opus 5 HELM | xhigh for agentic work; high minimum for sensitive judgment; lower only when bounded/cost-led |
|
|
@@ -9,57 +9,68 @@ use_when:
|
|
|
9
9
|
- porting a prompt written for an older gpt model
|
|
10
10
|
- deciding a reasoning-effort level for gpt work
|
|
11
11
|
core_rules:
|
|
12
|
-
- apply the shared recipe plus the section for the target model's family — GPT-5.6 and GPT-6 have different prompting needs
|
|
12
|
+
- apply the shared recipe plus the section for the target model's family — GPT-5.6, GPT-6 and GPT-6.2 have different prompting needs; the GPT-6 advice is observed on GPT-6 Astra, the GPT-6.2 advice on GPT-6.2 Astra and Sol, and each is a starting point for the rest of its family
|
|
13
13
|
- describe the destination, not the route — state outcome, success bar, real constraints, and available evidence
|
|
14
14
|
- keep only what changes behavior; cut repeated statements, style rules, and examples that do not
|
|
15
15
|
- replace blanket ALWAYS/NEVER with decision rules naming the condition each choice applies under
|
|
16
16
|
- fix the prompt before raising effort — first check for a missing success criterion, dependency rule, tool-routing rule, or verification loop
|
|
17
17
|
- prompting habits carried from older gpt models cost tokens and can cost accuracy
|
|
18
|
-
derived_at: 2026-
|
|
18
|
+
derived_at: 2026-11-24
|
|
19
19
|
source_pins:
|
|
20
|
+
- doc: model-guidance-gpt-6p2
|
|
21
|
+
sha256: d51a271ccee79b94428bc1d1a1591f9f98c424f2d9d084a37ccc4358dada40c0
|
|
22
|
+
pinned_at: 2026-11-24
|
|
20
23
|
- doc: prompt-guidance-gpt-5p6
|
|
21
|
-
sha256:
|
|
22
|
-
pinned_at: 2026-
|
|
24
|
+
sha256: fbf38652350fee866f46d888e6a0e83537cf5a5a148818271332260cd3e439f7
|
|
25
|
+
pinned_at: 2026-11-24
|
|
23
26
|
- doc: model-guidance-gpt-5p6
|
|
24
27
|
sha256: bcbc002991e3ff6491ba5c4d38d8f5c497fa785c0b11ea27d92c9d34676ab460
|
|
25
|
-
pinned_at: 2026-
|
|
28
|
+
pinned_at: 2026-11-24
|
|
26
29
|
- doc: upgrading-to-gpt-5p6-sol
|
|
27
|
-
sha256:
|
|
28
|
-
pinned_at: 2026-
|
|
30
|
+
sha256: 59484b7370078d3482d972dfeb7f79fe862e410571881f9983e1bca7dea89ebe
|
|
31
|
+
pinned_at: 2026-11-24
|
|
32
|
+
- doc: model-gpt-6p2-astra
|
|
33
|
+
sha256: b12e61471fed60c843626fdee3dea09c86babae84ea779a5f5eb9193cb62720f
|
|
34
|
+
pinned_at: 2026-11-24
|
|
35
|
+
- doc: model-gpt-6p2-sol
|
|
36
|
+
sha256: 551d09dbb7e6f64a1af314446b8d5a72ab9bf66daa4407060007d11ce54acf43
|
|
37
|
+
pinned_at: 2026-11-24
|
|
29
38
|
- doc: model-guidance-gpt-6-astra
|
|
30
|
-
sha256:
|
|
31
|
-
pinned_at: 2026-
|
|
39
|
+
sha256: b12f5dde985df0ac1e03ea5eaa40dfcdb0e4620a1bf1ae4d78cdd81f8c7f4c3a
|
|
40
|
+
pinned_at: 2026-11-24
|
|
32
41
|
- doc: model-gpt-6-astra
|
|
33
|
-
sha256:
|
|
34
|
-
pinned_at: 2026-
|
|
42
|
+
sha256: 31d55873985379d2b4e129fd41f974e8511b9de1a5105dc4e0692b53b504a8cb
|
|
43
|
+
pinned_at: 2026-11-24
|
|
35
44
|
- doc: model-gpt-6p1-sol
|
|
36
|
-
sha256:
|
|
37
|
-
pinned_at: 2026-
|
|
45
|
+
sha256: 02dff9ef937bbc97fb24ba7c936269a549563cfb8a49b91a6ba1c1575d2b77c0
|
|
46
|
+
pinned_at: 2026-11-24
|
|
38
47
|
- doc: model-gpt-6-sol
|
|
39
|
-
sha256:
|
|
40
|
-
pinned_at: 2026-
|
|
48
|
+
sha256: 8e3cd3378f0686313dd489ed37347d481d24d4b791e7bd28b1538c4df7762fc4
|
|
49
|
+
pinned_at: 2026-11-24
|
|
41
50
|
- doc: model-gpt-6-luna
|
|
42
|
-
sha256:
|
|
43
|
-
pinned_at: 2026-
|
|
51
|
+
sha256: dacc9870e67c0d68e4272f8394d4296ffe7cf70f18d3f4675ee6bd4c666966b7
|
|
52
|
+
pinned_at: 2026-11-24
|
|
44
53
|
- doc: reasoning
|
|
45
|
-
sha256:
|
|
46
|
-
pinned_at: 2026-
|
|
54
|
+
sha256: f0c480788b035a289f34aef88a58cb48abead8abd82194ae8f68b110d5971bfa
|
|
55
|
+
pinned_at: 2026-11-24
|
|
47
56
|
- doc: codex-models
|
|
48
|
-
sha256:
|
|
49
|
-
pinned_at: 2026-
|
|
57
|
+
sha256: 2ca411d02af5e803e25d60eedcac752c7a6153c2c6dffafdbd854aff61f4277c
|
|
58
|
+
pinned_at: 2026-11-24
|
|
50
59
|
- doc: prompt-caching
|
|
51
|
-
sha256:
|
|
52
|
-
pinned_at: 2026-
|
|
60
|
+
sha256: 41fd5ad72dc74045ffb0fbe33e8213a879cc018a473b1e022b7be8fa04057625
|
|
61
|
+
pinned_at: 2026-11-24
|
|
53
62
|
- doc: responses-multi-agent
|
|
54
|
-
sha256:
|
|
55
|
-
pinned_at: 2026-
|
|
63
|
+
sha256: 1bb6554687059202a4c92486d39fb2ea42730fb20a85880c33258186872012f8
|
|
64
|
+
pinned_at: 2026-11-24
|
|
56
65
|
- doc: structured-outputs
|
|
57
|
-
sha256:
|
|
58
|
-
pinned_at: 2026-
|
|
66
|
+
sha256: fbabb4598029cba47f3b19e173371da9950e6c9050b5380460b0256b8a08d9fe
|
|
67
|
+
pinned_at: 2026-11-24
|
|
59
68
|
- doc: tools-programmatic-tool-calling
|
|
60
|
-
sha256:
|
|
61
|
-
pinned_at: 2026-
|
|
69
|
+
sha256: cd5027c76f0d5c9473c0333b69dc89af27bf45c356760e2b1628172ef54923a9
|
|
70
|
+
pinned_at: 2026-11-24
|
|
62
71
|
targets:
|
|
72
|
+
- gpt-6.2-astra
|
|
73
|
+
- gpt-6.2-sol
|
|
63
74
|
- gpt-6-astra
|
|
64
75
|
- gpt-6.1-sol
|
|
65
76
|
- gpt-6-sol
|
|
@@ -90,6 +101,7 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
90
101
|
| --- | --- | --- |
|
|
91
102
|
| `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` | GPT-5.6 | `prompt-guidance-gpt-5p6`, `model-guidance-gpt-5p6` |
|
|
92
103
|
| `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-6-luna` | GPT-6 family | `model-guidance-gpt-6-astra` plus the model's own page |
|
|
104
|
+
| `gpt-6.2-astra`, `gpt-6.2-sol` | GPT-6.2 | `model-guidance-gpt-6p2` plus the model's own page |
|
|
93
105
|
|
|
94
106
|
## Per-model facts
|
|
95
107
|
|
|
@@ -99,8 +111,9 @@ family guide. An omitted effort takes the documented default.
|
|
|
99
111
|
| Model | `reasoning.effort` | Tool calling | Vendor positioning |
|
|
100
112
|
| --- | --- | --- | --- |
|
|
101
113
|
| `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` | `none`, `low`, `medium` (default), `high`, `xhigh`, `max` | Responses API for reasoning with tools; Chat Completions function tools only with effective `none` — an omitted effort is `medium` and breaks that combination | Sol flagship capability; Terra intelligence/cost balance; Luna efficient, high-volume work |
|
|
114
|
+
| `gpt-6.2-astra`, `gpt-6.2-sol` | the API rejects `none` and documents no list or default; the vendor starts a new integration at `medium` and moves `none` or `minimal` to `low`; the Codex catalogue offers `low` through `max` and `ultra` | Responses API; Chat Completions only without tools; no Flex processing | Astra the most demanding tasks; Sol complex work at lower cost, Codex's everyday model |
|
|
102
115
|
| `gpt-6-astra` | `low`, `medium`, `high`, `xhigh`, `max`; no `none`; no documented default | Responses API; Chat Completions only without tools | the most demanding reasoning, coding, computer use, and professional work |
|
|
103
|
-
| `gpt-6.1-sol` | `low`, `medium` (default), `high`, `xhigh`, `max`; no `none` or `minimal` | Responses API; Chat Completions only without tools | near-Astra performance at lower cost
|
|
116
|
+
| `gpt-6.1-sol` | `low`, `medium` (default), `high`, `xhigh`, `max`; no `none` or `minimal` | Responses API; Chat Completions only without tools | near-Astra performance at lower cost |
|
|
104
117
|
| `gpt-6-sol` | `none`, `low`, `medium` (default), `high`, `xhigh`, `max` | Responses API for reasoning with tools; Chat Completions function calling only with `none` | complex coding and agentic workflows; its page points to 6.1 Sol as the newer Sol |
|
|
105
118
|
| `gpt-6-luna` | `none`, `low`, `medium` (default), `high`, `xhigh`, `max` | as `gpt-6-sol` | focused, high-volume tasks |
|
|
106
119
|
|
|
@@ -128,9 +141,10 @@ family guide. An omitted effort takes the documented default.
|
|
|
128
141
|
|
|
129
142
|
## GPT-6 family
|
|
130
143
|
|
|
131
|
-
OpenAI
|
|
132
|
-
behavior observed with GPT-6 Astra and
|
|
133
|
-
family, to be evaluated with the chosen
|
|
144
|
+
OpenAI's GPT-6 prompting document ("Using GPT-6") predates GPT-6.2, which has its own
|
|
145
|
+
(the next section). Its best practices address behavior observed with GPT-6 Astra and
|
|
146
|
+
are offered as a starting point across the family, to be evaluated with the chosen
|
|
147
|
+
model and workload. The five behavior bullets
|
|
134
148
|
below are therefore Astra observations; for `gpt-6.1-sol`, `gpt-6-sol`, and
|
|
135
149
|
`gpt-6-luna` the vendor states no model-specific prompting behavior, and what differs
|
|
136
150
|
per model is the API facts in the table above, taken from each model page. Re-derive
|
|
@@ -158,9 +172,7 @@ this section when a GPT-6 model other than Astra gets a prompting document of it
|
|
|
158
172
|
For plain prose, request concise paragraphs, familiar words, active verbs, and the
|
|
159
173
|
main point first, with lists only for parallel, sequential, or comparable content.
|
|
160
174
|
Retain the technical detail needed to assess the result; name unwanted stock
|
|
161
|
-
phrases and contrastive framing when they recur.
|
|
162
|
-
reached stronger results with substantially fewer output tokens, so re-measure
|
|
163
|
-
brevity pressure written for GPT-5.6 before carrying it over.
|
|
175
|
+
phrases and contrastive framing when they recur.
|
|
164
176
|
- **Subagent delegation.** Astra may delegate less often than a workflow needs and
|
|
165
177
|
responds well to prompting for how and when to delegate. State when independent
|
|
166
178
|
work is delegated, the intended parallelism, each subagent's scope, and when to keep
|
|
@@ -179,29 +191,95 @@ this section when a GPT-6 model other than Astra gets a prompting document of it
|
|
|
179
191
|
`low` and is compared on representative tasks. When effort is not `none`, drop
|
|
180
192
|
`temperature`, `top_p`, and the log-probability options (`top_logprobs`; `logprobs`
|
|
181
193
|
in Chat Completions; `message.output_text.logprobs` in a Responses `include`). To
|
|
182
|
-
change effort between responses, add a `configuration_update` item (GPT-6
|
|
183
|
-
standard single-agent requests; effort
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
`
|
|
188
|
-
|
|
189
|
-
|
|
194
|
+
change effort between responses, add a `configuration_update` item (GPT-6 and later;
|
|
195
|
+
standard single-agent requests; it updates the effort and the response format,
|
|
196
|
+
`json_schema` or `text`) and leave the request-level effort unchanged so the cached
|
|
197
|
+
prefix survives; the response keeps reporting the request-level effort. Such a
|
|
198
|
+
history can use automatic compaction through `context_management`, but automatic
|
|
199
|
+
truncation and `/responses/compact` reject it; to compact it explicitly, add a
|
|
200
|
+
`compaction_trigger` item in a `/responses` request, then a fresh
|
|
201
|
+
`configuration_update` restating every changed setting, format included, before the
|
|
202
|
+
next user message. Fix a missing success criterion, dependency rule, or verification
|
|
203
|
+
loop before raising effort (the GPT-5.6 guidance): effort is a tuning knob, not the
|
|
204
|
+
primary way to recover quality.
|
|
190
205
|
- **Under Codex.** `ultra` is a Codex effort, not an API value — the API's effort list
|
|
191
206
|
ends at `max`. It is a different mode, not the next rung: the client catalog
|
|
192
207
|
describes it as maximum reasoning with automatic task delegation, it runs the task
|
|
193
208
|
with subagents, and it suits work that divides into meaningful parts. The catalog
|
|
194
|
-
offers it for
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
instructions under your prompt:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
209
|
+
offers it for every listed Astra, Sol and Terra model, GPT-6.2 included; Luna goes up
|
|
210
|
+
to Max and refuses Ultra, and most tasks need neither. Take the supported levels for
|
|
211
|
+
a seat from the host's catalog, not from the API ladder: the two disagree, and for
|
|
212
|
+
GPT-6.2 only the catalog lists them. A run that omits effort inherits the client's
|
|
213
|
+
default, which can differ from the API default (the client catalog sets
|
|
214
|
+
`gpt-6.2-astra`, `gpt-6.2-sol`, `gpt-6-astra` and `gpt-6.1-sol` to `low`; the API
|
|
215
|
+
default for 6.1 Sol is `medium`) — pin it in the launch config. The client's model
|
|
216
|
+
catalog also places per-model instructions under your prompt: GPT-6.2 Astra and Sol
|
|
217
|
+
carry the vendor's GPT-6.2 coding sample, which skips new tests unless they are
|
|
218
|
+
requested, required by the repository, or needed for a regression the existing tests
|
|
219
|
+
would miss, so a 6.2 run that must add tests needs that requirement named; GPT-6
|
|
220
|
+
Astra, 6.1 Sol and 6 Sol carry the GPT-6 testing calibration above; and GPT-6 Luna is
|
|
221
|
+
told not to add or run tests unless asked, so a Luna run that must verify needs its
|
|
222
|
+
checks named in the prompt (Codex client catalog, codex-cli 0.171.0, read 2026-11-24;
|
|
223
|
+
not a published document).
|
|
224
|
+
|
|
225
|
+
## GPT-6.2
|
|
226
|
+
|
|
227
|
+
OpenAI's GPT-6.2 document ("Using GPT-6.2") offers its prompts as a starting point
|
|
228
|
+
across the GPT-6.2 family; its examples address behavior seen with GPT-6.2 Astra and
|
|
229
|
+
Sol. It says nothing about delegation or skill sensitivity: for those, the GPT-6
|
|
230
|
+
bullets above are an Astra 6 starting point to evaluate, not a 6.2 observation.
|
|
231
|
+
|
|
232
|
+
- **Writing style.** More concise and direct by default than earlier models: revisit
|
|
233
|
+
"be concise" carried from older prompts instead of adding more brevity pressure.
|
|
234
|
+
Ask for the terminology the user and the sources use, the key points first, and
|
|
235
|
+
enough context to follow the reasoning; for material sent to an outside audience,
|
|
236
|
+
ask it to supply the background that audience lacks, and when editing, to keep the
|
|
237
|
+
author's content and wording.
|
|
238
|
+
- **Self-contained final answers.** Over long tasks the model can carry shorthand from
|
|
239
|
+
its reasoning, tool calls or subagent briefs into the final answer. Ask for a final
|
|
240
|
+
answer that a reader who skipped the progress updates can follow, written anew for
|
|
241
|
+
that reader.
|
|
242
|
+
- **Task completion.** When intent is unclear the model may propose a next step and
|
|
243
|
+
wait. For work that can proceed unsupervised, state the outcome to complete and which
|
|
244
|
+
decisions need the user; let it make reasonable, reversible assumptions within scope,
|
|
245
|
+
state them, and keep working, stopping only for a significant scope change, a concrete
|
|
246
|
+
block, a decision the user must make, or an irreversible or destructive action. Ask
|
|
247
|
+
it to check that every part of the request is done before it finishes; higher effort
|
|
248
|
+
can help it persist through those final checks. These tune behavior within the
|
|
249
|
+
existing approval rules, which stay as they are.
|
|
250
|
+
- **Coding style.** It writes more efficient code by default. Describe the codebase's
|
|
251
|
+
conventions and the behavior callers rely on: when to reuse existing logic, how
|
|
252
|
+
narrowly to scope a change, and when a test is wanted. The vendor's coding sample
|
|
253
|
+
asks for readable code over the shortest code and warns against indirection that adds
|
|
254
|
+
no value; its test rule is above, under Codex. Required repository gates stay in force.
|
|
255
|
+
- **Visual work.** For a particular look, name the imagery and typography; give it a
|
|
256
|
+
reference to render against and refine.
|
|
257
|
+
|
|
258
|
+
What changes in the API from GPT-6.2 on:
|
|
259
|
+
|
|
260
|
+
- **An edited prefix drops reasoning.** The Responses API drops reasoning items after an
|
|
261
|
+
edit to earlier history (rewriting an earlier developer message or tool result), some
|
|
262
|
+
model changes (downgrades among them), or a different end user or organization
|
|
263
|
+
(`safety_identifier`); answers can degrade and the model repeats work. Deleting whole
|
|
264
|
+
items or appending new ones is not such an edit. Change settings between responses
|
|
265
|
+
with `configuration_update` rather than by rewriting the prefix, and read
|
|
266
|
+
`input_transformations` in the response to see a removal.
|
|
267
|
+
- **Top-level `instructions` move after `input`.** They sit past every cache breakpoint,
|
|
268
|
+
bill at the uncached rate even on a cache hit, and do not carry over with
|
|
269
|
+
`previous_response_id`. Put reusable instructions in the first `developer` message of
|
|
270
|
+
`input`; keep top-level `instructions` for guidance meant for the current request only.
|
|
271
|
+
- **Caching parameters.** `prompt_cache_options.ttl` replaces `prompt_cache_retention`:
|
|
272
|
+
`"30m"` by default, `"12h"` in the Responses API. Cache writes bill at 1.25× the
|
|
273
|
+
uncached input rate for 30 minutes and 2.5× for 12 hours, and reads on 6.2 Astra and
|
|
274
|
+
Sol at 0.05×.
|
|
275
|
+
- **Processing.** No Flex processing; background mode offers discounted two- and
|
|
276
|
+
eight-hour completion windows for long requests.
|
|
277
|
+
- **Multi-agent beta.** Available on 6.2 Astra and Sol (and 6.1 Sol and GPT-5.6). With it
|
|
278
|
+
on, `/responses/compact` is unavailable, automatic compaction is on, `reasoning.summary`
|
|
279
|
+
and `max_tool_calls` are not supported, and three subagents run at once by default.
|
|
280
|
+
- **Under Codex.** The client's default context is 272,000 tokens for 6.2 Astra and
|
|
281
|
+
500,000 for 6.2 Sol (client catalog); the Codex documents list both models for the
|
|
282
|
+
Codex app and CLI and not for the IDE extension.
|
|
205
283
|
|
|
206
284
|
## Shared prompt recipe
|
|
207
285
|
|
|
@@ -241,15 +319,6 @@ checklist below); omit any block that would not change the artifact.
|
|
|
241
319
|
- Implementation plans: requirements, named resources, state transitions,
|
|
242
320
|
validation checks, failure behavior, privacy/security, open questions.
|
|
243
321
|
|
|
244
|
-
> **Carried from the 2026-09-07 derivation; the pinned `prompt-guidance-gpt-5p6` (the same
|
|
245
|
-
> bytes then and now) does not state these. Re-derive or remove at the next
|
|
246
|
-
> re-derivation.**
|
|
247
|
-
>
|
|
248
|
-
> - The success-criteria block is the one most worth its tokens.
|
|
249
|
-
> - A reviewer with no stated bar defaults to plausible-sounding findings.
|
|
250
|
-
> - Weak output usually means a missing success criterion, dependency rule, tool-routing
|
|
251
|
-
> rule, or verification loop.
|
|
252
|
-
|
|
253
322
|
## How to choose prompt shape
|
|
254
323
|
|
|
255
324
|
- A bounded review packet runs as one self-contained run with no inherited
|
|
@@ -269,16 +338,19 @@ checklist below); omit any block that would not change the artifact.
|
|
|
269
338
|
caching writes through a changing suffix, so on GPT-5.6 and later mark the stable
|
|
270
339
|
boundary with an explicit breakpoint where the implicit one misses it; check the
|
|
271
340
|
reported `cached_tokens` and the cost before and after, and keep the breakpoint only
|
|
272
|
-
where it improves them.
|
|
273
|
-
|
|
341
|
+
where it improves them. On GPT-6.2 the stable instructions belong in the first
|
|
342
|
+
`developer` message, not top-level `instructions` (the GPT-6.2 section). Continuing a
|
|
343
|
+
multi-turn task, keep earlier messages and tool results unedited so later turns
|
|
344
|
+
reuse the full prefix. Starting a new bounded task, send a
|
|
274
345
|
self-contained packet rather than resuming a long history that holds context the task
|
|
275
346
|
does not need.
|
|
276
347
|
|
|
277
348
|
## Programmatic tool calling
|
|
278
349
|
|
|
279
350
|
A bounded stage where code processes several tool results and returns a much smaller
|
|
280
|
-
structured result. The qualifier is **reduction**, not parallelism: multiple
|
|
281
|
-
|
|
351
|
+
structured result. The qualifier is **reduction**, not parallelism: multiple or parallel
|
|
352
|
+
calls alone do not justify it, and dependent calls qualify only when code can derive the
|
|
353
|
+
later arguments and the limits and failure behavior are explicit.
|
|
282
354
|
|
|
283
355
|
- Use it for filtering, joining, sorting, ranking, deduplication and aggregation,
|
|
284
356
|
batching across many similar records, repeated deterministic validation, and large
|
|
@@ -312,7 +384,8 @@ or dependent calls alone do not justify it.
|
|
|
312
384
|
- Persisted reasoning is not a free optimization. It helps while the objective and
|
|
313
385
|
priorities hold; once they move, stale reasoning adds tokens and anchors the model to
|
|
314
386
|
a superseded approach. Where the model supports `reasoning.context` (the GPT-5.6
|
|
315
|
-
family, which defaults to `all_turns`, and GPT-6.1 Sol
|
|
387
|
+
family, which defaults to `all_turns`, and GPT-6.1 Sol; not documented for GPT-6.2),
|
|
388
|
+
set `current_turn` when
|
|
316
389
|
earlier reasoning is no longer relevant. Compact at milestones, not every turn, and
|
|
317
390
|
treat compacted items as opaque.
|
|
318
391
|
- Preserve explicit user values. Where the right value is implicit, give decision
|
|
@@ -346,16 +419,19 @@ GPT-6 measurements or promised gains on another workload.
|
|
|
346
419
|
|
|
347
420
|
The GPT-5.6 section is derived from `prompt-guidance-gpt-5p6`, its facts row from
|
|
348
421
|
`model-guidance-gpt-5p6` and `upgrading-to-gpt-5p6-sol`. The GPT-6 family section is
|
|
349
|
-
derived from `model-guidance-gpt-6-astra` — the
|
|
422
|
+
derived from `model-guidance-gpt-6-astra` — the GPT-6 prompting document, "Using
|
|
350
423
|
GPT-6", which the Astra URL serves — with per-model facts from `model-gpt-6-astra`,
|
|
351
424
|
`model-gpt-6p1-sol`, `model-gpt-6-sol`, and `model-gpt-6-luna` — the document calls its
|
|
352
425
|
prompts a starting point across the GPT-6 family, so the section is not limited to
|
|
353
|
-
Astra — effort semantics and
|
|
354
|
-
|
|
355
|
-
`
|
|
356
|
-
|
|
426
|
+
Astra — effort semantics, `configuration_update` limits and the reasoning-item removal
|
|
427
|
+
rules from `reasoning`, and Codex-only effort values from `codex-models`. The GPT-6.2
|
|
428
|
+
section is derived from `model-guidance-gpt-6p2` ("Using GPT-6.2") with facts from
|
|
429
|
+
`model-gpt-6p2-astra` and `model-gpt-6p2-sol`, the caching changes from
|
|
430
|
+
`prompt-caching`, and the multi-agent limits from `responses-multi-agent`. The
|
|
431
|
+
per-model instruction notes, the default efforts and the 6.2 context sizes come from
|
|
432
|
+
the Codex client's local model catalog, which no URL serves and no pin tracks. The shared recipe keeps the GPT-5.6
|
|
357
433
|
guidance's task, evidence, tool, and validation practices and applies them to the
|
|
358
|
-
GPT-6 targets as this repository's choice, with prompt placement from `prompt-caching`,
|
|
434
|
+
GPT-6 and GPT-6.2 targets as this repository's choice, with prompt placement from `prompt-caching`,
|
|
359
435
|
run shape from `responses-multi-agent`, schema-forced output from `structured-outputs`,
|
|
360
436
|
and the programmatic-stage prerequisite from `tools-programmatic-tool-calling`. Model
|
|
361
437
|
behavior claims belong only to their own section; `source_pins` records the exact
|
|
@@ -239,11 +239,11 @@ Binding (2026-10-21):
|
|
|
239
239
|
|
|
240
240
|
| Slot | Binding | Notes |
|
|
241
241
|
|---|---|---|
|
|
242
|
-
| FRONTIER | Claude Fable 5.2 · GPT-6 Astra (read-only; max default; launcher may explicitly select Ultra) | bounded hardest decisions and verdicts |
|
|
243
|
-
| HELM | Claude Opus 5.5 (high) · GPT-6.
|
|
244
|
-
| WORKHORSE | Claude Sonnet 5.5 (high) · GPT-6.
|
|
242
|
+
| FRONTIER | Claude Fable 5.2 · GPT-6.2 Astra (read-only; max default; launcher may explicitly select Ultra) | bounded hardest decisions and verdicts |
|
|
243
|
+
| HELM | Claude Opus 5.5 (high) · GPT-6.2 Sol (xhigh) — main Ultra requires explicit selection; bounded FRONTIER Ultra allowed | standing main; Codex defaults bypass, explicit sandbox narrows |
|
|
244
|
+
| WORKHORSE | Claude Sonnet 5.5 (high) · GPT-6.2 Sol (high) | implementation and per-item judgment; the Codex seat shares HELM's model, so it differs by effort alone and buys no cross-model perspective |
|
|
245
245
|
| SWEEP | Claude Haiku 5.5 (medium) · GPT-6 Luna (max) | read-only; one explicit rule per item; not a rebind candidate |
|
|
246
|
-
| VERIFIER-A | plain `codex exec` deep pass — GPT-6.
|
|
246
|
+
| VERIFIER-A | plain `codex exec` deep pass — GPT-6.2 Sol at ultra effort, packet on stdin (`-c service_tier="fast"` as explicit fast opt-in) | strongest single reader; cross-family from a Claude main |
|
|
247
247
|
| VERIFIER-B | Claude Code ultracode workflow (keyword-opened, many-agent) | code/execution kind; fan-out counterpart |
|
|
248
248
|
| INDEPENDENT-PR-REVIEWER | Codex CLI | adversarial `gh pr diff` review |
|
|
249
249
|
| Claude relocation | EnterWorktree, `/cd`, `--worktree`; resume is directory-scoped | verified 2.1.207 |
|
|
@@ -254,7 +254,7 @@ Binding (2026-10-21):
|
|
|
254
254
|
Codex direct-drive (verified 0.144.1, 2026-07-12):
|
|
255
255
|
|
|
256
256
|
- `codex-helm` defaults the HELM main to `--dangerously-bypass-approvals-and-sandbox`; explicit `--sandbox` wins in any flag order. Non-Ultra defaults native multi-agent off; explicit main Ultra defaults it on.
|
|
257
|
-
- HELM is instructed to dispatch tiers through internal `codex-run`, which pins model/effort/sandbox. FRONTIER uses a separate `gpt-6-astra`, read-only root: max by default, Ultra for divisible work, lower effort when cost/latency dominates. Nested multi-agent is enabled only for Ultra. Native `codex exec` spawn cannot pin role/effort.
|
|
257
|
+
- HELM is instructed to dispatch tiers through internal `codex-run`, which pins model/effort/sandbox. FRONTIER uses a separate `gpt-6.2-astra`, read-only root: max by default, Ultra for divisible work, lower effort when cost/latency dominates. Nested multi-agent is enabled only for Ultra. Native `codex exec` spawn cannot pin role/effort.
|
|
258
258
|
- This is an instruction-backed, live-E2E-verified default, not a security boundary: main bypass and arbitrary expert `-c` remain available by design. `frontier.toml` pins the direct native FRONTIER default to max; launcher projections overwrite it from the selected tier.
|
|
259
259
|
- `codex-run` owns reach, stdin, schema, profiles, expert `-c`, channel preservation, and exit status. Keep it internal.
|
|
260
260
|
- `claude-run` is its Claude-side twin and the command a composable review contract names for a panel dispatch on that host. Same shape: prompt on stdin, final message on stdout, exit status mirrored, `--model`/`--effort` pinning the seat, everything it does not recognise forwarded to `claude`. It denies the mutating tools by default, which is not the OS-level sandbox `codex-run` gets — do not read the two defaults as equivalent guarantees. Dispatch whatever command the contract names rather than the bare CLI: only the adapter can report what the dispatch actually did, and a review with no receipt stays PROPOSED.
|
|
@@ -264,7 +264,7 @@ Dispatch packets:
|
|
|
264
264
|
|
|
265
265
|
| Target | Required packet / default |
|
|
266
266
|
|---|---|
|
|
267
|
-
| GPT-6 Astra FRONTIER | outcome, evidence, decision boundary, stop/verification; max default; read-only |
|
|
267
|
+
| GPT-6.2 Astra FRONTIER | outcome, evidence, decision boundary, stop/verification; max default; read-only |
|
|
268
268
|
| GPT-5.6 Terra WORKHORSE | outcome, frozen scope/inputs, authority, done-when, evidence/report, escalation; xhigh |
|
|
269
269
|
| GPT-5.6 Luna SWEEP | exact search space, one rule per item, ambiguity behavior, stop, output; max; read-only; no architecture/debugging |
|
|
270
270
|
| Claude Opus 5 HELM | xhigh for agentic work; high minimum for sensitive judgment; lower only when bounded/cost-led |
|