Repository navigation
fix(ticket-draft): offer GitHub Issues on origin when no tracker is recorded - #138
Merged
Merged
Conversation
…ecorded - ticket-draft, asked for a GitHub issue with no tracker recorded and origin on github.com, asks whether to use GitHub Issues on origin's repository (Use / Draft it as a Jira ticket / Stop) and on yes runs github.md for that run; nothing is recorded - with no tracker recorded and origin elsewhere or missing, it says no tracker is recorded and names /lasp-dev:onboard; only a recorded kind other than github is called "not GitHub Issues" - github.md defines the issues' repository once and passes `Tracker: github <owner/repo>` to every source-reader task, settle's and reformat's ticket reads and the read-back included; with no tracker recorded, label steps are skipped and the closing line names /lasp-dev:onboard in place of /lasp-dev:work - source-reader treats a caller's Tracker: line as a GitHub tracker whose repository overrides issue_tracker.location; it and issues.md read an unrecorded role label as none - three tracker-github scenarios with no standard: the question, the filing on origin's repository, and a non-github.com origin - ticket-draft 1.12.0, using-github 1.3.0 Closes #130 Co-Authored-By: Claude Opus 5.5 <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.
Origin: #130
Sandbox:
tracker-gh-ticket-draft-unrecorded-ask(Haiku, one run per side): fails on main, passes on the branch.--check --repeat 2not yet run.Canary: not yet run; a week owed, since this opens a route to GitHub issue writes
ticket-draftdecides whether to file a GitHub issue or a Jira ticket from the standard's recorded tracker. In a repository that has never run/lasp-dev:onboard, nothing is recorded, and a request for a GitHub issue was answered with "this repository's tracker is not GitHub Issues", offering only Jira or Stop. That was false, and it blocked filing an issue on a repository whose issues plainly live on GitHub; it happened on this repository (#130). Once this merges, an unrecorded tracker is never called "not GitHub Issues": with a github.com origin, the skill asks once whether to use GitHub Issues there and files on that repository on a yes.How it decides
<owner>/<repo>; use it?", with Use GitHub Issues (recommended), Draft it as a Jira ticket or Stop. It asks rather than assumes, because a repository hosted on GitHub can track its work in Jira./lasp-dev:onboard, with Jira or Stop.github: unchanged.The answer holds for the run only. Remembering it belongs to #102 (settings detected first, overrides stored), so the question comes back each session until a tracker is recorded.
Making the GitHub path work without a recorded tracker
source-readerandusing-github/issues.mdeach decided GitHub by reading the profile themselves, so a confirmed run would still have sent their reads to Jira.github.mdnow fixes the issues' repository once and passesTracker: github <owner/repo>to everysource-readertask in the run, includingsettle's andreformat's ticket reads and the read-back.source-readertakes that line over the profile's location.issues.mdcounts a tracker the person confirmed as GitHub's./lasp-dev:onboardrather than/lasp-dev:work <n>:worktreats a number as an issue only whengithubis recorded.The approval record and
hooks/issue-gate.share unchanged; they compare owner/repo only.Testing
Three
tracker-githubscenarios run with no standard:-unrecorded-askis the one that separates main from the branch.-unrecordedfiles end to end on origin's repository with no labels. It passes on main too, since main files there once a turn tells it to.-unrecorded-other-originfailed on both sides on wording: Haiku said "no issue tracker is recorded". Its pattern was loosened after the run and has not been rerun.The Jira-recorded request, the recorded GitHub new and refine paths, and the gate's declined, blanket and standing-answer paths pass on both sides.
tests/test_sandbox.pylists the three scenarios, because the pack test enumerates every scenario id.🤖 Generated with Claude Code. AI assistance level: 5/5 (not read by a person).