Skip to content

Fix: the owner's approval of one exact version can waive the release cost rule - #2122

Merged
repeat98 merged 4 commits into
mainfrom
fix/release-cost-waiver
Nov 24, 2026
Merged

repeat98 merged 4 commits into
mainfrom
fix/release-cost-waiver

Conversation

@repeat98

Copy link
Copy Markdown
Owner
  • What was wrong or hard: from 24 November a machine or effect release needs a curve whose first instance is admitted on the medium pattern (curveProblem, RELEASE_COST_FROM). Grain (first 33.3 % of a frame) and POLY8 (51 %) can never pass it, and no approval field could excuse it. So no update of either could ship, not even POLY8 0.3.4 (POLY8 0.3.4-experimental: rests while no track uses it (replaces #1863) #2118), which only makes POLY8 cheaper at rest, or Grain 0.2.0 (Grain 0.2.0-experimental: EDGE, four ways to treat the sample's edges #2115).
  • What this changes:
    • An owner approval (sdk/approvals/<id>-build-approval.json) that lists release-cost in waived excuses curveProblem for that exact version: frameCostStatus reports it as ok, "waived by the owner for this version".
    • It counts only for a module without its own qualification record. That is the case in which modules:check validates the approval in full, its source hash included.
    • It never stands in for a curve read on that version: a curve from another version still fails.
    • release-cost joins UPDATE_WAIVABLE. docs/TEST_PROCEDURE.md (what a release measures) says so in one sentence.
    • Changelog: changelog/2026-11-24-release-cost-waiver.md.
  • How I checked it: a new case in scripts/module-cpu-price.test.mjs: waived, not waived, another version's approval, another approver, a qualified module, and a curve from another version. npm run pr:ready: Ready.
  • Tested on a unit: not applicable: a check change; nothing that runs on a unit changes.
  • Edge cases: none on a unit. The check's own cases are in the test above.
  • What the guides lacked or got wrong: TEST_PROCEDURE didn't say the cost rule could be waived at all. It now names the field.

Owner's OK: the PR review of 24 November 2026 ("yes to all your picks", pick: make the release cost waivable per version).

🤖 Generated with Claude Code

repeat98 and others added 2 commits November 24, 2026 17:18
…cost rule

From 24 November a machine or effect release needs a curve whose first instance
is admitted on the medium pattern. Grain (first 33.3) and POLY8 (51) can never
pass it, and no approval field could excuse it, so even POLY8 0.3.4 (#2118),
which only makes POLY8 cheaper at rest, could not ship. An approval that lists
"release-cost" in `waived` now excuses curveProblem for that exact version, only
for a module without its own qualification record (where modules:check
validates the approval, source hash included). The curve itself must still be
read on that version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 merged commit 3614aa6 into main Nov 24, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant