Skip to content

feat: rename flight log → flight logs, add flight run and flight show#8

Merged
lewisnsmith merged 1 commit intomainfrom
claude/naughty-euler-77a933
Apr 18, 2026
Merged

feat: rename flight log → flight logs, add flight run and flight show#8
lewisnsmith merged 1 commit intomainfrom
claude/naughty-euler-77a933

Conversation

@lewisnsmith
Copy link
Copy Markdown
Owner

Summary

  • BREAKING: renames flight logflight logs (hard rename, no shim)
  • Adds flight run as the canonical happy-path entry point (prints Started run <runId> session <sessionId>)
  • Adds flight show <session-id> as a one-liner session viewer
  • Bare flight logs now lists sessions (same as flight logs list)
  • Adds src/experiments.ts registry module (used by flight run --experiment auto-registration)
  • Adds test/cli-rename.test.ts and test/experiments.test.ts

Test plan

  • npm run check passes (lint + typecheck + test)
  • flight logs lists sessions
  • flight log list errors with "unknown command"
  • flight run --agent x prints "Started run ... session ..."
  • flight show <id> shows session detail

Verification

  • npm run typecheck — passes (exit 0)
  • npm run lint — passes (exit 0)
  • npm run test — 33 test files pass; 2 files (benchmark.test.ts, integration.test.ts) fail due to pre-existing worktree constraint (tsx not in local node_modules); all failures are ENOENT spawn tsx, unrelated to this PR

🤖 Generated with Claude Code

Hard rename of the `log` command group to `logs` (plural) — no deprecation
shim per user decision. Bare `flight logs` now lists sessions.

Adds `flight run` as the happy-path entry point (human-friendly output:
"Started run <id> session <id>") and `flight show <session>` as a one-liner
delegating to viewSession. Both mirror the existing session start machinery.
@lewisnsmith lewisnsmith merged commit 4807161 into main Apr 18, 2026
4 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.

1 participant