prjct-cli 2.19.5 → 2.19.7
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 +14 -0
- package/dist/bin/prjct-core.mjs +196 -196
- package/dist/daemon/entry.mjs +158 -158
- package/dist/mcp/server.mjs +22 -22
- package/dist/templates.json +1 -1
- package/package.json +1 -1
- package/templates/crew/CHECKPOINTS.md +3 -3
- package/templates/crew/CLAUDE-leader-mode.md +4 -2
- package/templates/crew/agents/implementer.md +18 -7
- package/templates/crew/agents/leader.md +6 -4
- package/templates/crew/agents/reviewer.md +8 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.19.7] - 2026-05-13
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **SQLite connection factory centralized.** `openDatabase()` in `core/storage/database/sqlite-compat.ts` now bakes `PRAGMA journal_mode=WAL` + `PRAGMA busy_timeout=5000` into every connection it returns. The duplicated PRAGMA calls in `core/storage/database.ts` and `core/storage/system-database.ts` were removed, and `system-database.ts` no longer ships its own copy of the `bun:sqlite` / `better-sqlite3` shim. Eliminates the regression class behind the v2.19.0 sync hang — a new SQLite caller cannot forget the daemon-safety pragma because the factory enforces it.
|
|
7
|
+
|
|
8
|
+
## [2.19.6] - 2026-05-13
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Crew mode no longer writes `.prjct/sessions/` files into the customer's working tree.** The shipped templates (`templates/crew/agents/{leader,implementer,reviewer}.md`, `CHECKPOINTS.md`, `CLAUDE-leader-mode.md`) previously instructed subagents to persist plan / impl notes / review verdicts as loose markdown files under `.prjct/sessions/<task-slug>/<role>.md`. This violated the product invariant (SQLite + regenerated vault are the only allowed persistence surfaces) and was customer-reported. Subagents now reply inline; durable state goes through `prjct` CLI verbs only.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- Build-time guard in `scripts/build.js` that fails the bundle if any template under `templates/` reintroduces a forbidden persistence path (currently: `.prjct/sessions/`).
|
|
15
|
+
- Regression test `core/__tests__/commands/crew-templates-no-disk-writes.test.ts` asserting the same invariant at unit-test time.
|
|
16
|
+
|
|
3
17
|
## [2.19.5] - 2026-05-13
|
|
4
18
|
|
|
5
19
|
### Added
|