Skip to content

spec(011): the Node local-embed build counts toward platform qualification - #449

Merged
bartekus merged 1 commit into
mainfrom
spec/011-gate-amendment
Nov 2, 2026
Merged

bartekus merged 1 commit into
mainfrom
spec/011-gate-amendment

Conversation

@bartekus

@bartekus bartekus commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Spec 011 amendment recording the owner's 2026-11-01 decisions (row A-73, Decision 19). Spec text only; it ratifies on merge.

  • 3.2.2 stage 3 no longer includes the Node binding's local-embed build. That build needs the backend, the backend needs the inference dependencies, and 3.2.3 admitted them only after stage 3, so no platform could pass.
  • 3.2.3 gate: stages 1 to 3 still gate the inference dependencies. A platform is qualified only when all four stages pass and the Node binding builds with local-embed on its native matrix target (spec 027 3.13, 011 3.17). R-1's text says the same.
  • 3.6.3: unqualified_platform refuses only bundles with encoder.kind: onnx; a synthetic bundle (3.19) loads no runtime and constructs on any target. The refusal table and the section 5 negative case follow.
  • Stage 4's 100 ms p95 threshold is unchanged; macos-aarch64 (105.4 ms) stays unqualified, and linux-x86_64-gnu is to be measured on a Linux host.

Not in this PR: committing the refused feasibility record and re-recording its macos-aarch64 stage 3 verdict under this text (Decision 4). That lands separately after #447 excludes the evidence directory from review.

Verification

make refresh, make gate, scripts/check-authored-content.sh.

…ation; unqualified_platform covers onnx bundles only

A-73 records the owner's 2026-11-01 decisions: the Node binding's
local-embed build moves from stage 3 (3.2.2) to platform qualification
(3.2.3, 3.6.3), which ends the loop where the dependency gate waited on a
build that needs the dependencies; unqualified_platform applies only to
onnx bundles. Stage 4's 100 ms p95 threshold is unchanged.
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

AI review (no-findings)

The PR modifies two files: docs/decisions/00-founding-decisions.md (adds A-73) and specs/011-semantic-backend/spec.md (implements the A-73 amendment).

Consistency check across the three gate descriptions:

  • R-1 obligation (YAML): "a platform is supported only when all four stages pass for it and the Node binding builds with local-embed on its native matrix target" — consistent with A-73.
  • 3.2.3 gate prose: "A platform is listed as qualified (3.6.3) only when all four stages pass for it and the Node binding (spec 027 3.13) builds with local-embed on that platform's native matrix target (3.17)" — consistent.
  • 3.6.3 platforms section: moves the unqualified_platform refusal to onnx-only bundles; synthetic bundles reference (3.19) which is Decision 19 being added in this same PR — self-reference is internally coherent.

Refusal table and decision table are both updated to scope unqualified_platform to onnx bundles, matching 3.6.3.

A-73 vs. spec: A-73 uses "the owner decided to amend" rather than explicit "ratified" language (compare A-70's "the owner ratified spec 059"). However, A-73 omits the caveat seen in A-71 ("The amended text is the owner's to ratify before it is implemented"), and the spec 011 frontmatter status is not visible in the diff, so I cannot resolve the lifecycle question from available evidence.

Logic of the gate fix: The circular dependency A-73 resolves is real and stated consistently: the Node binding needs the inference backend, the backend needs the inference dependencies, those dependencies are gated by stages 1-3, so the binding build cannot be inside stage 3. Moving it to platform qualification is structurally sound.

Synthetic bundle relaxation: Decision 19 explains why unqualified_platform does not apply — synthetic bundles load no runtime library, so the platform qualification table (which tracks runtime compatibility) says nothing about them. No security bypass.

No concrete defects are supported by the supplied evidence.

{"head": "19284b2f6e5405eaa431a9229cec3b2de483dbb4", "verdict": "no-findings", "findings": []}

Subject: 3dc1e1c...19284b2, diff digest 12e4b7e258c66a6c5c5e21a10d65f277376a7b57a06a72e4d8dd0e339f4768b1, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus added this pull request to the merge queue Nov 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Nov 2, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Nov 2, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 2, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 50ca9ad Nov 2, 2026
58 of 60 checks passed
@bartekus
bartekus deleted the spec/011-gate-amendment branch November 2, 2026 17:11
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