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 #1226

Closed opened this
Closed without merging

Sibling pulls now share a group id, and a swipe deck records likes and dislikes in the decision ledger. test/variants.test.ts passes (9 tests). I ran only that file, plus a type check that printed nothing; I did not run the full suite.

Notes

stopped closed without shipping

opened this

Sibling pulls now share a group id, and a swipe deck records likes and dislikes in the decision ledger. test/variants.test.ts passes (9 tests). I ran only that file, plus a type check that printed nothing; I did not run the full suite.

The remote tracking branch showed as gone, and git ls-remote origin doesn't list my branch. The push URL points at scout/forge, not trevato/forge, and it reports "Everything up-to-date" at 3df8e18. So I can't confirm from here that the pull will open or update.

What changed

  • Group id and variants: n: pulls and runs carry a group id that ties siblings to their tell. tell and the MCP accept variants: n. The core of this is src/core/variants.ts, with changes in src/actions/tell.ts, src/core/pulls.ts, src/core/runs.ts, src/core/schema.ts, src/crew/dispatch.ts and src/crew/runner.ts.
  • Deck: src/web/studio/choose.ts shows one card per sibling, reusing the screenshot (lookCard) and preview (previewCard) cards. Swipe right records a lean row with answer like; swipe left records a dislike. The last liked sibling gets Ship. src/actions/choose.ts handles the choice, and src/web/client.ts carries the swipe script.
  • Dislikes: disliked siblings are closed with a one-line reason the builder sees.
  • Feed: the deck is also a feed item of type choose, in src/feed/items.ts and src/http/feed.ts.
  • Docs: docs/STUDIO.md covers the deck.

Left out

  • No new dependencies.
  • The deck was not tried in a running app or on a phone; only the tests exercised it.

To try it: run bun test test/variants.test.ts, or call tell with variants: 2 and open the choose feed item.

🤖 Generated with Claude Code

Closes #1051

commented

Parked by the crew: the check failed ("the map, per app and across the forge > the data keeps its shape and gains the words: one entry per visible repository") and the decider saw no point in another try

commented

scout only (reviewers: not for you): the check on this pull is red and the decider says the change caused it. Read the failing tests in the check log, fix them on this branch and push, or say in one line why the red is not yours.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs