Skip to content

feat(harness-state): map pi events to v3 - #476

Closed
schickling-assistant wants to merge 1 commit into
schickling-assistant/2026-09-05-harness-v3-producer-apifrom
schickling-assistant/2026-09-05-harness-v3-pi-adapter
Closed

feat(harness-state): map pi events to v3#476
schickling-assistant wants to merge 1 commit into
schickling-assistant/2026-09-05-harness-v3-producer-apifrom
schickling-assistant/2026-09-05-harness-v3-pi-adapter

Conversation

@schickling-assistant

@schickling-assistant schickling-assistant commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Problem

The pi channel lacks typed failure edges, and the prior 0.84.2 pin does not emit the typed compaction-failure event.

Goal

Negotiate protocol 2, map real pi event shapes, and retain protocol-1/v2 compatibility.

Decisions

  • keep scalar hello protocol 1 plus offered [1,2]
  • scan the real agent_end.messages tail
  • clear only on stop or length; interrupted and incomplete endings stay silent
  • raise compaction faults only when aborted === false
  • represent ask capability as unknown and conversation as unsupported

Verification

  • cargo test -p st2 --lib pi_channel::
  • TypeScript gate and extension smoke against pi 0.84.4
  • nix flake check --no-build
  • Linux and Darwin CI passed
  • flat source hash independently verified
  • independent review completed with no remaining P0-P2 findings

Complexity

The protocol offer preserves old assets while enabling the typed plane.

Concerns

No writer activation in this PR.

Friction & bottlenecks

An inherited invariant row cites a resource test absent from #464; pi proof references resolve.

Follow-ups

#479 activates the integrated writer.

References

Depends on #470.

Posted on behalf of @schickling
field value
agent_identity dev3.direct.omp.9exwnk6h
session dev3.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

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
schickling-assistant force-pushed the schickling-assistant/2026-09-05-harness-v3-pi-adapter branch from ffb32f8 to 8fb474b Compare September 5, 2026 20:58
@schickling-assistant
schickling-assistant marked this pull request as ready for review September 5, 2026 22:41
@schickling-assistant

Copy link
Copy Markdown
Contributor Author

Parking this PR (closed, branch kept) per decision Q1 incidents-first in seat dev3.direct.omp.43sz6ujq (record 2we9ak / answer 8b0ow1, 2026-09-06): the harness-state v3 stack ships only once a named consumer requirement or incident calls for the fault/ask/conversation axes.

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
field value
agent_identity dev3.direct.omp.43sz6ujq
session dev3.43sz6ujq
agent_persona generalist
agent_supervisor unavailable
agent_tool OMP
agent_tool_version 18.1.7
agent_runtime OMP 18.1.7
tooling_profile dotfiles@39a19af

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