@kingkyylian/handoffkit 0.2.0 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ - Added `handoffkit cache list` and `handoffkit cache show` for inspecting local `.handoffkit` artifacts.
6
+ - Added `handoffkit resume --from-cache latest` and cache refs such as `resume/latest` for continuing from cached resume sources.
7
+ - Added `handoffkit pack --include-cache` to include recent cache summaries in handoff packets.
8
+ - Added cache-backed handoff workflow documentation and an end-to-end example.
9
+
10
+ ## 0.3.0
11
+
12
+ - Added richer deterministic risk notes that map changed file groups to common failure modes across release, CI, tooling, CLI, resume, report rendering, docs, security, and generated artifact workflows.
13
+ - Raised release and package publishing changes to high-severity risk guidance with explicit `pnpm pack:dry-run` and `pnpm smoke:release` verification prompts.
14
+ - Added transcript parsing for Codex, Claude, Cursor, and Gemini-style exported or copied agent sessions.
15
+ - Added opt-in local `.handoffkit` cache artifacts for `verify --cache`, `resume --cache`, and `pack --verify --cache`.
16
+ - Documented the `.handoffkit` cache layout and kept cache/checkpoint artifacts out of changed-file reports by default.
17
+
3
18
  ## 0.2.0
4
19
 
5
20
  - Added meaningful target-specific Markdown profiles for Codex, Claude Code, Cursor, and generic handoffs.
package/README.md CHANGED
@@ -134,6 +134,7 @@ Omit diff summaries and patches:
134
134
 
135
135
  ```sh
136
136
  handoffkit pack --goal "Summarize repo state" --no-diff
137
+ handoffkit pack --goal "Continue from recent cache" --include-cache
137
138
  ```
138
139
 
139
140
  Set a rough Markdown token budget:
@@ -146,6 +147,7 @@ Run verification directly:
146
147
 
147
148
  ```sh
148
149
  handoffkit verify
150
+ handoffkit verify --cache
149
151
  ```
150
152
 
151
153
  Inspect deterministic risk notes:
@@ -164,6 +166,15 @@ Resume from a previous handoff or transcript:
164
166
 
165
167
  ```sh
166
168
  handoffkit resume previous-handoff.md --goal "Continue from here"
169
+ handoffkit resume previous-handoff.md --goal "Continue from here" --cache
170
+ handoffkit resume --from-cache latest --goal "Continue cached session"
171
+ ```
172
+
173
+ Inspect local cache artifacts:
174
+
175
+ ```sh
176
+ handoffkit cache list
177
+ handoffkit cache show resume latest
167
178
  ```
168
179
 
169
180
  ## CLI Options
@@ -178,9 +189,18 @@ handoffkit resume previous-handoff.md --goal "Continue from here"
178
189
  | `--since <ref>` | Focus committed branch delta on a base ref such as `main`. |
179
190
  | `--verify` | Run safe verification scripts and include results in the packet. |
180
191
  | `--scan-secrets` | Run optional local secret scanners and include bounded redacted results. |
192
+ | `--cache` | Explicitly write local verification or resume artifacts under `.handoffkit/`. |
193
+ | `--include-cache` | Include recent `.handoffkit` artifact summaries in `pack` output. |
194
+ | `--from-cache <ref>` | Resume from a cached resume artifact such as `latest` or `resume/latest`. |
181
195
  | `--include-diff` | Include full tracked patches and bounded untracked previews. |
182
196
  | `--no-diff` | Omit diff summaries and full patches. |
183
197
 
198
+ ## Local Cache
199
+
200
+ Cache writes are opt-in. `verify --cache`, `pack --verify --cache`, and `resume --cache` write redacted JSON artifacts under `.handoffkit/verification` or `.handoffkit/resume`. Use `cache list` and `cache show` to inspect artifacts, `resume --from-cache latest` to continue from the latest cached resume source, and `pack --include-cache` to include recent cache summaries in a new handoff packet. The cache directory is ignored by default so repeated handoffs do not pollute git status or generated reports.
201
+
202
+ See [docs/CACHE.md](docs/CACHE.md) for the file layout.
203
+
184
204
  ## What Gets Collected
185
205
 
186
206
  HandoffKit reads local git and filesystem metadata from the current repository:
@@ -191,6 +211,7 @@ HandoffKit reads local git and filesystem metadata from the current repository:
191
211
  - compact previews of detected instruction files
192
212
  - package manager and verification scripts from the root `package.json`
193
213
  - optional verification results when `--verify` is used
214
+ - optional local cache summaries when `--include-cache` is used
194
215
  - deterministic risk notes from changed file paths
195
216
  - optional secret scanner availability, local config files, and install guidance for `gitleaks` and `secretlint`
196
217
  - bounded, redacted secret scan results when `--scan-secrets` is used
@@ -200,7 +221,7 @@ HandoffKit reads local git and filesystem metadata from the current repository:
200
221
  - No LLM API calls.
201
222
  - No network requests from the CLI.
202
223
  - No git writes, commits, staging, or branch changes.
203
- - No files are written unless `--output` is provided.
224
+ - No files are written unless `--output` or explicit `--cache` is provided.
204
225
 
205
226
  ## Development
206
227