@starci/eslint-canon-be 3.4.35 → 3.4.37
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.37 - 2026-10-24
|
|
4
|
+
- Changed: the bundled canon pins select zod 4.6.7, @starci/hfs 4.7.29 and @starci/cli 1.7.29.
|
|
5
|
+
|
|
6
|
+
## 3.4.36 - 2026-10-23
|
|
7
|
+
- Changed: the bundled rule catalog and slot manifest name the specs that moved into this package (they drive its rules and fixtures and now pass from its own clean install); 3.4.35 was published with the old spec paths and is superseded.
|
|
8
|
+
|
|
3
9
|
## 3.4.35 - 2026-10-23
|
|
4
10
|
- Changed: `BE_AMBIENT_ID` has no exemption for the test world (owner ruling 2026-10-22: a loosening is always red); the world asks the injected `Ids` port like everything else.
|
|
5
11
|
- Changed: the bundled canon pins select @starci/hfs 4.7.28 and @starci/cli 1.7.28.
|
package/package.json
CHANGED
|
@@ -29,14 +29,14 @@ pins:
|
|
|
29
29
|
source: packages/grammar/package.json
|
|
30
30
|
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.'
|
|
31
31
|
'@starci/eslint-canon-be':
|
|
32
|
-
version: 3.4.
|
|
32
|
+
version: 3.4.37
|
|
33
33
|
group: starci
|
|
34
34
|
install: registry
|
|
35
35
|
side: be
|
|
36
36
|
source: packages/eslint/be/package.json
|
|
37
37
|
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.'
|
|
38
38
|
'@starci/eslint-canon-fe':
|
|
39
|
-
version: 8.4.
|
|
39
|
+
version: 8.4.36
|
|
40
40
|
group: starci
|
|
41
41
|
install: registry
|
|
42
42
|
side: fe
|
|
@@ -76,14 +76,14 @@ pins:
|
|
|
76
76
|
source: packages/test-world/package.json
|
|
77
77
|
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.'
|
|
78
78
|
'@starci/cli':
|
|
79
|
-
version: 1.7.
|
|
79
|
+
version: 1.7.29
|
|
80
80
|
group: starci
|
|
81
81
|
install: registry
|
|
82
82
|
side: both
|
|
83
83
|
source: packages/cli/package.json
|
|
84
84
|
why: 'the only StarCi command package; product repositories install it for starci app, while @starci/hfs remains its pinned transitive implementation.'
|
|
85
85
|
'@starci/hfs':
|
|
86
|
-
version: 4.7.
|
|
86
|
+
version: 4.7.29
|
|
87
87
|
group: starci
|
|
88
88
|
install: registry
|
|
89
89
|
side: both
|
|
@@ -336,10 +336,10 @@ pins:
|
|
|
336
336
|
side: fe
|
|
337
337
|
why: 'the zod resolver of react-hook-form (fe-stack forms); version read from the starci-academy package-lock on 2026-10-13.'
|
|
338
338
|
'zod':
|
|
339
|
-
version: 4.
|
|
339
|
+
version: 4.6.7
|
|
340
340
|
group: framework
|
|
341
341
|
side: fe
|
|
342
|
-
why: 'the schema library of front-end forms and boundary parsing (fe-stack forms)
|
|
342
|
+
why: 'the schema library of front-end forms and boundary parsing (fe-stack forms), also an npm override of every app root; 4.6.7 (the registry latest on 2026-10-24) closes GHSA-mrhx-c7xc-m3w5 (high, fixed in 4.6.6), which npm audit --audit-level=high reported against 4.4.3.'
|
|
343
343
|
'@reduxjs/toolkit':
|
|
344
344
|
version: 2.11.2
|
|
345
345
|
group: framework
|
|
@@ -393,15 +393,15 @@ rules:
|
|
|
393
393
|
- {kind: eslint-fe, id: no-double-cast}
|
|
394
394
|
proves:
|
|
395
395
|
- {path: packages/hfs/src/hfs-ts-strict.spec.mjs, editions: [lite, full], codes: [HFS_TS_STRICT]}
|
|
396
|
-
- {path: packages/
|
|
396
|
+
- {path: packages/eslint/fe/hfs-ts-strict-rule-tester.spec.mjs, editions: [lite, full], codes: [FE_TYPE_ESCAPE]}
|
|
397
397
|
exemplifiedBy:
|
|
398
398
|
- {path: "packages/hfs/templates/be/tool-config/tsconfig.json", editions: ["lite", "full"]}
|
|
399
399
|
- {path: "packages/hfs/templates/fe/tool-config/tsconfig.json", editions: ["lite", "full"]}
|
|
400
400
|
- {path: packages/hfs/src/hfs-ts-strict.spec.mjs, editions: [lite, full], codes: [HFS_TS_STRICT]}
|
|
401
|
-
- {path: packages/
|
|
401
|
+
- {path: packages/eslint/fe/hfs-ts-strict-rule-tester.spec.mjs, editions: [lite, full], codes: [FE_TYPE_ESCAPE]}
|
|
402
402
|
witness:
|
|
403
403
|
- {path: packages/hfs/src/hfs-ts-strict.spec.mjs, editions: [lite, full], codes: [HFS_TS_STRICT]}
|
|
404
|
-
- {path: packages/
|
|
404
|
+
- {path: packages/eslint/fe/hfs-ts-strict-rule-tester.spec.mjs, editions: [lite, full], codes: [FE_TYPE_ESCAPE]}
|
|
405
405
|
- id: R23
|
|
406
406
|
code: "HFS_CONTRACT_SNAPSHOT_DRIFT"
|
|
407
407
|
editions: ["lite", "full"]
|
|
@@ -451,16 +451,16 @@ rules:
|
|
|
451
451
|
- {kind: eslint-be, id: dead-exports}
|
|
452
452
|
- {kind: eslint-fe, id: dead-exports}
|
|
453
453
|
proves:
|
|
454
|
-
- {path: packages/
|
|
454
|
+
- {path: packages/eslint/be/hfs-unused-export.spec.mjs, editions: [lite, full], codes: [HFS_UNUSED_EXPORT, HFS_UNUSED_FILE]}
|
|
455
455
|
exemplifiedBy:
|
|
456
456
|
- {path: "packages/hfs/templates/be/skeleton-lite/apps/api/src/main.ts", edition: "lite"}
|
|
457
457
|
- {path: "packages/hfs/templates/be/skeleton/apps/__app__/src/main.ts", edition: "full"}
|
|
458
458
|
- {path: "packages/hfs/templates/fe/skeleton-lite/apps/web/src/app/[locale]/page.tsx", edition: "lite"}
|
|
459
459
|
- {path: "packages/hfs/templates/fe/skeleton/apps/app/src/app/[locale]/page.tsx", edition: "full"}
|
|
460
|
-
- {path: packages/
|
|
460
|
+
- {path: packages/eslint/be/hfs-unused-export.spec.mjs, editions: [lite, full], codes: [HFS_UNUSED_EXPORT, HFS_UNUSED_FILE]}
|
|
461
461
|
witness:
|
|
462
|
-
- {path: packages/
|
|
463
|
-
- {path: packages/
|
|
462
|
+
- {path: packages/eslint/be/hfs-unused-export.spec.mjs, edition: lite, codes: [HFS_UNUSED_EXPORT, HFS_UNUSED_FILE]}
|
|
463
|
+
- {path: packages/eslint/be/hfs-unused-export.spec.mjs, edition: full, codes: [HFS_UNUSED_EXPORT, HFS_UNUSED_FILE]}
|
|
464
464
|
- id: R26
|
|
465
465
|
code: "BE_TIER_DIRECTION"
|
|
466
466
|
editions: [lite, full]
|
|
@@ -530,13 +530,13 @@ rules:
|
|
|
530
530
|
- {kind: eslint-be, id: feature-layout}
|
|
531
531
|
- {kind: eslint-be, id: application-never-imports-transport}
|
|
532
532
|
proves:
|
|
533
|
-
- {path: packages/
|
|
533
|
+
- {path: packages/eslint/be/a16-r29-r31.spec.mjs, editions: [lite, full]}
|
|
534
534
|
exemplifiedBy:
|
|
535
535
|
- {path: packages/hfs/templates/be/patterns/api/feature.module.ts.tpl, editions: [lite, full]}
|
|
536
|
-
- {path: packages/
|
|
536
|
+
- {path: packages/eslint/be/a16-r29-r31.spec.mjs, editions: [lite, full]}
|
|
537
537
|
witness:
|
|
538
|
-
- {path: packages/
|
|
539
|
-
- {path: packages/
|
|
538
|
+
- {path: packages/eslint/be/a16-r29-r31.spec.mjs, edition: lite}
|
|
539
|
+
- {path: packages/eslint/be/a16-r29-r31.spec.mjs, edition: full}
|
|
540
540
|
- id: R30
|
|
541
541
|
code: "BE_PUBLIC_SURFACE"
|
|
542
542
|
law: "Every owner has one `index.ts`; cross-owner imports use it, same-owner imports are relative and never go through it; it holds only named `export { }` lines, no `export *`, no alias re-export (`export { X as Y }`, `export const Y = X`, `export type Y = X`, `export interface Y extends X {}`: one declaration has one name), within the owner slot's `indexExports` budget (60 for domain and feature owners, 80 for `be.integrations` provider entries); cross-package imports use the package name and a declared export."
|
|
@@ -1064,13 +1064,13 @@ rules:
|
|
|
1064
1064
|
- {kind: eslint-fe, id: no-hand-typed-wire}
|
|
1065
1065
|
- {kind: hfs, id: wire-generated, at: scripts/hfs/rules/frontend-tree.mjs}
|
|
1066
1066
|
proves:
|
|
1067
|
-
- {path: packages/
|
|
1067
|
+
- {path: packages/eslint/fe/r52-wire-generated.spec.mjs, editions: [lite, full], codes: [FE_WIRE_GENERATED]}
|
|
1068
1068
|
exemplifiedBy:
|
|
1069
1069
|
- {path: packages/hfs/templates/fe/table/graphql/query.types.ts.tpl, editions: [lite, full]}
|
|
1070
|
-
- {path: packages/
|
|
1070
|
+
- {path: packages/eslint/fe/r52-wire-generated.spec.mjs, editions: [lite, full], codes: [FE_WIRE_GENERATED]}
|
|
1071
1071
|
witness:
|
|
1072
|
-
- {path: packages/
|
|
1073
|
-
- {path: packages/
|
|
1072
|
+
- {path: packages/eslint/fe/r52-wire-generated.spec.mjs, edition: lite, codes: [FE_WIRE_GENERATED]}
|
|
1073
|
+
- {path: packages/eslint/fe/r52-wire-generated.spec.mjs, edition: full, codes: [FE_WIRE_GENERATED]}
|
|
1074
1074
|
- id: R53
|
|
1075
1075
|
code: "FE_ERROR_BOUNDARY_MISSING"
|
|
1076
1076
|
editions: [lite, full]
|
|
@@ -1083,14 +1083,14 @@ rules:
|
|
|
1083
1083
|
- {kind: eslint-fe, id: no-null-suspense-fallback}
|
|
1084
1084
|
- {kind: machine, id: error-boundary-missing, at: scripts/hfs/architecture/required-files.mjs}
|
|
1085
1085
|
proves:
|
|
1086
|
-
- {path: packages/
|
|
1086
|
+
- {path: packages/eslint/fe/r53-error-boundaries.spec.mjs, editions: [lite, full], codes: [FE_ERROR_BOUNDARY_MISSING, FE_SUSPENSE_NULL_FALLBACK]}
|
|
1087
1087
|
exemplifiedBy:
|
|
1088
1088
|
- {path: packages/hfs/templates/fe/skeleton-lite/apps/web/src/app/global-error.tsx, edition: lite}
|
|
1089
1089
|
- {path: packages/hfs/templates/fe/skeleton/apps/app/src/app/global-error.tsx, edition: full}
|
|
1090
|
-
- {path: packages/
|
|
1090
|
+
- {path: packages/eslint/fe/r53-error-boundaries.spec.mjs, editions: [lite, full], codes: [FE_ERROR_BOUNDARY_MISSING, FE_SUSPENSE_NULL_FALLBACK]}
|
|
1091
1091
|
witness:
|
|
1092
|
-
- {path: packages/
|
|
1093
|
-
- {path: packages/
|
|
1092
|
+
- {path: packages/eslint/fe/r53-error-boundaries.spec.mjs, edition: lite, codes: [FE_ERROR_BOUNDARY_MISSING, FE_SUSPENSE_NULL_FALLBACK]}
|
|
1093
|
+
- {path: packages/eslint/fe/r53-error-boundaries.spec.mjs, edition: full, codes: [FE_ERROR_BOUNDARY_MISSING, FE_SUSPENSE_NULL_FALLBACK]}
|
|
1094
1094
|
- id: R54
|
|
1095
1095
|
code: "FE_ROUTE_FILES_THIN"
|
|
1096
1096
|
law: "Route files mount one owner; Next conventions (`proxy.ts`, metadata)."
|
|
@@ -1780,13 +1780,14 @@ rules:
|
|
|
1780
1780
|
docs: ["docs/be-shape-coverage.md#r89"]
|
|
1781
1781
|
gates: ["pre-commit","settle","land","ci"]
|
|
1782
1782
|
proves:
|
|
1783
|
-
- {path: packages/
|
|
1783
|
+
- {path: packages/eslint/be/be-r89-source-form-coverage.spec.mjs, editions: [lite, full]}
|
|
1784
|
+
- {path: packages/hfs/src/be-r89-source-suffix.spec.mjs, editions: [lite, full], codes: [BE_SOURCE_FORM]}
|
|
1784
1785
|
exemplifiedBy:
|
|
1785
1786
|
- {path: packages/hfs/templates/be/patterns/api/graphql.input.ts.tpl, editions: [lite, full]}
|
|
1786
|
-
- {path: packages/
|
|
1787
|
+
- {path: packages/eslint/be/be-r89-source-form-coverage.spec.mjs, editions: [lite, full]}
|
|
1787
1788
|
witness:
|
|
1788
|
-
- {path: packages/
|
|
1789
|
-
- {path: packages/
|
|
1789
|
+
- {path: packages/eslint/be/be-r89-source-form-coverage.spec.mjs, edition: lite, codes: [BE_SOURCE_FORM, BE_PUBLIC_CONTRACT_FORM]}
|
|
1790
|
+
- {path: packages/eslint/be/be-r89-source-form-coverage.spec.mjs, edition: full, codes: [BE_SOURCE_FORM, BE_PUBLIC_CONTRACT_FORM]}
|
|
1790
1791
|
- id: R90
|
|
1791
1792
|
code: "BE_INFRA_OWNER"
|
|
1792
1793
|
law: "Each raw infrastructure library (HTTP, cache, queue, scheduler, logger, date, config, events) is imported or referenced only by its one owning platform or integration capability, and the `HttpClient` port of `platform/http` is called only by an `integrations` capability."
|
|
@@ -1891,13 +1892,13 @@ rules:
|
|
|
1891
1892
|
templateNa: "Vendor boundary violations and installed Grammar package contracts are checked against consumer ownership; no managed template scaffolds a vendor install or a forbidden import."
|
|
1892
1893
|
proves:
|
|
1893
1894
|
- packages/eslint/fe/r93-vendor-coverage.spec.mjs
|
|
1894
|
-
- packages/
|
|
1895
|
+
- packages/eslint/fe/r93-grammar-ownership.spec.mjs
|
|
1895
1896
|
exemplifiedBy:
|
|
1896
1897
|
- {path: packages/eslint/fe/r93-vendor-coverage.spec.mjs, editions: [lite, full]}
|
|
1897
|
-
- {path: packages/
|
|
1898
|
+
- {path: packages/eslint/fe/r93-grammar-ownership.spec.mjs, editions: [lite, full]}
|
|
1898
1899
|
witness:
|
|
1899
1900
|
- {path: packages/eslint/fe/r93-vendor-coverage.spec.mjs, editions: [lite, full], codes: [FE_VENDOR_BOUNDARY]}
|
|
1900
|
-
- {path: packages/
|
|
1901
|
+
- {path: packages/eslint/fe/r93-grammar-ownership.spec.mjs, editions: [lite, full], codes: [ARCH_GRAMMAR_CONTRACT_INVALID, ARCH_GRAMMAR_EXPORT_BYPASS]}
|
|
1901
1902
|
- id: R94
|
|
1902
1903
|
code: "FE_SLOT_FILE_ROLE"
|
|
1903
1904
|
law: "A front-end file is owned by a slot and named by it: a slot that owns a directory (route, feature, components, hooks, api module) holds only the files its `allows` list names, and holds them inside a folder of its own."
|
|
@@ -2683,11 +2684,11 @@ rules:
|
|
|
2683
2684
|
enforcers:
|
|
2684
2685
|
- {kind: eslint-be, id: kind-isolation}
|
|
2685
2686
|
- {kind: machine, id: tiers, at: scripts/hfs/architecture/tiers.mjs}
|
|
2686
|
-
proves: [packages/
|
|
2687
|
+
proves: [packages/eslint/be/architecture-kind-isolation-coverage.spec.mjs]
|
|
2687
2688
|
exemplifiedBy:
|
|
2688
|
-
- {path: packages/
|
|
2689
|
+
- {path: packages/eslint/be/architecture-kind-isolation-coverage.spec.mjs, editions: [lite, full], codes: [BE_KIND_ISOLATION]}
|
|
2689
2690
|
witness:
|
|
2690
|
-
- {path: packages/
|
|
2691
|
+
- {path: packages/eslint/be/architecture-kind-isolation-coverage.spec.mjs, editions: [lite, full], codes: [BE_KIND_ISOLATION]}
|
|
2691
2692
|
- id: R157
|
|
2692
2693
|
code: "BE_JOB_WRITE_OUTSIDE_OWNER"
|
|
2693
2694
|
editions: [lite, full]
|
|
@@ -2276,7 +2276,7 @@ slots:
|
|
|
2276
2276
|
why: the canonical GraphQL client output of codegen is local and never committed; this specific slot overrides the tracked API parent
|
|
2277
2277
|
rules: [FE_WIRE_GENERATED]
|
|
2278
2278
|
exemplifiedBy:
|
|
2279
|
-
- {path: packages/
|
|
2279
|
+
- {path: packages/eslint/fe/r52-wire-generated.spec.mjs, editions: [lite, full]}
|
|
2280
2280
|
- id: fe.transport.client
|
|
2281
2281
|
since: 3.1.0
|
|
2282
2282
|
profiles: [fe]
|