Skip to content

fix(kit): a tracker CLI from a config builds, tests every option and passes cli-dev ready - #200

Merged
leemour merged 6 commits into
mainfrom
fix/kit-tracker-pilot-gaps
Nov 18, 2026
Merged

leemour merged 6 commits into
mainfrom
fix/kit-tracker-pilot-gaps

Conversation

@leemour

@leemour leemour commented Nov 18, 2026

Copy link
Copy Markdown
Member

Why

linear-cli is the first CLI from a config with the tracker category and a graphql spec. Building it from
template 0.31.0 hit gaps in the kit, each fixed here rather than in the CLI. The measurement:
WireCatLabs/cli-testing performance/generation/linear-from-config (PR to follow).

What

  • The Desktop sync line stays within its 40 characters (withSyncs drops words from the front).
  • The tracker seed runs trackerSourceContract over cli-core 0.701.0's trackerManifestFixture, and its sync test
    fails on a kind's error or meta.issues. cli-base 0.119.0 makes cli-dev ready ask a tracker for that contract.
  • The GraphQL api test fits a large schema (Linear: 493 operations, its filters nest in each other) by sampling
    what an input requires, and sends object flags as JSON. No api test waits for the pace any more.
  • A CLI from a config drives every command and option in its tests: --credential-storage, session list,
    api list, every GraphQL variable, --body and --body-file, --all, and each tracker command
    (src/tracker-options.test.ts). linear-cli's test matrix went from 562 untested options to 0.
  • new --from-config refuses a tracker over OpenAPI: cli-core's tracker fake answers GraphQL only.
  • cspell skips the generated API references.

Testing

  • pnpm ci:quick, pnpm lint, pnpm docs:check, 231 tests.
  • pnpm kit:e2e passed with the seeds of f46f0b4 (four CLIs, among them a tracker from a config); the last commit
    tightened three seed assertions, run in linear-cli (496 api cases, session tests).
  • A fresh-agent review: its BUG-1 to BUG-3 and BUG-5 are fixed in the last commit. BUG-4 (a type name that
    identifier() renames) and BUG-7 (one kind name over 35 letters) are left: neither occurs in Linear's schema.

🤖 Generated with Claude Code

leemour and others added 6 commits November 18, 2026 22:01
…iled kind

Found building linear-cli from a config (cli-template 0.31.0):
- the Desktop sync line listed all seven tracker kinds, 64 characters, and pnpm generate stopped on
  desktop.sync.what (40 at most); it now keeps the kinds a sync reads last;
- the tracker sync test passed while every kind failed on a misspelled variable: it read only issues, not each
  kind's error;
- the GraphQL api test sampled every optional input field, and Linear's filters nest in each other until the
  worker ran out of memory; it now sends only the required variables;
- cspell skips skills/*/references/api/, written from the service's own descriptions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its for the pace

Review follow-ups: optional plain fields still sent, object flags as JSON, meta.issues read where the sync
answer has them, the api reference index skipped by cspell too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a fake of its API

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s contract runs and ready verifies it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tests

linear-cli's test matrix showed 562 options no test drove: --body-file and --all of the GraphQL api group, the
tracker commands, session list, api list and --credential-storage. attio-cli wrote the same tests by hand. The seeds
now carry them, so a CLI from a config starts with an empty untested list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e option is ignored

A fresh review found: the tracker contract test runs over cli-core's GraphQL-only fake, so a tracker from an OpenAPI
config failed every case; the --body-file run also passed the variables as flags, the --all check matched the
previous call, and the session list check matched any text with the profile's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-base@​0.117.0 ⏵ 0.119.098 +1100100 +19670
Updated@​wirecat/​cli-core@​0.699.0 ⏵ 0.701.097100100 +19670

View full report

@leemour
leemour merged commit 5aa9eb5 into main Nov 18, 2026
16 checks passed
@leemour
leemour deleted the fix/kit-tracker-pilot-gaps branch November 18, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant