Skip to content

chore: refresh stale evidence URL verification dates - #7

Merged
CodeSigils merged 1 commit into
mainfrom
fix/refresh-stale-evidence-urls
Oct 17, 2026
Merged

CodeSigils merged 1 commit into
mainfrom
fix/refresh-stale-evidence-urls

Conversation

@CodeSigils

Copy link
Copy Markdown
Owner

What

Refreshes docs/evidence-urls.json so last_verified is 2026-10-17 for all three evidence URLs, instead of the stale 2026-08-23 value carried by every entry.

Why

test/unit/evidence-urls.test.js fails any entry whose last_verified is older than 30 days. With the last refresh on 2026-08-23, the weekly scheduled run (cron: '17 4 * * 1') has been red since 2026-09-22 — runs 37303576400 (2026-10-05) and 38246588265 (2026-10-12) both failed on the test jobs while lint and external-contracts passed.

Verification

The new dates are not a blind bump. scripts/verify-urls.mjs --update re-fetches each URL and only rewrites last_verified for entries that respond successfully. It reported verified 3 evidence URLs, exit 0.

Local npm test now passes 145 unit + 34 integration tests, check-consistency OK, and both behaviour self-tests pass. Pre-commit hooks passed.

Recurrence

The 30-day freshness window is shorter than the gap between weekly scheduled runs, so a refresh is due roughly every fifth run. Worth tracking separately.

docs/evidence-urls.json recorded last_verified 2026-08-23 for all three
evidence URLs. test/unit/evidence-urls.test.js fails any entry older than
30 days, so the weekly scheduled CI run had been red since 2026-09-22.

scripts/verify-urls.mjs --update re-fetches each URL before rewriting
last_verified, so the new 2026-10-17 dates are backed by successful live
checks rather than a blind date bump: all three URLs responded and the
script reported "verified 3 evidence URLs" with exit 0.

Local npm test now passes 145 unit and 34 behaviour tests.

The expiry will recur: the 30-day freshness window is shorter than the
gap between scheduled runs, so a refresh is due roughly every fifth
weekly run.
@CodeSigils
CodeSigils merged commit aac70b6 into main Oct 17, 2026
6 checks passed
@CodeSigils
CodeSigils deleted the fix/refresh-stale-evidence-urls branch October 17, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant