Commit graph

3 commits

Author SHA1 Message Date
84018323a2 Template 2.0.4: secret scan coverage, mcp and capture hardening
Fixes F17-F19 from the 2.0.0 script review:
- lint check 15 scans hidden folders, key files, dotfiles and
  extensionless text; finds unquoted secret-looking assignments; reports
  files over 50 MB instead of skipping them silently
- mcp: search filtered by the read policy, query after `--`,
  case/trailing-dot-insensitive .local.yaml refusal, verified OAuth
  email only, DNS-rebinding protection on by default, single-use codes
- capture: link-local/metadata always refused, private networks need
  --allow-private (also on redirects), total download limit, charset
  fallback and <meta charset>, <form> kept, svg title ignored, safe
  collision-free binary names with dedup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:46:38 +01:00
aab4b9e5e2 Template 2.0.3: Windows encoding, line endings, BOM, paths, hooks
Fixes F7-F11 from the 2.0.0 script review:
- UTF-8 stdout/stderr in every script; UTF-8 decoding of git/rg/yt-dlp
  output and of hook stdin
- utf-8-sig reads, so BOM files keep their frontmatter
- fingerprints match LF or CRLF checkouts (lint, lint_quick.sh,
  consolidate); prefix match on the full digest; short ones reported
- POSIX paths in lint output; rg --path-separator /
- hook installers default to the running interpreter, quote paths,
  --check reports a missing interpreter, odd settings are an error

New tests/unit/test_windows.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:32:26 +01:00
Michał Kopeć
bbfda5a65d Sync: local changes as of 2026-10-29T13:50:12Z
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-29 14:50:12 +01:00