Skip to content

Use the compact GPT-6.2 prompt core for GPT-6 Astra - #7383

Open
code-yeongyu wants to merge 3 commits into
mainfrom
feat/compact-gpt-6-astra-preset
Open

code-yeongyu wants to merge 3 commits into
mainfrom
feat/compact-gpt-6-astra-preset

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

GPT-6 Astra now uses the read-first core already shipped for GPT-6.2. The existing preset name, model dispatch, and user override stay in place. GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Luna keep their original prompt and handoff behavior. The shared prompt asks the session to read and reason for itself, and starts a subagent only when requested by the user or workflow or after it has identified a well-scoped side task. It owns the todo instructions, so the runtime no longer appends a second Task_Management block.

The prompt renders identically to the current GPT-6.2 core for the same surface and tools. OmO already routes both families to the same GPT ultrawork directive; the workflow-requested delegation exception is preserved. OmO picks up the prompt at its next Senpi pin.

Rendered tokens

tiktoken 0.12.0, o200k_base, before and after with the same 10 selected tools, empty project context, cwd /workspace, app name OmO, and TERM=dumb. Counts include model-preset framing and exclude caller context and ultrawork injection.

Surface Before After Reduction
Terminal 3,222 2,263 959 (29.8%)
App 3,261 2,338 923 (28.3%)
Chat 3,146 2,238 908 (28.9%)

Verification

  • 1,078 tests across 36 files passed, including native dispatch, first-turn todo and handoff, and legacy prompt byte checks. Independent tsgo --noEmit -p tsconfig.json, scoped lint and formatting, realm census, and workspace build passed.
  • A built CLI in a disposable home sent the new prompt through the provider boundary with the task tool enabled. No network or provider credentials were used.
  • OmO's GPT ultrawork routing and prompt registry tests passed.

Closes #7382.


Summary by cubic

GPT-6 Astra now renders the compact GPT-6.2 read-first core, while GPT-6 Sol, 6.1 Sol, and Luna keep the standalone gpt-6-astra core and their handoff behavior.

  • The scoping is model-based: only GPT-6 Astra models resolve to the shared core, so the preset name, model dispatch, and user override stay in place for the rest of the family.
  • The shared core owns the todo instructions, so the runtime no longer appends a second Task_Management block under Astra.
  • Rendered tokens drop about 29% across terminal, app, and chat surfaces.
  • Updates the Astra surface tests to assert byte-identical output with GPT-6.2 and drops the old rule-table contract suite.
  • Records the change in the changelog. Closes Share the compact GPT-6.2 prompt core with GPT-6 Astra #7382.

Written for commit 7592315. Summary will update on new commits.

View guided diff Turn on auto-fix

code-yeongyu and others added 3 commits November 23, 2026 04:57
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share the compact GPT-6.2 prompt core with GPT-6 Astra

1 participant