Commit graph

6 commits

Author SHA1 Message Date
f6aa0f5b1d Template 2.0.6: frontmatter contract across eight readers, dirty-KB lint test
All eight frontmatter readers close at a `---` line, including one at
end of file (consolidate, dedup, OKF and share missed it; retrieve,
Starlight and mcp stopped at any line starting with `---`).
tests/unit/test_frontmatter_contract.py (T9) and
tests/unit/test_lint_dirty.py (T2: one planted fault per lint check).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:38:59 +01:00
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ć
56c0511ac7 Template 1.26.2: ABOUT.pl.md, the Polish pair of ABOUT.md
ABOUT.pl.md ships as the Polish scaffold next to ABOUT.md, like the other
.pl.md docs. Agents read both when both are filled in; ABOUT.md wins on a
conflict (AGENTS.md, ckb-ingest). ckb-init copies both and puts a Polish
answer in the Polish file; ckb-upgrade creates it once for KBs below
1.26.2; ckb-reset leaves it alone; the mcp server's kb_overview includes
it and its description ignores either placeholder. READMEs, QUICKSTART.pl,
both manuals and both changelogs updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:35:57 +01:00
da2833abfe Sync: local changes as of 2026-11-01T20:31:36Z
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:31:36 +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