GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(opencode): port Astra system prompt from v2 by rekram1-node · Pull Request #48057 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Sep 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Copy the Astra system prompt from V2 commit dbd9b18 into the existing session prompt directory.
  • Select the prompt for GPT-6 models using the current model API ID routing.
  • Inline V2 shell guidance, omitting edit/write guidance for the apply_patch toolset. No additional patch instruction is added.

Verification

  • Verified exact equality with the V2 prompt rendered without edit/write tools.
  • Verified Astra routing and existing GPT/Codex routing.
  • bun test test/session/system.test.ts (6 passed)
  • bun typecheck (packages/opencode)
  • git diff --check

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rekram1-node
feat(opencode): port Astra system prompt from v2
1eb06bd
@rekram1-node
rekram1-node merged commit 5cd8e68 into dev Sep 9, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the astra-prompt branch September 9, 2026 02:27
@Rocklis Rocklis mentioned this pull request Sep 9, 2026
fix(opencode): omit channel prompt for chat models #47355
Closed
3 of 6 tasks
1056674754 added a commit to 1056674754/opencode that referenced this pull request Sep 9, 2026
@1056674754 @claude
chore: merge OpenCode v1.18.30-sscity
16220da
Upstream v1.18.29 (1674747, merged at 18a4845) -> v1.18.30 (3104c14),
28 commits / 105 files. Staged delta vs pre-merge fork HEAD is identical to
the upstream tag-to-tag diff (105 files, +1676/-403), confirming a clean
adoption.

Functional changes:
- feat(opencode): port Astra system prompt from v2 (anomalyco#48057) — new
  session/prompt/gpt-astra.txt wired through system.ts; fork's system
  transforms live in the openchamber plugin, no overlap.
- fix: preserve Bedrock DeepSeek model ids (anomalyco#34441) — provider.ts Bedrock
  loader passes arn: model ids through unmodified and tightens the
  cross-region prefix match from "deepseek" to "deepseek.r1"; inside the
  custom Azure/Bedrock loader region, disjoint from the fork snapshot
  architecture.
- fix(provider): preserve explicit OpenAI service tiers (anomalyco#47671).
- fix(opencode): add GitLab reasoning variants (anomalyco#47306) — transform.ts
  reasoningEffort now routes gitlab gpt-family to reasoningEffort and
  claude-family to adaptive thinking; disjoint from the fork GLM/ZhiPu
  normalization block, which remains intact (+77 fork-only lines).
- SDK bumps: @ai-sdk/openai 3.0.88, @ai-sdk/azure 3.0.93,
  gitlab-ai-provider 6.15.0 (8 packages installed via bun install).
- console: oauth client metadata document (anomalyco#47737), Chatwoot enterprise
  form (anomalyco#47488), openai usage normalization + tier threshold (anomalyco#47342),
  localized refund FAQs, zen model table updates (muse spark); go.mdx
  client session compatibility docs incl. zh translation.

Conflicts resolved: 29 package.json version bumps (rebranded 1.18.30-sscity
with a version-generic pattern after the v1.18.27 incident), bun.lock (took
upstream, rebranded workspace entries via bun install). Fork deltas
verified intact vs v1.18.30: ProviderSnapshot architecture (+492 in
provider.ts), deferred snapshot init, GLM normalization (+77 in
transform.ts), config getFresh/commitFresh (+14). Tests: provider,
transform, bedrock, config, v2, azure plugin, session retry/llm — 1058
pass / 0 fail across 15 files (22 new upstream tests included); typecheck
clean.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@A-x6 A-x6 mentioned this pull request Sep 13, 2026
feat(bolt): upstream picks, memory guard, and typecheck fixes OpenBrowserCompany/bolt-cli#408
Merged
@github-actions github-actions Bot mentioned this pull request Sep 14, 2026
Informe upstream (semanal) jaminsmoke/Jarvis#52
Open
logic10492 added a commit to coding-chimera/chimera that referenced this pull request Sep 17, 2026
@logic10492
feat(session): add Astra prompt layer for the gpt-6 family
5c64c98
Port upstream opencode 5cd8e68fdd (anomalyco/opencode#48057, user-approved
triage decision #13): the 46-line Astra system prompt for gpt-6-family
models, fetched from the upstream sha via raw (commit is outside the local
mirror window).

Brand rewrite per fork naming rules: the only OpenCode mention (line 1
identity claim) is rewritten to "powered by Chimera, a coding agent
harness"; the remaining 45 lines are brand-neutral and kept verbatim.

Registration follows the fork's data-driven layer table instead of the
upstream if-chain: one SPECIALIZATIONS entry keyed "model/gpt-astra"
(substring key "gpt-6" on the api id), placed before model/codex and
model/gpt so the first-match-wins order mirrors upstream, where the
gpt-6 check precedes both (a codex-namespaced gpt-6 lands on Astra).

Default invariance: "gpt-6" is not a substring of any current model id
(gpt-5.6* verified), so with no gpt-6-family model the assembly is
byte-identical to before. Anchor tests pin both directions: gpt-6 family
-> Astra segment keys/markers, and 11 representative non-gpt-6 ids ->
unchanged segment attribution with zero Astra content.

Upstream-Sha: 5cd8e68fdd
rossigee pushed a commit to rossigee/opencode that referenced this pull request Sep 18, 2026
@rekram1-node @rossigee
feat(opencode): port Astra system prompt from v2 (anomalyco#48057)
2a70b53
mjmartinezsoriano pushed a commit to mjmartinezsoriano/opencode that referenced this pull request Sep 21, 2026
@rekram1-node @databamario
feat(opencode): port Astra system prompt from v2 (anomalyco#48057)
4b5ccb2
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@rekram1-node
feat(opencode): port Astra system prompt from v2 (anomalyco#48057)
2932e2a
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@rekram1-node
feat(opencode): port Astra system prompt from v2 (anomalyco#48057)
0ec706b
logic10492 added a commit to coding-chimera/chimera that referenced this pull request Oct 13, 2026
@logic10492
feat(session): add Astra prompt layer for the gpt-6 family
0ccb51f
Port upstream opencode 5cd8e68fdd (anomalyco/opencode#48057, user-approved
triage decision #13): the 46-line Astra system prompt for gpt-6-family
models, fetched from the upstream sha via raw (commit is outside the local
mirror window).

Brand rewrite per fork naming rules: the only OpenCode mention (line 1
identity claim) is rewritten to "powered by Chimera, a coding agent
harness"; the remaining 45 lines are brand-neutral and kept verbatim.

Registration follows the fork's data-driven layer table instead of the
upstream if-chain: one SPECIALIZATIONS entry keyed "model/gpt-astra"
(substring key "gpt-6" on the api id), placed before model/codex and
model/gpt so the first-match-wins order mirrors upstream, where the
gpt-6 check precedes both (a codex-namespaced gpt-6 lands on Astra).

Default invariance: "gpt-6" is not a substring of any current model id
(gpt-5.6* verified), so with no gpt-6-family model the assembly is
byte-identical to before. Anchor tests pin both directions: gpt-6 family
-> Astra segment keys/markers, and 11 representative non-gpt-6 ids ->
unchanged segment attribution with zero Astra content.

Upstream-Sha: 5cd8e68fdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.