upgrade: @intentius/* ^0.44.1 -> ^0.54.1; hosted parity for SEC/WRG/NGX (#25) - #27
Merged
Conversation
…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>
Contributor
Author
|
Two follow-up commits since the PR opened, both from CI dogfooding this very bump:
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 --noEmitclean).It took a release train to get here — the bump surfaced two real chant regressions and drove their fixes upstream:
__filename is not defined): WHM503 statically reached the TypeScript compiler through the@intentius/chantbarrel. Fixed by a lightrender-recordsmodule + a new edge-init-safety guard banning barrel imports from edge-reachable modules.isCandidatePathnever 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*), andauditNginxConfigs(NGX*, new in 0.54) — all pure/edge-safe. The fixture gainsnginx/default.conf(directory listing on) and the e2e asserts the NGX family fires end to end.Verification
tscclean, 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 includingNGX003onnginx/default.conf, no boot errors.Closes #25
🤖 Generated with Claude Code