@starci/hfs 4.7.36 → 4.7.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,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.7.37 - 2026-10-26
|
|
4
|
+
- Fixed: the scaffold SiteShell declares viewport=flow so Grammar lint reads it as site chrome, the hygiene sync follows the scaffold end-to-end fixes, and the scaffold json-logger spec expects the logger field order.
|
|
5
|
+
|
|
3
6
|
## 4.7.36 - 2026-10-26
|
|
4
7
|
- Changed: the bundled canon pins select @starci/eslint-canon-be 3.4.45, @starci/eslint-canon-fe 9.1.0, the Grammar lint families 0.12.4 and @starci/grammar 0.12.4.
|
|
5
8
|
- Added: the five R319 button-intent finding codes are catalogued and proven, and the `app codemod button-intent` migration is bundled.
|
package/package.json
CHANGED
|
@@ -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.
|
|
94
|
+
version: 1.7.37
|
|
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.
|
|
101
|
+
version: 4.7.37
|
|
102
102
|
group: starci
|
|
103
103
|
install: registry
|
|
104
104
|
side: both
|
package/sync/hygiene.mjs
CHANGED
|
@@ -58,7 +58,7 @@ export function hygieneFindings(files, ignored) {
|
|
|
58
58
|
if (file.startsWith(WORK) && ignored.has(file)) {
|
|
59
59
|
findings.push({ file, code: 'HFS_WORK_AGENT_DATA', message: 'is agent output, which .starciwork/.gitignore refuses; keep it in the scratchpad or the blob store' });
|
|
60
60
|
}
|
|
61
|
-
if (file.startsWith(STACKS) && !file.endsWith('.enc') && !file.endsWith('.env.example')) {
|
|
61
|
+
if (file.startsWith(STACKS) && !file.endsWith('.enc') && !file.endsWith('.env.example') && !file.endsWith('/secrets/.gitkeep')) {
|
|
62
62
|
if (file.includes('/secrets/')) findings.push({ file, code: 'HFS_PLAINTEXT_SECRET', message: 'sits under secrets/ but is not sealed; only <slug>.enc may be tracked' });
|
|
63
63
|
else if (PLAINTEXT_NAME.test(file)) findings.push({ file, code: 'HFS_PLAINTEXT_SECRET', message: 'is a plaintext secret; seal it to .starcistacks/<env>/secrets/<slug>.enc' });
|
|
64
64
|
}
|
|
@@ -167,8 +167,8 @@ describe("JsonLogger outside a correlation scope", () => {
|
|
|
167
167
|
logger.warn("cart.slow")
|
|
168
168
|
|
|
169
169
|
expect(written.map((entry) => entry.line)).toEqual([
|
|
170
|
-
`${JSON.stringify({ level: "info", event: "cart.opened", time: "2026-05-06T07:08:09.000Z"
|
|
171
|
-
`${JSON.stringify({ level: "warn", event: "cart.slow", time: "2026-05-06T07:08:09.000Z"
|
|
170
|
+
`${JSON.stringify({ correlationId: "00000000-0000-4000-8000-000000000001", level: "info", event: "cart.opened", time: "2026-05-06T07:08:09.000Z" })}\n`,
|
|
171
|
+
`${JSON.stringify({ correlationId: "00000000-0000-4000-8000-000000000001", level: "warn", event: "cart.slow", time: "2026-05-06T07:08:09.000Z" })}\n`,
|
|
172
172
|
])
|
|
173
173
|
})
|
|
174
174
|
})
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const SiteShell = (props: SiteShellProps) => (
|
|
2
2
|
<GrammarRoot className={siteShellClassNames.frame}>
|
|
3
3
|
<WorkspaceShell
|
|
4
|
+
viewport="flow"
|
|
4
5
|
primaryLabel={props.brand}
|
|
5
6
|
header={<TopBar brand={<TextAction href={props.homeHref}>{props.brand}</TextAction>} />}
|
|
6
7
|
primary={<PageContainer measure="reading">{props.children}</PageContainer>}
|