Skip to content

Commit cb2607e

Browse files
Require Linear In Progress claim before agent spawn thrash (#670)
1 parent f3786f1 commit cb2607e

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

plugins/corbits-skills/skills/implement/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ A disciplined implementation workflow that produces reviewed, verified commits.
1111

1212
Before using this workflow, load the `style` and `philosophy` skills. Follow their conventions throughout.
1313

14+
## Linear claim (when applicable)
15+
16+
When the work is tied to a Linear issue ID, claim it **before** greybeard / explore / build thrash: set state to "In Progress" with `mcp__linear__save_issue`. This is a hard first step. Parallel lanes each claim their own issue ID — never claim a sibling lane's ID. If Linear MCP is unavailable or the update fails, report that the issue status could not be updated; do not pretend it was claimed.
17+
1418
## When to Use
1519

1620
This is a standalone skill, loaded on request. Use it when you want a single agent to work through a series of commits with review discipline.
@@ -152,6 +156,8 @@ Mark the current `manage_tasks` item done. Move to the next unit of work and ret
152156

153157
## Guidelines
154158

159+
**Claim Linear work first when applicable.** When tied to a Linear issue: claim "In Progress" with `mcp__linear__save_issue` before the spawn loop. Parallel lanes claim their own IDs. If Linear MCP is unavailable, report that the issue status could not be updated.
160+
155161
**Close the loop.** Ship → verify → fix → re-verify.
156162

157163
**Do not invent a worker-count or fan-out ceiling.**

plugins/corbits-skills/skills/linear-issue-workflow/SKILL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ user-invocable: false
99

1010
Use this skill when implementing features or fixes tracked in Linear.
1111

12-
## Phase 1: Understand the Issue
12+
## Phase 1: Fetch and claim
1313

1414
Fetch the Linear issue using `mcp__linear__get_issue`. The returned issue includes title, description, status, branch name, and other metadata you will need later.
1515

16+
**Claim immediately (hard first step):** before worktree setup, explore, plan, or any build thrash, set the issue to "In Progress" with `mcp__linear__save_issue`. Teammates must see ownership before you dig. Parallel lanes each claim their own issue ID — never claim a sibling lane's ID.
17+
18+
If Linear MCP is unavailable or `save_issue` fails when claiming, report that the issue status could not be updated. Do not pretend the claim succeeded.
19+
1620
Ask the user clarifying questions if the scope is unclear before proceeding.
1721

1822
## Phase 2: Set Up Worktree
@@ -64,8 +68,6 @@ All subsequent work — exploration, planning, implementation, and review — ha
6468

6569
Exception: plans with no structure — no file-by-file breakdown, no enumerated steps, no headings, no nested lists — can be posted as a comment instead. Structural shape, not length, is the test; a single-sentence plan is fine inline, a 10-line bulleted plan is not.
6670

67-
5. Mark the issue as "In Progress" using `mcp__linear__save_issue` with the appropriate state.
68-
6971
## Phase 4: Implement
7072

7173
Carry out the plan from Phase 3 in the worktree using whichever implementation approach fits the work and your role.

src/agent/directors/skywalker/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ Do not reclassify COMMUNICATION as ORCHESTRATION just to justify parallel spawn
131131
- Interview when requirements are fuzzy; consult greybeard on architecture/approach.
132132
- Use counsel for multi-lane eng plans; clarify before a large fan-out.
133133
- Path tools are the DIY surface; shell file-writes stay denied. Track fleet work with manage_tasks.
134+
- When claiming Linear work: set the issue to In Progress via Linear MCP as a hard first step before explore/build thrash. Parallel lanes claim their own IDs. If Linear MCP is unavailable, report that status could not be updated.
134135
- Optional skills when needed on the primary session: style, philosophy, interview (use_skill is primary-mounted).
135136
136-
137137
# Spawn graph
138138
139139
Skywalker = full closed set. Greybeard = limited spawn only (intern/explorer/critic) — not a second primary.

0 commit comments

Comments
 (0)