Repository navigation
auto-claude 1.2.0: Linear sync; harness 0.4.1: leave issues to a run - #40
Merged
Merged
Conversation
auto-claude reads and writes the repository's Linear project itself,
through the session's linear-server MCP connection:
- the planning prompt (and each replan) lists the project's open issues;
milestones that resolve one start with its ID ("[AX-12] ...");
- every 10 min, and before the run may finish, new or changed issues and
new comments (comments do not move updatedAt) become queue lines;
- a milestone's start moves its issues to started; its merge moves them to
completed with an evidence comment, or queues a follow-up when the issue
changed while it was built; a hold or block comments only;
- the driver's own comments are marked [auto-claude] and never count.
Only repos mapped to a project in ~/.claude/linear.json sync.
harness linear-flow:
- no gate and no stop block while .claude/auto-claude.on says a run owns
the repo (written by auto-claude each tick);
- only a started state counts as picking an issue up; Cancel/Duplicate
drops it from the Done demand.
Closes AX-2214
…untouched, adopt mid-run, no issue creation during a run - the baseline covers every open issue up to the run's start, so comments written before it never queue lines; comments are scanned for the 25 newest issues and those the run has lines for - an issue closed while its line waits blocks the line; a closed issue is never moved to started, and at merge only gets the evidence comment - the Linear baseline is read before the record's first write (start and resume), and a run without it adopts the project on a tick - the evidence sha is read after a fetch; a failing sync is told once - POLICY forbids creating issues during a run; harness refuses an unrequested create while a run owns the repo Refs AX-2214
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
auto-claude kept missing Linear issue updates: it read Linear once, at planning, and never wrote back.
auto-claude 1.2.0 (driver-side, via the session's
linear-serverMCP):[ID]started; merge →completed+ evidence comment (or a follow-up line if the issue changed meanwhile); hold/block → comment[auto-claude]and ignored as changesprojectId/projectNamein~/.claude/linear.jsonsync;statusshows the sync stateharness 0.4.1:
.claude/auto-claude.onsays a run owns the repoVerified:
scripts/ci.shgreen (auto-claude 132, harness 176 tests, tsc). The read path was run live against Linear (KYTE-Portal: 8 open issues parsed, baseline then 0 appends; comments come newest first).save_issue state=startedwas accepted live.Closes AX-2214