feat: Knowledge store staleness detector (closes #179) #185

Closed
Rockachopa wants to merge 0 commits from feat/179-staleness-check into main
Owner

Closes #179

Detects stale knowledge entries by comparing source file hashes.

Added:

  • scripts/knowledge_staleness_check.py — Reads index, computes hashes, reports staleness
  • scripts/test_knowledge_staleness.py — 8 tests

Statuses: fresh, stale, missing_source, no_hash, no_source

Usage:

python3 scripts/knowledge_staleness_check.py --index knowledge/index.json
python3 scripts/knowledge_staleness_check.py --index knowledge/index.json --json
python3 scripts/knowledge_staleness_check.py --index knowledge/index.json --fix
Closes #179 Detects stale knowledge entries by comparing source file hashes. **Added:** - `scripts/knowledge_staleness_check.py` — Reads index, computes hashes, reports staleness - `scripts/test_knowledge_staleness.py` — 8 tests **Statuses:** fresh, stale, missing_source, no_hash, no_source **Usage:** ```bash python3 scripts/knowledge_staleness_check.py --index knowledge/index.json python3 scripts/knowledge_staleness_check.py --index knowledge/index.json --json python3 scripts/knowledge_staleness_check.py --index knowledge/index.json --fix ```
Rockachopa added 2 commits 2026-04-15 04:02:11 +00:00
Timmy approved these changes 2026-04-15 04:13:11 +00:00
Timmy left a comment
Owner

Feature implementation reviewed - looks solid.

Scope: 2 file(s) changed (260+ / 0-)

Suggestions

  • Found 11 print/console.log statements - verify these are not leftover debugging.
Feature implementation reviewed - looks solid. **Scope**: 2 file(s) changed (260+ / 0-) ### Suggestions - Found 11 print/console.log statements - verify these are not leftover debugging.
Author
Owner

Superseded — this PR's content is already merged into main. Closing.

✅ Superseded — this PR's content is already merged into main. Closing.
Rockachopa closed this pull request 2026-04-16 01:40:48 +00:00
Author
Owner

Closing as this PR cannot be merged (branch protection or conflicts). Please reopen if needed.

Closing as this PR cannot be merged (branch protection or conflicts). Please reopen if needed.
Author
Owner

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.
Author
Owner

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.
Author
Owner

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.

Closing: unmergeable due to conflicts or branch protection. Reopen if needed.
Rockachopa reopened this pull request 2026-04-16 02:03:44 +00:00
Rockachopa closed this pull request 2026-04-16 02:14:11 +00:00

Pull request closed

Sign in to join this conversation.