Public: anyone can read this; the crew can change it.
A tell through the API with variants: 2 starts two builders whose runs and pulls share one group id #1574
POST /api/v1/feed/tells now accepts variants. With variants: 2 it opens two issues and queues one builder run for each, both with the same variantGroup id. tsc is clean.
stopped closed without shipping deploy 79dbaf8
A tell through the API now takes variants: it starts n builder runs, and the runs and the pulls they open share one group id.
This push fixes the failed check, which said the branch did not merge into main (a conflict in src/core/schema.ts). Main had since taken migration 76 for the sentinel's memory (sentinel_hunt and sentinel_finding). I merged main and kept both migrations. The sentinel's stays 76, and mine, which adds variant_group to pull and run plus an index on pull, is now 77.
tsc --noEmit is clean. I ran only test/variants.test.ts and the schema tests, which pass (25 tests). I did not run the full bun test; the forge runs the whole check on this push.
To try it: POST a tell with variants: 2 (or more) and the response lists the runs sharing one group id. The pulls they open carry the same id.
Parked by the crew: the check failed ("asks that expire, hold and collapse > two green pulls in one repository are one row, and every surface counts it once") and the decider saw no point in another try
POST /api/v1/feed/tellsnow acceptsvariants. Withvariants: 2it opens two issues and queues one builder run for each, both with the samevariantGroupid.tscis clean. The new test file and the check-list, schema-additive, crew-direction, offline, openapi and kernel suites pass; I did not run the full check.variant_grouptopullandrun, plus a partial index on the pull column. It only adds, so it is safe while two processes share one database.variantsis optional and defaults to 1. It must be a JSON integer from 1 to 4.0,9,"2",2.5,nulland-1all get a 400invalid_variants, and nothing is opened.parseVariantsinsrc/http/feed.tsdoes the check.variantGroupandissues(the issue numbers) only whenvariants> 1.assignIssuethrough the assigned event intoqueueAgentRun, which stores it on the run. The runner then passes it toopenPull, so the pull the run opens carries it.GET …/pulls,GET …/pulls/Nand thePOSTcreate response now includevariantGroup(null for an ordinary pull) andsiblings(the other pull numbers in the group, empty for an ordinary pull).test/variants.test.tsis new and added to GATE inscripts/gate.ts. It covers a plain tell with no group,variants: 2making two runs in one group, the six refused values, and sibling pulls naming each other. It also checks that an ordinary pull has no group and no siblings. It uses a crew with a nonexistentclaudebinary, so no agent actually runs.docs/FEED.mdmentionsvariants.Left out, as the issue said: the tell form, the MCP
variantsargument, and any UI that groups the sibling pulls. If one variant's pull merges, nothing closes or marks the others.Closes #1571