@starci/eslint-canon-be 3.4.44 → 3.4.46

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.4.46 - 2026-10-26
4
+ - Changed: the bundled runtime copies (canon pins) follow the stylelint 2.0.13, hfs 4.7.38 and cli 1.7.38 pins. No rule changes.
5
+
6
+ ## 3.4.45 - 2026-10-26
7
+ - Changed: the bundled runtime copies (canon pins, front-end stack, rules and the Grammar index) follow the alpha.31.1 sources. No rule changes.
8
+
3
9
  ## 3.4.44 - 2026-10-26
4
10
  - Fixed: R80 delegated claims map arguments over runtime parameters and reject spreads, effects hidden in `const` preparation, protected or replaced helpers, and runner or manager unions containing lookalikes. Private helpers (including `#private`) and independently judged public delivery helpers retain the transaction proof; public overrides preserve the claim's manager binding and prelude restrictions, including widened parameters and arrow properties. Every declared runner and manager origin must match its owner.
5
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starci/eslint-canon-be",
3
- "version": "3.4.44",
3
+ "version": "3.4.46",
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",
@@ -61,14 +61,23 @@ topics:
61
61
  shadow, one pink decision accent with a text-safe accent for text — with DNA, idioms, a
62
62
  mobile-first playbook for playful learning or consumer apps, and family boundaries including two
63
63
  decisions flagged for the family owner.
64
+ - id: heritage
65
+ path: heritage/DNA.yaml
66
+ title: Heritage Grammar
67
+ summary: |
68
+ Generated snapshot of the Heritage family's parity declaration, arrangement, scoped tokens and Common renderers.
64
69
  families:
70
+ - id: heritage
71
+ title: heritage
72
+ contractRef: common
73
+ packageSnapshot: heritage/DNA.yaml
65
74
  - id: common
66
75
  title: common
67
76
  componentContract:
68
77
  package: '@starci/grammar'
69
78
  entry: '@starci/grammar/common'
70
79
  styleEntry: '@starci/grammar/common.css'
71
- peers: [react, '@heroui/react', '@xyflow/react']
80
+ peers: [react, '@heroui/react', '@xyflow/react', react-aria-components]
72
81
  packageSnapshot: common/DNA.yaml
73
82
  scope: |
74
83
  DNA snapshot only. This catalog carries no Common-side family boundary, idiom set or composition
@@ -23,42 +23,42 @@ pins:
23
23
  source: packages/heroicons/package.json
24
24
  why: 'StarCi custom Heroicons-compatible cuts; eslint-grammar-starci (icon.mjs) admits @starci/heroicons/24/outline and /16/solid as icon sources, so an app that uses them gets this exact version.'
25
25
  '@starci/grammar':
26
- version: 0.12.3
26
+ version: 0.12.5
27
27
  group: starci
28
28
  install: registry
29
29
  side: fe
30
30
  source: packages/grammar/package.json
31
31
  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.'
32
32
  '@starci/eslint-canon-be':
33
- version: 3.4.44
33
+ version: 3.4.46
34
34
  group: starci
35
35
  install: registry
36
36
  side: be
37
37
  source: packages/eslint/be/package.json
38
38
  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.'
39
39
  '@starci/eslint-canon-fe':
40
- version: 9.0.0
40
+ version: 9.1.1
41
41
  group: starci
42
42
  install: registry
43
43
  side: fe
44
44
  source: packages/eslint/fe/package.json
45
45
  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.'
46
46
  '@starci/eslint-grammar-starci':
47
- version: 0.12.3
47
+ version: 0.12.5
48
48
  group: starci
49
49
  install: registry
50
50
  side: fe
51
51
  source: packages/eslint/grammar-starci/package.json
52
52
  why: 'the StarCi Grammar component API lint, versioned with @starci/grammar; front ends compose this family package with the universal FE canon.'
53
53
  '@starci/eslint-grammar-offset-pop':
54
- version: 0.12.3
54
+ version: 0.12.5
55
55
  group: starci
56
56
  install: registry
57
57
  side: fe
58
58
  source: packages/eslint/grammar-offset-pop/package.json
59
59
  why: 'the Offset Pop Grammar component API lint, versioned with @starci/grammar; its shared component contract comes from the StarCi family lint without copying rules.'
60
60
  '@starci/stylelint-canon':
61
- version: 2.0.12
61
+ version: 2.0.13
62
62
  group: starci
63
63
  install: registry
64
64
  side: fe
@@ -91,14 +91,14 @@ pins:
91
91
  source: packages/test-world/package.json
92
92
  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.'
93
93
  '@starci/cli':
94
- version: 1.7.35
94
+ version: 1.7.38
95
95
  group: starci
96
96
  install: registry
97
97
  side: both
98
98
  source: packages/cli/package.json
99
99
  why: 'the only StarCi command package; product repositories install it for starci app, while @starci/hfs remains its pinned transitive implementation.'
100
100
  '@starci/hfs':
101
- version: 4.7.35
101
+ version: 4.7.38
102
102
  group: starci
103
103
  install: registry
104
104
  side: both
@@ -299,6 +299,11 @@ pins:
299
299
  group: ui
300
300
  side: fe
301
301
  why: 'Grammar FlowGraph imports React Flow from @xyflow/react; every Grammar consumer declares this required peer at the version used by the Grammar package.'
302
+ react-aria-components:
303
+ version: 1.21.1
304
+ group: ui
305
+ side: fe
306
+ why: 'Grammar imports React Aria Components directly (Sidebar, Field); every Grammar consumer declares this required peer at the version HeroUI resolves.'
302
307
  '@heroui/react':
303
308
  version: 3.2.6
304
309
  group: ui
@@ -99,7 +99,7 @@ concerns:
99
99
  why: useTranslations for copy and the next-intl formatter for numbers, fixed dates and currency; FE-DATE owns live time display.
100
100
  - id: ui
101
101
  tier: core
102
- packages: ['@heroui/react', '@heroui/styles', tailwindcss, '@starci/grammar']
102
+ packages: ['@heroui/react', '@heroui/styles', tailwindcss, '@starci/grammar', react-aria-components]
103
103
  home: [fe.components, fe.feature]
104
104
  pattern: FE-UI
105
105
  forbids: ['@mantine/core', '@mui/material', '@chakra-ui/react', antd, styled-components, '@emotion/react', '@emotion/styled']
@@ -121,10 +121,11 @@ concerns:
121
121
  pattern: FE-UI
122
122
  forbids: ['@dicebear/*', boring-avatars, 'react-nice-avatar', multiavatar]
123
123
  why: >-
124
- Grammar owns circle avatars: pass the uploaded avatar as src, otherwise pass the user or identity id as seed on
125
- Avatar, AvatarButton or AvatarGroup members. Grammar renders deterministic DiceBear images with its fixed DNA style;
126
- @dicebear/core and @dicebear/styles are Grammar runtime dependencies pinned in canon-pins.yaml. Apps declare and
127
- import @starci/grammar, never @dicebear/*, and draw no avatar visuals. With neither src nor seed, initials remain.
124
+ Grammar owns avatars: pass the uploaded avatar as src and the user or identity id as seed on Avatar, AvatarButton
125
+ or AvatarGroup members. Without src, Grammar renders bundled DiceBear initials using the first and last words of
126
+ name, with colour seeded by seed when present and by name otherwise. kind="agent" adds the Grammar-owned bot badge
127
+ without changing the name rule. @dicebear/core and @dicebear/styles are Grammar runtime dependencies pinned in
128
+ canon-pins.yaml. Apps declare and import @starci/grammar, never @dicebear/*, and draw no avatar visuals.
128
129
  - id: theme
129
130
  tier: core
130
131
  packages: [next-themes]
@@ -5598,3 +5598,33 @@ rules:
5598
5598
  source: owner
5599
5599
  quote: "apps on Grammar write layout-only CSS; every visual element lives in @starci/grammar"
5600
5600
  ruling: "ANATOMY-2 owns contextual field defaults, PADDING-0 owns panel list alignment, and COLLECTION-3 owns composite member avatars for conversation and group identity. Grammar supplies these capabilities; the FE canon rejects static field variants on either layer, primary Tabs inside painted surfaces, raw app surface paint and stacked horizontal list-wrapper padding inside painted surfaces."
5601
+
5602
+ - id: R319
5603
+ code: "FE_BUTTON_INTENT"
5604
+ law: "An app Button or IconButton declares an intent and never a variant; Grammar resolves the variant from intent and placement (CTA-6). A destructive confirm lives in a confirmation dialog, a render holds at most one commit, and a collection item holds none."
5605
+ kinds: [codemod, lint, design]
5606
+ gates: [pre-commit, settle, land, ci]
5607
+ failureCodes: ["FE_BUTTON_INTENT", "FE_BUTTON_INTENT_REQUIRED", "FE_BUTTON_NO_VARIANT", "FE_DESTRUCTIVE_CONFIRM_IN_DIALOG", "FE_SINGLE_COMMIT_PER_RENDER", "FE_NO_COMMIT_IN_COLLECTION_ITEM"]
5608
+ enforcers:
5609
+ - {kind: eslint-fe, id: button-intent-required}
5610
+ - {kind: eslint-fe, id: button-no-variant}
5611
+ - {kind: eslint-fe, id: destructive-confirm-in-dialog}
5612
+ - {kind: eslint-fe, id: single-commit-per-render}
5613
+ - {kind: eslint-fe, id: no-commit-in-collection-item}
5614
+ editions: [lite, full]
5615
+ docs:
5616
+ - knowledge/ui/composition/cta.yaml
5617
+ - docs/code-pattern-enforcement.md#r319-button-intent
5618
+ proves:
5619
+ - {path: packages/eslint/fe/button-intent.spec.mjs, editions: [lite, full], codes: [FE_BUTTON_INTENT, FE_BUTTON_INTENT_REQUIRED, FE_BUTTON_NO_VARIANT, FE_DESTRUCTIVE_CONFIRM_IN_DIALOG, FE_SINGLE_COMMIT_PER_RENDER, FE_NO_COMMIT_IN_COLLECTION_ITEM]}
5620
+ exemplifiedBy:
5621
+ - {path: packages/eslint/fe/button-intent.spec.mjs, editions: [lite, full], codes: [FE_BUTTON_INTENT, FE_BUTTON_INTENT_REQUIRED, FE_BUTTON_NO_VARIANT, FE_DESTRUCTIVE_CONFIRM_IN_DIALOG, FE_SINGLE_COMMIT_PER_RENDER, FE_NO_COMMIT_IN_COLLECTION_ITEM]}
5622
+ witness:
5623
+ - {path: packages/eslint/fe/button-intent.spec.mjs, editions: [lite, full], codes: [FE_BUTTON_INTENT, FE_BUTTON_INTENT_REQUIRED, FE_BUTTON_NO_VARIANT, FE_DESTRUCTIVE_CONFIRM_IN_DIALOG, FE_SINGLE_COMMIT_PER_RENDER, FE_NO_COMMIT_IN_COLLECTION_ITEM]}
5624
+ templateNa: "The intent of an action comes from the product decision in the .starciwork specification; a template cannot choose it."
5625
+ cases:
5626
+ - id: case-1
5627
+ date: "2026-10-25"
5628
+ source: owner
5629
+ quote: "Critique this carefully so the button choice is a system and not a feeling, understand? Update .claude."
5630
+ 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."