Skip to content

feat: reconcile the CLI, skill, and docs with the current platform#1

Merged
boristane merged 3 commits into
mainfrom
claude/update-cli-repo
Jul 23, 2026
Merged

feat: reconcile the CLI, skill, and docs with the current platform#1
boristane merged 3 commits into
mainfrom
claude/update-cli-repo

Conversation

@claude

@claude claude Bot commented Jul 23, 2026

Copy link
Copy Markdown

Requested by boris · Slack thread

Before / After

Before: the CLI no longer compiled against the live API spec, and several commands were dead on arrival: incident timeline/note/milestone called removed incidents.timeline.* endpoints, issue list --status incident and feed list --category incident were rejected by the API, and thread list --type incident filtered on a thread type that no longer exists. Help text advertised visibilities (team, unlisted) and automation actions (openIncident, createIssue) the platform renamed or dropped, the skill and README documented all of the above, ws and esbuild carried open security advisories, and CI still tested EOL Node 18.

After: timelines live where the platform put them — polylane issue timeline/note/milestone <issue-id> (the incident group is gone, matching the platform's incident-to-issue rename). Enums match the live API: issue statuses (new|triaging|confirmed|dismissed|failed|skipped), feed categories (tier added), thread types (hypothesis, investigation, pr_review), thread visibilities (adds workspace_and_github_org guest links), service node categories (adds identity for person/team ownership-map nodes), and automation actions (openIssue, createGithubIssue, commentGithubIssue, handoffTo{Devin,Cursor,Factory}). The skill and README lead with OAuth (API key kept for headless/CI, matching the console's new default), the Homebrew command names the formula, and npm audit is clean on a Node 20+ floor with a 20/22/24 CI matrix.

How

Regenerated the client from the live spec and fixed every resulting typecheck error by checking each surface against the nominal monorepo (visibilities, node categories, automation trigger/action schemas, autofix origins, timeline routes). Moved the three incident commands into the issue group and rekeyed them on issue IDs (iss_…). Updated ws to 8.21.1 and esbuild to ^0.25 (advisory fixes), refreshed tsx and transitive pins via npm audit fix, and raised the Node floor across engines, CI, installers, and docs. Deliberately left @clack/prompts on 0.7 — 1.x is a breaking major and deserves its own PR.

Verified: npm run codegen && npm run typecheck && npm run lint && npm run test && npm run build all pass (86/86 tests); the built bundle runs and shows the new issue command group.

Notes

  • Nominal PR #105 (removal of unauthenticated POST /v1/public/threads) required no CLI change — the CLI never called it.
  • Follow-up suggestion: @clack/prompts 0.7 → 1.x major bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XHaytyPxmPhLqPavUH8Ss1


Generated by Claude Code

claude added 3 commits July 23, 2026 21:11
The platform renamed incidents to issues: incident timelines moved to
issues.timeline.* keyed by issue ID, the incident thread type and feed
category were removed, and issue statuses changed. Move the incident
timeline/note/milestone commands into the issue group, fix the issue
status and feed category enums, refresh thread types and visibilities
(adds workspace_and_github_org), add the identity node category, and
rename automation action types (openIssue, createGithubIssue).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XHaytyPxmPhLqPavUH8Ss1
Update ws to 8.21.1 and esbuild to 0.25 (both had open advisories),
refresh tsx and transitive pins via npm audit fix, raise the engines
floor to Node 20, and move the CI matrix and installer checks from
18/20/22 to 20/22/24.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XHaytyPxmPhLqPavUH8Ss1
Incidents are now issues (issue timeline/note/milestone, investigation
threads, renamed automation actions), OAuth is the default connect path
with API keys reserved for headless use, the Homebrew install command
names the formula, and the Node floor is 20.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XHaytyPxmPhLqPavUH8Ss1
@boristane
boristane marked this pull request as ready for review July 23, 2026 21:31
@boristane
boristane self-requested a review July 23, 2026 21:31
@boristane
boristane merged commit af77929 into main Jul 23, 2026
3 checks passed
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.

2 participants