Repository navigation
Track planned work as tickets for parallel agents - #20
Merged
Merged
Conversation
Add the ticket board script and its tests, the ticket protocol, a roadmap and one ticket per done and planned work item. Allow ticket files by exact ID name in the publication guard, point the agent and development docs at the backlog, and load AGENTS.md from CLAUDE.md.
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.
Change Summary
Planned work had no shared tracker that several development agents could split safely; it is now a Markdown ticket backlog with a claim tool, so agents can work different tickets in parallel and resume each other.
scripts/tickets.py(standard library, Python 3.9+) shows the board, makes atomic claims and resource locks in the shared Git directory, creates one worktree per ticket and handles heartbeats and stale-claim takeover.INK) record the done work, this change and the plan. The critical path is reviewing CrossInk v2.0.0-RC, published 2026-11-04, so the latest release stays editable.tickets/ROADMAP.mdlists phases, a dependency graph, four parallel lanes and the owner decisions that unlock more work.Files Changed
scripts/tickets.py,tests/test_tickets.py: board/claim tool and its tests. The tests also validate every real ticket, so a broken ticket fails the normal unittest discovery and CI.tickets/README.md,tickets/TEMPLATE.md,tickets/ROADMAP.md,tickets/INK-*.md: protocol, template, plan and the tickets. The README includes project gotchas (guard naming, no real cards, shared recovery storage).scripts/check_publication.py,tests/test_publication.py: allowCLAUDE.md, the workflow files andtickets/<PREFIX>-P<0-2>-<nnn>[A-Z].md. A new test confirms that other names undertickets/andwork/are still rejected.AGENTS.md,CLAUDE.md,docs/development.md,docs/agent-development.md: describe the ticket workflow, addtickets.py checkto the verified commands and load AGENTS.md for Claude Code. GitHub Issues stay for bug and hardware reports.CHANGELOG.md: Unreleased entry.Testing & Evidence
Local Verification
python3 scripts/tickets.py check: 27 tickets, 0 errors.XTEINK_TESTING=1 python3 -m unittest tests.test_ticketson Python 3.9.6 and 3.12.2: 8 tests OK.tests.test_publication(29 tests),test_pr_description,test_xteink_sd_migrate,test_safety,test_recoveryandtest_extract_contract, run separately on Python 3.12.XTEINK_TESTING=1 python3 -m unittest discover -s tests -b(280 tests) had 1 failure and 48 errors intest_config,test_config_stores,test_snapshotsandtest_helper, on both Python versions. Each error is aPermissionErrorcreating a directory in the per-user macOS temp folder, which the local sandbox blocks. These modules are unchanged in this PR. CI is the unsandboxed result.python3 -m compileall -qwith the AGENTS.md file list,scriptsandtests.CI Verification
Independent QA / Architecture Review
Required Pre-PR Validation
python3 scripts/check_configuration_docs.py; publication audit--worktree(113 revisions),--staged(113) and--all-history(373) at commit a385767, also run by the pre-commit and pre-push hooks.Behavior & Compatibility
work/. Ticket branches default toorigin/main.Risks, Limitations & Rollback
tickets/. Content checks for credentials and home paths still apply to those files.Reviewer Focus
tickets/ROADMAP.md, especially the CrossInk v2.0 path (INK-P0-010 to INK-P0-012E).scripts/check_publication.py.Related Issues / Documentation
tickets/README.md(protocol) andtickets/ROADMAP.md(plan).