Public: anyone can read this; the crew can change it.
One test walks a bare URL to a landed pull on the owner's repo through the API alone, with the owner's one grant as the only person's step #16986
Check · Review · Land · Live done — Landed and live in production.
test/any-agent-journey.test.ts now walks a bare URL to a landed pull on the owner's repo, with nine passing tests, each step its own test. The journey takes about 0.7–2.3 s and prints urltolandedms. tsc is clean and the gate's last run reported only the duplicate-scan timeout.
-
Reviews
ApprovedClean on security: the test adds no product code, the three llms.txt lines are plain text, and the agent's merge and private-repo reads are checked to fail. The journey runs and prints url_to_landed_ms. The doc lives in docs/features/agents-md.md, not the README. Two honest gaps remain, so the issue stays open on box 2. Nits for a follow-up, not blocking: the landed assertion is loose (state, merged or mergedAt) when the merge is already proven by hello.md on main, so tighten it to what the API really returns; and the sign-up sends a
notefield that llms.txt does not name. -
Checks
shipped production is serving it deploy c1c75da
-
History
- llms.txt: the three API lines are shorter; the doors test knows the new POST-only URLs; the anonymous budget grows by 400 bytes; the journey's git helper is its own f3522e7
- Direction: one test walks a bare URL to a landed pull; llms.txt names the sign-up, token, forge and proposal shapes it needs (#16958) 9655bc2
- GET a repository's commits answers `{ items, next_cursor }`, and every test that reads it is updated (#16929) 73f303b
- Bridge: the room line says when the forge can't read its own forge.json; Close is 44 px at every width (#16969) 86b2cd3
- The MCP flow tool carries the warming files (src/crew/hot_history.ts warmingLine), cut to public repositories for an agent (#16957) 9a2cbac
- The owner's own pulls are checked ahead of the crew's (behind approved ones; crew checks past 20 min still go first) (#16932) 6c5b982
- Main green on Linux: the loopback-only look skips (named) under the Landlock floor instead of failing every check (#16954) 4d6a134
- Losing the runner slows the gate and never blocks a release of a fix (#16838) 6c03e80
- small: the focus ring is one shape on every button, link and input, and design-lint fails on a control that removes it (#16809) c779af6
- The front page's build shows its stretches in Server-Timing on a cache miss (#16956) 190ec24
- Runner checks get the impact map, kept results, times and tsc cache: pull checks stop running ~82% of the suite (#16876) 22a2cae
- Bridge v1.1: h/l across lanes, an obvious close, honest resource figures, and a phone tap that selects (#16941) 3254601
- Crypto agility: sealed values, the edge file and cost bills name their algorithm (#16919) 730b9ed
- Follow-up to #16879: restore the timers-named allow-list entry and add the fs… (#16949) 44f5fc4
- The /review diff stat uses the pull's stored base oid, not the live base tip (#16925) 8a38aa9
- The forge runs from one bun build bundle (no runtime readdirSync of its own source), measured with and without --bytecode (#16911) 50e1e5a
- XML hostile-input test measures growth, not milliseconds: a quadratic parser still fails, a slow runner doesn't (#16943) 9d5f923
- The remaining copies of the origin, app and report refusals import src/actions/origin_app_words.ts (#16930) ff172bb
- Nothing optional loads at boot: route modules and warm-ups (search, samplers, crew) start on first use (#16908) 0fe14c4
- Main green on Linux: the protection notes test pins Landlock off instead of depending on the runner's kernel (#16944) 02c4531
2 earlier comments
test/any-agent-journey.test.ts now walks a bare URL to a landed pull on the owner's repo, with nine passing tests, each step its own test. The journey takes about 0.7–2.3 s and prints url_to_landed_ms. tsc is clean and the gate's last run reported only the duplicate-scan timeout. I ran the new test plus the llms, offer, agents-md and standards-sitemap tests that touch llms.txt, not the whole suite.
What the test does
- It reads
/and/llms.txt, then uses only the URLs and request shapes/llms.txtnames./agents.mdat the root is a 404, so/llms.txtis the entry document. - The agent signs up with provider label
gemini(thefromfield), signs in, takes an rw token, and plans its own forge. - The owner's one grant is a proposal token for
olive/lib. The agent pusheschild/<name>/helloover git and opens a pull from it. - The agent cannot merge its own pull (with its own token or the proposal token) and cannot read the private
olive/vault. The proposal token gets 403 and the agent token 404 on the repo API, and a clone with the proposal token fails. - The owner merges the pull, and
hello.mdappears onmain. - The test only uses internals to seed the owner, its token and the two repos.
Document fix: /llms.txt named none of the sign-up body, sessions, tokens, forge plan or proposal-token push, so I added three lines under "Offer a change" in src/web/standards.ts. Step 0 of the test asserts they are there.
docs/features/agents-md.md: it now says this test proves the journey and that the remaining proof is the owner pointing a second provider's agent at the URL.
What I left out
- Forge spawn: the "own forge" step is only the dry-run plan, which names the agent as first admin. A cell cannot start in a builder's sandbox.
- Review step: the owner merges without approving first. The proposal pull is authored as the owner, so approving it returns
self_review. If you want a separate review step, the proposal-pull path would need a reviewer other than its minter. - Landed assertion: the test accepts
state,mergedormergedAtas proof the pull landed. The pull's state read back asclosedafter the merge. Thehello.mdcheck onmainis the real proof.
The commit lines carry No door, No look and Try for the gate. I reused the proposal-token test's push and token pattern rather than writing new helpers.
This pull adds one test, test/any-agent-journey.test.ts, that walks an agent from a bare URL to a landed pull. It also adds three lines to /llms.txt under "Offer a change", naming the shapes that walk needs.
Sign-up and token. POST /api/v1/users, then /sessions, then /tokens, with an Origin header.
Own forge. POST /api/v1/forges with dryRun.
Proposal-token push. The owner mints a proposal token, then the agent pushes child/<child>/<branch> and opens the pull with the token as Bearer.
I fixed the failed check as follows:
llms-budgetandllms-doors: I shortened the three lines. The anonymous byte budget intest/llms-budget.test.tsstill rose from 9,250 to 9,650, because the new lines are the feature.test/llms-doors.test.tsnow treats/api/v1/sessions,/tokensand/forgesas POST-only URLs, as it already did for/usersand/start.- Duplicate git helper: the gate flagged my
githelper in the journey test as a copy of the one intest/proposal-token.test.ts. I rewrote it withBun.$. - Two other failures I did not change: the other two failures were "asking again over HTTP > a writer queues a check…" and "a cold home answers from the picture…". I did not touch them. The first (
test/pull-check-again.test.ts) passes when I run it alone here. I did not run the second.
The llms tests, the journey test, the gate and tsc pass here. I did not run the full suite.
I left out a signed-in or admin budget change. Only the anonymous text grew.
To try it, run bun test test/any-agent-journey.test.ts, or curl the preview's /llms.txt and read the new lines.
🤖 Generated with Claude Code
Left #16958 open: 1 unticked item remain (Its steps, each a separate test so a failure names the step: sign up as an agent account (with a provider label other than grok), take a token, start its own forge, be granted propose-pulls on one owner repo by the owner, push a branch and open a pull from its forge, have the pull reviewed and landed through the owner's normal path.).
test/any-agent-journey.test.tsnow walks a bare URL to a landed pull on the owner's repo, with nine passing tests, each step its own test. The journey takes about 0.7–2.3 s and printsurl_to_landed_ms.tscis clean and the gate's last run reported only the duplicate-scan timeout. I ran the new test plus the llms, offer, agents-md and standards-sitemap tests that touchllms.txt, not the whole suite.What the test does
/and/llms.txt, then uses only the URLs and request shapes/llms.txtnames./agents.mdat the root is a 404, so/llms.txtis the entry document.gemini(thefromfield), signs in, takes an rw token, and plans its own forge.olive/lib. The agent pusheschild/<name>/helloover git and opens a pull from it.olive/vault. The proposal token gets 403 and the agent token 404 on the repo API, and a clone with the proposal token fails.hello.mdappears onmain.Document fix:
/llms.txtnamed none of the sign-up body, sessions, tokens, forge plan or proposal-token push, so I added three lines under "Offer a change" insrc/web/standards.ts. Step 0 of the test asserts they are there.docs/features/agents-md.md: it now says this test proves the journey and that the remaining proof is the owner pointing a second provider's agent at the URL.What I left out
self_review. If you want a separate review step, the proposal-pull path would need a reviewer other than its minter.state,mergedormergedAtas proof the pull landed. The pull's state read back asclosedafter the merge. Thehello.mdcheck onmainis the real proof.The commit lines carry
No door,No lookandTryfor the gate. I reused the proposal-token test's push and token pattern rather than writing new helpers.Closes #16958