Skip to content

Gate 4: Reading pipeline observability#23

Merged
geraldarthurdavis merged 2 commits into
version/v29from
v29/gate-4-reading-pipeline-observability
May 20, 2026
Merged

Gate 4: Reading pipeline observability#23
geraldarthurdavis merged 2 commits into
version/v29from
v29/gate-4-reading-pipeline-observability

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • Add package-owned Reading pipeline observability inventory and telemetry projection for ReadNeedComprehensionSynthesis and ReadFitsFindingSynthesis.
  • Stamp sandbox harness stream events and evidence with pipeline/phase/PTRR/ThricifiedGeneration/prompt/tool/schema metadata and observability coverage.
  • Surface contract-aware telemetry through Terminal harness summaries and shared execution log components.
  • Update V29 spec, parity matrix, docs, Gate 4 checker, and gate-quality CI wiring.

Validation

  • pnpm run check:v29-gate4
  • node scripts/check-bitcode-spec-family.mjs --version V29 --mode draft --current-target V28
  • pnpm --filter @bitcode/pipeline-asset-pack typecheck
  • pnpm --filter @bitcode/pipeline-hosts typecheck
  • pnpm --filter @bitcode/pipeline-asset-pack test
  • pnpm --filter @bitcode/pipeline-hosts test
  • pnpm --dir uapi exec jest --runTestsByPath tests/terminalPipelineHarnessClient.test.ts tests/pipelineExecutionLogHeader.test.tsx --runInBand
  • pnpm exec eslint packages/pipelines/asset-pack/src/reading-pipeline-observability.ts uapi/app/terminal/terminal-pipeline-harness-client.ts uapi/components/base/bitcode/execution/pipeline-execution-log-header.tsx uapi/components/base/bitcode/execution/pipeline-execution-log.tsx --ext .ts,.tsx
  • git diff --check

Add contract-aware observability inventory and projection for ReadNeedComprehensionSynthesis and ReadFitsFindingSynthesis, stamp sandbox harness stream events with PTRR and ThricifiedGeneration metadata, and surface those fields through the Terminal execution stream UI.

Update V29 spec, parity, docs, Gate 4 checker, CI wiring, and focused package/UAPI tests for the Reading telemetry closure criteria.
@vercel

vercel Bot commented May 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
engi-uapi Ready Ready Preview, Comment May 20, 2026 5:47pm

Normalize PTRR step-id parsing so the stricter UAPI TypeScript build receives a concrete string before checking Reading pipeline telemetry step names.

Validation: pnpm -C uapi exec tsc --noEmit; pnpm run check:v29-gate4; pnpm --dir uapi exec jest --runTestsByPath tests/terminalPipelineHarnessClient.test.ts tests/pipelineExecutionLogHeader.test.tsx --runInBand; pnpm exec eslint packages/pipelines/asset-pack/src/reading-pipeline-observability.ts uapi/app/terminal/terminal-pipeline-harness-client.ts uapi/components/base/bitcode/execution/pipeline-execution-log-header.tsx uapi/components/base/bitcode/execution/pipeline-execution-log.tsx --ext .ts,.tsx; git diff --check

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 987595c891

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

inputType: tool?.inputType || matchedTrace?.inputType || null,
outputType: tool?.outputType || matchedTrace?.outputType || null,
returnType: matchedTrace?.returnType || null,
outputSchema: matchedTrace?.outputType || tool?.outputType || matchedTrace?.returnType || null,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prefer tool schema when projecting tool telemetry

Update resolveReadingPipelineTelemetryProjection so outputSchema prefers tool?.outputType before the PTRR step output type. As written, tool events (for example ReadFitsFindingSynthesis.tool.vector-depository-search) are projected with the step schema (DepositoryFitsResult) instead of the tool schema (EmbeddingSearchResult), which makes the new terminal/log observability output report incorrect contract types for tool telemetry.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 845dc71 into version/v29 May 20, 2026
29 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.

1 participant