Freshness Check
Scan the Team OS repo for stale content and flag files that may need updating.
When to Use
- Run weekly as automation (recommended)
- Run manually before quarterly planning
- Run when onboarding a new team member (clean up before they query)
- Run after a period of low activity to assess what needs catching up
What It Does
- Scans all files in
product-development/andteam/(excluding.claude/and files listed in.freshness-ignore) - Checks last modified date via git log
- Categorizes files into freshness tiers
- Checks for broken references (files that link to things that don't exist)
- Identifies files that SHOULD have been updated but weren't (e.g.,
metrics/{area}/for a product area that shipped a feature recently perfeature-index.yaml)
Freshness Tiers
| Tier | Age | Label | Action |
|---|---|---|---|
| Fresh | < 30 days | ✅ | No action |
| Aging | 30-90 days | 🟡 | Review if still accurate |
| Stale | 90-180 days | 🟠 | Flag to owner for update or archival |
| Archive candidate | 180+ days | 🔴 | Consider moving to archive/ |
Stable File Exceptions
Some files are legitimately stable and should NOT be flagged as stale:
analytics/schemas/(table structures rarely change)analytics/playbooks/(investigation methodologies are stable)team/onboarding-guides/(guides don't change weekly).claude/skills/(skills are updated intentionally, not on a schedule).claude/agents/,.claude/commands/LICENSE
If a file is in one of these paths, note: "Stable reference material — verify with owner only if the underlying system changed."
To add custom exceptions, create a .freshness-ignore file in the repo root listing paths to skip (one per line, supports wildcards).
Output Format
## Freshness Check — {Date} ### Aging (30-90 days — review if still accurate) - product-development/product/competitive-research/competitors/lovable/tldr.md — 45 days — Owner: {from roster} - ... ### Stale (90-180 days — needs update or archival) - product-development/product/decisions/2025-11-pricing-v1.md — 178 days — Owner: {from roster} - ... ### Archive Candidates (180+ days) - {file} — {days} — Owner: {from roster} - ... ### Broken References - {file} references "{target}" but no matching file found - ... ### Should-Have-Been-Updated - analytics/metrics/billing/credit-usage-metrics.md hasn't changed in 75 days, but feature-index.yaml#billing.credit-usage-dashboard shipped 12 days ago. Likely stale. ### Schema Drift (--schema-drift mode, requires warehouse access) - analytics/schemas/billing/billing_events.md lists 8 columns; `INFORMATION_SCHEMA` for `ANALYTICS.PROD.billing_events` shows 9. New column `discount_code` not documented. Update schema doc + bump `data-catalog.yaml#billing_events.last_validated`. - If warehouse access isn't configured, this section is skipped with a note. ### PENDING Forward References (--pending mode) - product/decisions/2026-04-22-vendor-x.md cites `[PENDING: customers/accounts/acme/calls/summaries/2026-04-22.md]` — file still missing 14+ days later. Either fill it in or remove the reference. ### Recovery Suggestions (if many files are stale) If 30%+ of files are stale, the repo needs a recovery session: 1. Block 1 hour with the team 2. Divide stale files among owners 3. Each person: update, archive, or confirm still accurate 4. Re-run freshness check to verify ### Summary - Total: {N} | Fresh: {N} ({X}%) | Aging: {N} | Stale: {N} | Archive: {N} - Broken references: {N}
Rules
- Never auto-delete or auto-archive. Only flag. A human decides.
- Assign stale files to owners using the team roster from root CLAUDE.md.
- If Slack MCP is connected, post the summary to the team channel.
- If 50%+ of files are stale, add the recovery session suggestion prominently.
- Cross-reference
feature-index.yamlto find documents that should have been updated when a feature shipped.


