Repository navigation
Conversation
`things show <ref> --agent` on an item in the Trash, or a task whose project is, printed `Status: open` with nothing to say where it was, and its closing-out block offered `edit`, `complete` and `cancel`, all of which the CLI refuses with `trashed`. The status line now carries "(in Trash)" as the plain show block does, and the brief offers only the read-back commands with a note on restoring the item in Things. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013sKKzr9eBta5jLXe653hoF
This branch has not been deployed
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.
Symptom
things show <ref> --agenton an item in the Trash (or a task whose project is in the Trash) printed:Nothing in it said the item was in the Trash. Its "Closing out" block then offered
things edit <uuid> --notes …,things complete <uuid>andthings cancel <uuid>, along with the promise that "a zero exit means it landed". The CLI refuses all three on such an item withtrashedbefore sending anything, so an agent given the brief read a trashed item as ordinary open work and every write command it was handed exited non-zero. The plainshowblock already saysOpen (in Trash), anddocs/content/agents.mdsaysshowmarks such items, so only the brief had drifted.Fix
open (in Trash), oropen (in Trash with its project)for a task whose project is in the Trash.show --json, plusshow <task> --agentfor a trashed project's tasks. It says whyedit/project edit,completeandcancelare gone, and to put the item back from the Trash in Things first.TestPrintAgentBriefTrashedcovers a trashed task, a task in a trashed project and a trashed project. It failed before the fix.internal/skill/SKILL.mdanddocs/content/agents.mddescribe the new behaviour.make testpasses.golangci-lint run ./...reports 0 issues; I ran it with a golangci-lint built on go1.26, because the preinstalled one was built on go1.25 and wouldn't load the config.🤖 Generated with Claude Code
https://claude.ai/code/session_013sKKzr9eBta5jLXe653hoF
Ran as part of a weekly bughunt routine.
Generated by Claude Code