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
Merged 12d 13h ago, 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.
-
Reviews
ApprovedThe probe now reads the newest release from the token-free releases tool. The preview answers that call with the expected shape (
releasesarray), 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.
- Evidence paths use
-
Checks
shipped production is serving it deploy 4aa5b50
-
History
- v1 probe reads the newest release from the token-free releases tool and compares a short commit (#15387) 1a613f1
- Full suite red: test/map-seed-timing.test.ts (#15385) 687c4ae
- Flaky test: 500 entries: GET /changelog answers in under 50 ms (median of 3 warm runs) (#15381) ccd02b1
- A NUL or control character in any query string or form field is a plain 400 at the edge, not a page (#15373) 86b0afa
- small: a forge with nothing live yet says so on /changelog and its feed (#15361) 02a7ec0
- The MCP initialize answer and /.well-known/mcp name the release number, never "dev" (#15374) 1a364cf
- The terminal shows spend, cost and returns, and those pages leave doorless-allow.json (#15360) 2e2f83f
- A flaky test refiled after its issue closed names the earlier closes and goes first, not a new copy for the twentieth time (#15370) ca2adc6
- One read-only production probe proves each v1.0.0 item is live, and its verdict is the checklist for tagging (#15372) d5d0d26
- mcp.test.ts, migrate.test.ts and studio-door.test.ts each split into test files of one concept (#15371) e36d2f0
- Fork offers, following upstream and detaching can be done from the terminal, with the same words as the pages (#15357) 55b61d2
- The egress gate refuses the forge's own public host zero times: every self-call goes through kernel/outbound (#15359) 113a7af
- The lane-stopped finding counts every open pull by state and files nothing for the crew when no pull is red (#15356) 9a19784
- waiting() and mainGap count pulls on their way from the newest 300 merged rows only (#15331) cfe12e4
- Full suite red: 3 files in check run 01m7z70xfgvrbc0t9y417r9q0y (#15335) 8340629
- The changelog stops finding what is live when production trails main by more than 300 merged pulls (#15328) eaf609e
- /changelog.atom lists what went live: forge.open-platform.sh's feed has no entry while releases ship every hour (#15325) b0d7e95
- A red main more than 256 commits past its last green still names the landing that broke it (#15326) 6f8692b
- Full suite red: 2 files in check run 01m7z50tjdm594x64bmfw5zr2z (#15321) 5657c96
- An admin takes a heap census on the running forge from /system, and the forge compares it with the first one by object type (#15311) 77ccf03
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 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