Skip to content

Gate 10: close Read-Need comprehension#15

Merged
geraldarthurdavis merged 2 commits into
version/v28from
v28/gate-10-read-need-comprehension
May 20, 2026
Merged

Gate 10: close Read-Need comprehension#15
geraldarthurdavis merged 2 commits into
version/v28from
v28/gate-10-read-need-comprehension

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • embeds typed bitcode.read.request truth in synthesized Read-Needs, including source context, closure criteria, feedback history, and previous Need lineage for resynthesis
  • exposes ReadNeedComprehensionSynthesis contract trace telemetry for phases, PTRR agents, PTRR steps, and ThricifiedGeneration identifiers
  • gates Terminal Finding Fits on accepted Read-Need truth and records Finding Fits admission evidence when the Need is accepted
  • adds Gate 10 readiness automation and focused package/UAPI route coverage

Validation

  • pnpm run check:v28-gate10
  • pnpm --filter @bitcode/pipeline-asset-pack exec jest --config jest.config.cjs --runTestsByPath src/__tests__/read-need.test.ts src/__tests__/reading-pipeline-contract.test.ts --runInBand
  • pnpm --dir uapi exec jest --runTestsByPath tests/api/readReviewRoute.test.ts tests/terminalPipelineHarnessClient.test.ts tests/terminalDepositReadWorkbench.test.ts --runInBand
  • pnpm --filter @bitcode/pipeline-asset-pack typecheck
  • pnpm --dir uapi exec tsc --noEmit --pretty false
  • pnpm --filter @bitcode/pipeline-hosts typecheck
  • pnpm run check:v28-metadevelopment
  • pnpm run check:v28-gate9 && pnpm run check:v28-gate10 && node scripts/promote-bitcode-canon.mjs --version V28 --commit HEAD --dry-run
  • pnpm --filter @bitcode/pipeline-hosts exec jest --config jest.config.cjs --runInBand
  • pnpm --filter @bitcode/pipeline-asset-pack exec jest --config jest.config.cjs --runInBand
  • pnpm --dir uapi exec jest --runTestsByPath tests/api/pipelineHarnessRoute.test.ts tests/pipelineExecutionLogHeader.test.tsx tests/orbitalsInterfacesPane.test.tsx --runInBand
  • npm --prefix protocol-demonstration run test:v28-mvp-qa
  • node scripts/check-bitcode-pre-commit.mjs
  • git diff --check / git diff --cached --check

Adds the typed bitcode.read.request record inside Read-Needs, preserves feedback and previous-Need lineage during resynthesis, and exposes ReadNeedComprehensionSynthesis contract traces through route telemetry.

Updates Terminal gating so accepted Read-Need truth is recorded with Finding Fits admission evidence, adds focused package and route coverage, and wires the Gate 10 readiness check into V28 gate quality.
@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

There is no GitHub account connected to this Vercel account.

@vercel

vercel Bot commented May 19, 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 19, 2026 5:44pm

@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: d28506b763

ℹ️ 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".

Comment on lines +417 to +418
readNeed: action === 'resynthesize_read_need' ? readNeed : undefined,
previousReadNeed: action === 'resynthesize_read_need' ? readNeed : undefined,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add readNeed to resynthesis callback dependencies

handleSynthesizeReadNeed now sends readNeed/previousReadNeed for resynthesize_read_need, but the callback is memoized without readNeed in its dependency list. After a user synthesizes once and immediately clicks resynthesize (without changing feedback or scenario), this closure can still hold readNeed = null, so the request drops lineage and feedback carry-forward is bypassed as if it were a fresh synthesis. Include readNeed in the useCallback dependencies (or read from functional state) so resynthesis always uses the latest Need.

Useful? React with 👍 / 👎.

Rename the second Reading pipeline and dependent contract fields to ReadFitsFindingSynthesis, including route payloads, Terminal harness types, QA text, and gate checks.

Move the concrete ReadFitsFindingSynthesis PTRR agent files and runtime registry keys under prefixed names so setup, read-comprehension, and AssetPack synthesis identifiers match the V28 pipeline contract.
@geraldarthurdavis
geraldarthurdavis merged commit ddaa805 into version/v28 May 20, 2026
30 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