Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/jonathanmr22/pactWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/jonathanmr22/pact/staleness-check)<a href="https://agentmods.dev/commands/jonathanmr22/pact/staleness-check"><img src="https://agentmods.dev/badge/commands/jonathanmr22/pact/staleness-check/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/jonathanmr22/pact/staleness-check"><img src="https://agentmods.dev/badge/commands/jonathanmr22/pact/staleness-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00921 |
| Opus 5.5 | $0.00000 | $0.00368 |
| Sonnet 5.5 | $0.00000 | $0.00184 |
| Haiku 4.5 | $0.00000 | $0.00092 |
Grade A, and why
staleness-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Check what governance artifacts went stale based on what was edited this session.
This is the TEMPORAL governance check — it answers: "What docs did my changes just make stale?" Run it before declaring a task complete.
Steps
-
Read
.claude/memory/file_edit_log.yamlto find files edited today. -
For each edited file, check ripple effects against the project's governance layer:
If a file in
lib/database/,models/,tables/,schema/, ormigrations/was edited (database/schema-touching code):- Is the schema doc current? (
knowledge/schema.{yaml,md}or whatever your project uses) - Was a new column added but FK targets/indexes/constraints not documented?
- If the table is claimed by any
feature_flows/*.yaml, is that flow'sparticipating_filesandinvariantsstill accurate?
If a service/handler/api/endpoint file was edited:
- If it's a critical-system service (auth, encryption, sync, payments, broadcast, or any flow tagged critical in your project's feature flow inventory), check the matching
feature_flows/{system}_flow.yaml"last_updated" date — is it today? Areparticipating_filesanddeclared_dependenciescurrent?
If a new screen / view / route was added:
- Is it claimed by the relevant feature flow's
participating_files? - If the screen lives in a critical user journey, is there a flow doc for it at all?
If any feature flow was edited:
- Is the "last_updated" date today?
- Do
declared_dependenciesbetween flows still resolve to existing flow files? - If you removed a
participating_filesentry, did you confirm the file is genuinely no longer part of the flow (vs. just renamed)?
If a Postgres / Supabase function / Edge Function / API route source was edited:
- Is the function listed in
knowledge/tech_stack.yaml(or your equivalent) under the relevant section? - Is the relevant feature flow's
participating_filesupdated?
- Is the schema doc current? (
-
Check feature flow freshness overall — flag any flow whose
last_updatedis >7 days ago AND whoseparticipating_fileswere touched this session. -
If your project has an automated schema-drift detector (e.g.,
scripts/check_schema_drift.py), check its last run fromscripts/RUN_LOG.yaml. If >7 days old AND any schema-touching file was edited this session, recommend running/check-drift(or equivalent). -
Report:
- Current — files whose docs/flows are accurate
- Stale — docs/flows that should be updated as a consequence of the changes
- Missing — code paths edited that have no corresponding documentation
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 73 lines · 0 tokens per session scan A ab36cc477852
staleness-check is a command published in the GitHub repository jonathanmr22/pact (15 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 921 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
discuss
A command that interviews you in five phases and saves a detailed description of a proposed feature or change. EARS is a structured way to write requirements so they can be checked clearly.
sdd
A command that creates three connected planning files for a software feature: requirements, design, and tasks.
review-decide
Resolve a circuit breaker in the review loop. Accepts exactly one argument: approve, reject, or retry.
eval
Run the RAG evaluation pipeline.
spec
Interview and write a spec for a change to this codebase, then list the policies it touches.
scan
Scan the provided text for safety issues using all Sentinel AI scanners.