Skip to content

feat(session): persist prompt and harness selection - #2191

Merged
MiMoHardFather merged 4 commits into
mainfrom
feat/persist-session-prompt-harness
Aug 22, 2026
Merged

feat(session): persist prompt and harness selection#2191
MiMoHardFather merged 4 commits into
mainfrom
feat/persist-session-prompt-harness

Conversation

@MiMoHardFather

Copy link
Copy Markdown
Collaborator

Summary

  • persist the first real user query system prompt and harness mode at the session level
  • preserve the resolved selection across loops, compaction, forks, child sessions, and tool resolution
  • add the database migration, generated SDK surface, and regression coverage

Test Plan

  • bun typecheck in packages/opencode
  • 26 affected tests across session, system prompt, GPT tool selection, and agent registry

- lock system prompt and harness mode to the first real user query
- preserve the resolved prompt through session flows and SDK APIs
…ference

fix(session): preserve automatic harness inference
@MiMoHardFather
MiMoHardFather merged commit 55586ff into main Aug 22, 2026
6 checks passed
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.

1 participant