feat: add /flight-review, /flight-compare, /flight-annotate slash commands#7
Merged
lewisnsmith merged 2 commits intomainfrom Apr 19, 2026
Merged
feat: add /flight-review, /flight-compare, /flight-annotate slash commands#7lewisnsmith merged 2 commits intomainfrom
lewisnsmith merged 2 commits intomainfrom
Conversation
…mands Extends SLASH_COMMANDS in setup.ts with three new Claude Code slash commands that let Claude read and annotate Flight sessions directly. Also updates the two existing command bodies to reference `flight logs` (not `flight log`) ahead of the PR 1 rename, and makes the remove status line generic. - /flight-review: structured critique (retries, errors, tool overuse, good decisions) - /flight-compare: 3-bullet experiment diff via `flight experiment diff` - /flight-annotate: per-turn labelling with strict one-command-per-turn output
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: lewisnsmith <247513455+lewisnsmith@users.noreply.github.com>
Contributor
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
src/setup.tsSLASH_COMMANDS array/flight-review: structured session critique — retries, errors, tool overuse, good decisions/flight-compare: diffs two experiments with a 3-bullet summary (winner, biggest delta, suggested next test)/flight-annotate: labels each turn and emitsflight annotateshell commands to persist labels (strict one-command-per-turn prompt to mitigate R6 deviation risk)flight.md,flight-log.md) to referenceflight logs(notflight log) ahead of the PR 1 renameDependencies
Depends on
feat/cli-logs-rename(PR 1) andfeat/experiment-registry(PR 2). Land this last.The slash command bodies reference
flight logs verbose,flight show, andflight experiment diff— all of which land in PR 1 and PR 2 respectively.Test plan
npm run typecheckpassesnpm run lintpassestest/setup.test.ts— 7 tests pass (3 original + 4 new)runSetupwithslashCommands: true, all 5.mdfiles existflight log(singular with space)flight logs audit,flight logs verbose,flight show,flight experiment diff,flight annotate)runRemove, all 5 files are deletedflight claude setup, all 5 slash command files exist in~/.claude/commands/flight claude hooks remove, all 5 are deleted