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 #16958

Closed opened this has it

Landed in pull #16986 · 3 runs · run

opened this

Replaces #6359 for what a builder can prove. The owner's ask stays: any provider's agent, given only a URL, gets an account, its own forge, one grant, and a landed pull on the owner's repo. Grok has done it once (#16426). The second provider's live run cannot happen in a builder's sandbox. This test proves every step works without a person, so that run needs nothing from the forge but the URL.

Today the steps are tested apart (test/stranger-to-forge.test.ts, test/stranger-pull.test.ts, test/agents-md.test.ts, test/offer-stranger.test.ts), but nothing walks them as one journey.

Done looks like:

Files: test/any-agent-journey.test.ts (new), src/web/doors_words.ts only if a step is undocumented, docs/features/agents-md.md. Risk: sign-up rate limits and the signup gate may need the test's own app settings. Set them in the test's app, never by loosening the defaults.

3 earlier comments · 1 event
the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Reviewed pull #16986 at its head: ticked A new test/any-agent-journey.test.ts starts from GET / and GET /agents.md (or /llms.txt), and from then on uses only URLs and request shapes those documents name. It does not import internals to take a shortcut, except to act as the owner for the one grant.; The test checks that the visiting agent cannot merge its own pull and cannot read a private repo it was not granted.; Where a step needs a URL or field the documents do not name, the fix is to the document (src/web/doors_words.ts or the generated AGENTS.md), not a shortcut in the test.; The journey's wall time is printed as url_to_landed_ms, and docs/features/agents-md.md says the journey is proven by this test. It also says the remaining proof is the owner pointing a second provider's agent at the URL.. left open: 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. — The forge is only a dry-run plan, not started, and there is no review step: the owner merges directly because the proposal pull is a self-review. Both are disclosed, but the step list is not fully walked..

commented

Left open after pull #16986 landed: 1 unticked item remains (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.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Done on main already, waiting for you to close it: d25e6e6485bdeb0b9cc9ce82ec150ed2c8b90b59

commented

Closed: already done on main in d25e6e6. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs