(mtimeMs: number)
| 31 | * the citation makes the stale claim sound more authoritative, not less. |
| 32 | */ |
| 33 | export function memoryFreshnessText(mtimeMs: number): string { |
| 34 | const d = memoryAgeDays(mtimeMs) |
| 35 | if (d <= 1) return '' |
| 36 | return ( |
| 37 | `This memory is ${d} days old. ` + |
| 38 | `Memories are point-in-time observations, not live state — ` + |
| 39 | `claims about code behavior or file:line citations may be outdated. ` + |
| 40 | `Verify against current code before asserting as fact.` |
| 41 | ) |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Per-memory staleness note wrapped in <system-reminder> tags. |
no test coverage detected