Skip to content

Add granular signal truncation reasons - #1

Merged
b1rd33 merged 2 commits into
mainfrom
feature/v1.2.0-truncation-reasons
Aug 30, 2026
Merged

Add granular signal truncation reasons#1
b1rd33 merged 2 commits into
mainfrom
feature/v1.2.0-truncation-reasons

Conversation

@b1rd33

@b1rd33 b1rd33 commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • add typed, deterministic truncation reasons to structured scan results
  • propagate reasons across homepage and secondary-page scans
  • document and validate the additive v1.2.0 schema contract
  • preserve the original assignment output and existing resource limits

Verification

  • go vet ./...
  • go test -count=1 ./...
  • go test -race -count=1 ./...
  • both CLI and MCP binaries build
  • independent review: PASS
  • 20-domain scan remains under 60 seconds

No budget tuning or later roadmap work is included.

b1rd33 added 2 commits August 30, 2026 19:11
Introduce deterministic `signals_truncated_reasons` alongside the
existing `signals_truncated` flag. Allowed values are `links`,
`signals`, `inline_scripts`, `window_names`, `headers`, `cookie_count`,
`cookie_bytes`, and `cookie_value` — sorted, deduplicated, and only
when a valid candidate was actually omitted or truncated. Propagate
reasons from homepage and secondary pages via `Runner` into a
`SIGNALS_TRUNCATED` warning with partial status, and document the
additive contract.

Co-Authored-By: internal-model
@b1rd33
b1rd33 merged commit 16a81ba into main Aug 30, 2026
1 check passed
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