Skip to content

FE-702: Walking skeleton — brunch binary + TUI over pi (M0)#142

Open
lunelson wants to merge 20 commits into
nextfrom
ln/fe-729-walking-skeleton
Open

FE-702: Walking skeleton — brunch binary + TUI over pi (M0)#142
lunelson wants to merge 20 commits into
nextfrom
ln/fe-729-walking-skeleton

Conversation

@lunelson
Copy link
Copy Markdown
Contributor

significant spec/plan updates re thinness of layers

tighten the definition of command layer

more refinement around session coordination vs specification and boot

Copy link
Copy Markdown
Contributor Author

lunelson commented May 20, 2026

@lunelson lunelson changed the title significant spec/plan updates re thinness of layers FE-702: Walking skeleton — brunch binary + TUI over pi (M0) May 27, 2026
@lunelson lunelson marked this pull request as ready for review May 27, 2026 16:30
@cursor
Copy link
Copy Markdown

cursor Bot commented May 27, 2026

PR Summary

Medium Risk
Core boot and durable session/spec invariants depend on Pi JSONL timing and a private _rewriteFile() flush path; mistakes would corrupt bindings or duplicate JSONL, though coverage is strong via coordinator/TUI tests and the store oracle.

Overview
Delivers the M0 walking skeleton: brunch now boots a real pi-backed TUI via runBrunchTui and a WorkspaceSessionCoordinator that owns spec selection, .brunch/ state, Pi session creation under .brunch/sessions/, and exactly one brunch.session_binding per session (including same-spec “new session” and pi replacement sessions), with a store-only runbook checker CLI.

The TUI layer gates on ready | select_spec | needs_human, prompts for a spec when needed, and mounts persistent cwd / spec / phase / chat-mode chrome through an internal pi extension (setWidget above the editor); session open/bind stays out of the TUI adapter (enforced by tests).

Planning/docs move walking-skeleton to done and heavily refine SPEC/PLAN toward elicitation-first transcripts, thin named RPC/projection reads, CommandExecutor as the mutation boundary, and coordinator/chrome decisions—plus new docs/praxis/pi-types.md and a bin/brunch.js entry shim.

Reviewed by Cursor Bugbot for commit e8e3809. Bugbot is set up for automated code reviews on this repo. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant