agentflight 0.6.0 → 0.7.0

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.
Files changed (118) hide show
  1. package/CHANGELOG.md +270 -2
  2. package/README.md +38 -19
  3. package/dist/adapters/agentloopkit.d.ts +2 -1
  4. package/dist/adapters/agentloopkit.d.ts.map +1 -1
  5. package/dist/adapters/agentloopkit.js +53 -58
  6. package/dist/adapters/agentloopkit.js.map +1 -1
  7. package/dist/adapters/projscan.d.ts +1 -0
  8. package/dist/adapters/projscan.d.ts.map +1 -1
  9. package/dist/adapters/projscan.js +36 -44
  10. package/dist/adapters/projscan.js.map +1 -1
  11. package/dist/adapters/tool-runner.d.ts +16 -0
  12. package/dist/adapters/tool-runner.d.ts.map +1 -0
  13. package/dist/adapters/tool-runner.js +43 -0
  14. package/dist/adapters/tool-runner.js.map +1 -0
  15. package/dist/cli.d.ts.map +1 -1
  16. package/dist/cli.js +24 -2
  17. package/dist/cli.js.map +1 -1
  18. package/dist/commands/doctor.d.ts.map +1 -1
  19. package/dist/commands/doctor.js +26 -2
  20. package/dist/commands/doctor.js.map +1 -1
  21. package/dist/commands/handoff.d.ts +17 -0
  22. package/dist/commands/handoff.d.ts.map +1 -0
  23. package/dist/commands/handoff.js +286 -0
  24. package/dist/commands/handoff.js.map +1 -0
  25. package/dist/commands/history.d.ts +11 -0
  26. package/dist/commands/history.d.ts.map +1 -0
  27. package/dist/commands/history.js +251 -0
  28. package/dist/commands/history.js.map +1 -0
  29. package/dist/commands/init.d.ts +5 -0
  30. package/dist/commands/init.d.ts.map +1 -1
  31. package/dist/commands/init.js +28 -10
  32. package/dist/commands/init.js.map +1 -1
  33. package/dist/commands/replay.d.ts.map +1 -1
  34. package/dist/commands/replay.js +23 -16
  35. package/dist/commands/replay.js.map +1 -1
  36. package/dist/commands/report.d.ts.map +1 -1
  37. package/dist/commands/report.js +22 -16
  38. package/dist/commands/report.js.map +1 -1
  39. package/dist/commands/resume.d.ts +1 -0
  40. package/dist/commands/resume.d.ts.map +1 -1
  41. package/dist/commands/resume.js +24 -14
  42. package/dist/commands/resume.js.map +1 -1
  43. package/dist/commands/start.d.ts +12 -0
  44. package/dist/commands/start.d.ts.map +1 -1
  45. package/dist/commands/start.js +53 -33
  46. package/dist/commands/start.js.map +1 -1
  47. package/dist/commands/status.d.ts.map +1 -1
  48. package/dist/commands/status.js +74 -9
  49. package/dist/commands/status.js.map +1 -1
  50. package/dist/commands/verify.d.ts.map +1 -1
  51. package/dist/commands/verify.js +22 -9
  52. package/dist/commands/verify.js.map +1 -1
  53. package/dist/core/artifacts.d.ts +11 -0
  54. package/dist/core/artifacts.d.ts.map +1 -0
  55. package/dist/core/artifacts.js +39 -0
  56. package/dist/core/artifacts.js.map +1 -0
  57. package/dist/core/config.d.ts +2 -0
  58. package/dist/core/config.d.ts.map +1 -1
  59. package/dist/core/config.js +16 -14
  60. package/dist/core/config.js.map +1 -1
  61. package/dist/core/doctor.d.ts +4 -0
  62. package/dist/core/doctor.d.ts.map +1 -1
  63. package/dist/core/doctor.js +37 -2
  64. package/dist/core/doctor.js.map +1 -1
  65. package/dist/core/fs-safe.d.ts +6 -0
  66. package/dist/core/fs-safe.d.ts.map +1 -1
  67. package/dist/core/fs-safe.js +50 -4
  68. package/dist/core/fs-safe.js.map +1 -1
  69. package/dist/core/git.d.ts.map +1 -1
  70. package/dist/core/git.js +7 -1
  71. package/dist/core/git.js.map +1 -1
  72. package/dist/core/output.d.ts +14 -0
  73. package/dist/core/output.d.ts.map +1 -1
  74. package/dist/core/output.js +72 -4
  75. package/dist/core/output.js.map +1 -1
  76. package/dist/core/paths.d.ts +1 -0
  77. package/dist/core/paths.d.ts.map +1 -1
  78. package/dist/core/paths.js +9 -1
  79. package/dist/core/paths.js.map +1 -1
  80. package/dist/core/review-intelligence.d.ts.map +1 -1
  81. package/dist/core/review-intelligence.js +182 -104
  82. package/dist/core/review-intelligence.js.map +1 -1
  83. package/dist/core/risk.d.ts.map +1 -1
  84. package/dist/core/risk.js +9 -4
  85. package/dist/core/risk.js.map +1 -1
  86. package/dist/core/session.d.ts +47 -1
  87. package/dist/core/session.d.ts.map +1 -1
  88. package/dist/core/session.js +203 -10
  89. package/dist/core/session.js.map +1 -1
  90. package/dist/core/verification-runs.d.ts +6 -0
  91. package/dist/core/verification-runs.d.ts.map +1 -0
  92. package/dist/core/verification-runs.js +104 -0
  93. package/dist/core/verification-runs.js.map +1 -0
  94. package/dist/core/verification.d.ts +4 -3
  95. package/dist/core/verification.d.ts.map +1 -1
  96. package/dist/core/verification.js +33 -66
  97. package/dist/core/verification.js.map +1 -1
  98. package/dist/renderers/html-replay.d.ts +2 -0
  99. package/dist/renderers/html-replay.d.ts.map +1 -1
  100. package/dist/renderers/html-replay.js +169 -9
  101. package/dist/renderers/html-replay.js.map +1 -1
  102. package/dist/renderers/markdown-report.d.ts +2 -0
  103. package/dist/renderers/markdown-report.d.ts.map +1 -1
  104. package/dist/renderers/markdown-report.js +20 -6
  105. package/dist/renderers/markdown-report.js.map +1 -1
  106. package/dist/renderers/resume-prompt.d.ts +2 -0
  107. package/dist/renderers/resume-prompt.d.ts.map +1 -1
  108. package/dist/renderers/resume-prompt.js +47 -10
  109. package/dist/renderers/resume-prompt.js.map +1 -1
  110. package/dist/types/index.d.ts +3 -3
  111. package/dist/types/index.d.ts.map +1 -1
  112. package/docs/assets/agentflight-cli-demo.svg +3 -3
  113. package/docs/development/changed-file-filters.md +19 -7
  114. package/docs/development/dogfooding.md +1 -1
  115. package/docs/examples/basic-agentflight-session.md +21 -10
  116. package/docs/roadmap/index.md +11 -3
  117. package/docs/roadmap/v0.4.0-review-intelligence-plan.md +1 -1
  118. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,261 @@
2
2
 
3
3
  All notable AgentFlight changes are documented here.
4
4
 
5
+ ## [0.7.0] - 2026-06-21
6
+
7
+ ### Added
8
+
9
+ - Added `agentflight handoff`, a local-only review handoff command that generates the report, replay, and resume artifacts and summarizes readiness, proof gaps, review focus, and failed verification excerpts.
10
+ - Added `agentflight history`, a read-only local command for listing recent
11
+ sessions, proof counts, the current-session marker, and existing report/replay
12
+ artifact paths without search indexing, export, sync, or session switching.
13
+ - Added local `agentflight history --task <text>` and
14
+ `agentflight history --state ready|blocked|needs_verification|unknown|current`
15
+ filters so engineers can find relevant local sessions without scanning long
16
+ histories or adding any index, sync, export, or session switching behavior.
17
+ - Added a compact Review Path section to local HTML replay artifacts so long
18
+ sessions lead reviewers through proof gaps, unresolved failed runs, review
19
+ focus, and verification evidence without adding scripts, exports, or hosted
20
+ behavior.
21
+ - Documented the `agentflight history --limit 1` latest-action workflow for
22
+ reopening local handoff/report/replay/resume artifacts.
23
+ - Added session-specific handoff artifacts under `.agentflight/reports/` so
24
+ `agentflight history` can point to stable handoff packets from prior sessions.
25
+ - Added session-specific resume artifacts under `.agentflight/reports/` so
26
+ `agentflight history` can point to stable continuation prompts from prior
27
+ sessions.
28
+ - Added post-v0.6.0 user-research findings and a v0.6.0 website update prompt focused on the local handoff workflow.
29
+ - Added a post-v0.6.0 product direction note that keeps local handoff, first-run
30
+ workspace hygiene, replay ergonomics, proof guidance, and explainable ranking
31
+ as the priority order.
32
+
33
+ ### Fixed
34
+
35
+ - Ready `agentflight status` output now points at an existing local handoff,
36
+ replay, or report artifact when one already exists, instead of repeating
37
+ handoff-generation guidance.
38
+ - Ready `agentflight resume` prompts now point at an existing local handoff,
39
+ replay, or report artifact when one already exists, instead of repeating
40
+ handoff-generation guidance.
41
+ - Review Intelligence now ignores unfinished AgentFlight readout/artifact
42
+ commands such as `agentflight replay` and `node dist/cli.js replay` when
43
+ computing incomplete proof gaps, so readiness guidance keeps pointing at
44
+ meaningful verification commands.
45
+ - Incomplete verification guidance now says a command may still be running and
46
+ suggests waiting before rerunning, avoiding false lost-evidence alarms when
47
+ status is checked during parallel verification.
48
+ - Ready `agentflight handoff` terminal guidance now tells reviewers to share
49
+ the local handoff packet first, with report/replay as supporting detail
50
+ artifacts.
51
+ - Current start-only `agentflight history` sessions now guide users to run
52
+ verification before handoff when no proof exists yet, while keeping
53
+ handoff-only guidance once verification has been recorded.
54
+ - Public positioning regression coverage now guards current public/runtime
55
+ surfaces against stale assistant-style positioning.
56
+ - Clean-worktree status now tells users to open handoff/report/replay or JSON
57
+ output for tucked verification details, matching the handoff-first ready
58
+ review path.
59
+ - Ready-session `Open first` guidance now prefers the generated handoff packet
60
+ in handoff, clean status/resume, and history surfaces, while blocked sessions
61
+ still point to the report/fix path.
62
+ - Full Markdown proof reports now show changed files, risk, verification,
63
+ review focus, proof gaps, readiness, recommendation, and next action before
64
+ the timeline, keeping long sessions faster to review.
65
+ - `agentflight history` now compacts non-current start-only sessions that have
66
+ no proof or review artifacts, keeping recent local artifacts easier to scan.
67
+ - Review Intelligence now keeps generated `.agentflight/.gitignore` helper files
68
+ below real first-run review targets while leaving them visible.
69
+ - `agentflight resume` now includes unresolved and historical failed-run context
70
+ below the verification count, matching status/report trust cues.
71
+ - Clean-worktree `agentflight resume` prompts now include the latest local
72
+ `Open first:` artifact path when current report/replay/handoff evidence
73
+ exists.
74
+ - Clean-worktree `agentflight status` now shows the latest local `Open first:`
75
+ artifact path when current report/replay/handoff evidence exists.
76
+ - `agentflight history` now shows the nearest previous local artifact when the
77
+ current latest session has none yet, while keeping the current-session
78
+ handoff next action.
79
+ - First-run AgentFlight generated-file lists and local-file guidance now use
80
+ shared output helpers, keeping `init` and `start --yes` copy consistent.
81
+ - `agentflight start --yes` now explains the AgentFlight files it generated
82
+ during safe auto-init, including project config and local runtime evidence.
83
+ - `agentflight init` and `agentflight start` now use concise ProjScan version
84
+ checks instead of extra help probing, while `agentflight doctor` keeps deeper
85
+ diagnostics.
86
+ - `agentflight doctor` now renders multiple detected proof-command suggestions
87
+ as an indented list instead of one long semicolon-separated line.
88
+ - `agentflight history` now prefers useful review-ready or blocked artifact
89
+ metadata over later clean-worktree artifact metadata, while preserving
90
+ clean-only session history.
91
+ - Clean-worktree `agentflight handoff` now preserves existing session review
92
+ artifacts instead of overwriting report/replay/resume evidence with an empty
93
+ post-commit clean-state artifact.
94
+ - Clean-worktree `agentflight handoff` now exits successfully instead of
95
+ treating an informational post-commit handoff as a command failure.
96
+ - `agentflight doctor` now suggests concrete detected `agentflight verify -- ...`
97
+ commands when config verification commands are empty.
98
+ - `agentflight verify` now suggests detected package proof commands when no
99
+ explicit command is provided and config commands are empty.
100
+ - `agentflight doctor` now warns when package proof scripts exist but
101
+ `.agentflight/config.json` has no configured verification commands.
102
+ - `agentflight history` now lists capped repo-relative malformed session paths
103
+ instead of only reporting a skipped-file count.
104
+ - Concurrent `agentflight verify` runs now reserve distinct stdout/stderr
105
+ evidence paths and merge verification updates without dropping either run.
106
+ - `agentflight history --limit` now rejects non-integer, zero, and negative
107
+ values with a clear local error instead of silently falling back or returning
108
+ an empty history.
109
+ - Review Intelligence now treats an earlier failed verification as resolved when
110
+ the same stored command later passes, so TDD red/green and format-fix loops do
111
+ not leave handoffs permanently blocked.
112
+ - Status, report, replay, and handoff now distinguish unresolved failed
113
+ verification from historical failed runs that later passed.
114
+ - Resume prompts now use the same unresolved-versus-resolved verification count
115
+ wording as the other review surfaces.
116
+ - Clean-worktree status now points users to `agentflight history --limit 1` to
117
+ reopen the latest local artifacts before starting the next session.
118
+ - History now shows unresolved-versus-resolved failed verification counts for
119
+ prior sessions.
120
+ - History now includes stable handoff artifact paths alongside report and
121
+ replay paths when those artifacts exist.
122
+ - History now includes stable resume artifact paths when those artifacts exist.
123
+ - History now suggests which existing local artifact to open first for each
124
+ session.
125
+ - History now surfaces the newest session's open-first action before the full
126
+ session list, reducing scan work in long local histories.
127
+ - History now tells users to run `agentflight handoff` when the latest local
128
+ session is current but no handoff/report/replay artifact exists yet.
129
+ - History now shows the latest session's recorded readiness in the top-level
130
+ `Latest action:` block.
131
+ - History now says `Open first: none yet` when no handoff, report, or replay
132
+ artifact exists.
133
+ - HTML replay now reserves urgent failed-run navigation for unresolved failed
134
+ verification while keeping historical failed runs visible in the ledger.
135
+ - Ready handoffs no longer inline historical failed verification excerpts once
136
+ no unresolved failed-verification proof gap remains; those excerpts stay in
137
+ report/replay evidence.
138
+ - `agentflight start` now treats AgentLoopKit's `Active task: none pinned.`
139
+ status as no active task instead of falsely reporting task reuse.
140
+ - AgentLoopKit task-link diagnostics now use generic link-check wording instead
141
+ of stale automatic task-creation copy.
142
+ - `agentflight init` now reports ProjScan and AgentLoopKit CLI availability
143
+ using the same concise tool formatter as start/report surfaces instead of
144
+ relying on repo marker files.
145
+ - `agentflight status` now reports a clean worktree explicitly instead of
146
+ calling zero changed files `Unknown` after a completed session has been
147
+ committed.
148
+ - `agentflight status` now compacts very long terminal verification run lists
149
+ while keeping full verification runs in JSON, report/replay, and local
150
+ evidence files.
151
+ - Clean-worktree `agentflight status` now tucks individual verification run
152
+ details when there are no unresolved failed runs, while keeping counts and
153
+ JSON evidence complete.
154
+ - Review Intelligence now treats incomplete verification attempts as blocking
155
+ before clean-worktree readiness, so live status cannot call a session clean
156
+ while verification is still in progress.
157
+ - `agentflight init` now lists created and skipped files by repo-relative path
158
+ instead of only showing counts.
159
+ - `agentflight doctor` now warns when `.projscan-memory/memory.json` exists
160
+ without a matching project filter and reports OK once the repo filters it
161
+ through `changedFileFilters.ignore`.
162
+ - `agentflight history` now labels stored review metadata as
163
+ `Recorded readiness:` so it is not confused with live worktree readiness.
164
+ - `agentflight doctor` no longer prints the absolute repository root in the
165
+ successful repository-root check.
166
+ - HTML replay now labels resolved failed verification rows as historical when
167
+ no unresolved failed runs remain.
168
+ - `agentflight doctor` now treats a missing current session as OK first-run
169
+ guidance instead of warning when the rest of the local setup is healthy.
170
+ - Clean-worktree status now reports `Risk: none` instead of `Risk: unknown`
171
+ while preserving `unknown` for legacy or genuinely missing metadata.
172
+ - Clean-worktree risk reasons now use current-state wording instead of saying
173
+ no changed files were detected "yet."
174
+ - Parallel report, replay, and resume commands now preserve each artifact event
175
+ in session history instead of letting the last stale session write win.
176
+ - Review Intelligence no longer lets ProjScan risk hints boost generated
177
+ `.projscan-memory/memory.json` above real first-run review targets, while the
178
+ file remains visible with the existing `changedFileFilters.ignore` guidance.
179
+ - `agentflight history` now includes the selected local artifact path directly
180
+ on the `Open first:` line, reducing lookup work in long session lists.
181
+ - `agentflight handoff` now includes the selected report or replay path directly
182
+ on the `Open first:` line while preserving the full artifact list.
183
+
184
+ ### Changed
185
+
186
+ - Clean-worktree `agentflight resume` constraints now tell agents to start a new
187
+ AgentFlight session before unrelated work instead of applying active-task
188
+ constraints to a completed clean session.
189
+ - `agentflight start` now prefers configured no-arg `agentflight verify`
190
+ guidance when `.agentflight/config.json` already has verification commands,
191
+ while keeping detected package-script fallback guidance for empty configs.
192
+ - Current product copy now uses `coding agent sessions` and agentic engineering
193
+ language instead of assistant-style positioning.
194
+ - Idempotent `agentflight init` now shows a concrete detected proof command
195
+ when existing config verification commands are empty.
196
+ - First-run `agentflight init` now points seeded configs at no-arg
197
+ `agentflight verify` in the primary workflow.
198
+ - `agentflight init` now points first-run users through the handoff golden path:
199
+ start a session, capture verification, then generate a local handoff, with
200
+ status and doctor listed as supporting checks.
201
+ - `agentflight init` now uses the first detected verification command in its
202
+ primary workflow guidance, falling back to `<proof command>` when no proof
203
+ script is detected.
204
+ - Newly generated `.agentflight/config.json` files now seed detected
205
+ verification commands from package scripts while leaving profiles empty and
206
+ preserving existing configs.
207
+ - README and verification docs now describe the handoff-first first-run workflow
208
+ and init-seeded verification commands.
209
+ - Kept ready-review report, replay, resume, examples, and demo copy aligned with
210
+ the `agentflight handoff` golden path while keeping report/replay/resume as
211
+ supporting local artifacts.
212
+ - Changed-file review surfaces now fail with an actionable git-status error
213
+ instead of treating git-status failures as an empty diff.
214
+ - Shortened the optional ProjScan baseline budget during `agentflight start` so
215
+ busy local ProjScan work cannot stall session startup for too long.
216
+ - `agentflight start` now reuses an active AgentLoopKit task instead of creating
217
+ a duplicate AgentFlight placeholder task.
218
+ - `agentflight start` now shows concise ProjScan and AgentLoopKit warning
219
+ summaries when optional tooling is available but degraded.
220
+ - `agentflight start` now inspects ProjScan availability without running the
221
+ heavier optional `projscan start` baseline on the startup path.
222
+ - `agentflight start` now uses lightweight AgentLoopKit availability inspection
223
+ on the startup path while preserving task reuse/linking.
224
+ - `agentflight start` now reuses AgentLoopKit's local active-task state file
225
+ directly instead of parsing `agentloopkit status` output.
226
+ - `agentflight start` now links existing AgentLoopKit task state without
227
+ creating new AgentLoopKit task contracts automatically.
228
+ - Start output and Markdown tooling rows now show whether AgentLoopKit has an
229
+ active task linked when that local state is known.
230
+ - `agentflight handoff` now treats missing required proof as not ready to share:
231
+ it exits non-zero, uses `Fix before sharing`, and points users to the report
232
+ first.
233
+ - Start, report, replay, and handoff terminal output now display local
234
+ `.agentflight/...` artifact paths relative to the repo instead of absolute
235
+ user-directory paths.
236
+ - Handoff verification details now distinguish zero verification runs from
237
+ passing runs that simply have no failed excerpts.
238
+ - Review Intelligence suggested proof now follows each proof gap's preferred
239
+ proof-kind order, so source gaps prefer `npm test` when available and
240
+ dependency gaps prefer build/install-style proof before typecheck.
241
+ - Review Intelligence proof-gap rules are now centralized in one ordered table
242
+ to keep future proof guidance changes easier to review.
243
+ - HTML replay verification ledgers now display long run commands compactly while
244
+ keeping the full command available in the title text.
245
+ - Status and Markdown report verification evidence rows now use compact display
246
+ labels for long run commands while preserving stored command evidence.
247
+ - `agentflight init` now writes `.agentflight/.gitignore` for runtime evidence
248
+ directories instead of seeding new runtime `.gitkeep` files, reducing
249
+ first-run Git noise while keeping `.agentflight/config.json` and the local
250
+ AgentFlight ignore file visible as project config.
251
+ - AgentFlight session JSON writes now use same-directory temp files and atomic
252
+ rename so concurrent report, replay, resume, and handoff commands do not read
253
+ partially written session state.
254
+ - Review Intelligence now describes `.projscan-memory/memory.json` as generated
255
+ tool state instead of arbitrary unknown code while keeping the file visible.
256
+ - Report and replay generation now persist a compact local readiness summary in
257
+ session events, letting `agentflight history` show the latest recorded
258
+ readiness without recalculating old sessions.
259
+
5
260
  ## AgentFlight v0.6.0 - 2026-06-19
6
261
 
7
262
  Local review ergonomics and automation surfaces for heavier real-world dogfood.
@@ -19,7 +274,20 @@ Local review ergonomics and automation surfaces for heavier real-world dogfood.
19
274
 
20
275
  ### Changed
21
276
 
22
- - AgentFlight now describes itself as a local-first review layer for AI coding sessions across package metadata, README, and product docs.
277
+ - Clarified first-run workspace hygiene docs: `.projscan-memory/**` can be added
278
+ to `changedFileFilters.ignore` when ProjScan memory is generated evidence
279
+ rather than a review target.
280
+ - Lowered generated ProjScan memory priority in Review Intelligence so
281
+ `.projscan-memory/memory.json` remains visible but no longer outranks real
282
+ first-run review targets such as `.agentflight/config.json` or docs changes.
283
+ - Classified first-party TypeScript/JavaScript source files under `src/` as
284
+ source changes so review focus gives clearer guidance and proof gaps than the
285
+ previous unknown-file fallback.
286
+ - Aligned ready-review next actions with the handoff golden path: status,
287
+ report, replay, and resume now point users toward `agentflight handoff`, while
288
+ the handoff artifact itself tells users to share the generated local packet.
289
+
290
+ - AgentFlight now describes itself as a local-first review layer for coding agent sessions across package metadata, README, and product docs.
23
291
  - Long suggested proof commands stay compact in high-density review surfaces while preserving the full suggested action where useful.
24
292
  - Local AgentLoopKit evidence paths are filtered from AgentFlight changed-file review surfaces:
25
293
  - `.agentloop/state.json`
@@ -151,7 +419,7 @@ Review Intelligence trust patch focused on v0.4.0 dogfood findings.
151
419
 
152
420
  ### Added
153
421
 
154
- - Added deterministic Review Intelligence for AI coding sessions.
422
+ - Added deterministic Review Intelligence for coding agent sessions.
155
423
  - Added review focus ranking to highlight the files developers should inspect first.
156
424
  - Added proof gap detection for missing or failed verification evidence.
157
425
  - Added clearer readiness states and next-best-action guidance.
package/README.md CHANGED
@@ -8,18 +8,20 @@
8
8
 
9
9
  See what your coding agent did, what failed, and whether the work is ready for review.
10
10
 
11
- AgentFlight is a local-first review layer for AI coding sessions from Baseframe Labs. It records what your coding agent did, captures verification evidence, shows failure excerpts, and tells you what needs review before you trust the result.
11
+ AgentFlight is a local-first review layer for coding agent sessions from Baseframe Labs. It records what your coding agent did, captures verification evidence, shows failure excerpts, and tells you what needs review before you trust the result.
12
12
 
13
13
  Website: [baseframelabs.com/apps/agentflight](https://www.baseframelabs.com/apps/agentflight)
14
14
 
15
15
  AgentFlight helps you:
16
16
 
17
- - start an AI coding session
17
+ - start a coding agent session
18
18
  - capture verification evidence
19
19
  - see changed files and risk
20
20
  - create snapshots during the session
21
21
  - generate a proof report
22
22
  - generate a local replay timeline
23
+ - generate a local review handoff
24
+ - find recent local sessions and their artifacts
23
25
  - create a resume prompt for the next agent or reviewer
24
26
 
25
27
  ![AgentFlight CLI workflow: start, verify, status, and replay](docs/assets/agentflight-terminal-demo.gif)
@@ -32,36 +34,37 @@ npx agentflight@latest start --task "Add password reset flow"
32
34
 
33
35
  # Run Codex, Claude Code, Cursor, or your coding agent normally
34
36
 
35
- npx agentflight@latest verify -- npm test
36
- npx agentflight@latest snapshot --note "Initial implementation verified"
37
+ npx agentflight@latest verify
38
+ npx agentflight@latest handoff
37
39
  npx agentflight@latest status
38
- npx agentflight@latest report
39
- npx agentflight@latest replay
40
- npx agentflight@latest resume
40
+ npx agentflight@latest snapshot --note "Initial implementation verified"
41
+ npx agentflight@latest history
41
42
  ```
42
43
 
43
44
  What you get:
44
45
 
45
- - `init` creates local `.agentflight/` project files.
46
+ - `init` creates local `.agentflight/` project files and seeds detected verification commands into `.agentflight/config.json` when package scripts exist.
46
47
  - `start` records the task, git branch, commit, dirty state, package manager, and tool availability.
47
- - `verify -- npm test` runs the command and stores stdout, stderr, exit code, timing, and pass/fail status.
48
- - `snapshot --note "..."` records the current git, risk, and proof state as a timeline event.
48
+ - `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.
49
50
  - `status` answers what changed, how risky it is, what proof exists, what proof is missing, and what to do next.
51
+ - `snapshot --note "..."` records the current git, risk, and proof state as a timeline event.
50
52
  - `report` writes a Markdown proof report for review.
51
- - `replay` writes a local HTML timeline you can open in a browser.
53
+ - `replay` writes a local HTML review path and timeline you can open in a browser.
52
54
  - `resume` writes a Codex/Claude-ready prompt for the next safe step.
55
+ - `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.
53
56
 
54
57
  ## Watch The Flow
55
58
 
56
- AgentFlight turns a loose AI-agent session into a local proof trail:
59
+ AgentFlight turns a loose coding agent session into a local proof trail:
57
60
 
58
61
  1. Start a session before you ask the coding agent to work.
59
62
  2. Capture real verification output with `agentflight verify`.
60
63
  3. Snapshot meaningful checkpoints.
61
64
  4. Read `status` to see changed files, risk, proof, gaps, and next action.
62
- 5. Generate `report`, `replay`, and `resume` when the work is ready to review or hand off.
65
+ 5. Run `handoff` when the work is ready to review or when you need a clear fix-before-sharing summary.
63
66
 
64
- The replay artifact is a self-contained local HTML file. It leads with the review verdict, 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:
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:
65
68
 
66
69
  ![AgentFlight replay: review verdict, risk, timeline, and verification evidence](docs/assets/agentflight-replay-scroll.gif)
67
70
 
@@ -69,7 +72,7 @@ A high-resolution still is also available at [`docs/assets/agentflight-replay-ti
69
72
 
70
73
  ## Why This Exists
71
74
 
72
- AI coding agents move fast. After a few prompts, you can lose track of:
75
+ Coding agents move fast. After a few prompts, you can lose track of:
73
76
 
74
77
  - what changed
75
78
  - whether the agent drifted from the task
@@ -94,7 +97,7 @@ Changed files:
94
97
  3
95
98
 
96
99
  Risk: medium
97
- - Dependency, backend, or unknown files changed.
100
+ - Application source files changed.
98
101
 
99
102
  Verification Evidence:
100
103
  1 passed, 0 failed
@@ -185,7 +188,9 @@ The current AgentFlight release supports:
185
188
  - session events
186
189
  - snapshots with `agentflight snapshot --note "..."`
187
190
  - Markdown proof reports
188
- - self-contained HTML replay timelines
191
+ - self-contained HTML replays with review-path guidance and timelines
192
+ - local review handoffs that point to the report, replay, and resume artifacts
193
+ - local history filters for finding sessions by task text or recorded readiness
189
194
  - resume prompts for Codex, Claude Code, or a human reviewer
190
195
  - doctor checks for local setup
191
196
  - defensive ProjScan and AgentLoopKit adapters
@@ -213,10 +218,13 @@ AgentFlight creates a local `.agentflight/` directory in your repo:
213
218
  - `current/` stores the active session, handoff, and resume prompt.
214
219
  - `reports/` stores Markdown proof reports and HTML replays.
215
220
  - `evidence/` stores stdout and stderr from captured verification runs.
221
+ - `.gitignore` keeps those runtime directories out of git while leaving
222
+ `config.json` visible.
216
223
 
217
224
  Sessions store an `events` timeline with meaningful moments such as session start, verification attempts, snapshots, and generated artifacts. Reports include filenames and summaries by default, not full source diffs.
218
225
 
219
- Runtime session data is ignored by git by default in this repo:
226
+ Runtime session data is ignored by the `.agentflight/.gitignore` created by
227
+ `agentflight init`:
220
228
 
221
229
  - `.agentflight/sessions/`
222
230
  - `.agentflight/reports/`
@@ -235,11 +243,18 @@ AgentFlight always excludes its own runtime session/report/current/evidence file
235
243
  }
236
244
  ```
237
245
 
246
+ On a first run, ProjScan fallback state may create `.projscan-memory/memory.json`
247
+ and AgentFlight may surface it in status, report, replay, or handoff output. If
248
+ that memory file is generated evidence rather than something reviewers should
249
+ inspect, add `.projscan-memory/**` to `changedFileFilters.ignore`. AgentFlight
250
+ does not ignore it by default, because some teams may want generated tool state
251
+ to stay visible.
252
+
238
253
  See [docs/development/changed-file-filters.md](docs/development/changed-file-filters.md).
239
254
 
240
255
  ## Commands
241
256
 
242
- - `agentflight init` initializes `.agentflight/` with safe writes and explains which local files are project config versus runtime evidence.
257
+ - `agentflight init` initializes `.agentflight/` with safe writes, seeds detected verification commands into config when package scripts exist, and explains which local files are project config versus runtime evidence.
243
258
  - `agentflight start --task "..."` starts a session and writes the current handoff.
244
259
  - `agentflight status` summarizes changed files, risk, verification status, review focus, proof gaps, readiness, snapshots, and next action.
245
260
  - `agentflight status --format json` prints the same local status data as structured JSON for scripts.
@@ -252,6 +267,10 @@ See [docs/development/changed-file-filters.md](docs/development/changed-file-fil
252
267
  - `agentflight report --mode pr-comment` writes a local PR-comment draft without posting anywhere.
253
268
  - `agentflight replay` generates a local self-contained HTML replay with review focus and proof gaps.
254
269
  - `agentflight resume` prints and saves a continuation prompt with the next safest action.
270
+ - `agentflight handoff` generates a local review handoff, report, replay, and resume prompt without posting anywhere. It exits non-zero when verification failures or missing proof make the work not ready to share.
271
+ - `agentflight history` shows the latest action first, including recorded readiness, open-first artifact guidance, current-session marker, proof counts, and existing local handoff/report/replay/resume paths.
272
+ - `agentflight history --task <text>` narrows existing local sessions by task title before applying `--limit`.
273
+ - `agentflight history --state ready|blocked|needs_verification|unknown|current` narrows existing local sessions by recorded readiness or the current-session marker before applying `--limit`.
255
274
  - `agentflight doctor` checks local setup, scripts, tools, config, and current session state.
256
275
 
257
276
  Future placeholders exist for `upgrade`, `license`, and `login`; AgentFlight Pro/Team is not available yet.
@@ -4,7 +4,8 @@ export interface InspectAgentLoopKitOptions {
4
4
  cwd?: string;
5
5
  run?: CommandRunner;
6
6
  command?: string;
7
+ includeDoctor?: boolean;
7
8
  }
8
9
  export declare function inspectAgentLoopKit(options?: InspectAgentLoopKitOptions): Promise<ToolAdapterResult>;
9
- export declare function createAgentLoopTask(cwd: string, title: string, run?: CommandRunner): Promise<ToolAdapterResult>;
10
+ export declare function linkAgentLoopTask(cwd: string): Promise<ToolAdapterResult>;
10
11
  //# sourceMappingURL=agentloopkit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agentloopkit.d.ts","sourceRoot":"","sources":["../../src/adapters/agentloopkit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,WAAW,0BAA0B;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,mBAAmB,CACvC,OAAO,GAAE,0BAA+B,GACvC,OAAO,CAAC,iBAAiB,CAAC,CAsC5B;AAED,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,GAAG,GAAE,aAA0B,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAoC5B"}
1
+ {"version":3,"file":"agentloopkit.d.ts","sourceRoot":"","sources":["../../src/adapters/agentloopkit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,MAAM,WAAW,0BAA0B;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAsB,mBAAmB,CACvC,OAAO,GAAE,0BAA+B,GACvC,OAAO,CAAC,iBAAiB,CAAC,CA+C5B;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAU/E"}
@@ -1,87 +1,82 @@
1
+ import { readFile } from "node:fs/promises";
1
2
  import { join } from "node:path";
2
3
  import { runCommand } from "../core/process.js";
4
+ import { normalizeCliVersion, runToolWithFallback, summarizeToolFailure } from "./tool-runner.js";
3
5
  export async function inspectAgentLoopKit(options = {}) {
4
6
  const run = options.run ?? runCommand;
5
7
  const command = options.command ?? "agentloopkit";
6
- const version = await runWithFallback(run, command, "agentloopkit@latest", ["--version"], options.cwd);
8
+ const version = await runToolWithFallback({
9
+ run,
10
+ localCommand: command,
11
+ packageName: "agentloopkit@latest",
12
+ args: ["--version"],
13
+ cwd: options.cwd
14
+ });
7
15
  if (version.exitCode !== 0) {
8
16
  return {
9
17
  available: false,
10
- warnings: [`AgentLoopKit unavailable: ${summarizeFailure(version)}`]
18
+ warnings: [`AgentLoopKit unavailable: ${summarizeToolFailure(version)}`]
11
19
  };
12
20
  }
13
- const doctor = await runWithFallback(run, command, "agentloopkit@latest", ["doctor"], options.cwd, 20_000);
21
+ if (options.includeDoctor === false) {
22
+ return {
23
+ available: true,
24
+ version: normalizeCliVersion(version.stdout),
25
+ summary: "AgentLoopKit available for task discipline.",
26
+ warnings: []
27
+ };
28
+ }
29
+ const doctor = await runToolWithFallback({
30
+ run,
31
+ localCommand: command,
32
+ packageName: "agentloopkit@latest",
33
+ args: ["doctor"],
34
+ cwd: options.cwd,
35
+ timeoutMs: 20_000
36
+ });
14
37
  const result = {
15
38
  available: true,
16
- version: normalizeVersion(version.stdout),
39
+ version: normalizeCliVersion(version.stdout),
17
40
  summary: doctor.stdout.trim() || "AgentLoopKit available for task discipline.",
18
41
  warnings: []
19
42
  };
20
43
  if (doctor.exitCode !== 0) {
21
- result.warnings.push(`AgentLoopKit doctor reported issues: ${summarizeFailure(doctor)}`);
44
+ result.warnings.push(`AgentLoopKit doctor reported issues: ${summarizeToolFailure(doctor)}`);
22
45
  }
23
46
  return result;
24
47
  }
25
- export async function createAgentLoopTask(cwd, title, run = runCommand) {
26
- const result = await runWithFallback(run, "agentloopkit", "agentloopkit@latest", [
27
- "create-task",
28
- "--title",
29
- title,
30
- "--type",
31
- "feature",
32
- "--problem",
33
- `AgentFlight session task: ${title}`,
34
- "--outcome",
35
- "Task is implemented with local verification evidence.",
36
- "--constraint",
37
- "Keep changes scoped and do not claim completion without proof."
38
- ], cwd, 20_000);
39
- if (result.exitCode !== 0) {
40
- return {
41
- available: false,
42
- taskLinked: false,
43
- warnings: [`AgentLoopKit task creation failed: ${summarizeFailure(result)}`]
44
- };
45
- }
48
+ export async function linkAgentLoopTask(cwd) {
49
+ const activeTask = await readActiveAgentLoopTask(cwd);
50
+ if (activeTask)
51
+ return activeTask;
46
52
  return {
47
53
  available: true,
48
- taskLinked: true,
49
- summary: result.stdout.trim(),
54
+ taskLinked: false,
55
+ summary: "No active AgentLoopKit task linked.",
50
56
  warnings: []
51
57
  };
52
58
  }
53
- function summarizeFailure(result) {
54
- return (result.stderr || result.stdout || "no output").trim();
55
- }
56
- async function runWithFallback(run, localCommand, packageName, args, cwd, timeoutMs = 10_000) {
57
- const localFailures = [];
58
- for (const candidate of repoLocalCommandCandidates(localCommand, cwd)) {
59
- const local = await run(candidate, args, { cwd, timeoutMs });
60
- if (local.exitCode === 0)
61
- return local;
62
- localFailures.push(local);
63
- }
64
- const fallback = await run("npx", ["--yes", packageName, ...args], { cwd, timeoutMs });
65
- if (fallback.exitCode === 0)
66
- return fallback;
67
- const pathCommand = await run(localCommand, args, { cwd, timeoutMs });
68
- if (pathCommand.exitCode === 0)
69
- return pathCommand;
59
+ async function readActiveAgentLoopTask(cwd) {
60
+ const activeTaskPath = await readActiveTaskPath(cwd);
61
+ if (!activeTaskPath)
62
+ return null;
70
63
  return {
71
- exitCode: pathCommand.exitCode,
72
- stdout: pathCommand.stdout,
73
- stderr: `${localFailures.map(summarizeFailure).join("; ")}; npx fallback failed: ${summarizeFailure(fallback)}; PATH command failed: ${summarizeFailure(pathCommand)}`
64
+ available: true,
65
+ taskLinked: true,
66
+ summary: `Using active AgentLoopKit task. Active task: ${activeTaskPath}`,
67
+ warnings: []
74
68
  };
75
69
  }
76
- function repoLocalCommandCandidates(command, cwd) {
77
- if (!cwd || command.includes("/") || command.includes("\\"))
78
- return [];
79
- const executable = process.platform === "win32" ? `${command}.cmd` : command;
80
- return [join(cwd, "node_modules", ".bin", executable)];
81
- }
82
- function normalizeVersion(output) {
83
- const trimmed = output.trim();
84
- const match = trimmed.match(/\bv?(\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?)\b/);
85
- return match?.[1] ?? trimmed;
70
+ async function readActiveTaskPath(cwd) {
71
+ try {
72
+ const raw = await readFile(join(cwd, ".agentloop", "state.json"), "utf8");
73
+ const parsed = JSON.parse(raw);
74
+ return typeof parsed.activeTaskPath === "string" && parsed.activeTaskPath.trim()
75
+ ? parsed.activeTaskPath
76
+ : null;
77
+ }
78
+ catch {
79
+ return null;
80
+ }
86
81
  }
87
82
  //# sourceMappingURL=agentloopkit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agentloopkit.js","sourceRoot":"","sources":["../../src/adapters/agentloopkit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAShD,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,UAAsC,EAAE;IAExC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,UAAU,CAAC;IACtC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,cAAc,CAAC;IAClD,MAAM,OAAO,GAAG,MAAM,eAAe,CACnC,GAAG,EACH,OAAO,EACP,qBAAqB,EACrB,CAAC,WAAW,CAAC,EACb,OAAO,CAAC,GAAG,CACZ,CAAC;IAEF,IAAI,OAAO,CAAC,QAAQ,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO;YACL,SAAS,EAAE,KAAK;YAChB,QAAQ,EAAE,CAAC,6BAA6B,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC;SACrE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,eAAe,CAClC,GAAG,EACH,OAAO,EACP,qBAAqB,EACrB,CAAC,QAAQ,CAAC,EACV,OAAO,CAAC,GAAG,EACX,MAAM,CACP,CAAC;IACF,MAAM,MAAM,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QACL,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,KAAK;QACjB,OAAO,EAAE,qCAAqC;QAC9C,QAAQ,EAAE,EAAE;KACb,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,uBAAuB,CAAC,GAAW;IAChD,MAAM,cAAc,GAAG,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC;IACrD,IAAI,CAAC,cAAc;QAAE,OAAO,IAAI,CAAC;IAEjC,OAAO;QACL,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,gDAAgD,cAAc,EAAE;QACzE,QAAQ,EAAE,EAAE;KACb,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,kBAAkB,CAAC,GAAW;IAC3C,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,EAAE,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAiC,CAAC;QAC/D,OAAO,OAAO,MAAM,CAAC,cAAc,KAAK,QAAQ,IAAI,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE;YAC9E,CAAC,CAAC,MAAM,CAAC,cAAc;YACvB,CAAC,CAAC,IAAI,CAAC;IACX,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -4,6 +4,7 @@ export interface InspectProjScanOptions {
4
4
  cwd?: string;
5
5
  run?: CommandRunner;
6
6
  command?: string;
7
+ includeHelp?: boolean | undefined;
7
8
  }
8
9
  export declare function inspectProjScan(options?: InspectProjScanOptions): Promise<ToolAdapterResult>;
9
10
  export declare function runProjScanBaseline(cwd: string, run?: CommandRunner): Promise<ToolAdapterResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"projscan.d.ts","sourceRoot":"","sources":["../../src/adapters/projscan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,eAAe,CACnC,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,iBAAiB,CAAC,CA+B5B;AAED,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,aAA0B,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAsB5B"}
1
+ {"version":3,"file":"projscan.d.ts","sourceRoot":"","sources":["../../src/adapters/projscan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAK3D,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACnC;AAED,wBAAsB,eAAe,CACnC,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,iBAAiB,CAAC,CAwC5B;AAED,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,aAA0B,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CA0B5B"}