feat(harness-state): map OpenCode events to v3 - #477
Closed
schickling-assistant wants to merge 1 commit into
Conversation
agent-identity: dev3.direct.omp.9exwnk6h agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.1.7 agent-runtime: OMP 18.1.7 tooling-profile: dotfiles@931583a
schickling-assistant
force-pushed
the
schickling-assistant/2026-09-05-harness-v3-opencode-adapter
branch
from
September 5, 2026 20:58
c9a15f5 to
c5fd792
Compare
schickling-assistant
marked this pull request as ready for review
September 5, 2026 22:41
Contributor
Author
|
Parking this PR (closed, branch kept) per decision Q1 Findings that shape re-entry (evidence: an independent 12-reviewer pass + orchestrator reports in the orch worktree, tmp/orch-reconcile/reports/{stack,migrations,complexity}.md):
Posted on behalf of @schickling
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
OpenCode's event stream and retries can lose fault/clear evidence across reconnects, and legacy terminal writes cannot bootstrap v3.
Goal
Make the event reducer publish typed v3 state while preserving ordering, reseed authority, and v2 bytes.
Decisions
Verification
cargo test -p st2 --lib opencode_session::(56 passed)Complexity
The reducer owns ordering and reconnect reconciliation; no parallel state machine was added.
Concerns
The exact legacy path remains until #479.
Friction & bottlenecks
No adapter-specific deviation.
Follow-ups
#479 activates the integrated writer.
References
Depends on #470.
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimetooling_profile