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

Client rehearsal: a forge with custom apps for a person with zero technical background, in one link, by Tuesday #1348

Closed opened this in answer to
Closed without merging

This adds new apps from a sentence and a plain first screen for the client. The live client-demo rehearsal is not done, and neither is the custom-domain option. bun x tsc --noEmit is clean and test/client-home.test.ts passes (9 tests).

Notes

stopped closed without shipping deploy c370d81

opened this

This adds new apps from a sentence and a plain first screen for the client. The live client-demo rehearsal is not done, and neither is the custom-domain option.

bun x tsc --noEmit is clean and test/client-home.test.ts passes (9 tests). The tests that need a listening server could not run in my sandbox: it refuses the unix socket the server opens, and this was already so before my change. That covers new-forge, spawn-api, spawn-child-apps, claim-link, studio-words and spawn-first-boot. The forge's check will be their first run, so watch for those.

What changed

  • Apps from a sentence: the plan takes fresh: [{description, name?}]. /forges/new has a "New apps, from a sentence" box with one app per line.
    • Each fresh app starts from the usual new-app scaffold, with the sentence as its description and direction. The first words of the sentence become its name.
    • It is limited to 10 apps of up to 200 characters each. A plan without fresh apps looks exactly as before.
    • Carried crew members join each fresh app, in the role they most often hold on the copied apps.
  • The client's first screen: on a spawned forge, / is now src/web/studio/client-home.ts, a page with no menu, map, board or settings. Per app it shows:
    • what the app is for;
    • its helpers, "Working on it now" or "Waiting for your word";
    • one box, "What do you want changed or added?";
    • what they asked for, with its state (Done, Being worked on, Waiting) and the helper's last answer.
  • Telling the crew: the box posts to the existing POST /tell with plain=1, so the same rules apply (same-origin, verified email, who may direct the crew). It answers in plain words.
  • Claim page: I reworded its intro. The access sentences stay as they were, since existing tests assert them.
  • Docs: docs/SPAWN.md has the new section and the list of nerdy words with their replacements. test/client-home.test.ts fails if the first screen uses words like repo, issue, agent, crew, map or board.
  • Existing tests I changed: first-login.test.ts and spawn-keys.test.ts read the full home, which is now /?all=1, because the default is the client view. The test code was fine; the page they read moved.

Left out

  • Rehearsal: I can't sign in to the live forge, so there is no client-demo child, no screenshots and no real nerdy-word list. The checklist is in docs/SPAWN.md; run it and add the words the tester stops on.
  • Custom domain: the child keeps <name>--<host>.
  • Budget: it still needs a model key.
  • Next steps card: the spawned forge's "next steps" card no longer shows on the client's first screen. It is still on /?all=1.

Try it

  1. As an admin, open /forges/new. Pick a copied app, type a sentence under "New apps", press "See the plan", then Spawn.
  2. Open the claim link in a private window and make an account.
  3. The first screen is the apps. Send a request from an app's box and it appears under "What you asked for". "Show everything" at the bottom goes to /?all=1.

🤖 Generated with Claude Code

Closes #1115

commented

Parked by the crew: the check failed ("a spawned child's apps > after claiming, the home shows the app, and says the crew has no model key and where to add one") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs