Skip to content

release v0.0.154 - #1493

Merged
nc9 merged 14 commits into
mainfrom
release/v0.0.154
Nov 1, 2026
Merged

nc9 merged 14 commits into
mainfrom
release/v0.0.154

Conversation

@nc9

@nc9 nc9 commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Release v0.0.154: stacked release PR (cherry-picks with -x, authorship and sign-offs preserved, released CHANGELOG sections untouched), then notes and version bump (## v0.0.154 (2026-11-01), apps/cli/package.json and npm/package.json 0.0.153 -> 0.0.154). Rebase-merge, then the originals are closed with the new SHAs. Every head below had an independent review (ADOPT) at the sha listed.

Included PRs (approved head sha; refs only, no auto-close)

PR Approved head What
#1471 9b5d4e9c tests: the integrity budget tests run with the rule clock off, in files that stay small, and pin the four budget constants (refs #1465)
#1466 c3ba976b integrity: window cap prefers brand windows, a floor of two windows per control outside the page budgets, one cue list (its own 2 commits; #1471's are above)
#1467 4e240995 tech-detect: tag-attr detectors read one parsed list of the page's tags, keeping only the attributes a signature reads and freeing the list per call (refs #1456, #1474)
#1470 a94c7c41 url/slug-convention and perf/total-byte-weight count the same pages on both engines when a crawl has bodiless 4xx or 5xx pages (refs #1359)
#1472 d36f8abf test: 34 scripts at the page cap with the loader in the last window, and 200 seeded pages (refs #1445)
#1473 2de84f9f docs: which render path an Accept-Language reaches (refs #1355)
#1480 6a102651 tech-detect: read a long next/script snippet kept in a Next.js flight text row, with an emit dedupe and cap and a per-call memo for the code-like check (refs #1477)
#1484 31fb2bae test: the parse-depth memo test polls a bounded, scrubbed GC and the nesting tests assert growth, not wall time (refs #1483, the quality-gate flake)

Notes for review

Local gates

tsgo clean in audit-engine, parser, rules, tech-detect and cli; cli format:check and lint clean; detect-secrets clean; docs make validate; every touched test file by path (integrity suites incl. the split budget files, the goldens streaming-rules-golden, streaming-rules-canonical-golden and golden-finding-messages-229, all 17 tech-detect files, parse-depth-3356 5 idle runs and 3 under 12 busy processes); check-released-changelog.sh clean; release-version test.

nc9 added 14 commits November 1, 2026 14:34
…n four files that fit a lane watchdog #1465

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit b622bad)
…sit budget with the clock off; drop an unused import #1465

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 9b5d4e9)
…r control, no-cue controls served first in the shared half, one auth cue list #1458 #1459 #1460

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 974de99)
…ide the budgets, with its cost #1459

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit c3ba976)
…e's tags instead of rescanning the HTML per signature #1456

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 275ad04)
…he parsed tags per call, bounds tests; honest behaviour list #1456

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 4e24099)
… perf/total-byte-weight counts on both engines #1359

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit a94c7c4)
…last window, and the page allocation is deterministic #1445

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit d36f8ab)
…reconcile the render test comment #1355

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 2de84f9)
…ht payload keeps in a text row #1477

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 0d4a551)
…t; soften the #1477 notes

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 6a10265)
…ing tests assert growth, not wall clock #1483

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 31fb2ba)
@claude

claude Bot commented Nov 1, 2026

Copy link
Copy Markdown

Review of release v0.0.154. I read the source diffs: integrity controls.ts, cues.ts and signals.ts, tech-detect flight.ts, and the rule count changes. I did not run the tests or checks. The PR is stacked cherry-picks that were each reviewed separately, and I found no blocking problems.

  • (low) packages/tech-detect/src/flight.ts emit: the MAX_DECODED_CHARS cap drops later texts without saying so. A page padded with large script texts can push the real loader out of the output, because texts are emitted in row order. This is bounded and safe, and the same cap already applies at decode time. A test with a long decoy row ahead of the loader would pin the order, or a comment could say it is first-come.
  • (nit) flight.ts utf8Units: a lone surrogate counts as 2 bytes where UTF-8 would give 3 (U+FFFD). Only the T<len> framing is affected, and only for a malformed payload. A comment is enough.
  • (nit) controls.ts: BRAND_WINDOW and cuePattern each have their own copy of the regex-escape expression. A shared escapeRegex would be tidier, but this is not worth holding the release for.
  • (nit) CHANGELOG.md: the release section carries the new ## v0.0.154 heading above the empty [Unreleased]. That is the expected shape, and check-released-changelog.sh is reported clean in the PR body.

Notes, none of them findings:

  • cues.ts derives CUE_PATTERN from the same phrase lists as before, so the alternatives are the same.
  • The 2-window floor per control sits outside the page budgets. It is bounded by control count, which MAX_PREPARED already limits.
  • Regexes over site text stay bounded: TEXT_ROW_HEAD runs on a 40-char slice, and TEXT_REF and COMPONENT_REF are anchored with bounded quantifiers.

Test coverage is good: budget, decoy, bounds and flight tests are added, and the goldens are updated.

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.

1 participant