Skip to content

Commit 19fb74a

Browse files
chore: cleanup and improvements
- Remove stale test fixtures in scripts/testing/ - Add 49 tests for Sweep feature (server, client, prompt builder) - Internalize auto-capture command to pure TypeScript (no shell script) - Update CLAUDE.md and docs with new capture/restore commands
1 parent 8c1394a commit 19fb74a

File tree

21 files changed

+1149
-4873
lines changed

21 files changed

+1149
-4873
lines changed

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ npm run lint:fix # Auto-fix lint issues
4949
npm test # Run Vitest (watch)
5050
npm run test:run # Run tests once
5151
npm run linear:sync # Sync with Linear
52+
53+
# StackMemory CLI
54+
stackmemory capture # Save session state for handoff
55+
stackmemory restore # Restore from captured state
5256
```
5357

5458
## Working Directory

docs/releases/v0.3.2-features.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Structured workflow templates for common development patterns.
6262
Generates comprehensive handoff documents for session continuity.
6363

6464
#### Commands:
65-
- `stackmemory handoff --generate` - Create handoff document
66-
- `stackmemory handoff --load` - Load most recent handoff
65+
- `stackmemory capture` - Create handoff document (alias: `stackmemory handoff --generate`)
66+
- `stackmemory restore` - Load most recent handoff (alias: `stackmemory handoff --load`)
6767
- `stackmemory handoff --show` - Display handoff markdown
6868
- `stackmemory handoff --list` - List all handoffs
6969
- `stackmemory handoff --auto` - Enable auto-generation on idle
@@ -108,7 +108,7 @@ stackmemory workflow --start feature
108108
stackmemory clear --status
109109

110110
# Before taking a break, generate handoff
111-
stackmemory handoff --generate
111+
stackmemory capture
112112

113113
# If context gets full, save ledger
114114
stackmemory clear --save
@@ -118,7 +118,7 @@ stackmemory clear --save
118118
stackmemory clear --restore
119119

120120
# When returning to work, load handoff
121-
stackmemory handoff --load
121+
stackmemory restore
122122

123123
# Continue workflow
124124
stackmemory workflow --transition

scripts/testing/scripts/testing/ab-test-runner.js

Lines changed: 0 additions & 363 deletions
This file was deleted.

scripts/testing/scripts/testing/collect-metrics.js

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)