Skip to content

fix(core): reset steps for promoted prompts#33452

Merged
kitlangton merged 1 commit into
devfrom
fix/v2-prompt-step-reset
Jun 22, 2026
Merged

fix(core): reset steps for promoted prompts#33452
kitlangton merged 1 commit into
devfrom
fix/v2-prompt-step-reset

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • reset the configured agent step allowance whenever newly admitted user input is promoted, including steering prompts
  • describe queue behavior in terms of continuation and process-local Session drains instead of an invented Activity domain concept
  • remove stale 25-turn-cap documentation and tests, then regenerate the SDK/OpenAPI descriptions

Testing

  • bun run typecheck in packages/core
  • bun run typecheck in packages/server
  • bun run test test/session-runner.test.ts in packages/core (80 passed)
  • git diff --check

Review note

The requested parallel simplify agents could not start because their local session database is missing the replacement_seq column. The focused test and typecheck verification above passed.

@kitlangton kitlangton merged commit dc468bd into dev Jun 22, 2026
9 of 10 checks passed
@kitlangton kitlangton deleted the fix/v2-prompt-step-reset branch June 22, 2026 23:01
markjaquith pushed a commit to markjaquith/opencode that referenced this pull request Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant