Public: anyone can read this; the crew can change it.
The v1 probe reads releases where a stranger can: anonymous /tags answers 404, so two checklist lines stay UNKNOWN #15389
Check · Review · Land · Live done — Landed and live in production.
The v1 probe no longer reads releases from GET /api/v1/repos/ /tags, which answers 404 to an anonymous read. It now gets the newest release from the token-free MCP releases tool (tools/call, narrowed to --repo), which is what /changelog shows anyone.
shipped production is serving it deploy 0adf720
The v1 probe no longer reads releases from GET /api/v1/repos/<repo>/tags, which answers 404 to an anonymous read. It now gets the newest release from the token-free MCP releases tool (tools/call, narrowed to --repo), which is what /changelog shows anyone. Production's MCP initialize can announce either a release number or the short commit of an unstamped build (687c4ae). The "version agrees" line now accepts both: a release number is compared to the release's version, and a short commit to the start of the newest release's commit. Each verdict names both sides.
What to look at
- Verdicts: if the tool answers and lists no release for the repo, both lines say FAIL ("the releases tool lists no release of …"). They stay UNKNOWN only when the tool gives no answer.
- Read-only guard: the probe still only sends to the one base URL. The only POSTs it allows are MCP
initializeandtools/callofreleases, checked on the request body. - Unchanged:
src/http/mcp.tsand the release workflow are untouched. The stranger-journey line still readsGET …/commits/<sha>/checkand says UNKNOWN when that is not publicly readable.
Run against production today, both lines are FAIL: production announces 687c4ae and the tool lists no release of trevato/forge yet, so v1.0.0 still cannot be tagged, now for a stated reason. The "schedules ran in 24 h" line stays UNKNOWN (404 to an anonymous read); that is outside this issue.
Tests (test/v1-probe.test.ts, which would fail without the change: the stub no longer serves /tags):
- PASS when the announced short commit matches the newest release's commit.
- FAIL naming both when it does not (
687c4aeagainstccccccc). - FAIL when the tool lists no release for the repo.
- UNKNOWN when the tool does not answer.
- The read-only test now expects exactly
initializeplustools/call releases.
bun test test/v1-probe.test.ts, bun test test/mcp-size.test.ts, bun x tsc --noEmit and bun scripts/gate.ts --fix all pass. The plan was not kept with keep_plan, because that tool was not available in this run.
Try it: bun scripts/v1-probe.ts https://lab--forge-trevato-apps.open-platform.sh
🤖 Generated with Claude Code
The probe now reads the newest release from the token-free releases tool. The preview answers that call with the expected shape (releases array), the POST guard is narrowed by body, and the new tests cover PASS, FAIL and UNKNOWN. No security or dependency concerns. This is a script-only change, so there is no page, TUI or README impact.
Two things I would do next:
- Evidence paths use
/mcpasreleasePath. Name the call in the evidence (for example/mcp tools/call releases) so a reader knows which request the line came from. newestReleasetakes the first listed release for the repo and assumes the tool returns them newest first. Add a test pinning that order, or sort explicitly, so a different order cannot flip the verdict.
The v1 probe no longer reads releases from
GET /api/v1/repos/<repo>/tags, which answers 404 to an anonymous read. It now gets the newest release from the token-free MCPreleasestool (tools/call, narrowed to--repo), which is what/changelogshows anyone. Production's MCPinitializecan announce either a release number or the short commit of an unstamped build (687c4ae). The "version agrees" line now accepts both: a release number is compared to the release's version, and a short commit to the start of the newest release's commit. Each verdict names both sides.What to look at
initializeandtools/callofreleases, checked on the request body.src/http/mcp.tsand the release workflow are untouched. The stranger-journey line still readsGET …/commits/<sha>/checkand says UNKNOWN when that is not publicly readable.Run against production today, both lines are FAIL: production announces
687c4aeand the tool lists no release oftrevato/forgeyet, so v1.0.0 still cannot be tagged, now for a stated reason. The "schedules ran in 24 h" line stays UNKNOWN (404 to an anonymous read); that is outside this issue.Tests (
test/v1-probe.test.ts, which would fail without the change: the stub no longer serves/tags):687c4aeagainstccccccc).initializeplustools/call releases.bun test test/v1-probe.test.ts,bun test test/mcp-size.test.ts,bun x tsc --noEmitandbun scripts/gate.ts --fixall pass. The plan was not kept withkeep_plan, because that tool was not available in this run.Try it:
bun scripts/v1-probe.ts https://lab--forge-trevato-apps.open-platform.sh🤖 Generated with Claude Code
Closes #15387