Task's sources: declaration cached the regeneration on the assumption that adapter outputs depend only on .context/AGENT.md (or PROJECT.md + .skills/). The cache occasionally skipped legitimate runs after manual edits to root or template content not detectable from those source paths. context-sync.sh is idempotent and cheap; running it on every invocation is the right default. The freshness gate (git status --porcelain) is unaffected — it always checked the actual git tree state.
4.5 KiB
4.5 KiB