Skip to content

Parallel work execution: generalize kweblens ticket-triage into the marketplace, compose with dev-crew #38

Description

@alexmond

Parallel work execution: generalize ticket-triage into the marketplace, compose with dev-crew

dev-crew's relay is sequential by design (architect → dev → qa → deployer is a dependency chain), but one run at a time / one dev at a time is an accident of the run-dir convention, not architecture. A review of the fleet found the parallel-execution problem already solved empirically — just in the wrong place to reuse.

What exists today

Skill Lives Job Parallelism
ticket-triage kweblens-local (.claude/skills/ticket-triage/) Scheduler — rank the backlog, compute honest width, dispatch role-briefed agents in worktrees, merge, re-triage on every completion across tickets, one conductor
dev-crew this marketplace Executor — one task through a gated phase relay none (sequential)
ticket-loop private-skills Transport — cross-session coordination over an issue tracker across sessions/repos

kweblens' ticket-triage is battle-tested (its Learnings log covers 2026-08-12 → 2026-08-20) and already answers the hard questions:

  • worktree isolation as the default for every dispatched agent (two agents in a shared checkout nearly destroyed each other's work)
  • honest parallel width = what is independent, not what is open ("nine open tickets, honest width 2")
  • merge-before-dispatch ordering — merging is what moves main and frees files
  • one writer per role file per round; seed the role registry before dispatching
  • ownership partitions edits to existing files, never blocks committing something new
  • verify load-bearing claims before merging; check main's run after merging, not just the PR's
  • it already dispatches by role from the shared .claude/roles/ substrate

It is ~90% project-agnostic; the kweblens-specific bits (snapshot script, roadmap path, verify command, protected ports) map onto the same profile pattern dev-crew's scout already uses.

Cuts

  1. Extract + generalize ticket-triage into this marketplace as a new plugin (category: workflow — the plural/parallel sibling of implement-issue). Repo specifics move to a per-repo profile in .claude/ticket-triage/; learnings go to the consuming repo (installed plugins are a read-only cache). Ship a portable backlog-snapshot script with a repo-extension hook.
  2. dev-crew: a "Parallel work" composition section (triage schedules across tickets → crew executes within a ticket → an issue-tracker loop transports across repos/sessions), and resolve the tech-lead forward-reference in SKILL.md (§Steering names "the tech-lead fan-out"; the role exists only as a candidate row in roles.md). tech-lead stays the intra-ticket fan-out — decompose one big contract → parallel devs → integration review — which neither triage nor loop covers.
  3. Spike: can a triage-dispatched agent be a crew conductor? dev-crew declares the orchestrator is the main session; nested subagent-spawning inside a dispatched agent is the unproven link. Fallbacks if not: the main session runs the triage loop and conducts relay-worthy tickets itself (interleaved), or dispatched tickets stay single-role agents.

Notably not needed: run-id awareness in the phase-gate hook. .claude/dev-crew/runs/ is untracked and the hook's glob is CWD-relative, so per-worktree crew runs isolate for free.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions