Before doing any codebase analysis or implementation work, check if archaeology context exists and is fresh. Use file modification dates to determine age.
devdocs/archaeology/small_summary.md— if missing or older than 30 days, run/arch-small-summarydevdocs/archaeology/intro2codebase.md— if missing or older than 15 days, run/arch-introdevdocs/archaeology/traces/— if missing or older than 7 days, run/arch-traces
Run them in order (summary first, intro second, traces last). Skip any that are still fresh. If all are fresh, proceed directly to the task.
Only check when the task involves reading or modifying code. Skip for doc-only or conversation-only tasks.