Skip to content

EN-PARITY-CONTROL-AUTOMATION-V2-01: replace human content approvals with verified automation receipts - #1984

Merged
fermatmind merged 21 commits into
mainfrom
codex/en-parity-control-automation-v2-01
Aug 1, 2026
Merged

EN-PARITY-CONTROL-AUTOMATION-V2-01: replace human content approvals with verified automation receipts#1984
fermatmind merged 21 commits into
mainfrom
codex/en-parity-control-automation-v2-01

Conversation

@fermatmind

Copy link
Copy Markdown
Owner

What changed

  • Added deterministic V2 English parity master/Schema and dual V1→V2 validation.
  • Replaced human approval and status-only CONTROL evidence with chained backend import/publication/live-QA receipts.
  • Moved W9 policy to an independent required check in the same Producer PR and made package identity lane-local.
  • Updated repository rules, bootstrap documentation, focused contracts, and PR-train metadata.

Why

The solo-owner content train was spending many PRs on approvals and state handoffs. Backend PR #3488 established the trusted exact-package executor; this PR makes verified machine receipts the control authority without weakening deployment or SEO gates.

Validation

  • node scripts/seo/build-en-content-parity-control-v2.mjs --check
  • node scripts/seo/validate-en-content-parity-control-v2.mjs
  • node scripts/seo/validate-en-content-parity-control.mjs
  • pnpm exec vitest run tests/contracts/en-content-parity-control-master.v2.contract.test.ts tests/contracts/en-content-parity-control-master.contract.test.ts --reporter=dot (77/77)
  • focused ESLint
  • JSON/YAML parse, exact scope allowlist, git diff --check, git diff --cached --check

Deferred items

  • Production deployment of the backend executor remains a separate exact-SHA gate.
  • No promotion workflow was dispatched; no CMS import, publication, SEO discoverability, search submission, migration, or deployment occurred.
  • Adapters that lack compatible audit/rollback metadata remain fail closed.

@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: 8f6ca55a24

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs Outdated
Comment thread scripts/seo/validate-en-content-parity-control-v2.mjs

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

ℹ️ 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 thread scripts/seo/validate-en-content-parity-control-v2.mjs Outdated
Comment thread docs/codex/pr-train-state.json Outdated
@fermatmind
fermatmind force-pushed the codex/en-parity-control-automation-v2-01 branch from 83b0320 to 9983d79 Compare August 1, 2026 22:00

@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: 9983d79cb0

ℹ️ 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 thread scripts/seo/validate-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs Fixed

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/validate-en-content-parity-control-v2.mjs

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs

@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: 038d84d744

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs Outdated
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs Outdated
Comment thread scripts/seo/validate-en-content-parity-control-v2.mjs Outdated
Comment thread scripts/seo/validate-en-content-parity-control-v2.mjs
@fermatmind
fermatmind force-pushed the codex/en-parity-control-automation-v2-01 branch from 038d84d to f5e6198 Compare August 1, 2026 22:44

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs Outdated

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs Outdated
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs

@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: 592b3ce9cc

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread scripts/seo/validate-en-content-parity-control-v2.mjs

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

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread docs/codex/pr-train-state.json Outdated

@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: 97ce37a5d5

ℹ️ 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 thread scripts/seo/validate-en-content-parity-control-v2.mjs Outdated

@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: 8575bf4b67

ℹ️ 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 thread scripts/seo/build-en-content-parity-control-v2.mjs
Comment thread docs/codex/pr-train-state.json Outdated
@fermatmind
fermatmind merged commit 77f4bc4 into main Aug 1, 2026
11 checks passed

@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: 5faea088f7

ℹ️ 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 +197 to +202
const sumOrNull = (field) => assets.every((asset) => Number.isInteger(asset[field]))
? assets.reduce((total, asset) => total + asset[field], 0)
: null;
return {
assetIds,
expectedCount: sumOrNull("expected_en_count"),

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 Bind discovered inventory counts before freezing packages

For W5, W6, and W7, at least one registered asset has expected_en_count: null, so this permanently derives expectedCount as null. Package-freeze evidence is Schema-required to carry a positive integer and is then required to equal this null value, while lane manifests are explicitly forbidden from supplying updated counts; consequently these inventory-required lanes can never advance to package_frozen after discovering their actual cohort sizes. Add a SHA-bound inventory transition that updates the registered target count before enforcing the freeze contract.

AGENTS.md reference: AGENTS.md:L194-L195

Useful? React with 👍 / 👎.

Comment on lines +309 to +310
if (payload.row_count > 0) {
if (!payload.path.endsWith(".jsonl")) throw new Error(`lane_manifest_package_row_payload_invalid=${key}`);

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 Validate JSONL payloads declared with zero rows

When a package contains a nonempty or malformed JSONL payload whose manifest declares row_count: 0, this condition skips both parsing and the actual-row-count comparison. A package can therefore satisfy coverage using its valid payloads while carrying additional unvalidated records in a zero-row JSONL file, and that file still enters the supposedly complete frozen package inventory and digest. Validate every JSONL payload even when its declared count is zero so the package-freeze fact covers all physical records.

AGENTS.md reference: AGENTS.md:L194-L194

Useful? React with 👍 / 👎.

@fermatmind
fermatmind deleted the codex/en-parity-control-automation-v2-01 branch August 1, 2026 23:52
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