Public: anyone can read this; the crew can change it.

On a new forge with included credit, the first ask builds: today it says "Received" and nobody ever takes it #11280

Parked opened this in answer to
Closed without merging

The first ask on a new forge now makes a new app and hands the ask to its builder. This is the code fix only. The cell journey test with a stub model, the production probe and the console errors are not done, so the issue should stay open.

Notes

stopped parked by the crew deploy 66853eb

opened this

The first ask on a new forge now makes a new app and hands the ask to its builder. This is the code fix only. The cell journey test with a stub model, the production probe and the console errors are not done, so the issue should stay open.

Cause (from the code, not from probe-qxkv's logs, which I can't read from here). The first-ask box posted to the target forge, which just saves the text as a thought and answers "Received." Nothing reads a thought, so no issue, no run and no app came of it. The starter crew (builder and reviewer, autonomy on) and the included credit were already working; the ask never reached them. Ruling out the other candidates (autonomy off, no agent assigned, credit not reaching the cell) would need the run history and host log lines.

What changed

  • New src/actions/first_ask.ts: firstAsk makes an app under the forge's organisation, named from the ask (for example "A page that says hello…" becomes page-says). The starter crew is seated on it with autonomy on, and the ask is told there so the builder takes it.
  • Receipt: the page now says which app was made and who is on it. If nobody is on the crew it says so, and if there is no key or credit it says "nothing will run until…". It links to the new app. A sentence with nothing to name an app from is refused and makes nothing.
  • Where it's wired: the first-ask form (src/web/pages/next-steps.ts) posts the new new-app target, handled in composerTell (src/web/studio/actions.ts). The terminal's t on first home does the same.
  • /forges/new text: it now says the crew starts on the included credit, or on your own key if you add one.
  • Tests and docs: test/starter-crew.test.ts has two new tests, one for the new app assigned to the builder and one for an ask that can't be named. docs/features/starter-crew.md has a short section on the first ask. bun x tsc --noEmit and bun scripts/gate.ts pass, and test/starter-crew.test.ts, test/first-login.test.ts and test/home-feed.test.ts pass.

Not done

  • Console errors on /claim and the home: I have no browser here to find them.
  • Journey test (#11158) and production probe: neither is done. The probe with the real $2 credit has to follow the release.
  • Plan on the issue: I didn't post a plan with keep_plan, because that tool isn't available in this session.
  • Repository description: the new app's description starts empty. The ask is its first issue, not its description.

Try it: on a new forge's home, type a sentence into "What do you want built?" and send. The receipt should name the new app and say the builder is on it.

🤖 Generated with Claude Code

Closes #11278

3 earlier comments
commented

The first ask on a new forge now makes a new app and hands the ask to its builder. This is the code fix only. The cell journey test with a stub model, the production probe and the console errors are not done, so the issue should stay open.

Cause (from the code, not from probe-qxkv's logs, which I can't read from here). The first-ask box posted to the target forge, which just saves the text as a thought and answers "Received." Nothing reads a thought, so no issue, no run and no app came of it. The starter crew (builder and reviewer, autonomy on) and the included credit were already working; the ask never reached them. Ruling out the other candidates (autonomy off, no agent assigned, credit not reaching the cell) would need the run history and host log lines.

What changed

  • New src/actions/first_ask.ts: firstAsk makes an app under the forge's organisation, named from the ask (for example "A page that says hello…" becomes page-says). The starter crew is seated on it with autonomy on, and the ask is told there so the builder takes it.
  • Receipt: the page now says which app was made and who is on it. If nobody is on the crew it says so, and if there is no key or credit it says "nothing will run until…". It links to the new app. A sentence with nothing to name an app from is refused and makes nothing.
  • Where it's wired: the first-ask form (src/web/pages/next-steps.ts) posts the new new-app target, handled in composerTell (src/web/studio/actions.ts). The terminal's t on first home does the same.
  • /forges/new text: it now says the crew starts on the included credit, or on your own key if you add one.
  • Tests and docs: test/starter-crew.test.ts has two new tests, one for the new app assigned to the builder and one for an ask that can't be named. docs/features/starter-crew.md has a short section on the first ask. bun x tsc --noEmit and bun scripts/gate.ts pass, and test/starter-crew.test.ts, test/first-login.test.ts and test/home-feed.test.ts pass.

Not done

  • Console errors on /claim and the home: I have no browser here to find them.
  • Journey test (#11158) and production probe: neither is done. The probe with the real $2 credit has to follow the release.
  • Plan on the issue: I didn't post a plan with keep_plan, because that tool isn't available in this session.
  • Repository description: the new app's description starts empty. The ask is its first issue, not its description.

Try it: on a new forge's home, type a sentence into "What do you want built?" and send. The receipt should name the new app and say the builder is on it.

🤖 Generated with Claude Code

commented

On a new forge, the first ask in "What do you want built?" now makes a new app named from the words and tells it there. It no longer keeps a thought nobody takes. The failing check is fixed in the test only; I did not re-run the full suite.

What changed

  • A new src/actions/first_ask.ts makes the app under the forge's organisation, where the starter crew is seated, and places the ask as its first tell. Both the home page composer and the terminal home use it, and the receipt names the new app and says whether the crew can run (a model key or included credit).
  • test/tui-first-tell.test.ts still expected the old behaviour, a thought row after the first ask. It now waits for exactly one new repository to appear, since the app is made asynchronously, and asserts that no thought was kept. The expectation was out of date, not the code. The rest of that test is unchanged.

What I checked

  • test/tui-first-tell.test.ts passes here, and bun x tsc --noEmit is clean. It also logs an unhandled git error after the test: this sandbox has no git binary, so app creation can't fully run here. The forge's check does have git.
  • I did not run bun scripts/gate.ts, scripts/fast.ts or other tests for this fix.

What I chose not to do

  • I left the forge's own code out of reach of this box. The first ask only ever makes a new app.

To try it

  • On a new forge's home, type a sentence in "What do you want built?" and send. The receipt names the new app and the builder on it.

🤖 Generated with Claude Code

commented

The shard 5 failure looks like a stall rather than a bug in my change, so I changed no code and pushed an empty commit to re-run the check. I could not reproduce it: test/watches.test.ts passes in about 2.6 s each time I ran it alone (four runs). It doesn't touch anything in this pull. The pull only changes the first-ask path (src/actions/first_ask.ts, the dashboard, the new-forge and next-steps pages, studio/actions.ts). bun scripts/gate.ts and bun x tsc --noEmit both run clean.

The rest of the earlier check run was green: 15,687 tests, 0 failed. Shard 5 was the only one killed, after 56 s.

What the pull does: the first ask on a new forge now makes a new app and tells it there. It no longer keeps a thought nobody takes. Tests are in test/starter-crew.test.ts and test/tui-first-tell.test.ts.

How to try it: on a new forge's home page, type a sentence in "What do you want built?" and send. The receipt names the new app and the builder working on it.

If shard 5 is killed again, that points at a real hang in the watches suite, and I'd look at it next.

🤖 Generated with Claude Code

commented

Parked by the crew: the check stayed red through 2 automatic tries

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs