Skip to content

chore(ci): retire the frozen native diagram qualification pin (#4105) - #4106

Merged
schlessera merged 16 commits into
mainfrom
chore/4105-retire-native-pin
Nov 17, 2026
Merged

schlessera merged 16 commits into
mainfrom
chore/4105-retire-native-pin

Conversation

@schlessera

@schlessera schlessera commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Closes #4105. This unblocks #4102 (#3800).

Why

The frozen native diagram qualification (#2293) pinned the producer's source, its whole node_modules installation and three source files. The point was to let a ready PR retain browser proof from an earlier green run. That no longer protects anything live:

Decision (maintainer, 2026-11-16): retire the pin. This is recorded in docs/decisions/ci-utility.md and supersedes the 2026-11-02 and 2026-11-11 requalification rulings.

What changes

  • Removed: scripts/native-diagram-inputs.ts (the binding, its pins and its recovery text) and tests/native-diagram-inputs.test.ts (the frozen positive control).
  • Plumbing: browser-input-closure, browser-worker-audit and inclusion-inputs no longer carry a native identity or diagnostic. The producer's reads stay undeclared, so browser proof always runs fresh. That is exactly what happened on main already, given the pin drift.
  • Unchanged:
    • the producer's Docker boundary (no network, read-only root, private source, installation and Bun mounts);
    • its run-time identity self-checks;
    • the browser's handoff validation;
    • tests/diagram-export-installation.test.ts.
  • Left as dead code: scripts/ci-proof.ts and scripts/visual.mjs still read the now-absent nativeDiagram field, and do nothing when it is absent. ci-proof.ts is an audited source, pinned in scripts/generated-build-inputs.ts, so its dead branch goes at its next re-audit rather than forcing one here. A comment on proof-inputs.ts says so.
  • Guard: the new tests/native-diagram-retired.test.ts fails if any script or test pins the retired identities again.
  • Docs: ci-utility.md records the ruling. The requalification and "never refresh qualification pins" guidance is removed from CONTRIBUTING.md and docs/process/diagnostic-installs.md.

Proof

A dependency change no longer fails anything. I temporarily ran bun add tldts in ui-kit (the change #4102 makes), then reran the affected suites and the installation test: 169 pass, 0 fail. The same change on main failed unit (3) in #4102's candidate run 43965353066 ("added package source requires native requalification", installation-mismatch). The change was reverted afterwards.

The guard test fails first. On main's bytes it fails with NATIVE_DIAGRAM_QUALIFICATION_STAYS_RETIRED, listing scripts/native-diagram-inputs.ts and tests/native-diagram-inputs.test.ts. It passes on this branch.

  • It first passed vacuously: a brace glob with a / matches nothing in Bun. The scan is now split into two patterns and asserts that it covers scripts/browser-input-closure.ts.
  • The diagram command's own hash is excluded, because bound-browser-documents pins that file for an unrelated audit.

Suites. These pass 164/164 on the branch:

  • tests/native-diagram-retired.test.ts
  • tests/browser-worker-audit.test.ts
  • tests/inclusion-inputs.test.ts
  • tests/browser-input-closure.test.ts
  • tests/proof-reuse.test.ts
  • tests/hosted-proof.test.ts
  • tests/ci-plan.test.ts

A first run failed 9 of them on a leftover boundNative reference. That's fixed, and main passes the same suites 163/163. Typecheck and lint are clean.

Also fixed: an order-dependent render test

Retiring the native diagram test reshuffled the unit partitions. That put ask-user.test.tsx and image-markup.test.tsx (from #4104) in one worker, and the candidate's unit (1) failed four image markup tests with document is not defined.

The two files shared ask-user-dom.ts. Its body runs once per process, so after ask-user's afterAll unregistered the DOM, the image markup test had none. Its own comment says the module belongs to one file only. The image markup test now has its own sibling module, image-markup-dom.ts.

  • Failing first: bun test ask-user.test.tsx image-markup.test.tsx gave 37 pass / 4 fail, all document is not defined.
  • Fixed: 41/41 pass, in both orders.

Contract impact

None. This is CI tooling and docs only, so no changeset is needed. check:pr's contribution-changeset gate passed.

Collisions

bun scripts/collisions.ts on the touched paths found no path collisions.

{"version":1,"kind":"brain-check-pr-receipt","head":"c956cec40e75ab5f993eaa12e97ce6307250325f","base":"origin/main","mode":"focused","startedAt":"2026-11-17T03:18:49.903Z","finishedAt":"2026-11-17T03:20:20.150Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":12637.841223},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":107.9722180000008},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":67.93838399999913},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":22.38216199999988},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":77394.02207}]}

🤖 Generated with Claude Code

The pin let a ready PR retain browser proof from an earlier run, but the
hybrid ruling moved browser proof to the squash's main run, where it is
always fresh. All three pinned source files had also drifted, so the binding
could no longer qualify. Its only effect left was to fail unit on every
dependency change until a manual Docker requalification moved it; three
requalifications produced byte-identical output.

Remove the binding and its self-test, and stop the browser input closure,
worker audit and inclusion inputs from carrying its identity. The container
boundary and the producer's run-time checks are unchanged. A guard test
keeps the retired identities from being pinned again. ci-proof.ts and
visual.mjs still read the now-absent field; they are audited sources, so
that dead branch goes at their next re-audit. The maintainer ruling of
2026-11-16 is recorded in ci-utility.md, superseding the 2026-11-02 and
2026-11-11 requalification rulings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera schlessera added this to the 0.45.0 milestone Nov 16, 2026
schlessera and others added 2 commits November 17, 2026 01:44
…ation

It shared ask-user-dom.ts, whose body runs once per process. When ask-user's
test ran first in the same worker, its afterAll unregistered the DOM and the
image markup test failed with "document is not defined". Retiring the native
diagram test reshuffled unit partitions and put the two together. A sibling
module per file is the contract ask-user-dom.ts documents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@uploads-sh

uploads-sh Bot commented Nov 17, 2026

Copy link
Copy Markdown

No uploads on this PR yet

This PR changes UI files (packages/ui-react/tests/render/image-markup.test.tsx). Screenshots help reviewers see what changed.

  • From the CLI: uploads put before.png after.png --pr 4106
  • From an agent: ask it to attach screenshots with uploads.sh
  • By hand: drag images into the PR description and they're imported automatically
Tips for agents

Label each shot so reviewers know what they're seeing. Labels apply to every file in a call, so run one put per shot:

uploads put after.png --pr 4106 --meta path=/settings --state after --caption "Saved settings toast"
uploads put chat.png --pr 4106 --app ios --screen "Chat" --state after

No CLI? With the Uploads MCP, call sign_upload_url for files on disk (or put) with repo, pr: 4106 and the same screen, state and caption fields.

This comment updates with each upload, so you don't need to post the images yourself. A shot or two in the PR description is still welcome. Check what's attached with uploads list --pr 4106. More in the github-screenshots skill or the agent docs.

Workspace admins can turn this comment off in Settings → GitHub · docs

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 8550664 against base 1e6c0c6. Reviewer: agent. 3 findings: 0 fixed, 0 filed, 0 rejected, 3 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "8550664dd1f8511cd91b1455836f9f202b9d5c25",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "scripts/browser-worker-audit.json:13 still pins the retired frozen #2293 source hash e8502b6ffb3c575f2e9a1c93dea8dbf5ceda93ece367da9d542cb10b1c9ac32b in sourceAudit.native, along with an installation hash and a runtime hash. The PR deleted the only reader of it (expectedNative in scripts/browser-worker-audit.ts:58). This misses #4105's criterion that no source file pins e8502b6f…, and leaves a dead pin in the audit record."
    },
    {
      "summary": "tests/native-diagram-retired.test.ts:23: the guard globs only *.{ts,tsx,mjs,js} under scripts/tests, so it never reads JSON. It passes while scripts/browser-worker-audit.json:13 still contains the retired e8502b6f… source hash. A retired identity put back in any .json manifest under scripts/ would also go undetected, so the test cannot fail for exactly the kind of file that still holds the pin."
    },
    {
      "summary": "#4105's first criterion says to add or keep a test that changes the installation (for example a new package in bun.lock) and asserts it no longer causes a failure. The PR deletes tests/native-diagram-inputs.test.ts and adds only tests/native-diagram-retired.test.ts:21-30, which searches files for hash strings and never changes an installation. The only proof of that criterion is a manual `bun add tldts` run described in the PR body, with no automated test."
    }
  ]
}

…ord (#4105)

The record's sourceAudit.native still held the frozen #2293 source,
installation and runtime hashes, though nothing reads them since the binding
was removed; qualification compares the computed identity and counts, never
those bytes. The retirement guard now scans JSON as well, and fails first on
the old record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 8550664 against base 1e6c0c6. Reviewer: agent. 3 findings: 2 fixed, 0 filed, 1 rejected, 0 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "8550664dd1f8511cd91b1455836f9f202b9d5c25",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "scripts/browser-worker-audit.json:13 still pins the retired frozen #2293 source hash e8502b6ffb3c575f2e9a1c93dea8dbf5ceda93ece367da9d542cb10b1c9ac32b in sourceAudit.native, along with an installation hash and a runtime hash. The PR deleted the only reader of it (expectedNative in scripts/browser-worker-audit.ts:58). This misses #4105's criterion that no source file pins e8502b6f…, and leaves a dead pin in the audit record.",
      "disposition": "fixed",
      "commit": "5768e75a5db5f74a3179a32ddca4d0b4def27093"
    },
    {
      "summary": "tests/native-diagram-retired.test.ts:23: the guard globs only *.{ts,tsx,mjs,js} under scripts/tests, so it never reads JSON. It passes while scripts/browser-worker-audit.json:13 still contains the retired e8502b6f… source hash. A retired identity put back in any .json manifest under scripts/ would also go undetected, so the test cannot fail for exactly the kind of file that still holds the pin.",
      "disposition": "fixed",
      "commit": "5768e75a5db5f74a3179a32ddca4d0b4def27093"
    },
    {
      "summary": "#4105's first criterion says to add or keep a test that changes the installation (for example a new package in bun.lock) and asserts it no longer causes a failure. The PR deletes tests/native-diagram-inputs.test.ts and adds only tests/native-diagram-retired.test.ts:21-30, which searches files for hash strings and never changes an installation. The only proof of that criterion is a manual `bun add tldts` run described in the PR body, with no automated test.",
      "disposition": "rejected",
      "reason": "No code path compares an installation identity to a pin any more, and the guard now enforces that across code and JSON. #4102, which adds tldts and lands on this, is the automated end-to-end proof in hosted unit; the same change failed unit (3) on main in run 43965353066."
    }
  ]
}

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 5768e75 against base 1e6c0c6. Reviewer: agent. 4 findings: 0 fixed, 0 filed, 0 rejected, 4 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "5768e75a5db5f74a3179a32ddca4d0b4def27093",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:1-32 – the first acceptance criterion asks for a test that changes the installation and asserts it no longer causes a failure. The PR adds only a grep guard that no retired hash string appears in scripts/ or tests/. No test mutates node_modules or bun.lock and asserts a pass; the only evidence is a manual `bun add tldts` run in the PR body, so a reintroduced installation check under new hashes or a new file name would go uncaught."
    },
    {
      "summary": "scripts/bound-browser-documents.ts:130 – the third acceptance criterion says no source file pins any of the three source-file hashes. The PR keeps the diagram-export-command hash `f7c3d14c…`, which was one of the retired sourcePins, and exempts it from the guard at tests/native-diagram-retired.test.ts:16-17. That breaks the criterion as written, and the issue has no ruling allowing the exception."
    },
    {
      "summary": ".agents/skills/release/SKILL.md:205-206 (\"Keep the lock and qualification pins unchanged\") and docs/process/diagnostic-installs.md:36 (\"Do not change … qualification pins\") were both added in #4038 for the native installation-mismatch recovery. Neither is updated. The fourth acceptance criterion says no doc may still forbid moving a pin that no longer exists."
    },
    {
      "summary": "docs/decisions/ci-utility.md:1054 still says the native diagram fixture \"has a separate finite operation binding\", which the new ruling a few lines further down says was removed. Likewise scripts/browser-worker-audit.json:11 (`sourceAudit.scope`) still says \"Source or installation drift makes the binding unavailable\" and that \"the complete 859-input diagram source identity is qualified\". Both records now describe a qualification that no longer exists."
    }
  ]
}

…ive binding (#4105)

The release skill and diagnostic guide no longer tell a contributor to keep
qualification pins unchanged, ci-utility.md calls the native fixture's
container a boundary rather than a binding, and the worker audit record's
scope gains a dated note that its native qualification statements are
historical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 5768e75 against base 1e6c0c6. Reviewer: agent. 4 findings: 2 fixed, 0 filed, 2 rejected, 0 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "5768e75a5db5f74a3179a32ddca4d0b4def27093",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:1-32 – the first acceptance criterion asks for a test that changes the installation and asserts it no longer causes a failure. The PR adds only a grep guard that no retired hash string appears in scripts/ or tests/. No test mutates node_modules or bun.lock and asserts a pass; the only evidence is a manual `bun add tldts` run in the PR body, so a reintroduced installation check under new hashes or a new file name would go uncaught.",
      "disposition": "rejected",
      "reason": "Nothing left compares an installation identity to a pin; the guard now covers code and JSON. A test that mutates the shared node_modules would race other workers. #4102 adds tldts on top of this PR, so its hosted unit run is the automated proof; the same change failed unit (3) on main in run 43965353066."
    },
    {
      "summary": "scripts/bound-browser-documents.ts:130 – the third acceptance criterion says no source file pins any of the three source-file hashes. The PR keeps the diagram-export-command hash `f7c3d14c…`, which was one of the retired sourcePins, and exempts it from the guard at tests/native-diagram-retired.test.ts:16-17. That breaks the criterion as written, and the issue has no ruling allowing the exception.",
      "disposition": "rejected",
      "reason": "f7c3d14c is not the native qualification's pin: scripts/bound-browser-documents.ts:130 is the diagramRasterComparison command audit (#1599 re-audit), a live, separate pin on the same file. Removing it would break that audit. #4105's criterion 3 is clarified on the issue."
    },
    {
      "summary": ".agents/skills/release/SKILL.md:205-206 (\"Keep the lock and qualification pins unchanged\") and docs/process/diagnostic-installs.md:36 (\"Do not change … qualification pins\") were both added in #4038 for the native installation-mismatch recovery. Neither is updated. The fourth acceptance criterion says no doc may still forbid moving a pin that no longer exists.",
      "disposition": "fixed",
      "commit": "add143c17813d88cccb8e55bfec62423c11b74df"
    },
    {
      "summary": "docs/decisions/ci-utility.md:1054 still says the native diagram fixture \"has a separate finite operation binding\", which the new ruling a few lines further down says was removed. Likewise scripts/browser-worker-audit.json:11 (`sourceAudit.scope`) still says \"Source or installation drift makes the binding unavailable\" and that \"the complete 859-input diagram source identity is qualified\". Both records now describe a qualification that no longer exists.",
      "disposition": "fixed",
      "commit": "add143c17813d88cccb8e55bfec62423c11b74df"
    }
  ]
}

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head add143c against base 1e6c0c6. Reviewer: agent. 2 findings: 0 fixed, 0 filed, 0 rejected, 2 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "add143c17813d88cccb8e55bfec62423c11b74df",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:21-32 misses acceptance criterion 1. The issue asks for a test that changes the installation (for example a new package in bun.lock) and asserts that no unit or proof test fails because of it. The new test only scans scripts/tests for the retired hash strings and never alters node_modules or the lock. The 'bun add tldts' proof was a one-off manual run in the PR body, and no test in the tree keeps it."
    },
    {
      "summary": "docs/decisions/ci-utility.md:1101-1104 misstates the record it amends. It says requalification 'happened three times (#3320, #3968, #4102)' and the output was byte-identical 'every time'. #4102 was never requalified: it was blocked, and this PR unblocks it. The issue itself says two runs ('In both runs'). The decision record should cite the two requalifications and name #4102 as the PR that was blocked."
    }
  ]
}

Two requalifications ran (#3320, #3968); #4102 was blocked, not requalified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head add143c against base 1e6c0c6. Reviewer: agent. 2 findings: 1 fixed, 0 filed, 1 rejected, 0 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "add143c17813d88cccb8e55bfec62423c11b74df",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:21-32 misses acceptance criterion 1. The issue asks for a test that changes the installation (for example a new package in bun.lock) and asserts that no unit or proof test fails because of it. The new test only scans scripts/tests for the retired hash strings and never alters node_modules or the lock. The 'bun add tldts' proof was a one-off manual run in the PR body, and no test in the tree keeps it.",
      "disposition": "rejected",
      "reason": "Criterion 1 is amended on #4105 (2026-11-17 note): nothing compares an installation identity to a pin any more, the guard keeps it so, and #4102 (adds tldts, lands on this) is the automated end-to-end proof; a shared node_modules mutation test would race other workers."
    },
    {
      "summary": "docs/decisions/ci-utility.md:1101-1104 misstates the record it amends. It says requalification 'happened three times (#3320, #3968, #4102)' and the output was byte-identical 'every time'. #4102 was never requalified: it was blocked, and this PR unblocks it. The issue itself says two runs ('In both runs'). The decision record should cite the two requalifications and name #4102 as the PR that was blocked.",
      "disposition": "fixed",
      "commit": "f631e36d48f85f76ba2261614925df139b36d1b5"
    }
  ]
}

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head f631e36 against base 1e6c0c6. Reviewer: agent. 1 finding: 0 fixed, 0 filed, 0 rejected, 1 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "f631e36d48f85f76ba2261614925df139b36d1b5",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:12-19: the RETIRED list misses two native identities this PR deletes from scripts/browser-worker-audit.json (sourceAudit.native): installation 0c2758c046f2b69d… and runtime bf65590d9d594d23…. Re-adding either to the audit JSON would pass the guard, though #4105's amendment says it keeps any retired identity out of scripts, tests and their JSON."
    }
  ]
}

The guard now also names #2293's installation and the qualified producer
runtime, the two identities removed from the worker audit record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head f631e36 against base 1e6c0c6. Reviewer: agent. 1 finding: 1 fixed, 0 filed, 0 rejected, 0 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "f631e36d48f85f76ba2261614925df139b36d1b5",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "tests/native-diagram-retired.test.ts:12-19: the RETIRED list misses two native identities this PR deletes from scripts/browser-worker-audit.json (sourceAudit.native): installation 0c2758c046f2b69d… and runtime bf65590d9d594d23…. Re-adding either to the audit JSON would pass the guard, though #4105's amendment says it keeps any retired identity out of scripts, tests and their JSON.",
      "disposition": "fixed",
      "commit": "6a93dadee1ed1345f13270575933fc3ad38a57c3"
    }
  ]
}

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 6a93dad against base 1e6c0c6. Reviewer: agent. 2 findings: 0 fixed, 0 filed, 0 rejected, 2 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "6a93dadee1ed1345f13270575933fc3ad38a57c3",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "Criterion 3 not met literally: scripts/bound-browser-documents.ts:130 still pins f7c3d14c… (\"ownerHash\"), one of the three retired source-file hashes. The guard skips it on purpose (tests/native-diagram-retired.test.ts:18), and diagram-export-command.ts now hashes 64674a93…, so that pin is stale too. Either the criterion needs an explicit exception recorded on #4105, or this pin needs its own follow-up issue."
    },
    {
      "summary": "docs/decisions/ci-utility.md:1082-1084 still says the browser validates the producer's source/installation/runtime identities, and the new text at :1111-1112 calls that validation \"unchanged\". In fact diagram-export-command.ts:21-22 only compares them when BRAIN_PROOF_NATIVE_DIAGRAM_INPUTS is set, which nothing sets now (proof-inputs.ts:14-19). Likewise prepare-diagram-export-source.mjs:23 and ci-proof.ts:180 never run. The decision record describes a guard that no longer exists."
    }
  ]
}

…ent (#4105)

The browser still checks the handoff session, checkout and artifact hashes;
the comparisons against an expected source, installation or runtime identity
took it from the retired binding and no longer run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 6a93dad against base 1e6c0c6. Reviewer: agent. 2 findings: 1 fixed, 0 filed, 1 rejected, 0 without a disposition.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "6a93dadee1ed1345f13270575933fc3ad38a57c3",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "findings",
  "findings": [
    {
      "summary": "Criterion 3 not met literally: scripts/bound-browser-documents.ts:130 still pins f7c3d14c… (\"ownerHash\"), one of the three retired source-file hashes. The guard skips it on purpose (tests/native-diagram-retired.test.ts:18), and diagram-export-command.ts now hashes 64674a93…, so that pin is stale too. Either the criterion needs an explicit exception recorded on #4105, or this pin needs its own follow-up issue.",
      "disposition": "rejected",
      "reason": "The exception is recorded on #4105 (comment 6935465360): f7c3d14c is the diagramRasterComparison audit's own ownerHash, not the native binding. Its drift to 64674a93 predates this PR and is handled by that audit's post-merge re-audit, which keeps it fresh meanwhile."
    },
    {
      "summary": "docs/decisions/ci-utility.md:1082-1084 still says the browser validates the producer's source/installation/runtime identities, and the new text at :1111-1112 calls that validation \"unchanged\". In fact diagram-export-command.ts:21-22 only compares them when BRAIN_PROOF_NATIVE_DIAGRAM_INPUTS is set, which nothing sets now (proof-inputs.ts:14-19). Likewise prepare-diagram-export-source.mjs:23 and ci-proof.ts:180 never run. The decision record describes a guard that no longer exists.",
      "disposition": "fixed",
      "commit": "ae8811bf21a56fc3832d4fe56c0a275744c73d4f"
    }
  ]
}

@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head ae8811b against base 1e6c0c6. Reviewer: agent. No findings.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "ae8811bf21a56fc3832d4fe56c0a275744c73d4f",
  "base": "1e6c0c67d164e4df3a72a6655da89439d7f0264e",
  "reviewer": "agent",
  "outcome": "no-findings",
  "findings": []
}

…ive-pin

# Conflicts:
#	docs/decisions/ci-utility.md
@schlessera

Copy link
Copy Markdown
Owner Author

Independent review

Reviewed head 9b78dcb against base 7dfadc2. Reviewer: agent. No findings.

{
  "version": 1,
  "kind": "brain-review-receipt",
  "pr": 4106,
  "head": "9b78dcbfa6408b82a4fa90416bbe7ecc3b910694",
  "base": "7dfadc217c406255935f7fc626594acf2c2e8b9a",
  "reviewer": "agent",
  "outcome": "no-findings",
  "findings": []
}

@schlessera
schlessera marked this pull request as draft November 17, 2026 03:22
@schlessera
schlessera marked this pull request as ready for review November 17, 2026 03:22
@schlessera
schlessera merged commit b0fc83f into main Nov 17, 2026
52 of 66 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.

ci: retire the frozen native diagram qualification pin

1 participant