--- name: verify-ignores-bare-file-names description: Stale detection must only check backticked repo-relative paths with a slash; bare file names give false stale results. type: observation scope: local status: active sources: [add-compaction] occurrences: 1 last_verified: 2026-11-18 provenance: {by: agent, date: 2026-11-18} links: [] --- ## What happened The first version of stale detection treated any backticked token with a file extension as a repo path. Entries that mention a bare file name such as `SKILL.md` or `config.yaml` were reported as stale because no such file exists at the repository root. ## Why A bare file name does not say which folder it is in, so checking it against the root is wrong. ## Resolution Only backticked tokens that contain a slash and end in a known extension (or a trailing slash) are checked. Covered by the referenced-paths unit test. ## Where `.flywheel/bin/flywheel.py` (referenced_paths), `tests/test_flywheel.py`.