Skip to content

upgrade: @intentius/* ^0.44.1 -> ^0.54.1; hosted parity for SEC/WRG/NGX (#25) - #27

Merged
lex00 merged 2 commits into
mainfrom
chore/bump-chant-053
Sep 2, 2026
Merged

upgrade: @intentius/* ^0.44.1 -> ^0.54.1; hosted parity for SEC/WRG/NGX (#25)#27
lex00 merged 2 commits into
mainfrom
chore/bump-chant-053

Conversation

@lex00

@lex00 lex00 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The bump

All eleven @intentius/* ranges move in lockstep ^0.44.1^0.54.1, plus @cloudflare/workers-types ^4^5 (wrangler 4.128's peer range; tsc --noEmit clean).

It took a release train to get here — the bump surfaced two real chant regressions and drove their fixes upstream:

  • chant#2055 — 0.53.1 crashed workerd at startup (__filename is not defined): WHM503 statically reached the TypeScript compiler through the @intentius/chant barrel. Fixed by a light render-records module + a new edge-init-safety guard banning barrel imports from edge-reachable modules.
  • chant#2056 — the new NGX family (chant#1979) was unreachable: isCandidatePath never admitted a .conf, so no nginx file survived collection on any path. Found by this repo's fixture producing zero NGX findings; fixed in 0.54.1.

Hosted parity

The handler now runs the lexicon-independent families the CLI always ran, beside the lexicon checks: scanForSecrets (SEC*), auditWranglerConfigs (WRG*), and auditNginxConfigs (NGX*, new in 0.54) — all pure/edge-safe. The fixture gains nginx/default.conf (directory listing on) and the e2e asserts the NGX family fires end to end.

Verification

tsc clean, 27 unit tests green, bundle 2.03 MiB gzip (gate: warn > 2.3), and a full fixture audit on workerd (wrangler dev --local): 18 findings including NGX003 on nginx/default.conf, no boot errors.

Closes #25

🤖 Generated with Claude Code

lex00 and others added 2 commits September 1, 2026 17:52
…GX (#25)

Core and the lexicons move in lockstep to today's release train:
0.53.1 (the joinability/carve/runOrigin work) + 0.54.0 (nginx audit
coverage, chant#1979) + 0.54.1 (nginx candidate-path fix). The bump
surfaced and drove two chant fixes upstream:

- chant#2055: WHM503 statically reached the TypeScript compiler through
  the @intentius/chant barrel, crashing workerd at startup
  (__filename); helm's ledger moved to a light render-records module
  and chant's edge-init-safety guard now bans barrel imports from
  edge-reachable modules.
- chant#2056: isCandidatePath never admitted a .conf, so the new NGX
  checks were unreachable on every path; nginx configs now ride along
  the way wrangler.toml does.

Hosted parity: the handler now runs the lexicon-independent families
the CLI always ran — scanForSecrets (SEC*), auditWranglerConfigs
(WRG*), and auditNginxConfigs (NGX*, new) — beside the lexicon checks.
The fixture gains nginx/default.conf (autoindex on) and the e2e asserts
the NGX family fires end to end; verified on workerd via wrangler dev
in fixture mode (NGX003 reported, no boot errors, bundle 2.03 MiB gzip
under the gate).

@cloudflare/workers-types ^4 -> ^5 (wrangler 4.128's peer range; tsc
clean).

Closes #25

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ins the native fountain route

Two more dogfooding finds fixed upstream and picked up here:

- chant#2057 (0.54.2): the secrets scan flagged every lockfile
  integrity hash — 438 merge-worthy SEC010s on web/package-lock.json
  alone, failing the dogfood-audit gate. Lockfiles are now skipped;
  dogfood is back to 1 report-only finding.
- Hosted parity gap: core's default entitiesProvider loads plugins via
  cli/plugins (not edge-safe), so entity-reading checks (fountain's FTN
  rules) silently no-opped on the worker while firing in the CLI. The
  handler now mirrors it statically, like CHECKS.

The 0.44-era fixture pin ("fountain audited as k8s") surfaced exactly
as its comment predicted — chant 0.54 routes fountain natively. The
fixture Environment now carries a credential-shaped env var so FTN012
fires and the e2e pins the native route positively.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lex00

lex00 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Two follow-up commits since the PR opened, both from CI dogfooding this very bump:

  • dogfood-audit red → chant#2057 (shipped in 0.54.2, now the pinned range): the secrets scan read every lockfile integrity hash as a merge-worthy SEC010 — 438 findings on web/package-lock.json alone. Lockfiles are skipped upstream now; local npx chant audit . --fail-on merge-worthy is back to green (1 report-only GHA026).
  • e2e-docker red → the 0.44-era pin "fountain audited as k8s" broke exactly as its own comment predicted: chant 0.54 routes fountain natively, and the clean fixture manifest produced no finding to assert on. Root cause on the hosted side was deeper: core's default entitiesProvider isn't edge-safe, so entity-reading FTN checks silently no-opped on the worker while firing in the CLI — the handler now mirrors it statically like CHECKS, and the fixture Environment carries a credential-shaped env var so FTN012 pins the native route positively.

Local verification at 0.54.2: tsc clean, 27 unit tests, bundle 2.03 MiB gzip, full fixture e2e PASS on workerd (FTN + NGX both firing), dogfood audit exit 0.

@lex00
lex00 merged commit 98b0aee into main Sep 2, 2026
4 checks passed
@lex00
lex00 deleted the chore/bump-chant-053 branch September 2, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deps: @intentius/* behind npm latest

1 participant