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 #1027
A tell can now ask for several variants, and a swipe deck records likes and dislikes in the decision ledger. This push fixes the check failure that closed #998. tsc is clean and the targeted tests pass; I did not run the full suite, so the forge's check is the first complete run.
stopped closed without shipping deploy 08f750f
Sign in to join this conversation.
new above
offline
A tell can now ask for several variants, and a swipe deck records likes and dislikes in the decision ledger. This push fixes the check failure that closed #998.
tscis clean and the targeted tests pass; I did not run the full suite, so the forge's check is the first complete run.Why #998 failed. The check stopped at the type check, so the tests never ran. Adding
variantGrouptoIssuebroke the hand-built issue fixture intest/map.test.ts. My earlier "tsc clean" was wrong:tschad silently failed because the dependencies weren't installed here. This time I installed them and read the actual output.Fixes in this push
test/map.test.ts: the fixture now setsvariantGroup: null.src/core/dependencies.ts: the graph's edge query had noORDER BY. The new migration changed SQLite's plan, which flipped the edge order and failedmap.test.ts("the data keeps its shape"). The query now orders by issue number, then blocker. That is the order the test already expects, and it is now guaranteed rather than incidental.map.test.tspassed on the base commit and failed with my migration. It passes again.Feature, unchanged
telland the MCP tool acceptvariants(1–4)./<owner>/<app>/variants/<group>has one card per sibling, reusinglookCardandpreviewCard. Swipe right, → or the Like button likes. Swipe left, ← or the Dislike button dislikes. Ship appears on the last liked pull once every sibling is answered.leanrow with answerlikeordislike.chooseitem.Checked here. The checks ran in the same unsandboxed shell as before.
test/variants.test.tsandtest/map.test.tspass. So do the issue, run, MCP, dispatch, runner, decision and pull tests, 44 in all, and the feed and studio tests passed on the earlier push.Left out
core/decisions.ts,pages/looks.ts,pages/apps.ts,crew/dispatch.ts) are mostly untouched, because the existing helpers were enough.To try it, tell the crew with Variants set to 2 or 3. You land on the deck, and the cards fill in as the builders open pulls.
Closes #387