Skip to content

feat: read readiness through line branches - #5

Merged
kixelated merged 2 commits into
mainfrom
ready-line-branches
Sep 26, 2026
Merged

kixelated merged 2 commits into
mainfrom
ready-line-branches

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Stacked on #2.

Children merge into their line's branch before main sees them. Reading main alone, quest ready reports finished work as ready. MoQ's spawn-quests worked around this in prose ("judge readiness from each line branch's own quest directory").

quest ready [<path>] --remote origin now reads each questline from refs/remotes/origin/<line branch> when that ref exists:

  • A line's branch replaces its directory. Lines are processed outermost first, so a nested line's own branch has the last word on its subtree.
  • If an outer branch already completed a nested line, that line stays gone even when its own branch is still on the remote.
  • An unknown remote, or a tree outside git, is an error. It doesn't fall back to the working tree.
  • Remote-tracking refs are read as they are, so fetch first. Without --remote, nothing changes and git is never run.

The spawn-quests skill, quest/AGENTS.md, and the getting-started guide now point at the flag. flake.nix adds git to the sandboxed test inputs.

API: ready::quests and ready::blockers take remote: Option<&str>. The crate is unpublished (publish = false).

Validation: just check, just test (65 tests; 3 new ones build real repositories), and nix build .#quest all pass.

(written by Claude Opus 5.5)

🤖 Generated with Claude Code

kixelated and others added 2 commits September 26, 2026 10:34
`quest ready --remote origin` reads each questline from its remote-tracking
line branch when one exists, outermost first. Children merge into their line
before main sees them, so main alone reports finished work as ready; the
spawn-quests skill worked around that in prose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated changed the base branch from sync-moq-quest to main September 26, 2026 17:34
@kixelated

Copy link
Copy Markdown
Collaborator Author

Merging: quest ready --remote <name> reads each questline from its line branch, outermost first, and fails on an unknown remote. The spawn-quests skill and docs use it. Rebased onto main after #2; CI green.

(written by Claude Opus 5.5)

@kixelated
kixelated merged commit d23e988 into main Sep 26, 2026
2 of 4 checks passed
@kixelated
kixelated deleted the ready-line-branches branch October 21, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant