Skip to content

feat(sandcastle): parallel batches driven by kanban Ready column#239

Merged
DaveHudson merged 1 commit intomainfrom
feat/sandcastle-parallel-kanban
May 1, 2026
Merged

feat(sandcastle): parallel batches driven by kanban Ready column#239
DaveHudson merged 1 commit intomainfrom
feat/sandcastle-parallel-kanban

Conversation

@DaveHudson
Copy link
Copy Markdown
Collaborator

Summary

  • Run up to MAX_PARALLEL=2 issues concurrently per iteration, each in its own sandbox/worktree with independent host-side PR creation. Outer iteration loop kill-switch fires when a whole batch produces zero commits. MAX_ITERATIONS reduced from 10 → 5 to keep total throughput similar.
  • Issue selection is now sourced from the GitHub Project board (applification/1 — Contexture) Ready column, in user-controlled drag-order. pickEligible preserves input order; orchestrator pre-flights the project query and surfaces gh auth refresh -s read:project if the token scope is missing.
  • New fetchProjectReadyIssues filters items by Status=Ready, type=Issue, target repo, and the Sandcastle label. Tolerates DraftIssue items on the board (null number/repo) by filtering them out.

Test plan

  • bun run lint — clean
  • bun run typecheck — clean
  • cd .sandcastle && bun test eligibility.test.ts github.test.ts — 27/27 pass
  • Live gh project item-list smoke: dragged Prompt Input Grow #237 to top of Ready, fetcher returns [#237, #233, #234, #236] matching board order
  • End-to-end run on real Sandcastle issues (next time the orchestrator is launched against open Ready items)

Run up to MAX_PARALLEL=2 issues concurrently per iteration, each in its own
sandbox/worktree with independent host-side PR creation. Selection is now
sourced from the project board's Ready column in drag-order so the user
controls priority directly via the kanban UI; pickEligible preserves input
order instead of sorting by issue number.
@DaveHudson DaveHudson merged commit e027e12 into main May 1, 2026
3 checks passed
@DaveHudson DaveHudson deleted the feat/sandcastle-parallel-kanban branch May 1, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant