Skip to content

Commit 6eaddba

Browse files
Merge pull request #13 from shadowdevcode/feat/linear-workflow-sync
docs: clarify Linear utility commands and sync modes
2 parents b17e020 + 8ebd877 commit 6eaddba

3 files changed

Lines changed: 29 additions & 26 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ The system operates through sequential slash commands that activate specialized
3737
- `/explain` - Targeted learning session: understand a concept, pattern, or error via 80/20 rule
3838
- `/eval` - Score a completed issue's pipeline output against its spec using assertion-based grading
3939
- `/assign-reviewers` - Risk-based PR reviewer routing (standalone utility, no pipeline role)
40-
- `/linear-bind` - Bind the active repo issue to a Linear team and project
41-
- `/linear-sync` - Sync repo artifacts and workflow state into Linear
42-
- `/linear-brief` - Read the current Linear view for the active issue
43-
- `/linear-close` - Close the Linear project after repo workflow completion
40+
- `/linear-bind` - Bind the active repo issue to a Linear team and project; run once after `/create-issue` (now automatic at end of `/create-issue`)
41+
- `/linear-sync` - Mirror repo artifacts into Linear; accepts a mode: `issue` (brief), `plan` (PRD + child tasks), `status` (gate updates), `release` (deploy links)
42+
- `/linear-brief` - Read-only summary of the current Linear issue/project state; use before standup or planning reviews
43+
- `/linear-close` - Finalize and archive the Linear project after `/learning` completes
4444

4545
### Quality Gate System
4646

@@ -70,7 +70,7 @@ The system operates through sequential slash commands that activate specialized
7070
- Load **only** the files listed in the command's `## Required Knowledge` section (at the top of each `commands/*.md` file)
7171
- Do NOT load all 9 knowledge files for every command — each command specifies exactly what it needs
7272
- Only `/learning` loads the full knowledge base
73-
- Full index for reference: product-principles, coding-standards, architecture-guide, ui-standards, analytics-framework, prompt-library, engineering-lessons, product-lessons, ai-model-guide
73+
- Full index for reference: product-principles, coding-standards, architecture-guide, ui-standards, analytics-framework, prompt-library, engineering-lessons, product-lessons, ai-model-guide, linear-operations (loaded only by Linear commands)
7474
5. **Load app context** (for engineering commands `/execute-plan`, `/deslop`, `/review`, `/peer-review`, `/qa-test`, `/docs`):
7575
- `apps/<project_name>/CODEBASE-CONTEXT.md` (if exists)
7676

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ The OS enforces a sequential pipeline with quality gates. A stage cannot start u
6767

6868
- `/docs` — Generate `CODEBASE-CONTEXT.md` for the active app
6969
- `/explain` — Deep-dive on a concept, pattern, or error
70-
- `/linear-bind` — Bind the active repo issue to a Linear team/project
71-
- `/linear-sync`Sync repo artifacts and workflow status into Linear
72-
- `/linear-brief`Summarize the current Linear state for the active issue
73-
- `/linear-close`Close the Linear project after the repo workflow completes
70+
- `/linear-bind` — Bind the active repo issue to a Linear team/project (auto-runs at end of `/create-issue`)
71+
- `/linear-sync [mode]`Mirror repo artifacts into Linear; modes: `issue`, `plan`, `status`, `release`
72+
- `/linear-brief`Read-only summary of the current Linear state; use before reviews or standups
73+
- `/linear-close`Finalize and archive the Linear project after `/learning`
7474

7575
---
7676

@@ -110,12 +110,13 @@ Linear exists to improve:
110110

111111
Recommended usage:
112112

113-
1. Run `/linear-bind` after `/create-issue`
114-
2. Run `/linear-sync issue` after the issue brief exists
115-
3. Run `/linear-sync plan` after `/create-plan` to publish plan artifacts and child tasks
116-
4. Run `/linear-sync status` after review gates to reflect blockers or approvals
117-
5. Run `/linear-sync release` after `/deploy-check`
118-
6. Run `/linear-close` after `/learning`
113+
| Pipeline stage | Linear command | What it does |
114+
| ------------------------------------- | -------------------------- | ------------------------------------------ |
115+
| `/create-issue` | (auto) bind + `sync issue` | Creates Linear project; syncs issue brief |
116+
| `/create-plan` | `/linear-sync plan` | Publishes PRD summary + child tasks |
117+
| `/review`, `/peer-review`, `/qa-test` | `/linear-sync status` | Reflects gate pass/fail, surfaces blockers |
118+
| `/deploy-check` | `/linear-sync release` | Attaches PR link and release notes |
119+
| `/learning` | `/linear-close` | Marks project complete, archives it |
119120

120121
If Linear is unavailable, the Linear utility command should fail explicitly. The 12-step pipeline remains usable because Linear is not the workflow engine.
121122

project-state.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,20 @@
127127

128128
## Links
129129

130-
- linear_enabled: true
131-
- linear_team_id: 70aea0d1-a706-481f-a0b7-3e636709ba77
130+
<!-- Linear fields: set by /linear-bind; updated by /linear-sync; read by /linear-brief; cleared on /linear-close -->
131+
132+
- linear_enabled: true <!-- set to true by /linear-bind; false = Linear layer inactive -->
133+
- linear_team_id: 70aea0d1-a706-481f-a0b7-3e636709ba77 <!-- immutable after bind -->
132134
- linear_team: Vijaypmworkspace
133-
- linear_project_id:
134-
- linear_project:
135-
- linear_project_url:
136-
- linear_root_issue_id:
137-
- linear_root_issue_identifier:
138-
- linear_cycle:
139-
- linear_sync_map_path:
140-
- linear_last_sync: 2026-04-01T07:41:00.000Z
141-
- linear_sync_status: retroactive-sync-complete — issues 002–006 + 008 synced to Linear (Done). Sync maps written to experiments/linear-sync/. Issue 007 skipped (exploration-only, no sprint).
135+
- linear_project_id: <!-- populated by /linear-bind when project is created -->
136+
- linear_project: <!-- human-readable project name in Linear -->
137+
- linear_project_url: <!-- direct link to the Linear project page -->
138+
- linear_root_issue_id: <!-- id of the root issue created in Linear -->
139+
- linear_root_issue_identifier: <!-- e.g. VIJ-42 — display identifier for the root issue -->
140+
- linear_cycle: <!-- Linear cycle/sprint, if assigned -->
141+
- linear_sync_map_path: <!-- path to experiments/linear-sync/issue-NNN.json (durable id map) -->
142+
- linear_last_sync: 2026-04-01T07:41:00.000Z <!-- ISO timestamp of last successful /linear-sync -->
143+
- linear_sync_status: retroactive-sync-complete — issues 002–006 + 008 synced to Linear (Done). Sync maps written to experiments/linear-sync/. Issue 007 skipped (exploration-only, no sprint). <!-- last sync mode or failure reason -->
142144
- docs_home: experiments/ideas/issue-007.md
143145
- demo:
144146
- analytics_dashboard:

0 commit comments

Comments
 (0)