/autopilot:plan I see some issues with linear plan submiting. Let's add strict template…
- User
/autopilot:plan I see some issues with linear plan submiting. Let's add strict template to skill to avoid submiting with linear mcp (check docs) --issue
- User
autopilot:plan /autopilot:plan I see some issues with linear plan submiting. Let's add strict template to skill to avoid submiting with linear mcp (check docs) --issue
Assistant
I'll run the autopilot plan flow. First, let me load the task tools and read the input-detection reference.
Assistant
The pack predates the linear-plan skill (merged in PRs #498/#513). Let me check the live tree and origin/main for the current linear:plan skill source.
Assistant
Now checking Linear's docs for what markdown their API/editor actually supports.
Assistant
I have everything except the standards digest, which is still running. Quick status of what context gathering has established so far:
- Issue #531 created and self-assigned, with the strict-template scope agreed.
- Target files live only on origin/main — this worktree branch
palo-verde-quailis stale-merged (its one commit already landed upstream) and 85 commits behind, so the plan must start with a re-sync and a fresh branch. - Hard constraint discovered:
linearPlanContract.test.tsin the code-review-action workspace parses the stored-plan template out of the skill file itself via the regex^### <name> <- (required|caller-owned)$and pins theFormat: v1string, theScore: skippedheader variant, and section names againstlinear:run's consumption table. A strict template must keep (or deliberately evolve) those machine-read markers, and the guard test is the natural place to also pin the new template block.
Assistant
Assistant
Plan finalized with the branch step embedded up front and the review skip recorded in the
Score:line. Requesting approval.Assistant
Dependencies installed. Now for step 2's doc verification before writing the constraint list — checking Linear's docs for editor markdown support (especially tables and checkboxes).
Assistant
Steps 1–2 done. Now step 3 — extending the guard test. Reading the test file on the branch first.
Assistant
Created FINE-152. Reading it back fresh to compare the stored form.
Assistant
Dry run complete and scratch ticket canceled. Step 6 — running the repository gates and the remaining verify lines.
Assistant
All three messages pass commitlint and the inline floor. Executing the commits in order.
Assistant
✓ 3 commits created (hooks passed). Verifying each commit is independently green, since rebase-merge replays them.
Assistant
✓ Created PR: #532 — Store Linear plans from a strict template
The full flow is complete:
- Issue #531 filed from your description and self-assigned; plan drafted, approved, and executed against a fresh
issue-531-linear-plan-templatebranch (the old worktree branch was stale-merged and 85 behind, so it branched from re-syncedorigin/main). - The fix:
linear:plan's store phase now carries a literal emission template (placeholders only get filled, every other byte is emitted verbatim) plus a Linear-safe markdown constraint checked against the — canonical bullets and , no HTML/, no checkboxes, as the only collapsible. The marker contract and are untouched, so needed no changes.
- Issue #531 filed from your description and self-assigned; plan drafted, approved, and executed against a fresh
- User
I dont see cut rules for original prompt
Assistant
Good catch — the emission template covers only the plan block; the
+++ Original task +++cut that wraps the prior description on a first store is still prose-only. Let me check howlinear:createspecifies its cut so the two stay consistent, then pin the wrapper the same way.Assistant
Force-pushed; each commit independently green. Refreshing the PR description to cover the wrapper addition.
Assistant
Done — the cut rules are now pinned alongside the plan template on PR #532:
linear:plan/SKILL.md— the emission-template section now carries a "first-store wrapper" block: the literal+++ Original task…+++cut emitted verbatim, mirroringlinear:create's+++ Original promptpreamble. Its rules: the title is exactlyOriginal task, the prior description is inserted byte-identical and treated as opaque (never reworded, re-linked, or rewritten into the Linear-safe canonical forms), and read-backs show>>> Original task … >>>— which is why the write anchors on the heading, never the fence.linearPlanContract.test.ts— a new test pins the wrapper's shape (opens with+++ Original task, contains the byte-identical placeholder, closes with+++); 43/43 tests pass.docs/16-linear-plan-skill.md— the emission-template paragraph now names the cut as a literal emission form too.