Repository navigation
Ticket claims, bulk archive, and the enso bridge - #19
Merged
Merged
Conversation
Claims: a ticket has one holder. `lore work claim` takes it for a run and refuses a second holder, or the same holder under another run ref, with exit 3; the same holder and ref claiming again hands it to the next stage. A push the origin refuses is dropped and decided again on the new table, so of two machines racing for a ticket the second is refused. `release` lets go, `renew` is the holder's heartbeat. Claims never lapse on their own: a holder silent for six hours is emailed about once, and the fold leaves held tickets alone. MCP: lore_work_claim, lore_work_release. The board shows the holder and stage on each card. Archive: `lore work archive` / `unarchive` by keys or by filter (origin, status, label) with --dry-run; the board gets a "Show archived" switch and an Unarchive action that restores the previous status. integrations/enso/lore_bridge.py runs tickets assigned to an agent through an enso project, one task per ticket, and writes each stage change back. Also fixes `lore mcp --portfolio` exiting in an unlinked folder, where lore_load_all was registered twice. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What
lore work claimtakes it for a run and refuses a second holder (or the same holder under another run ref) with exit 3.releaselets go,renewis the holder's heartbeat. MCP tools:lore_work_claim,lore_work_release.LORE_ALERT_NOTIFY, elseclient.owner). The fold skips held tickets.lore work archive/unarchiveby keys or filter (--origin,--status,--label), with--dry-run. Unarchive restores the previous status.integrations/enso/lore_bridge.py. A model-free script that runs tickets assigned to an agent through an enso project, one task per ticket, and writes stage changes back.lore mcp --portfolioexited in an unlinked folder becauselore_load_allwas registered twice.Testing
npm test: 474 pass. New:test/work-claim.test.ts(including a two-clone race through a shared origin) andtest/work-archive.test.ts. The bridge was exercised against a real lore repo with a stand-in for enso, not real enso. The board changes typecheck but were not clicked through in a browser.Notes
task add --unique-refandtask stop.🤖 Generated with Claude Code