Skip to content

feat(harness-state): add v3 producer API - #470

Closed
schickling-assistant wants to merge 2 commits into
schickling-assistant/2026-09-05-harness-state-v3-foundationfrom
schickling-assistant/2026-09-05-harness-v3-producer-api
Closed

feat(harness-state): add v3 producer API#470
schickling-assistant wants to merge 2 commits into
schickling-assistant/2026-09-05-harness-state-v3-foundationfrom
schickling-assistant/2026-09-05-harness-v3-producer-api

Conversation

@schickling-assistant

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

Copy link
Copy Markdown
Contributor

Problem

Five adapters need one typed write contract before v3 bytes can be activated safely.

Goal

Provide frames, faults, exact clears, conversations, and typed refusals while production remains on v2.

Decisions

  • one writer selector only
  • closed fault categories with provider-prefixed open codes
  • exact (category, code) paired clears
  • positive typed progress for clear-all
  • preserve PTY fences and semantic fault clocks

Verification

  • 66 harness-state tests passed
  • Linux and Darwin CI passed
  • Darwin-only heartbeat timing failure was root-caused and replaced by a deterministic same-iteration proof
  • independent review completed with no remaining P0-P2 findings

Complexity

The API centralizes validation and refusal semantics that would otherwise diverge across five adapters.

Concerns

Condition operations intentionally refuse on v2; adapters retain their exact legacy path until #479.

Friction & bottlenecks

Draft CI is long-running on both architectures; the final run passed.

Follow-ups

Adapter PRs #474-#478 and activation PR #479.

References

Depends on #469.

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
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

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