Repository navigation
fix(projects): an explicit --project UUID must name a live project - #75
Merged
Merged
Conversation
A UUID-shaped --project passed straight through, so a project id recorded before the project was deleted or moved listed as an empty project. Strict resolution now checks the id against the team's live projects, the same membership check the cwd auto-scope already makes, and fails like an unknown name. Non-strict callers are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 17, 2026
list_team_projects returns [] when the API call fails, so a rate limit made a valid --project UUID read as deleted. An empty list now says the check could not be made. The stale-id message names archived projects too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Independent review by a non-author code-reviewer subagent. Verdict: APPROVED (non-blocking findings addressed).
|
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.
Why
resolve_project_idlet any 36-character UUID through unchecked, so a stale id in anagents projectsdefinition read as "no issues". agi-ui's recorded Linear id (2a56fa44-…) no longer exists in the workspace, yetlinear tasks --project 2a56fa44-… --jsonprinted"count": 0with exit 0. The AGI EXT Project panel would show an empty Issues tab instead of an error.What
--project) now checks a UUID againstlist_team_projects. This is the same membership checkresolve_auto_project_idalready does for the cwd binding. A miss raisesLookupError, which every strict caller already turns intoError: …and exit 1.Run
Run against the real workspace on yosemite-s0, from this branch. Log:
yosemite-s0:/home/muqsit/.local/share/agents/artifacts/2026-10-16/project-linear-simplify/runs/linear-strict-uuid.logThis is part of routing the Project panel's Linear reads through
agents projects ticketsin agents-cli. It is independent of #74.🤖 Generated with Claude Code