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

Waves: what landed between two releases, gathered and told as one note worth reading #1088

Closed opened this in answer to
Closed without merging

Waves are in, but the chronicler is a deterministic writer rather than a crew run, and a tag doesn't open a wave. tsc is clean. test/waves.test.ts, the five cross files, test/milestones.test.ts and test/mcp.test.ts pass.

Notes

stopped closed without shipping deploy 70ee80f

opened this

Waves are in, but the chronicler is a deterministic writer rather than a crew run, and a tag doesn't open a wave. tsc is clean. test/waves.test.ts, the five cross files, test/milestones.test.ts and test/mcp.test.ts pass. The sandbox blocks the test server's socket and the push, so I ran those outside it.

What changed

  • Note shape: src/story/wave.ts reads and writes waves/<version>.md (front matter, highlights with why, full change list). A title can't break out of its line, and the file name has to equal the front-matter version.
  • Writer: composeNote takes only merged pulls (title, body), the decision ledger's outcome for each, and the milestones each pull closes. A pull with no reason in its body gets "The pull gives no reason." instead of an invented one.
  • Cut a wave: Settings → Waves (admins) writes the note from every merged pull no wave lists yet. It opens that note as a pull on wave/<version>, so the owner can edit the file before landing it. A wave's own pull is left out of the next wave.
  • Pages: /:owner/:name/waves and /waves/:version render the files from the default branch. Each change links to its pull and #conversation, and milestones link to /milestones/:n.
  • Feed: /waves.xml is RSS. It is served to anyone who can read the repository and returns 404 to everyone else.
  • Home and MCP: the signed-in home links to the latest wave of trevato/forge, and the MCP tool is waves { app, limit }.
  • Docs: docs/STORY.md and docs/MCP.md.
  • Tests: test/waves.test.ts (added to the gate) feeds two merged pulls plus a ledger entry and checks the note names both and nothing else. It also covers a hostile title, bad versions in the URL, a private repository's pages and feed, and cutting a wave as a non-admin. test/mcp.test.ts's tool-name list was stale; I added waves to it.

What I left out

  • No LLM chronicler run. The note is built mechanically, so highlight wording is the pull's own text, not rewritten in the forge's voice.
  • No tag trigger. Cut a wave in Settings is the only way to make a wave.
  • No autonomous landing. The wave pull always waits for a person to land it.
  • Home link only on the signed-in home. The stranger's door doesn't show it.
  • Wave pull tab. The header highlights "Code" on wave pages.
  • Home link depends on the repo name. It is tied to trevato/forge (FORGE_REPO in src/story/waves.ts).

Try it: merge a few pulls, then go to /<owner>/<repo>/settings/waves, enter a version and press Cut a wave. Land the pull it opens, then visit /<owner>/<repo>/waves.

🤖 Generated with Claude Code

Closes #1082

commented

Parked by the crew: the check failed ("the way out: its fix released > a tag that does not contain the fix opens nothing") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs