Skip to content

feat(harness-state): map Claude events to v3 - #474

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-claude-adapter
Closed

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

Conversation

@schickling-assistant

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

Copy link
Copy Markdown
Contributor

Problem

Claude hook state cannot express typed live failures, asks, or conversation identity.

Goal

Map the registered Claude hooks into the shared v3 producer contract without changing v2 bytes.

Decisions

  • StopFailure is idle plus fault, never terminal
  • max_output_tokens is an explicit no-mapping case
  • compact and /clear carry standing conditions in the same process
  • repeatable activity hooks do not refresh conversation clocks
  • only actual permission/question hooks publish asks

Verification

  • cargo test -p st2 --lib claude_session::
  • Linux and Darwin CI passed
  • independent review completed with no remaining P0-P2 findings

Complexity

No new abstraction outside the shared producer API.

Concerns

The v3 path remains dormant until #479.

Friction & bottlenecks

No adapter-specific deviation.

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-claude-adapter branch from 8480f25 to c6e5f42 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