agentflight 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable AgentFlight changes are documented here.
4
4
 
5
+ ## [0.7.1] - 2026-06-21
6
+
7
+ ### Fixed
8
+
9
+ - Refreshed the README terminal hero GIF so it shows the current
10
+ handoff-first review flow instead of the older replay-first flow.
11
+ - Updated the README hero caption and sample output to include `handoff` and
12
+ `history` accurately.
13
+
14
+ ### Changed
15
+
16
+ - Tightened README workflow copy around the local handoff packet, recent local
17
+ session history, and current failure-excerpt surfaces.
18
+
5
19
  ## [0.7.0] - 2026-06-21
6
20
 
7
21
  ### Added
package/README.md CHANGED
@@ -18,13 +18,12 @@ AgentFlight helps you:
18
18
  - capture verification evidence
19
19
  - see changed files and risk
20
20
  - create snapshots during the session
21
- - generate a proof report
22
- - generate a local replay timeline
23
21
  - generate a local review handoff
22
+ - generate a proof report and local replay timeline
24
23
  - find recent local sessions and their artifacts
25
24
  - create a resume prompt for the next agent or reviewer
26
25
 
27
- ![AgentFlight CLI workflow: start, verify, status, and replay](docs/assets/agentflight-terminal-demo.gif)
26
+ ![AgentFlight CLI workflow: init, start, verify, status, handoff, and history](docs/assets/agentflight-terminal-demo.gif)
28
27
 
29
28
  ## 60-Second Workflow
30
29
 
@@ -32,13 +31,13 @@ AgentFlight helps you:
32
31
  npx agentflight@latest init
33
32
  npx agentflight@latest start --task "Add password reset flow"
34
33
 
35
- # Run Codex, Claude Code, Cursor, or your coding agent normally
34
+ # Run your coding agent normally
36
35
 
37
36
  npx agentflight@latest verify
38
- npx agentflight@latest handoff
39
- npx agentflight@latest status
40
37
  npx agentflight@latest snapshot --note "Initial implementation verified"
41
- npx agentflight@latest history
38
+ npx agentflight@latest status
39
+ npx agentflight@latest handoff
40
+ npx agentflight@latest history --limit 1
42
41
  ```
43
42
 
44
43
  What you get:
@@ -46,12 +45,12 @@ What you get:
46
45
  - `init` creates local `.agentflight/` project files and seeds detected verification commands into `.agentflight/config.json` when package scripts exist.
47
46
  - `start` records the task, git branch, commit, dirty state, package manager, and tool availability.
48
47
  - `verify` runs configured commands and stores stdout, stderr, exit code, timing, and pass/fail status. Use `verify -- <command>` for one explicit proof command.
49
- - `handoff` generates the local review packet: readiness, proof gaps, failed excerpts, and report/replay/resume artifact paths.
50
48
  - `status` answers what changed, how risky it is, what proof exists, what proof is missing, and what to do next.
51
49
  - `snapshot --note "..."` records the current git, risk, and proof state as a timeline event.
50
+ - `handoff` generates the local review packet: readiness, proof gaps, failed excerpts, and report/replay/resume artifact paths.
52
51
  - `report` writes a Markdown proof report for review.
53
52
  - `replay` writes a local HTML review path and timeline you can open in a browser.
54
- - `resume` writes a Codex/Claude-ready prompt for the next safe step.
53
+ - `resume` writes a continuation prompt for the next safe step.
55
54
  - `history` shows a latest action with recorded readiness, the artifact to open first, and recent local handoff/report/replay/resume paths without uploading, syncing, or switching sessions. Use `history --task <text>` or `history --state ready|blocked|needs_verification|unknown|current` to narrow existing local records.
56
55
 
57
56
  ## Watch The Flow
@@ -63,6 +62,7 @@ AgentFlight turns a loose coding agent session into a local proof trail:
63
62
  3. Snapshot meaningful checkpoints.
64
63
  4. Read `status` to see changed files, risk, proof, gaps, and next action.
65
64
  5. Run `handoff` when the work is ready to review or when you need a clear fix-before-sharing summary.
65
+ 6. Use `history --limit 1` to reopen the latest local handoff, report, replay, or resume artifact.
66
66
 
67
67
  The replay artifact is a self-contained local HTML file. It leads with the review verdict and a compact review path, then lays out risk, review focus, proof gaps, the session timeline, and verification evidence (with inline failure excerpts, so you can see what broke without opening a log file) as a readable flight record:
68
68
 
@@ -104,23 +104,23 @@ Verification Evidence:
104
104
 
105
105
  Review first:
106
106
  1. src/auth/reset.ts
107
- Why: identity/session path; no passing test evidence
107
+ Why: identity/session path
108
108
  Focus: Check session, permission, and identity boundaries first.
109
109
  Suggested proof: npm test
110
110
 
111
111
  Proof gaps:
112
- - blocking: Sensitive auth, payment, or security files changed without passing test evidence.
112
+ - none
113
113
 
114
114
  Latest snapshot:
115
115
  - Note: Initial implementation verified
116
116
  - Risk: medium
117
117
  - Changed files: 3
118
118
 
119
- Readiness: Needs verification
120
- Reason: Sensitive auth, payment, or security files changed without passing test evidence.
119
+ Readiness: Ready for review
120
+ Reason: Verification evidence is present and no blocking proof gaps were detected.
121
121
 
122
122
  Next action:
123
- Run agentflight verify -- npm test
123
+ Run agentflight handoff to generate the local review packet.
124
124
  ```
125
125
 
126
126
  `agentflight report`:
@@ -130,7 +130,7 @@ Run agentflight verify -- npm test
130
130
 
131
131
  ## Review First
132
132
  1. src/auth/reset.ts
133
- - Why: identity/session path; no passing test evidence
133
+ - Why: identity/session path
134
134
 
135
135
  ## Verification Evidence
136
136
  - passed: npm test
@@ -138,7 +138,25 @@ Run agentflight verify -- npm test
138
138
  - stderr: .agentflight/evidence/.../verification-1.stderr.txt
139
139
 
140
140
  ## Review Readiness
141
- Needs verification
141
+ Ready for review
142
+ ```
143
+
144
+ `agentflight handoff`:
145
+
146
+ ```text
147
+ AgentFlight handoff
148
+
149
+ Task:
150
+ Add password reset flow
151
+
152
+ Readiness: Ready for review
153
+ Open first: handoff .agentflight/reports/af-...-handoff.md
154
+
155
+ Artifacts:
156
+ - Handoff: .agentflight/reports/af-...-handoff.md
157
+ - Report: .agentflight/reports/af-...-report.md
158
+ - Replay: .agentflight/reports/af-...-replay.html
159
+ - Resume: .agentflight/reports/af-...-resume.md
142
160
  ```
143
161
 
144
162
  `agentflight replay`:
@@ -148,7 +166,22 @@ Replay saved:
148
166
  .agentflight/reports/af-...-replay.html
149
167
 
150
168
  Timeline:
151
- session_started -> verification_passed -> snapshot_created -> replay_generated
169
+ session_started -> verification_passed -> snapshot_created -> report_generated -> replay_generated
170
+ ```
171
+
172
+ `agentflight history --limit 1`:
173
+
174
+ ```text
175
+ AgentFlight history
176
+
177
+ Latest action:
178
+ Open first: handoff .agentflight/reports/af-...-handoff.md
179
+ Recorded readiness: Ready for review
180
+
181
+ Recent sessions:
182
+ 1. Add password reset flow
183
+ Proof: 1 passed, 0 failed
184
+ Handoff: .agentflight/reports/af-...-handoff.md
152
185
  ```
153
186
 
154
187
  `agentflight resume`:
@@ -184,14 +217,14 @@ The current AgentFlight release supports:
184
217
  - config-defined verification profiles for repeated local command groups
185
218
  - configurable generated/internal changed-file filters
186
219
  - verification evidence capture with `agentflight verify`
187
- - inline failure excerpts in the replay and report, so failures are visible without opening evidence files
220
+ - inline failure excerpts in terminal output, handoffs, reports, and replays, so failures are visible without opening evidence files
188
221
  - session events
189
222
  - snapshots with `agentflight snapshot --note "..."`
190
223
  - Markdown proof reports
191
224
  - self-contained HTML replays with review-path guidance and timelines
192
225
  - local review handoffs that point to the report, replay, and resume artifacts
193
226
  - local history filters for finding sessions by task text or recorded readiness
194
- - resume prompts for Codex, Claude Code, or a human reviewer
227
+ - resume prompts for the next agent or reviewer
195
228
  - doctor checks for local setup
196
229
  - defensive ProjScan and AgentLoopKit adapters
197
230
  - no telemetry, cloud sync, or source upload
@@ -292,7 +325,7 @@ Strategic architecture:
292
325
 
293
326
  ## Example Session
294
327
 
295
- Read [docs/examples/basic-agentflight-session.md](docs/examples/basic-agentflight-session.md) for a short password-reset walkthrough with status, report, replay, and resume artifacts.
328
+ Read [docs/examples/basic-agentflight-session.md](docs/examples/basic-agentflight-session.md) for a short password-reset walkthrough with status, handoff, report, replay, and resume artifacts.
296
329
 
297
330
  ## Roadmap
298
331
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentflight",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Local-first review layer for coding agent sessions.",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",