agent-bios 0.19.4 → 0.20.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 +19 -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 +4 -3
- package/claude/guides/gpt-prompting.md +235 -136
- package/claude/guides/session-distill-workflow.md +93 -43
- package/claude/guides/tooling-gotchas.md +3 -1
- package/codex/guides/claude-prompting.md +475 -234
- package/codex/guides/cli-multi-model-workflow.md +4 -3
- package/codex/guides/gpt-prompting.md +235 -136
- 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 +4 -0
- package/docs/releases/0.20.0.md +102 -0
- package/install.sh +42 -14
- package/launch/agent-launch.py +152 -18
- package/launch/agent-launch.toml +17 -7
- 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 +7939 -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 +38 -7
- 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
|
@@ -80,7 +80,7 @@ Instruction/config reach is per invocation. A rule in AGENTS.md cannot bind a he
|
|
|
80
80
|
| Profile | Reach | Use |
|
|
81
81
|
|---|---|---|
|
|
82
82
|
| inherit | real `CODEX_HOME`, project cwd | full global/project AGENTS.md and user config |
|
|
83
|
-
| hermetic | temporary
|
|
83
|
+
| hermetic | temporary `CODEX_HOME` and empty `HOME`, auth only; user config, user skills, and global or project AGENTS.md excluded, even with `--cd` into a repository | independent lens with prompt-owned criteria |
|
|
84
84
|
| custom | caller-populated home | exact curated instructions/config |
|
|
85
85
|
|
|
86
86
|
- Control instruction home, working directory, config overrides, task prompt, and output schema independently. The repo wrapper owns setup and teardown.
|
|
@@ -239,11 +239,11 @@ Binding (2026-10-21):
|
|
|
239
239
|
|
|
240
240
|
| Slot | Binding | Notes |
|
|
241
241
|
|---|---|---|
|
|
242
|
-
| FRONTIER | Claude Fable 5.
|
|
242
|
+
| FRONTIER | Claude Fable 5.2 · GPT-6 Astra (read-only; max default; launcher may explicitly select Ultra) | bounded hardest decisions and verdicts |
|
|
243
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
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 |
|
|
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-
|
|
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 |
|
|
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 |
|
|
@@ -258,6 +258,7 @@ Codex direct-drive (verified 0.144.1, 2026-07-12):
|
|
|
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.
|
|
261
|
+
- `claude-run --profile hermetic` is the isolated Claude route: one call per fresh cell (`HOME`, `CLAUDE_CONFIG_DIR`, working directory) outside your `HOME`, an environment built from scratch with the subscription token, and `--safe-mode --setting-sources "" --strict-mcp-config --disable-slash-commands --tools ""`. It denies your and the working directory's (and its ancestors') `CLAUDE.md`, skills, memory, MCP servers, hooks and settings; declared instructions enter only through `--append-system-prompt-file` with their sha256, and `REVIEW_CAPTURE_DIR` receives the host's record of what loaded. `--use producing` grants `Read` inside `--manifest` only.
|
|
261
262
|
|
|
262
263
|
Dispatch packets:
|
|
263
264
|
|
|
@@ -9,23 +9,60 @@ 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 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
|
|
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
18
|
derived_at: 2026-10-21
|
|
19
19
|
source_pins:
|
|
20
20
|
- doc: prompt-guidance-gpt-5p6
|
|
21
21
|
sha256: 46181efec9fd1160ef537b0379282a14c1ba32380f2f8149a805128253c1115a
|
|
22
22
|
pinned_at: 2026-10-21
|
|
23
|
+
- doc: model-guidance-gpt-5p6
|
|
24
|
+
sha256: bcbc002991e3ff6491ba5c4d38d8f5c497fa785c0b11ea27d92c9d34676ab460
|
|
25
|
+
pinned_at: 2026-10-21
|
|
26
|
+
- doc: upgrading-to-gpt-5p6-sol
|
|
27
|
+
sha256: d4d2494240bc124bde81d96a9a389f3ed7122deabc4b508c18d26a3ebd20c74f
|
|
28
|
+
pinned_at: 2026-10-21
|
|
23
29
|
- doc: model-guidance-gpt-6-astra
|
|
24
30
|
sha256: ad1aeb3d87e2e61a91233447f7c54b7b18ebfecc4315eeefab15bf5861b3a5c7
|
|
25
31
|
pinned_at: 2026-10-21
|
|
32
|
+
- doc: model-gpt-6-astra
|
|
33
|
+
sha256: b7c19b3bb89e87a392a0f3f8b732c5e7c9f0bf558cbe3022c491575a947fcef8
|
|
34
|
+
pinned_at: 2026-10-21
|
|
35
|
+
- doc: model-gpt-6p1-sol
|
|
36
|
+
sha256: acfe91d19882aaf7bb52877898684614035a947de02f2955c9de905a7efb1362
|
|
37
|
+
pinned_at: 2026-10-21
|
|
38
|
+
- doc: model-gpt-6-sol
|
|
39
|
+
sha256: 3dcb62c16386c40e52438e7fa7fb46b979d13cbfc324d0807246e24ce43345bb
|
|
40
|
+
pinned_at: 2026-10-21
|
|
41
|
+
- doc: model-gpt-6-luna
|
|
42
|
+
sha256: 2e4861582095740f5ea84b14bb18fa476a49c426b397b779b964bc144397b451
|
|
43
|
+
pinned_at: 2026-10-21
|
|
44
|
+
- doc: reasoning
|
|
45
|
+
sha256: 18edc294a66c8eb442c5d0049b9e9d31af2b8e830ca6e41d6bf8798c902f4e14
|
|
46
|
+
pinned_at: 2026-10-21
|
|
47
|
+
- doc: codex-models
|
|
48
|
+
sha256: 77779d7adf13e05df5bf7fa82088ebbaa647d16682a91cea5cd3cad043474f8e
|
|
49
|
+
pinned_at: 2026-10-21
|
|
50
|
+
- doc: prompt-caching
|
|
51
|
+
sha256: 715eacd5f0fe6bd7b238b74b770a6eb5b9a5260f464b5d54066b0bf580d3e995
|
|
52
|
+
pinned_at: 2026-10-21
|
|
53
|
+
- doc: responses-multi-agent
|
|
54
|
+
sha256: b16d53b38bc957a790d39d2a736531addfed88a2c806e2be11aac190ea817a3e
|
|
55
|
+
pinned_at: 2026-10-21
|
|
56
|
+
- doc: structured-outputs
|
|
57
|
+
sha256: 09aa3814251cf168070294ace79d677091de04b330055048392548d604aa7104
|
|
58
|
+
pinned_at: 2026-10-21
|
|
59
|
+
- doc: tools-programmatic-tool-calling
|
|
60
|
+
sha256: fc459e1947d9fd4506c54c2a4f3e202d483a3a12a3488f06b974dbf98c787630
|
|
61
|
+
pinned_at: 2026-10-21
|
|
26
62
|
targets:
|
|
27
63
|
- gpt-6-astra
|
|
28
64
|
- gpt-6.1-sol
|
|
65
|
+
- gpt-6-sol
|
|
29
66
|
- gpt-6-luna
|
|
30
67
|
- gpt-5.6-sol
|
|
31
68
|
- gpt-5.6-terra
|
|
@@ -33,8 +70,8 @@ targets:
|
|
|
33
70
|
verification_focus:
|
|
34
71
|
- prompt changes are validated by re-running the same evals, not by inspection
|
|
35
72
|
- removals are tested one group at a time so the cause of a delta is known
|
|
36
|
-
- effort changes use
|
|
37
|
-
-
|
|
73
|
+
- effort changes use values the target model accepts and are compared against the baseline
|
|
74
|
+
- 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
75
|
---
|
|
39
76
|
|
|
40
77
|
# GPT Prompting Guide
|
|
@@ -51,9 +88,21 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
51
88
|
|
|
52
89
|
| Target | Apply | Pinned source |
|
|
53
90
|
| --- | --- | --- |
|
|
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
|
-
|
|
91
|
+
| `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` | GPT-5.6 | `prompt-guidance-gpt-5p6`, `model-guidance-gpt-5p6` |
|
|
92
|
+
| `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 |
|
|
93
|
+
|
|
94
|
+
## Per-model facts
|
|
95
|
+
|
|
96
|
+
Accepted `reasoning.effort` values and tool-calling routes, from each model's page or
|
|
97
|
+
family guide. An omitted effort takes the documented default.
|
|
98
|
+
|
|
99
|
+
| Model | `reasoning.effort` | Tool calling | Vendor positioning |
|
|
100
|
+
| --- | --- | --- | --- |
|
|
101
|
+
| `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 |
|
|
102
|
+
| `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 |
|
|
104
|
+
| `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
|
+
| `gpt-6-luna` | `none`, `low`, `medium` (default), `high`, `xhigh`, `max` | as `gpt-6-sol` | focused, high-volume tasks |
|
|
57
106
|
|
|
58
107
|
## GPT-5.6
|
|
59
108
|
|
|
@@ -62,8 +111,8 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
62
111
|
one group of repeated instructions, examples, or irrelevant tools at a time and
|
|
63
112
|
re-run the same evals. Keep a process instruction when it changes behavior.
|
|
64
113
|
- **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
|
-
|
|
114
|
+
brevity instructions before carrying them over; they can make answers too thin, and
|
|
115
|
+
stay only when they produce the required result. Where the API exposes
|
|
67
116
|
`text.verbosity`, use it for the default detail level and the prompt for the
|
|
68
117
|
task's length, structure, and required content. Shorten repetition before evidence,
|
|
69
118
|
decisions, caveats, or next actions.
|
|
@@ -74,115 +123,156 @@ permission policy; they do not change tool permissions or approval requirements.
|
|
|
74
123
|
- **Tune effort after the prompt.** Preserve the current effective effort as the
|
|
75
124
|
baseline, then compare it and one supported level lower on representative tasks.
|
|
76
125
|
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
|
-
|
|
126
|
+
point; use `high`/`xhigh` when evals show a gain and reserve `max` for the hardest
|
|
127
|
+
quality-first work. The table above lists the accepted values; verify the host.
|
|
128
|
+
|
|
129
|
+
## GPT-6 family
|
|
130
|
+
|
|
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
|
|
134
|
+
below are therefore Astra observations; for `gpt-6.1-sol`, `gpt-6-sol`, and
|
|
135
|
+
`gpt-6-luna` the vendor states no model-specific prompting behavior, and what differs
|
|
136
|
+
per model is the API facts in the table above, taken from each model page. Re-derive
|
|
137
|
+
this section when a GPT-6 model other than Astra gets a prompting document of its own.
|
|
138
|
+
|
|
139
|
+
- **Initiative and follow-through.** Astra is more likely to ask when input could
|
|
140
|
+
materially change the result, and asks non-blocking questions while working. For
|
|
141
|
+
action requests, prompt it to infer routine details from context and complete
|
|
142
|
+
authorized work, including validation, before answering; a plan or an offer to
|
|
143
|
+
continue does not complete an action request. Ask when missing information changes
|
|
144
|
+
the outcome and continue independent authorized work while waiting. If a later step
|
|
145
|
+
needs approval, prepare the concrete, reviewable result first. Keep existing
|
|
146
|
+
permission boundaries; add no approval steps on hypothetical risk alone. Astra stays
|
|
147
|
+
coherent over long tasks better than GPT-5.6 Sol and earlier models.
|
|
148
|
+
- **Instruction and skill sensitivity.** Astra follows longer instructions better and
|
|
149
|
+
is more sensitive to context: unclear or conflicting guidance in a skill file can
|
|
150
|
+
make it pause and block work early. Audit the loaded skills and instruction files,
|
|
151
|
+
and make explicit user instructions outrank skill workflow preferences within
|
|
152
|
+
higher-priority instructions and permission constraints. When a skill causes a
|
|
153
|
+
pause, an approval request, or unfinished work, require it to name and link the
|
|
154
|
+
exact skill file, quote the rule, and say whether that rule is explicit or inferred;
|
|
155
|
+
an inferred reading of an optional guideline is not a requirement.
|
|
97
156
|
- **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
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
157
|
+
recurring phrases across sessions. Specify length and structure for the audience.
|
|
158
|
+
For plain prose, request concise paragraphs, familiar words, active verbs, and the
|
|
159
|
+
main point first, with lists only for parallel, sequential, or comparable content.
|
|
160
|
+
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.
|
|
164
|
+
- **Subagent delegation.** Astra may delegate less often than a workflow needs and
|
|
165
|
+
responds well to prompting for how and when to delegate. State when independent
|
|
166
|
+
work is delegated, the intended parallelism, each subagent's scope, and when to keep
|
|
167
|
+
work local, within the existing spawn gates, seats, and budget; "be proactive" does
|
|
168
|
+
not specify delegation. Require legible inter-agent messages with proper spacing.
|
|
109
169
|
- **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
|
-
GPT-6
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
170
|
+
relevant checks and the completion bar; avoid tests that only mirror a reversible,
|
|
171
|
+
low-impact implementation. Complete required checks, and broaden or repeat them only
|
|
172
|
+
when a new edit, a failure, or an unresolved concern warrants it. Required
|
|
173
|
+
repository gates and validation of the changed behavior stay in force.
|
|
174
|
+
|
|
175
|
+
### Reasoning effort
|
|
176
|
+
|
|
177
|
+
- Preserve the current effective effort where the model accepts it: a prompt that ran
|
|
178
|
+
at `none` moves to `low` on Astra or 6.1 Sol, and one that ran at `minimal` starts at
|
|
179
|
+
`low` and is compared on representative tasks. When effort is not `none`, drop
|
|
180
|
+
`temperature`, `top_p`, and the log-probability options (`top_logprobs`; `logprobs`
|
|
181
|
+
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.
|
|
190
|
+
- **Under Codex.** `ultra` is a Codex effort, not an API value — the API's effort list
|
|
191
|
+
ends at `max`. It is a different mode, not the next rung: the client catalog
|
|
192
|
+
describes it as maximum reasoning with automatic task delegation, it runs the task
|
|
193
|
+
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).
|
|
144
205
|
|
|
145
206
|
## Shared prompt recipe
|
|
146
207
|
|
|
147
|
-
|
|
208
|
+
Arrange the finished prompt in this order; draft the success criteria first (the
|
|
209
|
+
checklist below); omit any block that would not change the artifact.
|
|
148
210
|
|
|
149
211
|
- `Role` and `Personality` — who is acting and in what register. Omit
|
|
150
212
|
personality when it does not change the output.
|
|
151
213
|
- `Goal` and `Success criteria` — the outcome, and the bar that decides done.
|
|
152
|
-
|
|
153
|
-
the bar, the prompt is not ready.
|
|
214
|
+
Draft them before the rest; if you cannot state the bar, the prompt is not ready.
|
|
154
215
|
- `Constraints` — safety, business, and scope limits that must hold. Real
|
|
155
216
|
constraints only; preferences belong in output shape or nowhere.
|
|
156
217
|
- `Tools` — only task-relevant ones. Each description states what it does, when
|
|
157
218
|
to use it, its important return fields, and its error behavior.
|
|
158
|
-
- `Output` — the artifact shape.
|
|
219
|
+
- `Output` — the artifact shape. Under a forced schema the model writes fields in the
|
|
220
|
+
schema's key order and every field is required; this repository therefore puts
|
|
221
|
+
evidence fields before the verdict they justify (a design choice to confirm on your
|
|
222
|
+
evals) and gives an explicit way to report an incompatible input instead of forcing
|
|
223
|
+
a value. `Stop rules` — when to stop looping and answer.
|
|
159
224
|
|
|
160
225
|
## When to add blocks
|
|
161
226
|
|
|
162
227
|
- 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
|
-
|
|
228
|
+
tests for the changed behavior, type/lint checks, build, a minimal smoke test, a
|
|
229
|
+
render of any visual artifact. Require prerequisite lookups before edits. If
|
|
230
|
+
validation cannot run, require the reason and the next best check.
|
|
231
|
+
- Review: carry the general rules and state the evidence bar and the verdict shape
|
|
232
|
+
explicitly.
|
|
167
233
|
- Research and grounded work: cite only retrieved sources, attach citations to
|
|
168
234
|
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
|
|
235
|
+
Say to narrow the answer or report missing evidence rather than guess; absence
|
|
236
|
+
of evidence is not a factual no.
|
|
237
|
+
- Write-capable work: name the safe actions explicitly (read files, edit code, run
|
|
238
|
+
tests). Require confirmation only for external writes, destructive actions, or scope
|
|
239
|
+
expansion the session has not already authorized, and ask for it as the final step,
|
|
240
|
+
after the work is prepared; earlier or strongly implied authorization stays in force.
|
|
173
241
|
- Implementation plans: requirements, named resources, state transitions,
|
|
174
242
|
validation checks, failure behavior, privacy/security, open questions.
|
|
175
243
|
|
|
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
|
+
|
|
176
253
|
## How to choose prompt shape
|
|
177
254
|
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
255
|
+
- A bounded review packet runs as one self-contained run with no inherited
|
|
256
|
+
instructions — the hermetic profile — by default (repository practice).
|
|
257
|
+
- One run when each step depends on the previous one, the task finishes in one short
|
|
258
|
+
run, or agents would contend over the same mutable state. Fan out when the work
|
|
259
|
+
splits into independent bounded tasks, separate context improves focus, or parallel
|
|
260
|
+
exploration cuts wall-clock time; subagents add token usage, so the split has to earn
|
|
261
|
+
it. Within a run, parallelize independent reads and keep dependent steps sequential.
|
|
262
|
+
- Choose reasoning effort from the table and the target model's section. In an API
|
|
263
|
+
dispatch, reasoning and visible output share the output limit and reasoning can
|
|
264
|
+
exhaust it before any visible output appears: budget output capacity for reasoning
|
|
265
|
+
plus the deliverable, and count such exhausted runs when comparing effort levels.
|
|
266
|
+
- Put stable instructions and shared reference material first, changing per-request
|
|
267
|
+
content last, and keep that prefix free of churn. Ordering alone caches nothing: the
|
|
268
|
+
prefix must reach the minimum cacheable length and end at a breakpoint, and implicit
|
|
269
|
+
caching writes through a changing suffix, so on GPT-5.6 and later mark the stable
|
|
270
|
+
boundary with an explicit breakpoint where the implicit one misses it; check the
|
|
271
|
+
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
|
|
274
|
+
self-contained packet rather than resuming a long history that holds context the task
|
|
275
|
+
does not need.
|
|
186
276
|
|
|
187
277
|
## Programmatic tool calling
|
|
188
278
|
|
|
@@ -190,48 +280,51 @@ A bounded stage where code processes several tool results and returns a much sma
|
|
|
190
280
|
structured result. The qualifier is **reduction**, not parallelism: multiple, parallel,
|
|
191
281
|
or dependent calls alone do not justify it.
|
|
192
282
|
|
|
193
|
-
- Use it for filtering, joining, sorting, ranking, deduplication and aggregation
|
|
194
|
-
batching across many similar records
|
|
195
|
-
structured results reducible to a compact schema.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
judgment sits between calls.
|
|
283
|
+
- Use it for filtering, joining, sorting, ranking, deduplication and aggregation,
|
|
284
|
+
batching across many similar records, repeated deterministic validation, and large
|
|
285
|
+
structured results reducible to a compact schema. Prefer direct calls when one call
|
|
286
|
+
suffices, intermediate outputs are already small, each result may change the next
|
|
287
|
+
decision, an action needs approval, the answer must preserve citations or native
|
|
288
|
+
artifacts, or semantic judgment sits between calls.
|
|
200
289
|
- A generic "use programmatic tool calling efficiently" does nothing. State the bounded
|
|
201
290
|
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.
|
|
291
|
+
the handoff back to direct judgment; if both routes are needed, define one handoff
|
|
292
|
+
and say not to switch routes or repeat completed work. A running program cannot
|
|
293
|
+
invoke tool search, so require any deferred tool the stage needs to be discovered
|
|
294
|
+
and loaded before the program starts.
|
|
204
295
|
- **Test both outputs.** The program's result and the final assistant message are
|
|
205
296
|
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.
|
|
297
|
+
field, citation, or caveat. Compare the two routes on the same tasks, and count lower
|
|
298
|
+
token/latency/cost as an improvement only when the response still passes the evals.
|
|
209
299
|
|
|
210
300
|
## Working rules
|
|
211
301
|
|
|
212
302
|
- One clear task per run, with an explicit output contract.
|
|
213
|
-
- **Read the assembled prompt for contradictions
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
303
|
+
- **Read the assembled prompt for contradictions, and state each authority rule
|
|
304
|
+
once.** The GPT-5.6 guidance reports that GPT-5-class models follow prompt contracts
|
|
305
|
+
closely, so conflicting rules create more instability than missing detail, and that
|
|
306
|
+
repeating "ask first", "do not mutate", or "wait for approval" causes approval
|
|
307
|
+
requests for safe, expected actions. This guide applies both checks to every target
|
|
308
|
+
as repository practice.
|
|
218
309
|
- Name the current layer of work — research, design, implementation, review, external
|
|
219
310
|
coordination — on long-running tasks, so the model does not move between layers
|
|
220
311
|
silently.
|
|
221
312
|
- Persisted reasoning is not a free optimization. It helps while the objective and
|
|
222
313
|
priorities hold; once they move, stale reasoning adds tokens and anchors the model to
|
|
223
|
-
a superseded approach.
|
|
224
|
-
|
|
314
|
+
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
|
|
316
|
+
earlier reasoning is no longer relevant. Compact at milestones, not every turn, and
|
|
317
|
+
treat compacted items as opaque.
|
|
225
318
|
- Preserve explicit user values. Where the right value is implicit, give decision
|
|
226
319
|
criteria and let the model reason from context or schema rather than installing
|
|
227
320
|
universal defaults or keyword maps.
|
|
228
|
-
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
- After each tool result, ask whether the
|
|
232
|
-
useful evidence
|
|
233
|
-
|
|
234
|
-
|
|
321
|
+
- Render any visual artifact before finalizing, inspect its layout, clipping, spacing,
|
|
322
|
+
missing content, and visual consistency, and revise until the render meets the
|
|
323
|
+
requirements.
|
|
324
|
+
- After each tool result, ask whether the success criteria — required actions and
|
|
325
|
+
validation included — are now met with useful evidence; if yes, answer. Loop
|
|
326
|
+
minimization never outranks correctness, required evidence, calculations, or
|
|
327
|
+
required citations.
|
|
235
328
|
|
|
236
329
|
## Prompt assembly checklist
|
|
237
330
|
|
|
@@ -246,24 +339,30 @@ or dependent calls alone do not justify it.
|
|
|
246
339
|
|
|
247
340
|
The vendor's GPT-5.6 coding-agent sample reported roughly +10–15% eval score,
|
|
248
341
|
41–66% fewer total tokens, and 33–67% lower cost with leaner system prompts
|
|
249
|
-
(`prompt-guidance-gpt-5p6
|
|
250
|
-
|
|
342
|
+
(`prompt-guidance-gpt-5p6`). These are directional results for that sample, not
|
|
343
|
+
GPT-6 measurements or promised gains on another workload.
|
|
251
344
|
|
|
252
345
|
## Sources
|
|
253
346
|
|
|
254
|
-
The GPT-5.6 section is derived from `prompt-guidance-gpt-5p6
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
347
|
+
The GPT-5.6 section is derived from `prompt-guidance-gpt-5p6`, its facts row from
|
|
348
|
+
`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
|
|
350
|
+
GPT-6", which the Astra URL serves — with per-model facts from `model-gpt-6-astra`,
|
|
351
|
+
`model-gpt-6p1-sol`, `model-gpt-6-sol`, and `model-gpt-6-luna` — the document calls its
|
|
352
|
+
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
|
|
357
|
+
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`,
|
|
359
|
+
run shape from `responses-multi-agent`, schema-forced output from `structured-outputs`,
|
|
360
|
+
and the programmatic-stage prerequisite from `tools-programmatic-tool-calling`. Model
|
|
361
|
+
behavior claims belong only to their own section; `source_pins` records the exact
|
|
362
|
+
bytes used so later vendor edits can be detected.
|
|
262
363
|
|
|
263
364
|
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.
|
|
365
|
+
document, check the shared rules for contradictions, and re-run representative evals
|
|
366
|
+
rather than extending another model's behavior claims to it.
|
|
367
|
+
`launch/check-prompting-targets.sh` only checks that every bound model is **named** in
|
|
368
|
+
`targets:`; whether the guidance was re-derived is not decidable and is gated nowhere.
|