An open source design system that's fully customizable and agent ready
TypeScript
docs(specs): canaries publish at most once an hour from main's tip, a frequency cap only, and on demand (AST-017 FR46, DEC-31) (#9660)
Cindy Zhang73a105d11584
diff --git a/docs/specs/AST-017/spec.md b/docs/specs/AST-017/spec.mdindex ff564fc692..cdb9eed671 100644--- a/docs/specs/AST-017/spec.md+++ b/docs/specs/AST-017/spec.md@@ -660,9 +660,13 @@ one removal merged ahead of the decision to allow it.cut. Canary publication owns that ordering boundary instead: the fixed group MUSTdeclare one plain version; a declaration strictly above the newest stable tagpublishes `<declared version>-canary.<commit>`, equality publishes nothing, and a- lower or split declaration fails rather than publishing. Changeset admission still- refuses `[breaking]` work while main declares a patch and admits it while main- declares the minor successor.+ lower or split declaration fails rather than publishing. Scheduled canary+ publication runs at most once an hour, from main's tip at that time, and a release+ owner can also publish a canary from main on demand. The hourly limit caps+ frequency only and promises no freshness: a missed or late run leaves the previous+ canary in place. A tip whose canary packages are all published publishes nothing+ (DEC-31). Changeset admission still refuses `[breaking]` work while main declares a+ patch and admits it while main declares the minor successor.- **FR47 — A release branch releases the declared version.** A release branch'sversion is the fixed-group version declared at its cut commit. Admission, therelease plan, Changeset consumption, changelog generation, and stable@@ -941,7 +945,7 @@ lands, maintainers apply its requirement in review and release approval.| FR36–FR40 | Owner-declared target, locked final-patch receipt, three-way delta classification against the merged `[breaking]` Changesets, and separated release notes | ordinary cadence, immediate pair, cleanup, release metadata, pre/post-lock compatible fix | Cadence becomes eligibility, the final patch is recut for bookkeeping, a feature or incompatible fix enters the incidental-fix lane, or release notes merge cleanup with fixes || FR41–FR44 | Schema validation, PR declaration, semantic stable/base/head comparisons, exact-main gate, and immutable publish/rollback receipt | duplicate ids, missing evidence, route/schema removal, old-client metadata, partial publish, safe rollback | A label passes without semantics, a delta maps zero or multiple times, fixed-group membership drifts, or a release rebuilds under one identity || FR45 | Docs route inventory, repository-reference checks, and Changeset review | catalog entry rename, former-route miss, stable command and JSON schema | Catalog routing is frozen as API, or a rename silently changes the contractual command or response schema |-| FR46–FR47 | Declared-tier Changeset admission, canary publication ordering, and release-versioning fixtures | owner increase/decrease, above/equal/below stable, split group, `[breaking]` on patch and minor plans | Pending Changesets derive the plan, `[breaking]` passes on a patch or fails on a minor, equality publishes a canary, or a lower/split declaration publishes instead of failing |+| FR46–FR47 | Declared-tier Changeset admission, canary publication ordering and cadence, and release-versioning fixtures | owner increase/decrease, above/equal/below stable, split group, `[breaking]` on patch and minor plans, hourly, on-demand and already-published canary runs | Pending Changesets derive the plan, `[breaking]` passes on a patch or fails on a minor, equality publishes a canary, a lower/split declaration publishes instead of failing, a canary publishes on every push, or a tip whose canaries are all published publishes again || FR48 | Category and classification admission under each declared tier | patch release with `[breaking]`, patch release with a deprecation, minor release with `[breaking]` | Incompatible work passes in a patch release, or a deprecation is refused in one || FR49 | Malformed and inconsistent declaration fixtures | disagreeing group versions, canary identifier, release version unlike the cut manifest, already-released version, skipped version, no stable tag | An untrustworthy or mismatched declaration is released || FR50 | Three-way squash merge-back fixtures bound to the immutable tag, branch head, and plan digest | exact branch outputs, frozen deletion, branch-only marker exclusion, post-cut Changeset/manifest edit, newer main declaration, merge conflict, regenerated output | Merge-back differs from release bytes, lands lifecycle files, consumes post-cut work, overwrites a newer main declaration or unrelated field, or chooses a version |@@ -1483,6 +1487,23 @@ button visibility is not independently frozen when those conditions hold.Rejected: classifying every documented auxiliary button's disappearance as breaking despite preserved numeric entry and caller contracts.+### DEC-31 — Canaries publish at most hourly from main's tip++**Reference:** `spec:AST-017/DEC-31`+**Decider:** the Chief with the release owner, `2026-11-05`++Canaries publish at most once an hour from main's tip, a cap on frequency that+promises no freshness, and a release owner can publish one from main on demand.++A canary from a recent main tip serves the people who install `@canary` as well+as one per commit does. Every canary adds a version to each package's npm+document, and a large document slows how quickly npm serves a new version,+stable releases included. A release owner can still publish a canary from main+on demand, for example to prove the publish path before a cut. Stable+publication never waits for a canary.++Rejected: a canary for every commit that reaches main.+## Open questionsNone.