Skip to content

refactor: remove secret scanning and warnings - #999

Merged
xHeaven merged 1 commit into
dev-null-sh:productionfrom
xHeaven:fix/secret-scanner
Oct 22, 2026
Merged

xHeaven merged 1 commit into
dev-null-sh:productionfrom
xHeaven:fix/secret-scanner

Conversation

@xHeaven

@xHeaven xHeaven commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

Public URLs, commit hashes and ordinary prose can trigger secret warnings and interrupt posting or draft saving. Remove secret scanning entirely so commit, reply, quote, chat and public issue drafts save and submit without scanner warnings or approval dialogs.

Related reports: #572, #744, #981.

Changes

  • Remove the scanner dependency, detection/redaction helpers, warning UI, submission gates and draft-storage filtering.
  • Preserve normal validation, commit rules confirmation, attachments, previews and draft cleanup.
  • Update behavioral tests and the public knowledge base to reflect unscanned drafts.
  • One implementation commit; media lives separately on the fork's assets branch.

Validation

Local checks on 7a586c02d1faa266843ca9b8e88e71c53ab399d0:

  • composer test:lint — passed with existing warnings.
  • composer test:type-coverage — 100%.
  • bun run test:types — passed.
  • bun run test:unit — 128 passed.
  • bunx vp test --run --config tests/draft-images.config.ts — 305 passed.
  • bun run build — passed.
  • Full PHP CI coverage command — 3,968 tests, 21,918 assertions, 100% coverage.
  • git diff --check — passed.

Hosted CI is separate from these local results.

Visual evidence

Actual local composer: type a synthetic token and public commit hash, save the draft, reload and open preview. No secret warning appears and the draft survives unchanged. Six viewport/theme captures reported zero horizontal overflow, measured layout shift and page errors.

Synthetic token saves and restores without a scanner warning

Composer recording (MP4)

Viewport Light Dark
1440 × 900 Desktop light Desktop dark
1366 × 650 Short desktop light Short desktop dark
390 × 844 Mobile light Mobile dark

Device verification

iPhone 18 Pro Max, iOS 27 Simulator, Safari: typed a synthetic token, dismissed the software keyboard, and reloaded. The primary action remains above the keyboard and the draft restores unchanged.

Keyboard open Keyboard dismissed After reload
Safari with keyboard open Safari with keyboard dismissed Safari draft after reload

Simulator recording (MP4)

Independent review

Fresh read-only Sol 6.1 review of base 72c5e7d218648a02923aa6faf90493b4bed07dc4 and head 7a586c02d1faa266843ca9b8e88e71c53ab399d0: CODE: PASS · VISUAL: PASS · OVERALL: PASS, no blockers.

Media is the unchanged, hash-verified evidence reviewed for the previous removal revision; the rebase preserves the same scanner removal. Review covers the rebased diff and those actual artifacts.

Limitations

  • Scanner removal intentionally means token-shaped text is eligible for local draft storage and submission without credential detection or redaction.
  • Runtime media covers the main composer. Quote, issue submission and draft lifecycle have component coverage; reply/chat removal is source-reviewed with existing suite coverage.
  • No fresh production baseline capture, physical-device test or runtime capture of every surface. Measured layout stability covers the recorded scenarios, not all navigation or polling.
  • Recordings were reviewed through sampled contact sheets. The T3 preview timed out twice, so the explicitly invoked media workflow used Chrome/Playwright.

@xHeaven
xHeaven merged commit 8f235b2 into dev-null-sh:production Oct 22, 2026
5 checks passed
simonhamp added a commit to simonhamp/devnull.com that referenced this pull request Oct 22, 2026
Upstream removed secret scanning (dev-null-sh#999), which took out the hasSecrets
option next to this branch's initialKind in useIssueCommand.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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