Skip to content

Emit harness session handoff packets#1491

Open
simple-agent-manager[bot] wants to merge 1 commit into
harness/developfrom
sam/implement-session-end-handoff-01kwph
Open

Emit harness session handoff packets#1491
simple-agent-manager[bot] wants to merge 1 commit into
harness/developfrom
sam/implement-session-end-handoff-01kwph

Conversation

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Summary

  • Add packages/harness/handoff with Go structs matching the platform HandoffPacket JSON shape
  • Generate a structured handoff at terminal session state via the existing llm.Provider abstraction, with mechanical fallback on LLM failure or malformed JSON
  • Persist handoff JSON from the CLI exit path and print its location; derive artifact refs for transcript, modified files, and git branch
  • Fix ACP mock-provider final-message updates by only enabling streaming mode when the provider supports streaming

Verification

  • cd packages/harness && go test ./...

Coordination

  • Target branch: harness/develop
  • Do not merge / do not mark ready for self-merge. Leaving open for orchestrator review because parallel harness work is being coordinated.
  • Staging deployment verification intentionally skipped: harness-only Go changes; Go tests with mock LLM client are the gate.

@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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