Skip to content

V38 Canonical Promotion: Inference Correctness#135

Merged
geraldarthurdavis merged 25 commits into
mainfrom
version/v38
May 25, 2026
Merged

V38 Canonical Promotion: Inference Correctness#135
geraldarthurdavis merged 25 commits into
mainfrom
version/v38

Conversation

@geraldarthurdavis

Copy link
Copy Markdown
Contributor

Summary

  • promotes V38 from the completed version branch after Gate 11 promotion readiness closure
  • triggers the V38 canon promotion workflow to validate all V38 gates and generate the V38 canonical proof artifacts
  • expected promotion output is the standalone BITCODE_SPEC.txt pointer update to V38 plus BITCODE_SPEC_V38_PROVEN.md, runtime posture updates, and .bitcode V38 promotion artifacts

Gate Closure Evidence

  • V38 Gate 1 through Gate 11 are merged into version/v38
  • latest gate closure: V38 Gate 11: Promotion Readiness #134, V38 Gate 11: Promotion Readiness
  • local promotion dry-run passed: node scripts/promote-bitcode-canon.mjs --version V38 --commit HEAD --dry-run

Creates the V38 draft specification family over active V37, preserving the loose main-committed V38 inference notes as source-auditable gate scope.

Adds the Gate 1 checker, package script, workflow posture, roadmap, PR-template, README, protocol package, and demonstration documentation updates for V37 active / V38 draft work.

Validations run: pnpm run check:v38-gate1; node scripts/check-bitcode-spec-family.mjs --version V38 --mode draft --current-target V37; node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V37 --draft-target V38; node scripts/check-bitcode-canonical-inputs.mjs --current-target V37; node scripts/run-bitcode-spec-quality.mjs --mode strict-version --version V38; git diff --check.
…stack-roadmap-opening

V38 Gate 1: Inference Stack Roadmap Opening
Add package-backed V38InferenceSurfaceInventory source, generator, generated artifact, protocol test, and Gate 2 checker for Reading, Conversation, prompt, tool, interface, and execution inference surfaces.

Wire Gate 2 into package scripts and gate/canon workflows, and update V38 spec family, roadmap, README, and protocol package docs with the source-safe inventory counts and closure anchor.

Validation: pnpm run check:v38-gate2; node scripts/generate-v38-inference-surface-inventory.mjs --check; node --test --test-force-exit packages/protocol/test/v38-inference-surface-inventory.test.js; node scripts/check-bitcode-spec-family.mjs --version V38 --mode draft --current-target V37; node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V37 --draft-target V38; node scripts/check-bitcode-canonical-inputs.mjs --current-target V37; node scripts/run-bitcode-spec-quality.mjs --mode strict-version --version V38; pnpm run check:v38-gate1; git diff --check.
…surface-inventory

V38 Gate 2: Inference Surface Inventory
Add the package-backed V38PtrrFailsafeThricifiedStack contract and deterministic source-safe artifact binding practical PTRR agents to FailsafeGenerationSequence and ThricifiedGeneration.

Wire generator, checker, protocol tests, exports, workflows, roadmap, README, and V38 spec family updates so Gate 3 closes with 69 source predicates and Gate 2's 52/156/468 call-stack count law.

Validated with check:v38-gate3, Gate 1/2 checks, artifact checks, V38 spec family/posture/canonical-input checks, strict V38 spec quality, protocol typecheck, full protocol tests, diff hygiene, and changed-file secret scan.
…afe-thricified-stack

V38 Gate 3: PTRR Failsafe Thricified Stack
Add the source-safe V38PromptBenchmarkReport artifact for PromptPart and complete Prompt benchmarking across Reading, Conversation, and tool-definition surfaces.

Wire the Gate 4 generator, checker, protocol exports, workflow checks, and protocol tests; update V38 specifications, roadmap, and documentation with the closure anchor.

Validation: pnpm run check:v38-gate1; pnpm run check:v38-gate2; pnpm run check:v38-gate3; pnpm run check:v38-gate4; node --test --test-force-exit packages/protocol/test/v38-prompt-benchmark-report.test.js; pnpm --filter @bitcode/protocol typecheck; pnpm --filter @bitcode/protocol test; node scripts/run-bitcode-spec-quality.mjs --mode strict-version --version V38; pnpm --dir packages/prompts exec tsx src/benchmarking/cli.ts benchmark:report; git diff --cached --check.
…-prompt-benchmarking

V38 Gate 4: PromptPart And Prompt Benchmarking
Adds the package-backed V38InferenceTelemetryDisclosureReport and deterministic disclosure-boundary artifact for source-safe inference telemetry rows, disclosure tiers, raw provider response boundaries, schema verdicts, retry/repair posture, and stream UI projection proof.

Wires generator/checker scripts, protocol exports/tests, gate/canon workflows, roadmap advancement, and V38 spec/docs parity closure for Gate 5.
…telemetry-disclosure-tiers

V38 Gate 5: Inference Telemetry And Disclosure Tiers
Attach source-safe inference receipts to synthesized and accepted Read Needs, including phase, agent, PTRR step, Failsafe, ThricifiedGeneration, prompt-template, schema, telemetry, and disclosure-boundary roots.

Add the deterministic Gate 6 hardening artifact, protocol exports, checker/generator scripts, workflow enforcement, and V38 specification/documentation updates.

Validation: pnpm run check:v38-gate1 through check:v38-gate6; pnpm --filter @bitcode/pipeline-asset-pack typecheck; pnpm --filter @bitcode/protocol typecheck; pnpm --filter @bitcode/protocol test; node scripts/run-bitcode-spec-quality.mjs --mode strict-version --version V38; git diff --check.
Run the Gate 6 checker directly in workflow posture jobs so containerized Spec Basics does not require pnpm, while keeping the check:v38-gate6 script marker for workflow enforcement.

Validation: node scripts/check-v38-gate6-read-need-comprehension-inference-hardening.mjs --skip-branch-check; pnpm run check:v38-gate6; git diff --check.
Add a skip-package-tests mode to the Gate 6 checker for lightweight workflow posture jobs that do not install pnpm dependencies. Full local check:v38-gate6 still runs package tests.

Validation: node scripts/check-v38-gate6-read-need-comprehension-inference-hardening.mjs --skip-branch-check --skip-package-tests; pnpm run check:v38-gate6; node --check scripts/check-v38-gate6-read-need-comprehension-inference-hardening.mjs; git diff --check.
…mprehensionsynthesis-inference-hardening

V38 Gate 6: ReadNeedComprehensionSynthesis Inference Hardening
Add source-safe depository search query plans, many-fit channel scoring, selected-fit provenance roots, and ReadFitsFindingSynthesis search receipts.

Generate and export the V38 search embeddings artifact, add checker and protocol tests, refresh prompt benchmark counts, and wire gate/canon workflows and documentation.

Proof: pnpm run check:v38-gate1..7, V38 spec quality, protocol tests, asset-pack typecheck, protocol typecheck, full asset-pack Jest, diff check, and staged secret scan.
…ndingsynthesis-search-embeddings

V38 Gate 7: ReadFitsFindingSynthesis Search And Embeddings
Add the package-backed V38AssetPackSynthesisEconomicTraceability report and generated source-safe artifact for selected-fit handoff, source-safe preview, deterministic BTC quote, BTD receipts, source-to-shares compensation, settlement unlock, reconciliation, repair, and harness evidence projection.

Add Gate 8 generator/checker scripts, protocol exports/tests, BTD economic traceability coverage, workflow wiring, and V38 specification/roadmap documentation for the closed gate.

Validation: pnpm run check:v38-gate1..check:v38-gate8; node scripts/run-bitcode-spec-quality.mjs --mode strict-version --version V38; package typechecks for btd, pipeline-asset-pack, pipeline-hosts, protocol; protocol test suite; targeted BTD, AssetPack, and harness Jest suites; git diff --check.
…synthesis-economic-traceability

V38 Gate 8: AssetPack Economic Traceability
Route quick-response Conversation through the same PTRR/Failsafe/Thricified stack as the comprehensive variation, removing the single-step bypass.

Add the package-backed V38ConversationToolPromptInferenceParity artifact, generator, checker, protocol tests, generated evidence, docs, roadmap updates, and workflow wiring.

Validation: pnpm run check:v38-gate9; pnpm run check:v38-gate2; pnpm run check:v38-gate4; pnpm --filter @bitcode/api build; pnpm --filter @bitcode/protocol typecheck; pnpm --dir packages/chatgptapp exec tsc --noEmit --pretty false; bash scripts/check-import-casing.sh; bash scripts/find-uppercase-raw-promptparts.sh; git diff --check.
…on-tool-prompt-inference-parity

V38 Gate 9: Conversation Tool-Prompt Inference Parity
Adds the package-backed local/staging inference and depository-search rehearsal artifact, generator, checker, protocol exports, and tests. Wires Gate 10 into gate/canon quality workflows and documents the source-safe rehearsal closure across V38 spec, notes, parity, roadmap, README, and protocol package docs.\n\nValidation: pnpm run check:v38-gate10; pnpm --filter @bitcode/protocol test; node scripts/check-bitcode-spec-family.mjs --version V38 --mode draft --current-target V37; node scripts/check-bitcode-canon-posture-drift.mjs --active-canon V37 --draft-target V38; node scripts/check-bitcode-canonical-inputs.mjs --current-target V37; git diff --check; credential-safe OpenAI embeddings smoke.
…ging-inference-depository-search-rehearsal

V38 Gate 10: Local Staging Inference Rehearsal
Adds the source-safe V38InferencePromotionReadinessReport package artifact, generator, checker, test coverage, and exported protocol API.

Wires V38 canonical promotion support through workflows, promotion scripts, proven generation, runtime/spec-family preparation, README guidance, roadmap, and V38 spec family closure notes.

Validates draft-mode readiness and promoted-mode proof wrapping while preserving source-safe telemetry, protected-source, credential, wallet, unpaid AssetPack, and value-bearing mainnet boundaries.
…-readiness

V38 Gate 11: Promotion Readiness
@geraldarthurdavis
geraldarthurdavis requested a review from a team May 25, 2026 03:11
@vercel

vercel Bot commented May 25, 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 25, 2026 3:36am

@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: 57173a81fc

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

phaseIds,
agentIds,
ptrrStepIds,
failsafeSequenceIds: [...thricifiedGenerationIds],

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 Populate failsafeSequenceIds with actual failsafe IDs

failsafeSequenceIds is currently assigned from thricifiedGenerationIds, so the receipt duplicates generation identifiers instead of recording failsafe-sequence identifiers. In scenarios where downstream audit/telemetry consumers need to verify coverage by failsafe stage (e.g., mapping each PTRR step to prepare-concise-context / chunk-then-sum / stitch-until-complete), this field no longer carries the intended dimension and cannot be used to reconstruct or validate failsafe sequencing.

Useful? React with 👍 / 👎.

@geraldarthurdavis
geraldarthurdavis merged commit 7711266 into main May 25, 2026
8 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