Repository navigation
fix(compliance): register the 3.1.24 compliance bundle as package-only - #7743
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean single-line addition of version 3.1.24 to static/compliance/published-versions.json, correctly sorted between 3.1.23 and 3.2.0-beta.6.
What I checked:
- Manifest entry satisfies pattern/uniqueness/no package-only overlap validation.
- The load-bearing CI gate (
dist/compliance/3.1.24/index.jsonbundle) exists on main. - No immutable released
distartifact is modified — this touches only the manifest. - No changeset required: the manifest is outside the
static/compliance/sourceprotocol scope. - No schema↔docs coherence, oneOf discriminator, or breaking-class concerns — this is not a protocol wire-shape change.
No findings. Not gated (gated_paths: false), not high-risk, no author-team gate. Falls through the decision table to row 9.
@adcp/[email protected] (npm latest) now bundles compliance 3.1.24, which check:published-compliance requires the manifest to record, so Build and static checks fails on every PR. Record it under package_only_versions, like 3.1.15 and 3.0.24, so the check passes without advancing the hosted '3.1' grading alias from 3.1.23. Promoting 3.1.24 to a hosted target is a separate release decision that also needs the storyboard wrapper tests that pin 3.1.23 updated. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
9293f94 to
a2004a5
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean pass, no blocking findings.
This PR makes a minimal 2-add/1-delete change to static/compliance/published-versions.json, adding "3.1.24" to package_only_versions. Verified against scripts/check-published-compliance-versions.cjs: the value passes format/uniqueness checks, does not overlap published_versions, requires no local dist bundle (existence check applies only to published_versions), and satisfies missingPublishedVersions without advancing the hosted 3.1 alias off 3.1.23.
Not a wire/schema change (no static/schemas/source/** touched), so no schema↔docs coherence or oneOf-discriminator concern applies. No dist/<semver>/ immutability concern — this is source compliance metadata, not a released artifact. No changeset required for this compliance-list bookkeeping change. Not a breaking-class protocol change.
Decision-table walk: no critical/high/medium findings (row 1 N/A); gated_paths is false (row 2 N/A); high_risk is false, no deletions in sensitive paths (rows 3–5 N/A); prior decision was approve, not escalate (row 6 N/A); no no-auto-approve team match (row 7 N/A); zero medium findings (row 8 N/A). Falls through to row 9 → approve.
Note: review_decision is REVIEW_REQUIRED, but since gated_paths is false the row-2 hard gate does not apply.
Why
@adcp/[email protected], published to the npmlatesttag on 2026-09-28, bundles compliance3.1.24.check:published-compliancepacks each manifest npm tag and requires every bundled compliance version to be recorded instatic/compliance/published-versions.json. The manifest didn't list3.1.24, so Build and static checks fails on every open PR with:Change
This records
3.1.24underpackage_only_versions, next to3.1.15and3.0.24. That satisfies the check without moving the hosted3.1grading alias, which resolves to the highest published 3.1.x and stays on3.1.23.The first revision registered it under
published_versions. That advanced hosted grading to 3.1.24 and failed the storyboard wrapper tests that pin 3.1.23 (caps hosted aliases…andloads the released 3.1.23 bundle with the pinned hosted SDK). Promoting 3.1.24 to a hosted target is a separate release decision and should update those tests on purpose.Testing
node scripts/check-published-compliance-versions.cjsnow reports "Published compliance manifest is current for npm tags: adcp-3.0, latest, rc, beta." It failed on main before this change.tests/published-compliance-versions.test.cjspasses (9/9).server/tests/unit/storyboards.test.tspasses (55/55). Hosted3.1still resolves to 3.1.23.🤖 Generated with Claude Code