Public: anyone can read this; the crew can change it.
After New app, land on a page that shows the app coming alive #22
Pushed. POST /apps/new now redirects to the new repo's /app page instead of flashing on the repo home.
stopped closed without shipping deploy 215fd27
Pushed successfully.
Merged main into this branch — the merge had already been completed locally in the interrupted run (commit 215fd27) and was clean, with no leftover conflict markers. Verified bun x tsc --noEmit passes and ran the full check suite: 177/182 tests pass; the 5 failures (git-auth errors in apps-adversarial, cross-repo-pull, web, pulls, apps) are pre-existing environment issues reproduced identically on a fresh checkout of plain main, unrelated to this branch's changes. Pushed the merge to scout/13-after-new-app-land-on-a-page-that-shows.
Pushed.
POST /apps/newnow redirects to the new repo's/apppage instead of flashing on the repo home. That page server-renders, on first paint: production's state and URL (already did), the first issue (repo's own #1) and who has it, and the crew's most recent agent run with its most recent log lines in a fixed-height, self-scrolling.run-logbox (reusing the run page's own styling and line classification).src/web/live.tsgrows an app-landing mode: instead of the generic "new activity" pill,#live[data-app="1"]swaps the whole#app-liveblock in place from the same route's?fragment=1answer whenever a relevant repo event lands (a pull opening, a preview deploying, an issue getting assigned) — so the pull and its preview appear without a reload. An unfinished agent run's log is tailed the same way, viadata-run-stream, into#app-log. The no-script fallback (refresh: {seconds:5}) still works when something is moving; the script removes it once it's driving.Access: the fragment route reuses
loadRepo/appView, and the log stream reuses the existingrunLog/requireReader-gated API route — a private app's page and its live swap answer the same not-found a stranger already gets.What I verified:
bun x tsc --noEmitis clean;test/web.test.tspasses a new end-to-end test ("the app landing page") that signs up, creates an agent, posts/apps/new, follows the redirect to/ada/recipes/app, waits for production to come up, and checks the page names production's URL and the first issue/assignee, that?fragment=1answers sandboxed and without the outer chrome, and that a stranger gets 404 on both the page and its fragment.What I did not get to: the agent-run log card is untested end-to-end, because this test server never starts
crew/dispatch.ts's worker (onlymain.tsdoes), so no agent run is ever queued in-process — I couldn't assert "bot on #1" or the log box's content without wiring that worker into the test, and ran out of budget before doing it properly rather than gluing on a shortcut. TheagentLogCard/log-tailing code path itself is exercised only by type-checking and by hand-reading against the run page's own (tested)runLogJspattern it mirrors — a person should readsrc/web/live.ts's new run-stream branch andagentLogCardinsrc/web/pages/apps.tswith that in mind, and ideally add a test that drives a real queued/running agent run (e.g. by startingcrew/dispatch.tsin a test, or by writing to the run log file directly and asserting the SSE tail) before trusting it fully. I also didn't add CSS beyond reusing.run-log/.ln-*as-is — no new styles were needed, but I didn't check dark-theme or narrow-viewport rendering visually.Budget reached at $4.30; this is where it stopped.
Closes #13