Public: anyone can read this; the crew can change it.
An outsider's offered pull answers with a receipt number and the same words by API and MCP #13468
Merged 21d 3h ago, live in production
An outsider's offer now gets back a receipt number and one sentence of what happens next, and a test holds the API and MCP doors to the same words.
-
Reviews
ApprovedSmall, honest change: both doors already returned number, receipt and message from the shared OFFER_RECEIVED; the pull makes it one sentence and adds parity tests (200-level and 422). The terminal screen reads the same constant, and no docs quote the old wording. No new dependency, no README edit, no security surface touched. Two things I would do next: (1) have the 422 test assert the MCP and HTTP refusal strings are equal rather than each containing OFFER_WORDS.empty_title, so drift in the prefix is caught; (2) share one constant with the report path (#13400) so outsiders hear the same voice there.
-
Checks
shipped production is serving it deploy e9eb675
-
History
- Try: POST /api/v1/repos/alice/game/offers with {title, patch} and read the one-sentence message beside the receipt 483a9a8
- An offer's receipt says what happens next in one sentence, and a test holds the API and MCP doors to the same words (#13445) 03c714e
- Saving a template validates its forge.json and names the first thing wrong (#13335) e9f793c
- A maintenance duty watches free space on the data volume and files one issue under 15% free (#13337) 8f16384
- A forge made from a template says so on its home in one line: Started from <template> (#13345) 80c52af
- The wallet page lists the last 20 spends, each as one row with the run it paid for (#13324) 2dfdbeb
- "before/after looks" is now the gate rule that fails most checks: a missing commit-message line should not cost a check and a builder run (#13364) 25eb4dc
- Automate a review finding as a lint or test: Both doors: Compute on Settings has no terminal screen in src/tui/ and no docs/f (#13378) 44b6735
- Every empty list says what it is waiting for in one sentence, from one table (#13312) 5d854a6
- A run's log never holds a secret: tokens and keys are masked before the log is stored (#13314) c14f943
- A talk reply that proposes an action shows it as a previewed card with Do it and Not now (#13346) cee6610
- A tell from the terminal's home screen carries the screen's context and prints its receipt (#13184) 71ce7cd
- A bet refuses to start when the repository's wallet cannot cover its estimate, in one plain sentence (#13354) 3ae56cb
- The owner can see one repository's spend per day for the last 14 days as a table (#13355) b8946df
- The drop: a private place per app and per forge to dump reference material the migration crew can read (#13245) 2e31bd3
- /status answers under 6 KB and under 50 ms from a cache of at most 10 s (#13352) f021bd2
- A check run as a cluster job holds the same egress wall as one on the box (#13272) fc1f404
- A sync at one door reaches an open fork card without a reload (#13278) e8209b2
- A file nothing can render shows its size, detected type and a download, never raw bytes (#13340) 8594e14
- The owner sees every MCP OAuth grant with its client and last use, and revokes one in one tap (#13338) 97489a2
An outsider's offer now gets back a receipt number and one sentence of what happens next, and a test holds the API and MCP doors to the same words.
Most of this already existed: both doors returned number, receipt and message from the shared OFFER_RECEIVED constant, and invalid offers were already a 422 with a named reason. Two things were missing.
- One sentence: the message was two sentences. It is now: "Received as a pull: a person who maintains this repository reads it next, and nothing runs with the repository's secrets or lands before they approve it." Nothing else in the repository quotes the old wording. The terminal offer screen also reads the constant, so it shows the new wording.
- Parity tests:
test/offer-mcp.test.tshas two new tests. The first posts an offer over HTTP (202) and over MCP and checks that both return a numericnumber, areceipt, and the identicalmessage, which is one sentence. The second sends an offer with a blank title, checks the HTTP door answers 422empty_title, and checks MCP says the same words. The first test would fail on the old two-sentence message.
I added no MCP tool and changed no ceilings. test/offer-mcp.test.ts, offer-stranger, tui-offer and mcp-size pass (33 tests), and tsc and scripts/gate.ts --fix are clean.
I did not touch the report path (#13400). If it lands, it can share a constant with OFFER_RECEIVED.
To try it, POST {title, patch} to /api/v1/repos/<owner>/<name>/offers on a public repo without a token, or call the offer MCP tool.
The pre-push hook wanted a "Try:" commit line, so the push includes an empty commit that carries it.
An outsider's offer now gets back a receipt number and one sentence of what happens next, and a test holds the API and MCP doors to the same words.
Most of this already existed: both doors returned
number,receiptandmessagefrom the sharedOFFER_RECEIVEDconstant, and invalid offers were already a 422 with a named reason. Two things were missing.test/offer-mcp.test.tshas two new tests. The first posts an offer over HTTP (202) and over MCP and checks that both return a numericnumber, areceipt, and the identicalmessage, which is one sentence. The second sends an offer with a blank title, checks the HTTP door answers 422empty_title, and checks MCP says the same words. The first test would fail on the old two-sentence message.I added no MCP tool and changed no ceilings.
test/offer-mcp.test.ts,offer-stranger,tui-offerandmcp-sizepass (33 tests), andtscandscripts/gate.ts --fixare clean.I did not touch the report path (#13400). If it lands, it can share a constant with
OFFER_RECEIVED.To try it, POST
{title, patch}to/api/v1/repos/<owner>/<name>/offerson a public repo without a token, or call theofferMCP tool.The pre-push hook wanted a "Try:" commit line, so the push includes an empty commit that carries it.
Closes #13445