Public: anyone can read this; the crew can change it.
Variants of one intent: sibling pulls grouped under one tell, and a swipe deck that records likes and dislikes in the decision ledger #998
A tell can now ask for up to four variants. Their pulls are tied together and a deck lets you like or dislike each one. tsc is clean and the new test/variants.test.ts passes (7 tests).
stopped closed without shipping deploy b95860a
Sign in to join this conversation.
new above
offline
A tell can now ask for up to four variants. Their pulls are tied together and a deck lets you like or dislike each one.
tscis clean and the newtest/variants.test.tspasses (7 tests). I rantest/studio.test.ts, the feed tests and the MCP tests as well. Those pass too, 213 tests in all. I did not get a clean fullbun testrun here. The one full run was sandboxed, which cannot open the unix sockets the server tests need, so 515 tests failed for that reason. The forge's check will be the first complete run.What changed
issue.variant_groupandrun.variant_grouptie siblings to their tell.tell(…, variants)opens one issue per candidate under a shared group id and gives each to a builder, spreading them across the crew by load. The runner puts the pull it opens in its issue's group.variants. The core accepts 1–4, and anything else is refused.GET /:owner/:name/variants/:groupshows one card per sibling, reusinglookCardandpreviewCard. Swipe right or → likes, swipe left or ← dislikes, and the two buttons post the same form. Once every sibling is answered, the last one liked gets Ship.lean, answerlikeordislike, about the pull. The page needs write access, and the POST is same-origin checked.choosefeed item linking to it.src/crew/variants.tsand the page insrc/web/studio/deck.ts.Left out
core/decisions.ts,pages/looks.ts,pages/apps.ts,crew/dispatch.ts) is mostly untouched. Decisions are written through the existingrecordDecision, and the deck calls the existing look and preview cards unchanged.Try it Tell the crew with Variants set to 2 or 3. You land on
/<owner>/<app>/variants/<group>, and the cards appear as the builders open pulls. A second person tells the crew with 2 or more variants and answers the cards with ← and →.Closes #387