Skip to content
Esc
navigateopen⌘Jpreview
On this page

documentation-index-member-stale

Reports an Index Section entry for a member that is no longer relevant.

← All Rules

What it does

Reports an entry that targets a document or direct child directory path not owned by the current index tree.

Why it matters

The Index Section should describe the current direct members rather than removed or unrelated paths.

Examples

Assume docs/old.md has been removed.

Non-passing

# Source Of Truth Map

- [Old](docs/old.md) — Load for the retired workflow.

Passing

# Source Of Truth Map

- [Guide](docs/guide.md) — Load for the current workflow.

When it applies

This Rule belongs to the configurable documentation-indexes group and runs for enabled Index Policies. Arbitrary unrelated links are not classified as stale inventory members.

References

See Presswork Configuration for Index Sections and src/check/evaluate-index.ts for stale-target classification.