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.
Files changed (38) hide show
  1. package/DEPENDENCIES.md +3 -2
  2. package/README.md +25 -9
  3. package/claude/guides/cli-multi-model-workflow.md +6 -6
  4. package/claude/guides/gpt-prompting.md +151 -75
  5. package/codex/agents/frontier.toml +1 -1
  6. package/codex/agents/reviewer.toml +1 -1
  7. package/codex/agents/workhorse.toml +1 -1
  8. package/codex/guides/cli-multi-model-workflow.md +6 -6
  9. package/codex/guides/gpt-prompting.md +151 -75
  10. package/compose/app_bridge/scripts/bridge.py +8 -0
  11. package/compose/instructions_app.py +20 -2
  12. package/compose/instructions_install.py +34 -8
  13. package/compose/instructions_setup.py +4 -1
  14. package/docs/advanced-launch.md +1 -1
  15. package/docs/macos-linux.md +92 -0
  16. package/docs/recovery.md +1 -1
  17. package/docs/releases/0.20.1.md +76 -0
  18. package/docs/releases/0.21.0.md +101 -0
  19. package/docs/setup.md +7 -3
  20. package/docs/windows.md +23 -14
  21. package/install.sh +72 -41
  22. package/launch/agent-launch.toml +11 -9
  23. package/launch/provision-venv.sh +3 -2
  24. package/package.json +3 -2
  25. package/provenance.json +1 -1
  26. package/session-distill/distill.py +22 -2
  27. package/session-distill/runlib/declare.py +70 -3
  28. package/session-distill/runlib/dispatch.py +26 -20
  29. package/session-distill/runlib/gate.py +149 -11
  30. package/session-distill/runlib/packet.py +3 -2
  31. package/session-distill/runlib/stage_form.py +1 -1
  32. package/session-distill/runlib/stage_judge.py +8 -4
  33. package/session-distill/runlib/views.py +1 -1
  34. package/session-distill/schemas/run.schema.json +10 -1
  35. package/session-distill/seats.json +35 -60
  36. package/wrappers/claude-run.sh +10 -7
  37. package/wrappers/codex-helm.sh +8 -8
  38. 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; session distill pins 0.167.0 since 2026-11-12, and
235
- its first 0.167.0 capture is what confirms the shape there. A capture refuses a codex whose
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.20.0 release notes](docs/releases/0.20.0.md)
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. Each downloads from the project's installation page, which
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** — from PowerShell, the Command Prompt or the Run box. The current
78
- release is an unsigned preview, which is what the trailing flag accepts:
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
- powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr 'https://kangminlee-maker.github.io/agent-bios/install.ps1' -UseBasicParsing -OutFile (Join-Path ([IO.Path]::GetTempPath()) 'agent-bios-install.ps1') -ErrorAction Stop; & (Join-Path ([IO.Path]::GetTempPath()) 'agent-bios-install.ps1') -AcceptUnsignedPreview"
80
+ irm https://kangminlee-maker.github.io/agent-bios/install.ps1 | iex
82
81
  ```
83
82
 
84
- On **macOS or Linux**, where **Python 3.12+** and **Node.js 18+ with npm** must
85
- already be present:
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
- Then deploy the work environment:
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.1 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.1 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 |
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.1 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 |
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, and the GPT-6 advice is observed on Astra and a starting point for the other GPT-6 models
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-10-21
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: 46181efec9fd1160ef537b0379282a14c1ba32380f2f8149a805128253c1115a
22
- pinned_at: 2026-10-21
24
+ sha256: fbf38652350fee866f46d888e6a0e83537cf5a5a148818271332260cd3e439f7
25
+ pinned_at: 2026-11-24
23
26
  - doc: model-guidance-gpt-5p6
24
27
  sha256: bcbc002991e3ff6491ba5c4d38d8f5c497fa785c0b11ea27d92c9d34676ab460
25
- pinned_at: 2026-10-21
28
+ pinned_at: 2026-11-24
26
29
  - doc: upgrading-to-gpt-5p6-sol
27
- sha256: d4d2494240bc124bde81d96a9a389f3ed7122deabc4b508c18d26a3ebd20c74f
28
- pinned_at: 2026-10-21
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: ad1aeb3d87e2e61a91233447f7c54b7b18ebfecc4315eeefab15bf5861b3a5c7
31
- pinned_at: 2026-10-21
39
+ sha256: b12f5dde985df0ac1e03ea5eaa40dfcdb0e4620a1bf1ae4d78cdd81f8c7f4c3a
40
+ pinned_at: 2026-11-24
32
41
  - doc: model-gpt-6-astra
33
- sha256: b7c19b3bb89e87a392a0f3f8b732c5e7c9f0bf558cbe3022c491575a947fcef8
34
- pinned_at: 2026-10-21
42
+ sha256: 31d55873985379d2b4e129fd41f974e8511b9de1a5105dc4e0692b53b504a8cb
43
+ pinned_at: 2026-11-24
35
44
  - doc: model-gpt-6p1-sol
36
- sha256: acfe91d19882aaf7bb52877898684614035a947de02f2955c9de905a7efb1362
37
- pinned_at: 2026-10-21
45
+ sha256: 02dff9ef937bbc97fb24ba7c936269a549563cfb8a49b91a6ba1c1575d2b77c0
46
+ pinned_at: 2026-11-24
38
47
  - doc: model-gpt-6-sol
39
- sha256: 3dcb62c16386c40e52438e7fa7fb46b979d13cbfc324d0807246e24ce43345bb
40
- pinned_at: 2026-10-21
48
+ sha256: 8e3cd3378f0686313dd489ed37347d481d24d4b791e7bd28b1538c4df7762fc4
49
+ pinned_at: 2026-11-24
41
50
  - doc: model-gpt-6-luna
42
- sha256: 2e4861582095740f5ea84b14bb18fa476a49c426b397b779b964bc144397b451
43
- pinned_at: 2026-10-21
51
+ sha256: dacc9870e67c0d68e4272f8394d4296ffe7cf70f18d3f4675ee6bd4c666966b7
52
+ pinned_at: 2026-11-24
44
53
  - doc: reasoning
45
- sha256: 18edc294a66c8eb442c5d0049b9e9d31af2b8e830ca6e41d6bf8798c902f4e14
46
- pinned_at: 2026-10-21
54
+ sha256: f0c480788b035a289f34aef88a58cb48abead8abd82194ae8f68b110d5971bfa
55
+ pinned_at: 2026-11-24
47
56
  - doc: codex-models
48
- sha256: 77779d7adf13e05df5bf7fa82088ebbaa647d16682a91cea5cd3cad043474f8e
49
- pinned_at: 2026-10-21
57
+ sha256: 2ca411d02af5e803e25d60eedcac752c7a6153c2c6dffafdbd854aff61f4277c
58
+ pinned_at: 2026-11-24
50
59
  - doc: prompt-caching
51
- sha256: 715eacd5f0fe6bd7b238b74b770a6eb5b9a5260f464b5d54066b0bf580d3e995
52
- pinned_at: 2026-10-21
60
+ sha256: 41fd5ad72dc74045ffb0fbe33e8213a879cc018a473b1e022b7be8fa04057625
61
+ pinned_at: 2026-11-24
53
62
  - doc: responses-multi-agent
54
- sha256: b16d53b38bc957a790d39d2a736531addfed88a2c806e2be11aac190ea817a3e
55
- pinned_at: 2026-10-21
63
+ sha256: 1bb6554687059202a4c92486d39fb2ea42730fb20a85880c33258186872012f8
64
+ pinned_at: 2026-11-24
56
65
  - doc: structured-outputs
57
- sha256: 09aa3814251cf168070294ace79d677091de04b330055048392548d604aa7104
58
- pinned_at: 2026-10-21
66
+ sha256: fbabb4598029cba47f3b19e173371da9950e6c9050b5380460b0256b8a08d9fe
67
+ pinned_at: 2026-11-24
59
68
  - doc: tools-programmatic-tool-calling
60
- sha256: fc459e1947d9fd4506c54c2a4f3e202d483a3a12a3488f06b974dbf98c787630
61
- pinned_at: 2026-10-21
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; compare with Astra on your tasks |
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 publishes one prompting document for GPT-6. Its best practices address
132
- behavior observed with GPT-6 Astra and are offered as a starting point across the
133
- family, to be evaluated with the chosen model and workload. The five behavior bullets
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. In several vendor evaluations Astra
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 only;
183
- standard single-agent requests; effort only) and leave the request-level effort
184
- unchanged so the cached prefix survives. Such a history cannot use automatic
185
- compaction or truncation, and `/responses/compact` rejects it; compact it with a
186
- `compaction_trigger` item in a `/responses` request, then add a fresh
187
- `configuration_update` before the next user message. Fix a missing success
188
- criterion, dependency rule, or verification loop before raising effort: effort is a
189
- tuning knob, not the primary way to recover quality.
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 `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-5.6-sol`, and
195
- `gpt-5.6-terra`; GPT-6 Luna goes up to Max and refuses Ultra, and most tasks need
196
- neither. Take the supported levels for a seat from the host's catalog, not from the
197
- API ladder: the two disagree. Efforts do not map exactly between model generations,
198
- so try a familiar task one setting lower and adjust. A run that omits effort inherits
199
- the client's default, which can differ from the API default (the client catalog sets
200
- `gpt-6.1-sol` to `low`; the API default is `medium`) — pin it in the launch config. The client's model catalog also places per-model base
201
- instructions under your prompt: Astra, 6.1 Sol, and 6 Sol carry the testing
202
- calibration above, while GPT-6 Luna is told not to add or run tests unless asked, so
203
- a Luna run that must verify needs its checks named in the prompt (Codex client
204
- catalog, codex-cli 0.163.0, read 2026-10-21; not a published document).
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. Continuing a multi-turn task, keep earlier messages and tool
273
- results so later turns reuse the full prefix. Starting a new bounded task, send a
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, parallel,
281
- or dependent calls alone do not justify it.
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), set `current_turn` when
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 one GPT-6 prompting document, "Using
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
- `configuration_update` limits from `reasoning`, and Codex-only effort values from
355
- `codex-models`; the base-instruction note comes from the Codex client's local model
356
- catalog, which no URL serves and no pin tracks. The shared recipe keeps the GPT-5.6
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
@@ -1,6 +1,6 @@
1
1
  name = "frontier"
2
2
  description = "Bounded hardest decisions, first-of-kind design, triage, and final verdicts."
3
- model = "gpt-6-astra"
3
+ model = "gpt-6.2-astra"
4
4
  model_reasoning_effort = "max"
5
5
  sandbox_mode = "read-only"
6
6
 
@@ -1,6 +1,6 @@
1
1
  name = "reviewer"
2
2
  description = "Adversarial review focused on correctness, regressions, security, and missing tests."
3
- model = "gpt-6.1-sol"
3
+ model = "gpt-6.2-sol"
4
4
  model_reasoning_effort = "high"
5
5
  sandbox_mode = "read-only"
6
6
 
@@ -1,6 +1,6 @@
1
1
  name = "workhorse"
2
2
  description = "Bounded implementation, fixes, and per-item judgment for delegated Codex work."
3
- model = "gpt-6.1-sol"
3
+ model = "gpt-6.2-sol"
4
4
  model_reasoning_effort = "high"
5
5
 
6
6
  developer_instructions = """
@@ -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.1 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.1 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 |
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.1 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 |
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 |