Skip to content

GEN-2138: Ingest Claude Code stream-json as the primary job trace - #192

Merged
exe-dev-github-integration[bot] merged 2 commits into
mainfrom
gen-2138-claude-stream
Oct 9, 2026
Merged

exe-dev-github-integration[bot] merged 2 commits into
mainfrom
gen-2138-claude-stream

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Claude jobs now use print-mode stream-json stdout as their primary live and terminal trace. A Python 3 stdlib supervisor normalizes assistant text/thinking, all tool calls/results (preserving IDs, names and error flags), lifecycle/error records and usage into the existing Factorize JSONL contract, while stderr remains separate.

Subagent text forwarding and partial-message forwarding stay disabled to prevent duplicate root activity; emitted parent IDs are retained. Native transcripts remain audit/recovery artifacts, and historical runs retain native discovery. Unknown/malformed/partial/oversized records are bounded and diagnosable; signals and child exit status are preserved. No final-answer json-schema option is used.

Validation: npm run check passed across all workspaces (API boundaries, TypeScript, app tests, Worker dry-run builds); PostgreSQL-backed trace reconciliation plus Claude boundary and finalization tests passed (20 tests). Version-pinned synthetic Claude Code 2.1.293 fixtures cover tools, Agent activity and native fallback. Guest runtime requires Python 3.

Closes GEN-2138.

@linear

linear Bot commented Oct 9, 2026

Copy link
Copy Markdown

GEN-2138

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 9, 2026
@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 9, 2026
@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit e841dd6 Oct 9, 2026
2 checks passed
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.

2 participants