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

Parked opened this in answer to
Closed without merging

This pull only partly covers the issue. The first ask now makes a new app and says so, but the journey test, the /forges/new copy, the console errors and the production probe are not done or not checked. What changed src/actions/firstask.ts is new.

Notes

stopped parked by the crew deploy fe0e467

opened this

This pull only partly covers the issue. The first ask now makes a new app and says so, but the journey test, the /forges/new copy, the console errors and the production probe are not done or not checked.

What changed

  • src/actions/first_ask.ts is new. The first ask on a new forge creates a new app named from the ask and files the ask there. The forge's own repository is no longer the target for "What do you want built?".
  • The receipt names the new app and the builder on it. It no longer says "Received" and then nothing.
  • src/tui/screens/dashboard.ts, src/web/pages/next-steps.ts and src/web/pages/new-forge.ts carry the same wording. src/web/studio/actions.ts calls the new action.
  • docs/features/starter-crew.md is updated to match.
  • Tests: test/starter-crew.test.ts covers the new action and test/tui-first-tell.test.ts covers the first tell.

Why the earlier tries stayed red

  • The red check on the previous try was a stall in test/watches.test.ts, which passes alone in 2.6 s.
  • I merged main into the branch (17 new commits) and pushed, so the check runs again on current code.

What I checked here

  • bun x tsc --noEmit is clean after the merge, and test/starter-crew.test.ts passes (12 tests).
  • Before the merge, bun scripts/gate.ts printed nothing, and test/starter-crew.test.ts plus test/tui-first-tell.test.ts showed 13 pass, 0 fail and 1 unhandled error. The error is ENOENT spawning git inside the sandbox. I did not run test/tui-first-tell.test.ts again after the merge.
  • The sandbox also refused network calls to maria--forge.test and nolend--forge.test.

Not done or not checked

  • Root cause: I did not read probe-qxkv's run history or the host's child forge name=probe-qxkv log lines, so which cause the evidence shows is not established. The fix targets the first candidate: the ask filed against the forge repository. Autonomy, crew assignment and whether the included credit reaches the child's cell are not examined.
  • /forges/new copy: only src/web/pages/new-forge.ts changed. The "the crew starts once you add your AI account" line was not confirmed corrected where included credit applies.
  • Console errors: the two errors on /claim and on the forge's home are not cleared.
  • Journey test (#11158): not added. The new tests do not show a builder run starting within 60 s on a real cell with a stub model.
  • Production probe: has not run, so this issue should stay open until it passes.

To try it: on a new forge's home, type a sentence into "What do you want built?" and send. A new app should appear, named from the sentence, with the receipt naming the builder.

🤖 Generated with Claude Code

Closes #11278

3 earlier comments
commented

This pull only partly covers the issue. The first ask now makes a new app and says so, but the journey test, the /forges/new copy, the console errors and the production probe are not done or not checked.

What changed

  • src/actions/first_ask.ts is new. The first ask on a new forge creates a new app named from the ask and files the ask there. The forge's own repository is no longer the target for "What do you want built?".
  • The receipt names the new app and the builder on it. It no longer says "Received" and then nothing.
  • src/tui/screens/dashboard.ts, src/web/pages/next-steps.ts and src/web/pages/new-forge.ts carry the same wording. src/web/studio/actions.ts calls the new action.
  • docs/features/starter-crew.md is updated to match.
  • Tests: test/starter-crew.test.ts covers the new action and test/tui-first-tell.test.ts covers the first tell.

Why the earlier tries stayed red

  • The red check on the previous try was a stall in test/watches.test.ts, which passes alone in 2.6 s.
  • I merged main into the branch (17 new commits) and pushed, so the check runs again on current code.

What I checked here

  • bun x tsc --noEmit is clean after the merge, and test/starter-crew.test.ts passes (12 tests).
  • Before the merge, bun scripts/gate.ts printed nothing, and test/starter-crew.test.ts plus test/tui-first-tell.test.ts showed 13 pass, 0 fail and 1 unhandled error. The error is ENOENT spawning git inside the sandbox. I did not run test/tui-first-tell.test.ts again after the merge.
  • The sandbox also refused network calls to maria--forge.test and nolend--forge.test.

Not done or not checked

  • Root cause: I did not read probe-qxkv's run history or the host's child forge name=probe-qxkv log lines, so which cause the evidence shows is not established. The fix targets the first candidate: the ask filed against the forge repository. Autonomy, crew assignment and whether the included credit reaches the child's cell are not examined.
  • /forges/new copy: only src/web/pages/new-forge.ts changed. The "the crew starts once you add your AI account" line was not confirmed corrected where included credit applies.
  • Console errors: the two errors on /claim and on the forge's home are not cleared.
  • Journey test (#11158): not added. The new tests do not show a builder run starting within 60 s on a real cell with a stub model.
  • Production probe: has not run, so this issue should stay open until it passes.

To try it: on a new forge's home, type a sentence into "What do you want built?" and send. A new app should appear, named from the sentence, with the receipt naming the builder.

🤖 Generated with Claude Code

commented

The failing test, hostile ?page values collapse to page 1 in test/hardening.test.ts, looks like a flake rather than a fault in this pull. I changed nothing for it, and the push below was not re-run through the forge's full check.

  • What I saw: the test passed three runs in a row on its own. The check log says it "fails only beside others", with no shard-mates in its shard. It exercises the commits page, which nothing in this pull touches.
  • What I changed: I merged the latest main into the branch. That produced a conflict in src/web/pages/next-steps.ts: main now builds the crew line with crewFirstLine, while this branch used a different crew helper. I kept crewFirstLine and the first-ask NEW_APP_TARGET hidden field, and dropped the helper imports the branch no longer uses.
  • Local checks: bun x tsc --noEmit is clean. The 26 test files whose names match next-steps, starter-crew, first-* and tui-first (including starter-crew.test.ts and tui-first-tell.test.ts) gave 185 pass, 0 fail. test/hardening.test.ts also passes after the merge.
  • If it fails again: it fails under whole-suite load, so another red on that test alone would point to a flake in the commits-page request, not to this pull.

The pull still covers only part of #11278. The journey test, the /forges/new copy, the two console errors, the root-cause check on probe-qxkv and the production probe are still open, as the earlier description said.

The merge is pushed as 376727b9b.

🤖 Generated with Claude Code

commented

The failing test, the terminal reads through the page's gate in test/team-queue.test.ts, passed twice on its own, so it looks like a load flake rather than a fault in this pull. It drives the terminal UI step by step, and the failure came with it taking 826 ms in a busy shard. I changed no code for it and have not seen the forge's full check on the new push.

  • What I did: I merged the latest main into the branch and pushed it as fe0e46710, so the check runs again on current code.
  • Merge: it had no conflicts.
  • Local checks: bun x tsc --noEmit is clean. test/team-queue.test.ts, test/starter-crew.test.ts and test/tui-first-tell.test.ts gave 17 pass, 0 fail.
  • If it fails again: another red on this test alone would point to a timing problem in the terminal UI test, not to this pull. Say so and a person can decide whether to quarantine it.

What this pull does and leaves open is unchanged from the earlier description. The first ask on a new forge makes a new app and says so. The journey test, the /forges/new copy, the console errors, the root-cause check on probe-qxkv and the production probe are still open.

🤖 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