ckb/tests/unit
Michał Kopeć 51aaeadcdb Phase 1: honest failure, folded names, safer exports
- OKF export: a bare [[X]] becomes a bundle-root link when it resolves
  (path, file name or title; `&`, spaces and brackets percent-encoded)
  instead of degrading to plain text.
- N2 "degraded, not empty": retrieve reports DEGRADED for unread pages,
  graph or exact search ("no candidates among what could be read");
  lint reports Crux quotes and secret scans it could not do, and no
  longer skips an unreadable file as binary in the secrets scan.
  AGENTS.md rule; test_silent_reads guards new swallowed reads
  (`# ok-silent: <reason>` for the deliberate ones).
- N17: case- and accent-insensitive fold in retrieve's tldr and scope
  matching; lint check 20 flags page names that collide after folding.
- N7: one publish filter in both exporters drops HTML comments outside
  code (unclosed to the end of the page), `--drop-section NAME` leaves out
  sections, and a page whose frontmatter never closes is refused (exit 1).
- Test that an interrupted routine stays due until --mark.
- Docs: lint, retrieve and exporter skills, both manuals; goldens updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:52:39 +01:00
..
test_capture.py Template 2.0.4: secret scan coverage, mcp and capture hardening 2026-11-11 15:46:38 +01:00
test_convert.py Template 2.2.0: voice and convert modules 2026-11-11 20:57:39 +01:00
test_docs_consistency.py Template 2.0.1: 3.8 compatibility, routines --mark, exporter containment 2026-11-11 14:26:10 +01:00
test_exporters.py Phase 1: honest failure, folded names, safer exports 2026-11-23 23:52:39 +01:00
test_fold.py Phase 1: honest failure, folded names, safer exports 2026-11-23 23:52:39 +01:00
test_frontmatter_contract.py Template 2.0.6: frontmatter contract across eight readers, dirty-KB lint test 2026-11-11 17:38:59 +01:00
test_lint_crux.py Template 2.0.2: share and capture hardening, Crux without Sources 2026-11-11 14:38:18 +01:00
test_lint_dirty.py Template 2.0.6: frontmatter contract across eight readers, dirty-KB lint test 2026-11-11 17:38:59 +01:00
test_low_severity.py Template 2.0.5: routines, redaction, OKF quoting, Unicode search, low-severity fixes 2026-11-11 17:19:48 +01:00
test_mcp_kb.py Template 2.0.4: secret scan coverage, mcp and capture hardening 2026-11-11 15:46:38 +01:00
test_mcp_server.py Template 2.0.8: mcp server tests with the MCP SDK (T15) 2026-11-11 18:06:34 +01:00
test_py38.py Template 2.0.1: 3.8 compatibility, routines --mark, exporter containment 2026-11-11 14:26:10 +01:00
test_retrieve.py Template 2.0.5: routines, redaction, OKF quoting, Unicode search, low-severity fixes 2026-11-11 17:19:48 +01:00
test_routines.py Phase 1: honest failure, folded names, safer exports 2026-11-23 23:52:39 +01:00
test_save_conversation.py Template 2.0.5: routines, redaction, OKF quoting, Unicode search, low-severity fixes 2026-11-11 17:19:48 +01:00
test_secrets.py Template 2.0.4: secret scan coverage, mcp and capture hardening 2026-11-11 15:46:38 +01:00
test_share_hostile.py Template 2.0.2: share and capture hardening, Crux without Sources 2026-11-11 14:38:18 +01:00
test_silent_reads.py Phase 1: honest failure, folded names, safer exports 2026-11-23 23:52:39 +01:00
test_sim_memory.py Improvement memory: attempts, expected outcomes, lesson context (D-0023) 2026-11-18 08:17:19 +01:00
test_windows.py Template 2.0.3: Windows encoding, line endings, BOM, paths, hooks 2026-11-11 15:32:26 +01:00