cc-os/plugins/os-doc-hygiene/tests
jared 7b9afb1f6a os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31)
Implements the lifecycle-aware-doc-hygiene change (ADR-0038..0041):
rulebook loader (global rulebook.json + per-project .dochygiene-rules.json,
add-only merge, two-axis precedence, IGNORE-sentinel zero-emission prune),
scanner lifecycle signals + temporary/delete-once-served tiers, report
schema delete/extract-then-delete ops with git-state tier derivation,
promotion_candidates from conventions.json, patch-applier deletion ops with
apply-time git re-verification, and the /os-doc-hygiene:calibrate skill.

Calibration pass #1 (cc-os) PASSED: protected-set hard gate + recall floor
9/10 with all 4 mandatory rows; 4 human-approved rules persisted to
repo-root .dochygiene-rules.json. invariants.md #3 (.cc-os/dochygiene per
ADR-0027) and #9 (rulebook IGNORE as third ignore mechanism) corrected
with explicit human approval per the META-RULE.

test_no_global_index_created now runs against an isolated HOME (the real
~/.cc-os legitimately exists since os-backlog's projects registry).
Suite: 408 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAw7YxP71Fk6K9AHNaYPj2
2026-07-15 07:41:59 -04:00
..
fixtures Migrate os-doc-hygiene plugin into cc-os; record ADR-019 2026-07-03 11:12:31 -04:00
CONTEXT.md os-status/os-backlog/os-doc-hygiene: snooze lifecycle + config normalization + .cc-os/<plugin> state consolidation (closes #23, #24; ADR-027) 2026-07-12 17:47:01 -04:00
test_calibrate_helpers.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_classifier_golden.py Align os-doc-hygiene skill naming and invocation with marketplace convention 2026-07-03 11:23:24 -04:00
test_cross_seam.py os-status/os-backlog/os-doc-hygiene: snooze lifecycle + config normalization + .cc-os/<plugin> state consolidation (closes #23, #24; ADR-027) 2026-07-12 17:47:01 -04:00
test_patch_applier.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_reminder.py os-status/os-backlog/os-doc-hygiene: snooze lifecycle + config normalization + .cc-os/<plugin> state consolidation (closes #23, #24; ADR-027) 2026-07-12 17:47:01 -04:00
test_report_builder.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_rulebook.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_scanner_exclusions.py os-status/os-backlog/os-doc-hygiene: snooze lifecycle + config normalization + .cc-os/<plugin> state consolidation (closes #23, #24; ADR-027) 2026-07-12 17:47:01 -04:00
test_scanner_file_length.py os-doc-hygiene: deterministic file_length scanner signal (issue #25 part 1) 2026-07-13 08:06:48 -04:00
test_scanner_lifecycle.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_scanner_signals.py Migrate os-doc-hygiene plugin into cc-os; record ADR-019 2026-07-03 11:12:31 -04:00
test_state_store.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00
test_token_estimator.py Migrate os-doc-hygiene plugin into cc-os; record ADR-019 2026-07-03 11:12:31 -04:00
test_validate_report.py os-doc-hygiene: lifecycle-aware hygiene implementation + calibration pass #1 (map #31) 2026-07-15 07:41:59 -04:00