@starci/eslint-canon-be 3.4.54 → 3.4.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.4.56 - 2026-10-27
4
+
5
+ - Changed: bundled canon pins move with hfs 4.7.47 and the Grammar 0.12.14 family.
6
+
7
+ ## 3.4.55 - 2026-10-26
8
+
9
+ - Changed: the bundled runtime copies and canon pins move with the alpha.31 cohort (light push gate, owner rulings of 2026-10-26).
10
+
3
11
  ## 3.4.54 - 2026-10-26
4
12
 
5
13
  - Changed: the bundled canon pins follow the final package versions (Grammar 0.12.12 with the lint families, the event-stream package). No rule changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starci/eslint-canon-be",
3
- "version": "3.4.54",
3
+ "version": "3.4.56",
4
4
  "description": "The StarCi back-end lint canon: every rule its laws publish, gathered as one flat-config plugin.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,8 +38,9 @@ parallel: {gear: 1}
38
38
  # kernel (docs/supervisor.md) also takes, optional, defaults in home.mjs DEFAULTS:
39
39
  # kernel: {agent, model, effort} its agent pin (default: the kernel pin below)
40
40
  # workers: {base, max} the adaptive [Worker] cap, 0 to 10 (0 = the Supervisor runs no fix worker)
41
- # landGate: {mode: shared} shared lets running lanes commit directly; exclusive = gate only. A land
42
- # fast-forwards LOCAL main only: the remote main moves with a release (starci release cut)
41
+ # landGate: {mode: shared, push: true} shared lets running lanes commit directly; exclusive = gate only. A land
42
+ # fast-forwards LOCAL main; main reaches the remote right after a green scoped check through
43
+ # `starci release push` (push: true, the default; false locks the remote). CI is the critic.
43
44
  supervisor:
44
45
  # mode: chat (default) - the owner's desktop chat session is the Supervisor: it owns channel 'main'
45
46
  # and reads Decision Items; nothing starts a [Supervisor] kernel. kernel - the optional [Supervisor]
@@ -49,7 +50,7 @@ supervisor:
49
50
  pollIntervalMs: null
50
51
  repos: []
51
52
  # frozenMinutes: <n> # Host seat check: a busy frame unchanged this long is frozen, not busy
52
- # landGate: {mode: shared|exclusive}
53
+ # landGate: {mode: shared|exclusive, push: true|false}
53
54
  # delegation — while the owner is away, a named delegate (e.g. the supervisor chat) may
54
55
  # answer owner asks until the given time; excluded classes stay owner-only. null = none.
55
56
  # delegation: {asks: supervisor, until: 2026-09-23T09:00:00+07:00,
@@ -185,11 +186,9 @@ sonar: {organization: null}
185
186
  # minFreeRamPct free-RAM percentage below which no new heavy op starts
186
187
  # set them only in the gitignored config.yaml copy, e.g.
187
188
  # resources: {minFreeDiskGb: 5, minFreeDiskPct: 1, minFreeRamPct: 10}
188
- # release - where the Linux parity of a release is judged (scripts/guards/release-suite-mode.mjs; docs/releasing.md "Where the suite runs"). One key:
189
- # suite: local the shipped default: `starci release cut` runs the root rows (npm run test:packages, npm run test:e2e, npm run check) and the Linux parity container before it pushes,
190
- # and the pre-push gate asks for the green root rows
191
- # suite: ci the owner's recorded choice (2026-10-09): no local Linux container; the GitHub ci workflow runs the Linux parity (and SonarCloud) AFTER the push.
192
- # The cut still runs the same root rows and the example apps; the record lists linux-parity as delegated, never green.
193
- # A release can reach GitHub and its tag before the Linux parity has run; a red CI is fixed forward with the next pre-release (starci release ci-status).
194
- # "none" is refused: the Linux parity does not vanish, it moves to CI. Set it only in the gitignored config.yaml copy: release: {suite: ci}
189
+ # release - where the full suite of a release is judged (scripts/guards/release-suite-mode.mjs; docs/releasing.md "Where the suite runs"). One key:
190
+ # suite: local the shipped default: `starci release cut` also runs the L4 rows on this host (root rows, example apps, Sonar proofs, Linux parity container) before it tags; it never gates a push
191
+ # suite: ci the owner's recorded choice (2026-10-09, widened 2026-10-26 by push-main-after-scoped-check): EVERY row is judged by the GitHub workflows (ci, examples, sonar) on each push to main;
192
+ # the cut runs none and lists each row as delegated, never green. A red CI opens the next alpha.N.M and never blocks the next push (starci release ci-status).
193
+ # "none" is refused: the suite does not vanish, it moves to CI. Set it only in the gitignored config.yaml copy: release: {suite: ci}
195
194
  release: {suite: local}
@@ -294,13 +294,13 @@ const validateSupervisorBlock=(supervisor,profile)=>{
294
294
  throw new Error('Invalid config.yaml: supervisor.mode must be chat or kernel, or null.');
295
295
  // The [Supervisor] kernel seat (scripts/machine/home.mjs supervisorSettings): kernel {agent?, model?, effort?}
296
296
  // pins its agent (default: the kernel pin), workers {base?, max?} its adaptive [Worker] cap (0 to 10; the shipped default is 0 fix workers),
297
- // landGate {mode?: shared|exclusive} the land gate (scripts/supervisor/land.mjs).
297
+ // landGate {mode?: shared|exclusive, push?: boolean} the land gate (scripts/supervisor/land.mjs); push (default true, owner ruling push-main-after-scoped-check) lets `starci release push` send main to the remote after a green scoped check, false is the owner's lock on the remote.
298
298
  const seat=supervisor.kernel,workers=supervisor.workers,gate=supervisor.landGate;
299
299
  if(seat!==undefined&&seat!==null)validateAgentSeat(seat,'supervisor.kernel',profile);
300
300
  if(!(workers===undefined||workers===null||(plain(workers)&&Object.keys(workers).every(key=>['base','max'].includes(key)&&Number.isInteger(workers[key])&&workers[key]>=0&&workers[key]<=10))))
301
301
  throw new Error('Invalid config.yaml: supervisor.workers must be {base?, max?} integers from 0 to 10, or null.');
302
- if(!(gate===undefined||gate===null||(plain(gate)&&Object.keys(gate).every(key=>key==='mode'&&['shared','exclusive'].includes(gate.mode)))))
303
- throw new Error('Invalid config.yaml: supervisor.landGate must be {mode?: shared|exclusive}, or null.');
302
+ if(!(gate===undefined||gate===null||(plain(gate)&&Object.keys(gate).every(key=>(key==='mode'&&['shared','exclusive'].includes(gate.mode))||(key==='push'&&typeof gate.push==='boolean')))))
303
+ throw new Error('Invalid config.yaml: supervisor.landGate must be {mode?: shared|exclusive, push?: boolean}, or null.');
304
304
  // stallMinutes: scripts/supervisor/stall.mjs calls a running workflow STALLED after this many minutes with no progress.
305
305
  // frozenMinutes: scripts/supervisor/supervisor-watchdog.mjs reads a busy seat frame with no turn progress for this long as frozen.
306
306
  const frozen=supervisor.frozenMinutes;
@@ -3,14 +3,14 @@ import {invalid} from './invalid-config.mjs';
3
3
 
4
4
  /** The keys of the release block. */
5
5
  export const RELEASE_KEYS=Object.freeze(['suite']);
6
- /** Where the full test suite of a release is judged: `local` (the release cut runs it, the shipped default) or `ci` (the GitHub workflow runs it after the push; the cut runs only the affected specs of the release and the rows CI cannot run). */
6
+ /** Where the full test suite of a release is judged: `local` (the release cut also runs the L4 rows before it tags, the shipped default) or `ci` (the GitHub workflows judge EVERY row on each push to main; the cut runs none). */
7
7
  export const SUITE_MODES=Object.freeze(['local','ci']);
8
- export const RELEASE_DEFAULTS=Object.freeze({suite:'local'});
8
+ const RELEASE_DEFAULTS=Object.freeze({suite:'local'});
9
9
 
10
10
  /**
11
- * config.yaml `release` - {suite?: local | ci}: who judges the full suite of a release (docs/releasing.md "Where the suite runs"). `local` is the shipped
12
- * default: `starci release cut` runs the root suite and the Linux parity container before it pushes. `ci` is the owner's recorded choice (2026-10-09) that
13
- * the full suite runs on GitHub only: the cut runs no root suite and no Linux container, and the CI workflow's verdict is read afterwards (`starci release ci-status`).
11
+ * config.yaml `release` - {suite?: local | ci}: who judges the full suite of a release (docs/releasing.md "Where the suite runs"). `local` is the shipped default: `starci release cut` also runs the
12
+ * L4 rows on this host before it tags. `ci` is the owner's recorded choice (2026-10-09, widened 2026-10-26 by push-main-after-scoped-check): the full suite runs on GitHub only, on every push
13
+ * to main; the cut runs no row and the verdict is read with `starci release ci-status`. The push of main needs neither mode: it needs a green scoped check.
14
14
  * `none` is refused: the suite does not vanish, it moves to CI, and the value says so.
15
15
  */
16
16
  export function validateRelease(release){
@@ -30,35 +30,35 @@ pins:
30
30
  source: packages/event-stream/package.json
31
31
  why: 'the one server-sent-events client of every front end (fe-stack event-stream, owner:event-stream-package): the transport client layer (modules/api/sse/clients) creates one instance for the app with the bearer token source and the stream operations follow on it; it carries Last-Event-ID resume, the capped doubling backoff, the heartbeat timeout, the single 401 renewal and the useSWRSubscription adapter, so no app keeps a hand-written reader.'
32
32
  '@starci/grammar':
33
- version: 0.12.12
33
+ version: 0.12.14
34
34
  group: starci
35
35
  install: registry
36
36
  side: fe
37
37
  source: packages/grammar/package.json
38
38
  why: 'the grammar front ends read: the brand layer sets `--font-sans` and `--font-mono` and the grammar reads them; it carries the Input tel kind, the copyable and read-only Input, the IconButton disclosure props and count badge, ChatBubble, FillViewport, Textarea mentions and Enter-to-send, the leading PrimaryRailLayout rail, the plate-less Image, ListRow, the soft Alert, Progress steps, the floating primary IconButton, FlowGraph, the STATE-8 loading views and the bordered selectable TagGroup chips. The runtime source version wins for a @starci package.'
39
39
  '@starci/eslint-canon-be':
40
- version: 3.4.54
40
+ version: 3.4.56
41
41
  group: starci
42
42
  install: registry
43
43
  side: be
44
44
  source: packages/eslint/be/package.json
45
45
  why: 'the back-end ESLint canon: `loadHfs(import.meta.url)` of be/eslint.config.mjs finds the app-root hfs.json (kind app) and gives every linted file the view of the be side, and the project graph is built per side; its bundled runtime copies (slots, canon-pins, failure codes, the architecture machine) put .starcistacks and .sops.yaml at the app root; `starciBeConfig({ hfs: loadHfs(import.meta.url) })` is the typed factory and the BE-CONVENTION laws are its rules.'
46
46
  '@starci/eslint-canon-fe':
47
- version: 9.1.8
47
+ version: 9.1.10
48
48
  group: starci
49
49
  install: registry
50
50
  side: fe
51
51
  source: packages/eslint/fe/package.json
52
52
  why: 'the front-end ESLint canon: `loadHfs(import.meta.url)` of fe/eslint.config.mjs finds the app-root hfs.json (kind app) and gives every linted file the view of the fe side, and the project graph is built per side; its bundled runtime copies (slots, canon-pins, failure codes, the architecture machine) put .starcistacks and .sops.yaml at the app root; the front end has no tests (FE_NO_TESTS R97 in hfs) and no-vietnamese-in-source (R91) applies.'
53
53
  '@starci/eslint-grammar-starci':
54
- version: 0.12.12
54
+ version: 0.12.14
55
55
  group: starci
56
56
  install: registry
57
57
  side: fe
58
58
  source: packages/eslint/grammar-starci/package.json
59
59
  why: 'the StarCi Grammar component API lint, versioned with @starci/grammar; front ends compose this family package with the universal FE canon.'
60
60
  '@starci/eslint-grammar-offset-pop':
61
- version: 0.12.12
61
+ version: 0.12.14
62
62
  group: starci
63
63
  install: registry
64
64
  side: fe
@@ -98,14 +98,14 @@ pins:
98
98
  source: packages/test-world/package.json
99
99
  why: 'the shared e2e library of every back end (R47, R48), a devDependency of every back end: the warm stack behind toxiproxy, the network-edge fakes, the Nest boot, the typed useTestWorld handle, useSandbox for contract specs and the outage lock. Kafka is real own infra (the one digest-pinned apache/kafka KRaft image, a broker listener and proxy per slot, slot-prefixed topics, consumer groups and client ids) and Postgres is schema-per-context (a schema and a login role per context in a shared database). Each worker has its own data slot (<ns>_w<k>) with its own databases, Keycloak realm, leased Redis DB, bucket/collection/topic prefixes, fakes host, toxiproxy proxies and outage lock; a run provisions min(jest workers, workers cap, default 2) slots, and state file protocol 2 pairs exactly with @starci/jest-preset (TEST_WORLD_PAIR_MISMATCH otherwise). A modules world boots real peer apps beside its modules, world.apps.<name>.during(fn) is the outage of a peer app, w.keycloak.clientSecret(client) answers the run-generated secret of a confidential realm client, world.keycloak.events/sessions read the realm user events and live sessions, world.infra.postgresql.connection(name) takes one database connection down while the others serve, and world.resolve and scope.resolve take any Nest token. Every path a declaration names (`stack`, seeds, the realm, Dockerfiles) resolves from the app root (the directory of hfs.json); the globalSetup registers the path aliases as TypeScript resolves them. Its CLI main is exported at ./cli for starci app stack.'
100
100
  '@starci/cli':
101
- version: 1.7.45
101
+ version: 1.7.47
102
102
  group: starci
103
103
  install: registry
104
104
  side: both
105
105
  source: packages/cli/package.json
106
106
  why: 'the only StarCi command package; product repositories install it for starci app, while @starci/hfs remains its pinned transitive implementation.'
107
107
  '@starci/hfs':
108
- version: 4.7.45
108
+ version: 4.7.47
109
109
  group: starci
110
110
  install: registry
111
111
  side: both
@@ -20,7 +20,7 @@ schema: starci/hfs-rules@3
20
20
  version: 3.1.0
21
21
  gates:
22
22
  pre-commit: the managed L0 hook runs app hygiene, managed-file drift, ESLint per side and stylelint on staged source, and prettier on staged files; typecheck and targeted specs belong to the op gate under R225
23
- pre-push: the managed app hook validates an annotated release tag and the recorded L4 evidence for HEAD, permitting the release refs and backup namespace under R225; it starts no source check, build or test
23
+ pre-push: the managed app hook invokes the bundled push policy under R225; it starts no source check, build or test
24
24
  settle: the op gate `starci gate run` over the op's changed files (merge guard, starci app lint --changed, codegen, tsc, the slice's specs; only findings new against the workflow's previous checkpoint block), re-read at starci kernel settle, which refuses a red done; a green settle commits the op's checkpoint on wf-<workflowId>
25
25
  land: the workflow's finish, the only time main is touched - gate.mjs over the whole workflow branch against its merge-base with main, the merge guard, review.verify of the exact head that lands, the branch rebased onto main, then main fast-forwarded and pushed
26
26
  ci: GitHub Actions runs the same pinned starci app lint, format:check, typecheck, unit with the per-file coverage threshold, build:be and build:fe, then the Sonar scan and gate
@@ -3850,7 +3850,7 @@ rules:
3850
3850
  - {path: packages/hfs/src/hfs-supabase-secrets.spec.mjs, edition: lite}
3851
3851
  - id: R221
3852
3852
  code: "CI_TRIGGERS_RELEASE_ONLY"
3853
- law: "The only workflow triggers are a push of release tags, a push of release candidate branches `release/candidate-*`, a person dispatching it and, in the runtime's own workflows (`.github/workflows/` at the root), a push to `main`: every tracked workflow declares an `on` that holds only `push` filtered to `tags: ['v*']` and/or `branches` naming only `release/candidate-*` (and, in the runtime's own workflows, `main`; no paths or ignore filter beside them) and `workflow_dispatch`. Every `ci.yml`, and the runtime's `examples.yml`, must name `release/candidate-*`: `starci release cut` and `starci app release push` push the exact release sha there and move main and the tag only when that run is green (owner ruling candidate-ci, 2026-10-18). A push to any other branch, a pull_request, a schedule, a workflow_call or any other event refuses the workflow."
3853
+ law: "Workflow triggers are push filtered to v* tags or release/candidate-* branches, and workflow_dispatch. Runtime workflows and app ci.yml also admit main. App ci.yml includes the candidate branch filter for starci app release push. Other branches, events, path filters and ignore filters are refused."
3854
3854
  scope: runtime
3855
3855
  editions: [lite, full]
3856
3856
  docs: [docs/git-governance.md#r221]
@@ -3894,7 +3894,7 @@ rules:
3894
3894
  - {kind: runtime, id: protected-zone, at: scripts/hfs/runtime-rules/rights-policy.mjs}
3895
3895
  - id: R225
3896
3896
  code: "RT_HOOK_SHAPE"
3897
- law: "The app hook templates keep the gate model: pre-commit is L0 only (no typecheck, no test run); pre-push checks the release gate (the starci-release L4 record, refs/backup/, v[0-9] tags; the runtime's own hook is scripts/guards/release-push-gate.mjs, which judges main and v* tags against the release definition and lets every other ref through) and runs no npm test, jest, typecheck or lint."
3897
+ law: "The app hook templates keep the gate model: pre-commit is L0 only (no typecheck or test run); pre-push invokes the bundled scripts/guards/release-push-gate.mjs policy for fast-forward main, a clean outgoing secret scan and annotated v* tags. It runs no build, test, typecheck or lint."
3898
3898
  scope: runtime
3899
3899
  kinds: [check]
3900
3900
  gates: [land, runtime]
@@ -4269,7 +4269,7 @@ rules:
4269
4269
  editions: [lite, full]
4270
4270
  docs:
4271
4271
  - {path: docs/application-stacks.md#r251-deploy-workflow, editions: [lite, full]}
4272
- law: "In lite and full apps, deployment jobs declare a protected environment, explicit permissions and concurrency, materialize sealed secrets through SOPS_AGE_KEY or starci app secret materialize, and reference only the age key and transport SSH key/known_hosts secrets. They never embed a dotenv blob or write a dotenv file. Every remote workflow action uses a 40-hex commit SHA (local actions are allowed and container actions require a full sha256 digest); supply-chain reports each unpinned uses reference at its source line, including disabled jobs and steps; installed tools are checksum or digest verified, or supplied by a pinned action. App workflows start only on release tags [v*], the release candidate branches release/candidate-* (required in ci.yml: starci app release push waits for that run, owner ruling candidate-ci 2026-10-18) or workflow_dispatch, never on another branch push."
4272
+ law: "In lite and full apps, deployment jobs declare a protected environment, explicit permissions and concurrency, materialize sealed secrets through SOPS_AGE_KEY or starci app secret materialize, and reference only the age key and transport SSH key/known_hosts secrets. They never embed a dotenv blob or write a dotenv file. Every remote workflow action uses a 40-hex commit SHA (local actions are allowed and container actions require a full sha256 digest); supply-chain reports each unpinned uses reference at its source line, including disabled jobs and steps; installed tools are checksum or digest verified, or supplied by a pinned action. App workflows start only on release tags [v*], the release candidate branches release/candidate-* (required in ci.yml: starci app release push waits for that run, owner ruling candidate-ci 2026-10-18) or workflow_dispatch; ci.yml also runs on main, and other branch pushes are refused."
4273
4273
  kinds: [check]
4274
4274
  gates: [settle, land, ci]
4275
4275
  failureCodes: ["HFS_DEPLOY_WORKFLOW", "HFS_WORKFLOW_PIN", "HFS_CI_TOOL_INSTALL", "HFS_APP_WORKFLOW_TRIGGER"]
@@ -5576,7 +5576,7 @@ rules:
5576
5576
  templateNa: "The app composes its shell from product destinations and identity; full and lite example shells provide the reference."
5577
5577
  - id: R318
5578
5578
  code: "FE_NESTED_VARIANT"
5579
- law: "Apps compose Grammar with layout-only CSS; paint utilities, arbitrary paint properties and inline style paint belong to Grammar. Grammar context owns all layer-aware field variants, nested Tabs defaults and the content edge of panel lists; apps omit static field variants, do not force primary Tabs inside a painted surface, do not paint raw surfaces, and add no horizontal list-wrapper padding within the nearest painted Grammar surface. BOUNDARY-1 case-5 owns Divider full-bleed composition."
5579
+ law: "Apps compose Grammar with layout-only CSS; paint utilities, arbitrary paint properties and inline style paint belong to Grammar. Grammar context owns all layer-aware field variants, nested Tabs defaults and the content edge of panel lists; apps omit static field variants, do not force primary Tabs inside a painted surface, do not paint raw surfaces, and add no horizontal list-wrapper padding within the nearest painted Grammar surface. BOUNDARY-1 case-5 owns Divider full-bleed composition. Navigation-like single-select lists use fill without checks (COLLECTION-1 case-9); application styles never target Grammar internal classes (ACTION-3 case-5)."
5580
5580
  kinds: [lint, design]
5581
5581
  gates: [pre-commit, settle, land, ci]
5582
5582
  failureCodes: ["FE_NESTED_VARIANT", "FE_LIST_PANEL_PADDING", "FE_GRAMMAR_LAYOUT_ONLY", "FE_DIVIDER_FULL_BLEED"]
@@ -5585,18 +5585,23 @@ rules:
5585
5585
  - {kind: eslint-fe, id: no-list-panel-padding}
5586
5586
  - {kind: eslint-fe, id: no-app-surface-paint}
5587
5587
  - {kind: eslint-fe, id: divider-full-bleed}
5588
+ - {kind: eslint-fe, id: selection-fill-no-check}
5589
+ - {kind: eslint-fe, id: no-grammar-internal-selector}
5588
5590
  editions: [lite, full]
5589
5591
  docs: ["docs/code-pattern-enforcement.md#r318-app-grammar-composition"]
5590
5592
  templateNa: "Product composition is proved by the FE canon's Grammar import and surface fixtures; a template cannot choose product slots or lists."
5591
5593
  proves:
5592
5594
  - {path: packages/eslint/fe/divider-full-bleed.spec.mjs, editions: [lite, full], codes: [FE_DIVIDER_FULL_BLEED]}
5593
5595
  - {path: packages/eslint/fe/surface-rules.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_LIST_PANEL_PADDING, FE_GRAMMAR_LAYOUT_ONLY]}
5596
+ - {path: packages/eslint/fe/ui-rulings.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_GRAMMAR_LAYOUT_ONLY]}
5594
5597
  exemplifiedBy:
5595
5598
  - {path: packages/eslint/fe/divider-full-bleed.spec.mjs, editions: [lite, full], codes: [FE_DIVIDER_FULL_BLEED]}
5596
5599
  - {path: packages/eslint/fe/surface-rules.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_LIST_PANEL_PADDING, FE_GRAMMAR_LAYOUT_ONLY]}
5600
+ - {path: packages/eslint/fe/ui-rulings.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_GRAMMAR_LAYOUT_ONLY]}
5597
5601
  witness:
5598
5602
  - {path: packages/eslint/fe/divider-full-bleed.spec.mjs, editions: [lite, full], codes: [FE_DIVIDER_FULL_BLEED]}
5599
5603
  - {path: packages/eslint/fe/surface-rules.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_LIST_PANEL_PADDING, FE_GRAMMAR_LAYOUT_ONLY]}
5604
+ - {path: packages/eslint/fe/ui-rulings.spec.mjs, editions: [lite, full], codes: [FE_NESTED_VARIANT, FE_GRAMMAR_LAYOUT_ONLY]}
5600
5605
  cases:
5601
5606
  - id: case-1
5602
5607
  date: "2026-10-25"
@@ -5633,3 +5638,29 @@ rules:
5633
5638
  source: owner
5634
5639
  quote: "Critique this carefully so the button choice is a system and not a feeling, understand? Update .claude."
5635
5640
  ruling: "The button variant follows the declared intent (owner ruling button-variant-follows-intent): the app passes intent and step, Grammar derives the variant from them and from the placement it reads from React context. The semantics are HeroUI's, so the lint is universal in the FE canon."
5641
+
5642
+ - id: R320
5643
+ code: "FE_CONTROL_HEIGHT"
5644
+ law: "One 40px control height is the default of every standalone control (CONTROL-HEIGHT-1): an app never picks a larger size than the default outside a landing hero call to action, and controls of one row share one size."
5645
+ kinds: [lint, design]
5646
+ gates: [pre-commit, settle, land, ci]
5647
+ failureCodes: ["FE_CONTROL_HEIGHT"]
5648
+ enforcers:
5649
+ - {kind: eslint-fe, id: control-height}
5650
+ editions: [lite, full]
5651
+ docs:
5652
+ - packages/eslint/fe/docs/control-height.md
5653
+ - docs/code-pattern-enforcement.md#r320-control-height
5654
+ proves:
5655
+ - {path: packages/eslint/fe/control-height.spec.mjs, editions: [lite, full], codes: [FE_CONTROL_HEIGHT]}
5656
+ exemplifiedBy:
5657
+ - {path: packages/eslint/fe/control-height.spec.mjs, editions: [lite, full], codes: [FE_CONTROL_HEIGHT]}
5658
+ witness:
5659
+ - {path: packages/eslint/fe/control-height.spec.mjs, editions: [lite, full], codes: [FE_CONTROL_HEIGHT]}
5660
+ templateNa: "The control height is Grammar's own value; a template states no size."
5661
+ cases:
5662
+ - id: case-1
5663
+ date: "2026-10-26"
5664
+ source: owner
5665
+ quote: "The size of the buttons and controls is uneven; the teacher thinks height = 40px (h-10) should be fixed for every button, switch, input, tabs and so on, what do you think? (translated from Vietnamese)"
5666
+ ruling: "One 40px control height is the default of every standalone control (owner ruling control-height-40): Grammar draws it, an app omits size, sm is for a nested item or dense toolbar row, lg only for a landing hero call to action, and controls of one row share one size."
@@ -131,12 +131,6 @@ removed:
131
131
  use: '`starci debug digest` (read-only) and `starci debug run <probe>`'
132
132
  since: 1.0.0-alpha.6
133
133
  match: '(?<![\w-])debug pass\b'
134
- - id: config-supervisor-landgate-push
135
- kind: config-key
136
- name: supervisor.landGate.push
137
- use: 'a land fast-forwards local main only and never pushes; the remote main of the runtime moves once per release, through starci release cut'
138
- since: 1.0.0-alpha.7
139
- match: 'landGate\.push\b'
140
134
  - id: flag-land-no-push
141
135
  kind: flag
142
136
  name: --no-push
@@ -355,7 +349,7 @@ removed:
355
349
  - id: verb-test-run
356
350
  kind: verb
357
351
  name: starci test run
358
- use: 'the L1 to L4 spec ladder is gone with the runtime specs; `starci runtime verify` proves a change, `starci release cut` runs the release rows'
352
+ use: 'the L1 to L4 spec ladder is gone with the runtime specs; `starci runtime verify` proves a change, CI runs the release rows'
359
353
  since: 1.0.0-alpha.19
360
354
  match: '\bstarci test run\b'
361
355
  - id: verb-gate-runtime-coverage
@@ -430,3 +424,35 @@ removed:
430
424
  use: 'DropdownMenuItem.tone uses neutral or danger; destructive commands use danger'
431
425
  since: 1.0.0-alpha.31
432
426
  match: 'DropdownMenuItem(?:Tone|\.tone)[^\r\n]*["'']negative["'']'
427
+
428
+ - id: code-release-receipt-missing
429
+ kind: code
430
+ name: RELEASE_RECEIPT_MISSING
431
+ use: 'the push of main asks for a fast-forward and a clean secret scan; a release tag asks for no receipt'
432
+ since: 1.0.0-alpha.31.1
433
+ - id: code-release-receipt-incomplete
434
+ kind: code
435
+ name: RELEASE_RECEIPT_INCOMPLETE
436
+ use: 'the push of main asks for a fast-forward and a clean secret scan; CI judges the full suite'
437
+ since: 1.0.0-alpha.31.1
438
+ - id: code-release-suite-mode
439
+ kind: code
440
+ name: RELEASE_SUITE_MODE
441
+ use: 'release.suite chooses whether the cut also runs the L4 rows; no record or gate reads the mode'
442
+ since: 1.0.0-alpha.31.1
443
+ - id: code-release-version-unchanged
444
+ kind: code
445
+ name: RELEASE_VERSION_UNCHANGED
446
+ use: 'main is pushed without a version move; RELEASE_VERSION_NOT_NEXT judges the version of a tag against the v* tags'
447
+ since: 1.0.0-alpha.31.1
448
+ - id: code-release-remote-head-unknown
449
+ kind: code
450
+ name: RELEASE_REMOTE_HEAD_UNKNOWN
451
+ use: 'a release tag is judged against the v* tags, not against the remote main head'
452
+ since: 1.0.0-alpha.31.1
453
+ - id: config-release-candidate-blocking
454
+ kind: config-key
455
+ name: candidate.blocking
456
+ use: 'the runtime cut has no candidate step; the ci, examples and sonar workflows judge each push to main (suite.ci.workflows)'
457
+ since: 1.0.0-alpha.31.1
458
+ match: 'candidate\.blocking\b'