Slim down lineark usage for LLM token efficiency#123
Merged
Conversation
Collapse rarely-used commands (teams CUD, labels CUD, comments manage, relations, documents CUD, milestones, embeds) into single-line entries with `--help for flags` hints. Keep high-frequency commands (issues CRUD, search, list; comments create; read commands) fully expanded. Reduces usage output from ~110 to ~75 lines (~30% token savings on every LLM invocation) with zero loss in discoverability. Closes #122
Linear's search index is slower on CI than locally. Increase settle time after archive from 2s to 5s and retry attempts from 10 to 12 (~95s total window) to avoid flaky failures.
All test teams were auto-generating the same key "TES", causing Linear's search index to confuse recycled identifiers like "TES-1" across different test runs. Now each team gets a unique key derived from the UUID suffix (e.g. "T1A2B3C4"), making issue identifiers globally unique within a test session.
Learned from CI flakiness: auto-generated team keys collide in Linear's search index, causing human identifier lookup failures.
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.
Summary
(--help for flags)hints--helpawayBefore/After example
Test plan
make checkpasses (fmt, lint, clippy, docs)make testpasses (103 offline + 55 unit tests)Closes #122