agent-bios 0.19.4 → 0.20.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/DEPENDENCIES.md +20 -5
- package/README.md +14 -19
- package/claude/agents/frontier.md +1 -1
- package/claude/guides/claude-prompting.md +475 -234
- package/claude/guides/cli-multi-model-workflow.md +8 -7
- package/claude/guides/gpt-prompting.md +319 -144
- package/claude/guides/session-distill-workflow.md +93 -43
- package/claude/guides/tooling-gotchas.md +3 -1
- package/codex/agents/frontier.toml +1 -1
- package/codex/agents/reviewer.toml +1 -1
- package/codex/agents/workhorse.toml +1 -1
- package/codex/guides/claude-prompting.md +475 -234
- package/codex/guides/cli-multi-model-workflow.md +8 -7
- package/codex/guides/gpt-prompting.md +319 -144
- package/codex/guides/session-distill-workflow.md +93 -43
- package/codex/guides/tooling-gotchas.md +3 -1
- package/compose/assemble.py +4 -1
- package/compose/canary.sh +8 -6
- package/compose/host_platform.py +158 -15
- package/compose/instructions-state.py +183 -41
- package/compose/instructions_install.py +222 -27
- package/compose/instructions_session.py +250 -75
- package/compose/instructions_setup_cli.py +2 -36
- package/compose/instructions_store.py +160 -3
- package/compose/instructions_transaction.py +29 -5
- package/docs/advanced-launch.md +5 -1
- package/docs/releases/0.20.0.md +102 -0
- package/docs/releases/0.20.1.md +76 -0
- package/install.sh +42 -14
- package/launch/agent-launch.py +152 -18
- package/launch/agent-launch.toml +28 -16
- package/launch/agent-launch.zsh +104 -13
- package/launch/claude_subcommands.py +179 -0
- package/launch/shell_integration.py +7 -1
- package/learn/collect-learning.py +60 -9
- package/learn/migrate-learnings.py +70 -4
- package/learn/redact.py +2 -1
- package/package.json +36 -3
- package/provenance.json +1 -1
- package/session-cost.py +80 -9
- package/session-distill/coverage.json +6 -0
- package/session-distill/distill.py +2575 -0
- package/session-distill/grammar/__init__.py +0 -0
- package/session-distill/grammar/owner_lines.py +874 -0
- package/session-distill/originators.json +9 -0
- package/session-distill/packets/cross_review.md +31 -0
- package/session-distill/packets/form.md +86 -0
- package/session-distill/packets/judge.md +81 -0
- package/session-distill/packets/placement_contract.md +90 -0
- package/session-distill/packets/propose.md +124 -0
- package/session-distill/packets/read.md +57 -0
- package/session-distill/packets/reconsider.md +53 -0
- package/session-distill/packets/s7b.md +65 -0
- package/session-distill/packets/s9b.md +39 -0
- package/session-distill/packets/stitch.md +35 -0
- package/session-distill/packets/sweep.md +33 -0
- package/session-distill/runlib/__init__.py +0 -0
- package/session-distill/runlib/bound.py +1102 -0
- package/session-distill/runlib/breaker.py +467 -0
- package/session-distill/runlib/census.py +2347 -0
- package/session-distill/runlib/claims.py +420 -0
- package/session-distill/runlib/controls.py +902 -0
- package/session-distill/runlib/coverage.py +881 -0
- package/session-distill/runlib/declare.py +888 -0
- package/session-distill/runlib/delivery_evidence.py +1145 -0
- package/session-distill/runlib/derive.py +812 -0
- package/session-distill/runlib/destinations.py +3072 -0
- package/session-distill/runlib/dispatch.py +7940 -0
- package/session-distill/runlib/drift.py +1077 -0
- package/session-distill/runlib/entry.py +401 -0
- package/session-distill/runlib/evidence.py +890 -0
- package/session-distill/runlib/exposure.py +1162 -0
- package/session-distill/runlib/gate.py +2727 -0
- package/session-distill/runlib/gitread.py +79 -0
- package/session-distill/runlib/inventory.py +19624 -0
- package/session-distill/runlib/journal.py +1919 -0
- package/session-distill/runlib/ledger.py +3210 -0
- package/session-distill/runlib/ledger_compat.py +101 -0
- package/session-distill/runlib/ledger_migration.py +190 -0
- package/session-distill/runlib/lifecycle_intake.py +693 -0
- package/session-distill/runlib/lineage.py +454 -0
- package/session-distill/runlib/measures.py +249 -0
- package/session-distill/runlib/monitor.py +1180 -0
- package/session-distill/runlib/operations.py +522 -0
- package/session-distill/runlib/packet.py +838 -0
- package/session-distill/runlib/placement.py +1769 -0
- package/session-distill/runlib/projection.py +4090 -0
- package/session-distill/runlib/ranking.py +740 -0
- package/session-distill/runlib/receipts.py +200 -0
- package/session-distill/runlib/records.py +1965 -0
- package/session-distill/runlib/search.py +249 -0
- package/session-distill/runlib/sequencing.py +829 -0
- package/session-distill/runlib/sources.py +641 -0
- package/session-distill/runlib/stage_adjudicate.py +845 -0
- package/session-distill/runlib/stage_apply.py +1378 -0
- package/session-distill/runlib/stage_approvals.py +758 -0
- package/session-distill/runlib/stage_close.py +1220 -0
- package/session-distill/runlib/stage_confirm.py +929 -0
- package/session-distill/runlib/stage_delivery.py +3080 -0
- package/session-distill/runlib/stage_form.py +2576 -0
- package/session-distill/runlib/stage_judge.py +4248 -0
- package/session-distill/runlib/stage_propose.py +3307 -0
- package/session-distill/runlib/stage_read.py +5179 -0
- package/session-distill/runlib/stage_render.py +2739 -0
- package/session-distill/runlib/stage_retrieve.py +924 -0
- package/session-distill/runlib/stage_review_korean.py +1002 -0
- package/session-distill/runlib/stage_review_proposals.py +1292 -0
- package/session-distill/runlib/stagelock.py +412 -0
- package/session-distill/runlib/stop.py +1061 -0
- package/session-distill/runlib/targets.py +809 -0
- package/session-distill/runlib/usage.py +280 -0
- package/session-distill/runlib/validate.py +319 -0
- package/session-distill/runlib/views.py +4327 -0
- package/session-distill/schemas/adjudication.schema.json +35 -0
- package/session-distill/schemas/approval.schema.json +35 -0
- package/session-distill/schemas/census.schema.json +128 -0
- package/session-distill/schemas/checks.schema.json +207 -0
- package/session-distill/schemas/claim.schema.json +16 -0
- package/session-distill/schemas/confirmation.schema.json +24 -0
- package/session-distill/schemas/coverage.schema.json +66 -0
- package/session-distill/schemas/cross_review.schema.json +24 -0
- package/session-distill/schemas/event.schema.json +20 -0
- package/session-distill/schemas/evidence.schema.json +20 -0
- package/session-distill/schemas/expected_observation.schema.json +18 -0
- package/session-distill/schemas/form.schema.json +103 -0
- package/session-distill/schemas/intake.schema.json +71 -0
- package/session-distill/schemas/inventory.schema.json +872 -0
- package/session-distill/schemas/judge.schema.json +77 -0
- package/session-distill/schemas/ledger.schema.json +313 -0
- package/session-distill/schemas/observation.schema.json +16 -0
- package/session-distill/schemas/propose.schema.json +555 -0
- package/session-distill/schemas/read.schema.json +76 -0
- package/session-distill/schemas/reconsider.schema.json +122 -0
- package/session-distill/schemas/run.schema.json +150 -0
- package/session-distill/schemas/s7b.schema.json +200 -0
- package/session-distill/schemas/s9b.schema.json +28 -0
- package/session-distill/schemas/stitch.schema.json +25 -0
- package/session-distill/schemas/sweep.schema.json +25 -0
- package/session-distill/seats.json +149 -0
- package/session-distill/tables/allowed_pairs.json +257 -0
- package/session-distill/tables/controls.json +30 -0
- package/session-distill/tables/delivery_evidence.json +36 -0
- package/session-distill/tables/delivery_evidence_fixtures.json +731 -0
- package/session-distill/tables/destinations.json +684 -0
- package/session-distill/tables/drift_layers.json +68 -0
- package/session-distill/tables/exposure_rules.json +192 -0
- package/session-distill/tables/placement_rules.json +148 -0
- package/session-distill/tables/propose_fixtures.json +154 -0
- package/session-distill/tables/ranking.json +194 -0
- package/session-distill/tables/redundancy.json +10 -0
- package/session-distill/tables/structural_rules.json +44 -0
- package/session-distill/tables/transition_fixtures.json +398 -0
- package/session-distill/tables/transitions.json +69 -0
- package/session-distill/tables/unit_outcome.json +67 -0
- package/session-distill/tables/unit_outcome_fixtures.json +2364 -0
- package/wrappers/claude-run.sh +481 -33
- package/wrappers/claude_hermetic_evidence.py +1423 -0
- package/wrappers/codex-helm.sh +46 -15
- package/wrappers/codex-run.sh +183 -20
- package/wrappers/codex_frame_filter.py +1199 -0
- package/wrappers/codex_protocol.py +737 -0
- package/wrappers/jsonl_lines.py +65 -0
|
@@ -9,23 +9,71 @@ 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
|
|
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
|
-
- fix the prompt before raising effort —
|
|
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
|
|
26
|
+
- doc: model-guidance-gpt-5p6
|
|
27
|
+
sha256: bcbc002991e3ff6491ba5c4d38d8f5c497fa785c0b11ea27d92c9d34676ab460
|
|
28
|
+
pinned_at: 2026-11-24
|
|
29
|
+
- doc: upgrading-to-gpt-5p6-sol
|
|
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
|
|
23
38
|
- doc: model-guidance-gpt-6-astra
|
|
24
|
-
sha256:
|
|
25
|
-
pinned_at: 2026-
|
|
39
|
+
sha256: b12f5dde985df0ac1e03ea5eaa40dfcdb0e4620a1bf1ae4d78cdd81f8c7f4c3a
|
|
40
|
+
pinned_at: 2026-11-24
|
|
41
|
+
- doc: model-gpt-6-astra
|
|
42
|
+
sha256: 31d55873985379d2b4e129fd41f974e8511b9de1a5105dc4e0692b53b504a8cb
|
|
43
|
+
pinned_at: 2026-11-24
|
|
44
|
+
- doc: model-gpt-6p1-sol
|
|
45
|
+
sha256: 02dff9ef937bbc97fb24ba7c936269a549563cfb8a49b91a6ba1c1575d2b77c0
|
|
46
|
+
pinned_at: 2026-11-24
|
|
47
|
+
- doc: model-gpt-6-sol
|
|
48
|
+
sha256: 8e3cd3378f0686313dd489ed37347d481d24d4b791e7bd28b1538c4df7762fc4
|
|
49
|
+
pinned_at: 2026-11-24
|
|
50
|
+
- doc: model-gpt-6-luna
|
|
51
|
+
sha256: dacc9870e67c0d68e4272f8394d4296ffe7cf70f18d3f4675ee6bd4c666966b7
|
|
52
|
+
pinned_at: 2026-11-24
|
|
53
|
+
- doc: reasoning
|
|
54
|
+
sha256: f0c480788b035a289f34aef88a58cb48abead8abd82194ae8f68b110d5971bfa
|
|
55
|
+
pinned_at: 2026-11-24
|
|
56
|
+
- doc: codex-models
|
|
57
|
+
sha256: 2ca411d02af5e803e25d60eedcac752c7a6153c2c6dffafdbd854aff61f4277c
|
|
58
|
+
pinned_at: 2026-11-24
|
|
59
|
+
- doc: prompt-caching
|
|
60
|
+
sha256: 41fd5ad72dc74045ffb0fbe33e8213a879cc018a473b1e022b7be8fa04057625
|
|
61
|
+
pinned_at: 2026-11-24
|
|
62
|
+
- doc: responses-multi-agent
|
|
63
|
+
sha256: 1bb6554687059202a4c92486d39fb2ea42730fb20a85880c33258186872012f8
|
|
64
|
+
pinned_at: 2026-11-24
|
|
65
|
+
- doc: structured-outputs
|
|
66
|
+
sha256: fbabb4598029cba47f3b19e173371da9950e6c9050b5380460b0256b8a08d9fe
|
|
67
|
+
pinned_at: 2026-11-24
|
|
68
|
+
- doc: tools-programmatic-tool-calling
|
|
69
|
+
sha256: cd5027c76f0d5c9473c0333b69dc89af27bf45c356760e2b1628172ef54923a9
|
|
70
|
+
pinned_at: 2026-11-24
|
|
26
71
|
targets:
|
|
72
|
+
- gpt-6.2-astra
|
|
73
|
+
- gpt-6.2-sol
|
|
27
74
|
- gpt-6-astra
|
|
28
75
|
- gpt-6.1-sol
|
|
76
|
+
- gpt-6-sol
|
|
29
77
|
- gpt-6-luna
|
|
30
78
|
- gpt-5.6-sol
|
|
31
79
|
- gpt-5.6-terra
|
|
@@ -33,8 +81,8 @@ targets:
|
|
|
33
81
|
verification_focus:
|
|
34
82
|
- prompt changes are validated by re-running the same evals, not by inspection
|
|
35
83
|
- removals are tested one group at a time so the cause of a delta is known
|
|
36
|
-
- effort changes use
|
|
37
|
-
-
|
|
84
|
+
- effort changes use values the target model accepts and are compared against the baseline
|
|
85
|
+
- family-level advice is checked against the family document, per-model facts against each model page, and Codex-only values against the Codex documents
|
|
38
86
|
---
|
|
39
87
|
|
|
40
88
|
# GPT Prompting Guide
|
|
@@ -51,9 +99,23 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
51
99
|
|
|
52
100
|
| Target | Apply | Pinned source |
|
|
53
101
|
| --- | --- | --- |
|
|
54
|
-
| `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` | GPT-5.6 | `prompt-guidance-gpt-5p6` |
|
|
55
|
-
| `gpt-6-astra` | GPT-6
|
|
56
|
-
| `gpt-6.
|
|
102
|
+
| `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` | GPT-5.6 | `prompt-guidance-gpt-5p6`, `model-guidance-gpt-5p6` |
|
|
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 |
|
|
105
|
+
|
|
106
|
+
## Per-model facts
|
|
107
|
+
|
|
108
|
+
Accepted `reasoning.effort` values and tool-calling routes, from each model's page or
|
|
109
|
+
family guide. An omitted effort takes the documented default.
|
|
110
|
+
|
|
111
|
+
| Model | `reasoning.effort` | Tool calling | Vendor positioning |
|
|
112
|
+
| --- | --- | --- | --- |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
118
|
+
| `gpt-6-luna` | `none`, `low`, `medium` (default), `high`, `xhigh`, `max` | as `gpt-6-sol` | focused, high-volume tasks |
|
|
57
119
|
|
|
58
120
|
## GPT-5.6
|
|
59
121
|
|
|
@@ -62,8 +124,8 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
62
124
|
one group of repeated instructions, examples, or irrelevant tools at a time and
|
|
63
125
|
re-run the same evals. Keep a process instruction when it changes behavior.
|
|
64
126
|
- **Calibrate brevity.** GPT-5.6 tends to be more concise than GPT-5.5. Re-test broad
|
|
65
|
-
brevity instructions before carrying them over; they can make answers too thin
|
|
66
|
-
|
|
127
|
+
brevity instructions before carrying them over; they can make answers too thin, and
|
|
128
|
+
stay only when they produce the required result. Where the API exposes
|
|
67
129
|
`text.verbosity`, use it for the default detail level and the prompt for the
|
|
68
130
|
task's length, structure, and required content. Shorten repetition before evidence,
|
|
69
131
|
decisions, caveats, or next actions.
|
|
@@ -74,164 +136,268 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
74
136
|
- **Tune effort after the prompt.** Preserve the current effective effort as the
|
|
75
137
|
baseline, then compare it and one supported level lower on representative tasks.
|
|
76
138
|
Use `low` when latency matters and quality holds; `medium` is a balanced starting
|
|
77
|
-
point
|
|
78
|
-
quality-first work.
|
|
79
|
-
|
|
80
|
-
## GPT-6
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
139
|
+
point; use `high`/`xhigh` when evals show a gain and reserve `max` for the hardest
|
|
140
|
+
quality-first work. The table above lists the accepted values; verify the host.
|
|
141
|
+
|
|
142
|
+
## GPT-6 family
|
|
143
|
+
|
|
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
|
|
148
|
+
below are therefore Astra observations; for `gpt-6.1-sol`, `gpt-6-sol`, and
|
|
149
|
+
`gpt-6-luna` the vendor states no model-specific prompting behavior, and what differs
|
|
150
|
+
per model is the API facts in the table above, taken from each model page. Re-derive
|
|
151
|
+
this section when a GPT-6 model other than Astra gets a prompting document of its own.
|
|
152
|
+
|
|
153
|
+
- **Initiative and follow-through.** Astra is more likely to ask when input could
|
|
154
|
+
materially change the result, and asks non-blocking questions while working. For
|
|
155
|
+
action requests, prompt it to infer routine details from context and complete
|
|
156
|
+
authorized work, including validation, before answering; a plan or an offer to
|
|
157
|
+
continue does not complete an action request. Ask when missing information changes
|
|
158
|
+
the outcome and continue independent authorized work while waiting. If a later step
|
|
159
|
+
needs approval, prepare the concrete, reviewable result first. Keep existing
|
|
160
|
+
permission boundaries; add no approval steps on hypothetical risk alone. Astra stays
|
|
161
|
+
coherent over long tasks better than GPT-5.6 Sol and earlier models.
|
|
162
|
+
- **Instruction and skill sensitivity.** Astra follows longer instructions better and
|
|
163
|
+
is more sensitive to context: unclear or conflicting guidance in a skill file can
|
|
164
|
+
make it pause and block work early. Audit the loaded skills and instruction files,
|
|
165
|
+
and make explicit user instructions outrank skill workflow preferences within
|
|
166
|
+
higher-priority instructions and permission constraints. When a skill causes a
|
|
167
|
+
pause, an approval request, or unfinished work, require it to name and link the
|
|
168
|
+
exact skill file, quote the rule, and say whether that rule is explicit or inferred;
|
|
169
|
+
an inferred reading of an optional guideline is not a requirement.
|
|
97
170
|
- **Writing style.** Astra tends toward detailed responses, lists, tables, and
|
|
98
|
-
recurring phrases. Specify
|
|
99
|
-
For plain prose, request concise paragraphs, familiar words, active verbs, and
|
|
100
|
-
|
|
101
|
-
technical detail needed to assess the result
|
|
102
|
-
|
|
103
|
-
- **Subagent delegation.** Astra may delegate less often than a workflow needs
|
|
104
|
-
|
|
105
|
-
parallelism, each subagent's scope, and when to keep
|
|
106
|
-
spawn gates,
|
|
107
|
-
|
|
108
|
-
spacing.
|
|
171
|
+
recurring phrases across sessions. Specify length and structure for the audience.
|
|
172
|
+
For plain prose, request concise paragraphs, familiar words, active verbs, and the
|
|
173
|
+
main point first, with lists only for parallel, sequential, or comparable content.
|
|
174
|
+
Retain the technical detail needed to assess the result; name unwanted stock
|
|
175
|
+
phrases and contrastive framing when they recur.
|
|
176
|
+
- **Subagent delegation.** Astra may delegate less often than a workflow needs and
|
|
177
|
+
responds well to prompting for how and when to delegate. State when independent
|
|
178
|
+
work is delegated, the intended parallelism, each subagent's scope, and when to keep
|
|
179
|
+
work local, within the existing spawn gates, seats, and budget; "be proactive" does
|
|
180
|
+
not specify delegation. Require legible inter-agent messages with proper spacing.
|
|
109
181
|
- **Testing and verification.** Astra can over-test small coding changes. Name the
|
|
110
|
-
relevant checks and completion bar
|
|
111
|
-
low-impact implementation. Complete required checks
|
|
112
|
-
when a new edit, a failure, or an unresolved concern warrants it.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
`
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
182
|
+
relevant checks and the completion bar; avoid tests that only mirror a reversible,
|
|
183
|
+
low-impact implementation. Complete required checks, and broaden or repeat them only
|
|
184
|
+
when a new edit, a failure, or an unresolved concern warrants it. Required
|
|
185
|
+
repository gates and validation of the changed behavior stay in force.
|
|
186
|
+
|
|
187
|
+
### Reasoning effort
|
|
188
|
+
|
|
189
|
+
- Preserve the current effective effort where the model accepts it: a prompt that ran
|
|
190
|
+
at `none` moves to `low` on Astra or 6.1 Sol, and one that ran at `minimal` starts at
|
|
191
|
+
`low` and is compared on representative tasks. When effort is not `none`, drop
|
|
192
|
+
`temperature`, `top_p`, and the log-probability options (`top_logprobs`; `logprobs`
|
|
193
|
+
in Chat Completions; `message.output_text.logprobs` in a Responses `include`). To
|
|
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.
|
|
205
|
+
- **Under Codex.** `ultra` is a Codex effort, not an API value — the API's effort list
|
|
206
|
+
ends at `max`. It is a different mode, not the next rung: the client catalog
|
|
207
|
+
describes it as maximum reasoning with automatic task delegation, it runs the task
|
|
208
|
+
with subagents, and it suits work that divides into meaningful parts. The catalog
|
|
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.
|
|
144
283
|
|
|
145
284
|
## Shared prompt recipe
|
|
146
285
|
|
|
147
|
-
|
|
286
|
+
Arrange the finished prompt in this order; draft the success criteria first (the
|
|
287
|
+
checklist below); omit any block that would not change the artifact.
|
|
148
288
|
|
|
149
289
|
- `Role` and `Personality` — who is acting and in what register. Omit
|
|
150
290
|
personality when it does not change the output.
|
|
151
291
|
- `Goal` and `Success criteria` — the outcome, and the bar that decides done.
|
|
152
|
-
|
|
153
|
-
the bar, the prompt is not ready.
|
|
292
|
+
Draft them before the rest; if you cannot state the bar, the prompt is not ready.
|
|
154
293
|
- `Constraints` — safety, business, and scope limits that must hold. Real
|
|
155
294
|
constraints only; preferences belong in output shape or nowhere.
|
|
156
295
|
- `Tools` — only task-relevant ones. Each description states what it does, when
|
|
157
296
|
to use it, its important return fields, and its error behavior.
|
|
158
|
-
- `Output` — the artifact shape.
|
|
297
|
+
- `Output` — the artifact shape. Under a forced schema the model writes fields in the
|
|
298
|
+
schema's key order and every field is required; this repository therefore puts
|
|
299
|
+
evidence fields before the verdict they justify (a design choice to confirm on your
|
|
300
|
+
evals) and gives an explicit way to report an incompatible input instead of forcing
|
|
301
|
+
a value. `Stop rules` — when to stop looping and answer.
|
|
159
302
|
|
|
160
303
|
## When to add blocks
|
|
161
304
|
|
|
162
305
|
- Coding and debugging: name the validation to run after changes — targeted
|
|
163
|
-
tests for the changed behavior, type/lint checks, build, a minimal smoke test
|
|
164
|
-
Require prerequisite lookups before edits.
|
|
165
|
-
|
|
166
|
-
|
|
306
|
+
tests for the changed behavior, type/lint checks, build, a minimal smoke test, a
|
|
307
|
+
render of any visual artifact. Require prerequisite lookups before edits. If
|
|
308
|
+
validation cannot run, require the reason and the next best check.
|
|
309
|
+
- Review: carry the general rules and state the evidence bar and the verdict shape
|
|
310
|
+
explicitly.
|
|
167
311
|
- Research and grounded work: cite only retrieved sources, attach citations to
|
|
168
312
|
the claims they support, and label inference separately from supported fact.
|
|
169
|
-
Say to narrow the answer or report missing evidence rather than guess
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
or scope
|
|
313
|
+
Say to narrow the answer or report missing evidence rather than guess; absence
|
|
314
|
+
of evidence is not a factual no.
|
|
315
|
+
- Write-capable work: name the safe actions explicitly (read files, edit code, run
|
|
316
|
+
tests). Require confirmation only for external writes, destructive actions, or scope
|
|
317
|
+
expansion the session has not already authorized, and ask for it as the final step,
|
|
318
|
+
after the work is prepared; earlier or strongly implied authorization stays in force.
|
|
173
319
|
- Implementation plans: requirements, named resources, state transitions,
|
|
174
320
|
validation checks, failure behavior, privacy/security, open questions.
|
|
175
321
|
|
|
176
322
|
## How to choose prompt shape
|
|
177
323
|
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
324
|
+
- A bounded review packet runs as one self-contained run with no inherited
|
|
325
|
+
instructions — the hermetic profile — by default (repository practice).
|
|
326
|
+
- One run when each step depends on the previous one, the task finishes in one short
|
|
327
|
+
run, or agents would contend over the same mutable state. Fan out when the work
|
|
328
|
+
splits into independent bounded tasks, separate context improves focus, or parallel
|
|
329
|
+
exploration cuts wall-clock time; subagents add token usage, so the split has to earn
|
|
330
|
+
it. Within a run, parallelize independent reads and keep dependent steps sequential.
|
|
331
|
+
- Choose reasoning effort from the table and the target model's section. In an API
|
|
332
|
+
dispatch, reasoning and visible output share the output limit and reasoning can
|
|
333
|
+
exhaust it before any visible output appears: budget output capacity for reasoning
|
|
334
|
+
plus the deliverable, and count such exhausted runs when comparing effort levels.
|
|
335
|
+
- Put stable instructions and shared reference material first, changing per-request
|
|
336
|
+
content last, and keep that prefix free of churn. Ordering alone caches nothing: the
|
|
337
|
+
prefix must reach the minimum cacheable length and end at a breakpoint, and implicit
|
|
338
|
+
caching writes through a changing suffix, so on GPT-5.6 and later mark the stable
|
|
339
|
+
boundary with an explicit breakpoint where the implicit one misses it; check the
|
|
340
|
+
reported `cached_tokens` and the cost before and after, and keep the breakpoint only
|
|
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
|
|
345
|
+
self-contained packet rather than resuming a long history that holds context the task
|
|
346
|
+
does not need.
|
|
186
347
|
|
|
187
348
|
## Programmatic tool calling
|
|
188
349
|
|
|
189
350
|
A bounded stage where code processes several tool results and returns a much smaller
|
|
190
|
-
structured result. The qualifier is **reduction**, not parallelism: multiple
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
small,
|
|
198
|
-
|
|
199
|
-
judgment sits between calls.
|
|
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.
|
|
354
|
+
|
|
355
|
+
- Use it for filtering, joining, sorting, ranking, deduplication and aggregation,
|
|
356
|
+
batching across many similar records, repeated deterministic validation, and large
|
|
357
|
+
structured results reducible to a compact schema. Prefer direct calls when one call
|
|
358
|
+
suffices, intermediate outputs are already small, each result may change the next
|
|
359
|
+
decision, an action needs approval, the answer must preserve citations or native
|
|
360
|
+
artifacts, or semantic judgment sits between calls.
|
|
200
361
|
- A generic "use programmatic tool calling efficiently" does nothing. State the bounded
|
|
201
362
|
stage, the eligible tools, the output schema, the retry limit, the stop condition, and
|
|
202
|
-
the handoff back to direct judgment
|
|
203
|
-
say not to switch routes or repeat completed work.
|
|
363
|
+
the handoff back to direct judgment; if both routes are needed, define one handoff
|
|
364
|
+
and say not to switch routes or repeat completed work. A running program cannot
|
|
365
|
+
invoke tool search, so require any deferred tool the stage needs to be discovered
|
|
366
|
+
and loaded before the program starts.
|
|
204
367
|
- **Test both outputs.** The program's result and the final assistant message are
|
|
205
368
|
separate; a program can return the right records while the message drops a required
|
|
206
|
-
field, citation, or caveat.
|
|
207
|
-
|
|
208
|
-
improvement only when the response still passes the existing evals.
|
|
369
|
+
field, citation, or caveat. Compare the two routes on the same tasks, and count lower
|
|
370
|
+
token/latency/cost as an improvement only when the response still passes the evals.
|
|
209
371
|
|
|
210
372
|
## Working rules
|
|
211
373
|
|
|
212
374
|
- One clear task per run, with an explicit output contract.
|
|
213
|
-
- **Read the assembled prompt for contradictions
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
375
|
+
- **Read the assembled prompt for contradictions, and state each authority rule
|
|
376
|
+
once.** The GPT-5.6 guidance reports that GPT-5-class models follow prompt contracts
|
|
377
|
+
closely, so conflicting rules create more instability than missing detail, and that
|
|
378
|
+
repeating "ask first", "do not mutate", or "wait for approval" causes approval
|
|
379
|
+
requests for safe, expected actions. This guide applies both checks to every target
|
|
380
|
+
as repository practice.
|
|
218
381
|
- Name the current layer of work — research, design, implementation, review, external
|
|
219
382
|
coordination — on long-running tasks, so the model does not move between layers
|
|
220
383
|
silently.
|
|
221
384
|
- Persisted reasoning is not a free optimization. It helps while the objective and
|
|
222
385
|
priorities hold; once they move, stale reasoning adds tokens and anchors the model to
|
|
223
|
-
a superseded approach.
|
|
224
|
-
|
|
386
|
+
a superseded approach. Where the model supports `reasoning.context` (the GPT-5.6
|
|
387
|
+
family, which defaults to `all_turns`, and GPT-6.1 Sol; not documented for GPT-6.2),
|
|
388
|
+
set `current_turn` when
|
|
389
|
+
earlier reasoning is no longer relevant. Compact at milestones, not every turn, and
|
|
390
|
+
treat compacted items as opaque.
|
|
225
391
|
- Preserve explicit user values. Where the right value is implicit, give decision
|
|
226
392
|
criteria and let the model reason from context or schema rather than installing
|
|
227
393
|
universal defaults or keyword maps.
|
|
228
|
-
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
- After each tool result, ask whether the
|
|
232
|
-
useful evidence
|
|
233
|
-
|
|
234
|
-
|
|
394
|
+
- Render any visual artifact before finalizing, inspect its layout, clipping, spacing,
|
|
395
|
+
missing content, and visual consistency, and revise until the render meets the
|
|
396
|
+
requirements.
|
|
397
|
+
- After each tool result, ask whether the success criteria — required actions and
|
|
398
|
+
validation included — are now met with useful evidence; if yes, answer. Loop
|
|
399
|
+
minimization never outranks correctness, required evidence, calculations, or
|
|
400
|
+
required citations.
|
|
235
401
|
|
|
236
402
|
## Prompt assembly checklist
|
|
237
403
|
|
|
@@ -246,24 +412,33 @@ or dependent calls alone do not justify it.
|
|
|
246
412
|
|
|
247
413
|
The vendor's GPT-5.6 coding-agent sample reported roughly +10–15% eval score,
|
|
248
414
|
41–66% fewer total tokens, and 33–67% lower cost with leaner system prompts
|
|
249
|
-
(`prompt-guidance-gpt-5p6
|
|
250
|
-
|
|
415
|
+
(`prompt-guidance-gpt-5p6`). These are directional results for that sample, not
|
|
416
|
+
GPT-6 measurements or promised gains on another workload.
|
|
251
417
|
|
|
252
418
|
## Sources
|
|
253
419
|
|
|
254
|
-
The GPT-5.6 section is derived from `prompt-guidance-gpt-5p6
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
420
|
+
The GPT-5.6 section is derived from `prompt-guidance-gpt-5p6`, its facts row from
|
|
421
|
+
`model-guidance-gpt-5p6` and `upgrading-to-gpt-5p6-sol`. The GPT-6 family section is
|
|
422
|
+
derived from `model-guidance-gpt-6-astra` — the GPT-6 prompting document, "Using
|
|
423
|
+
GPT-6", which the Astra URL serves — with per-model facts from `model-gpt-6-astra`,
|
|
424
|
+
`model-gpt-6p1-sol`, `model-gpt-6-sol`, and `model-gpt-6-luna` — the document calls its
|
|
425
|
+
prompts a starting point across the GPT-6 family, so the section is not limited to
|
|
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
|
|
433
|
+
guidance's task, evidence, tool, and validation practices and applies them to the
|
|
434
|
+
GPT-6 and GPT-6.2 targets as this repository's choice, with prompt placement from `prompt-caching`,
|
|
435
|
+
run shape from `responses-multi-agent`, schema-forced output from `structured-outputs`,
|
|
436
|
+
and the programmatic-stage prerequisite from `tools-programmatic-tool-calling`. Model
|
|
437
|
+
behavior claims belong only to their own section; `source_pins` records the exact
|
|
438
|
+
bytes used so later vendor edits can be detected.
|
|
262
439
|
|
|
263
440
|
When a `targets` model changes, re-derive its section from the matching current
|
|
264
|
-
document, check the shared rules for contradictions, and re-run representative
|
|
265
|
-
|
|
266
|
-
`launch/check-prompting-targets.sh`
|
|
267
|
-
|
|
268
|
-
`targets:` satisfies it forever. Whether the guidance was actually re-derived is
|
|
269
|
-
not decidable and is gated nowhere.
|
|
441
|
+
document, check the shared rules for contradictions, and re-run representative evals
|
|
442
|
+
rather than extending another model's behavior claims to it.
|
|
443
|
+
`launch/check-prompting-targets.sh` only checks that every bound model is **named** in
|
|
444
|
+
`targets:`; whether the guidance was re-derived is not decidable and is gated nowhere.
|