@starci/eslint-canon-be 3.4.34 → 3.4.36
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 +7 -0
- package/ambient-id.mjs +4 -5
- package/package.json +1 -1
- package/runtime/engine/yaml.mjs +1 -1
- package/runtime/knowledge/hfs/canon-pins.yaml +4 -4
- package/runtime/knowledge/hfs/rules.yaml +913 -637
- package/runtime/knowledge/hfs/slots.yaml +21 -14
- package/runtime/scripts/hfs/architecture/supabase.mjs +1 -1
- package/runtime/scripts/hfs/manifest-shape.mjs +1 -3
- package/runtime/scripts/hfs/rule-catalog.mjs +7 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.4.36 - 2026-10-23
|
|
4
|
+
- 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.
|
|
5
|
+
|
|
6
|
+
## 3.4.35 - 2026-10-23
|
|
7
|
+
- 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.
|
|
8
|
+
- Changed: the bundled canon pins select @starci/hfs 4.7.28 and @starci/cli 1.7.28.
|
|
9
|
+
|
|
3
10
|
## 3.4.34 - 2026-10-23
|
|
4
11
|
- Changed: the bundled canon pins select @starci/hfs 4.7.27 and @starci/cli 1.7.27.
|
|
5
12
|
|
package/ambient-id.mjs
CHANGED
|
@@ -7,12 +7,11 @@
|
|
|
7
7
|
* `ulid` packages. Business code asks `ids.next()`; a spec provides `fakeIds()`, so an id is exactly what the spec said
|
|
8
8
|
* and a failing run reproduces.
|
|
9
9
|
*
|
|
10
|
-
* The owner that may mint ids is asked of the slot view (`platform` tier, capability `ids`), as the clock is
|
|
11
|
-
* world (slot `be.tests.world`)
|
|
12
|
-
* resources. Specs are NOT exempt. The generators are found by the module they are imported from, never by a local name,
|
|
10
|
+
* The owner that may mint ids is asked of the slot view (`platform` tier, capability `ids`), as the clock is. Nothing else is
|
|
11
|
+
* exempt: not a spec, and not the test world (slot `be.tests.world`), which asks the same `Ids` port. The generators are found by the module they are imported from, never by a local name,
|
|
13
12
|
* so `import { randomUUID as newId } from "node:crypto"` is the same reference.
|
|
14
13
|
*/
|
|
15
|
-
import { hfsOf
|
|
14
|
+
import { hfsOf } from "./lib/hfs.mjs"
|
|
16
15
|
import { isOwnedBy } from "./lib/ports.mjs"
|
|
17
16
|
|
|
18
17
|
/** Modules of Node's crypto: `randomUUID` of them mints an id. */
|
|
@@ -54,7 +53,7 @@ export const noAmbientId = {
|
|
|
54
53
|
create(context) {
|
|
55
54
|
const hfs = hfsOf(context)
|
|
56
55
|
const filename = context.filename || context.getFilename()
|
|
57
|
-
if (isOwnedBy(hfs, filename, "platform", "ids")
|
|
56
|
+
if (isOwnedBy(hfs, filename, "platform", "ids")) return {}
|
|
58
57
|
return {
|
|
59
58
|
ImportDeclaration(node) {
|
|
60
59
|
const source = node.source.value
|
package/package.json
CHANGED
package/runtime/engine/yaml.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// rather than importing node_modules; yaml is a devDependency and a direct import breaks that
|
|
5
5
|
// install. tests/engine/yaml-vendored-parity.spec.mjs proves the vendored parseYaml/stringifyYaml behave
|
|
6
6
|
// exactly like yaml@2.9.0 with these options for every tracked *.yaml/*.yml file (parsed values
|
|
7
|
-
// deep-equal, stringify output byte-identical). License: engine/yaml-license.
|
|
7
|
+
// deep-equal, stringify output byte-identical). License: engine/yaml-license.yaml.
|
|
8
8
|
// Rebuild only when deliberately upgrading yaml. The entry source is:
|
|
9
9
|
// import * as YAML from 'yaml';
|
|
10
10
|
// export function parseYaml(source) {
|
|
@@ -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.36
|
|
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.35
|
|
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.28
|
|
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.28
|
|
87
87
|
group: starci
|
|
88
88
|
install: registry
|
|
89
89
|
side: both
|