prjct-cli 2.20.1 → 2.21.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 +21 -0
- package/README.md +3 -0
- package/dist/bin/prjct-core.mjs +327 -321
- package/dist/bin/prjct.mjs +1 -1
- package/dist/daemon/entry.mjs +168 -168
- package/dist/templates.json +1 -1
- package/package.json +3 -2
- package/templates/skills/prjct/SKILL.md +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.21.0] - 2026-05-17
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- prjct review-risk verb — advisory size/delivery-geometry signal (#18/19/20, minimal cut) (v2.20.1) (#340)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [2.20.2] - 2026-05-17
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- skill routing triages complexity FIRST — spec is the exception, not the default (v2.20.1) (#341)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [Unreleased]
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **Architecture guard: SQLite connection factory is now an enforced invariant.** `openDatabase()` in `core/storage/database/sqlite-compat.ts` already baked the daemon-safety PRAGMAs (`journal_mode=WAL`, `busy_timeout=5000`) into every connection, but nothing stopped a future caller from doing a raw `new Database(...)` / `require('bun:sqlite')` / `require('better-sqlite3')` and silently bypassing them — the open half of the HIGH-severity daemon-vs-CLI write-lock anti-pattern. New `core/__tests__/storage/sqlite-factory-guard.test.ts` scans `core/` + `bin/` and fails CI if any file outside the sanctioned factory acquires a driver, and separately asserts the factory keeps both PRAGMAs. Closes the anti-pattern by moving it from convention to enforced. No runtime code change.
|
|
22
|
+
- **`prjct review-risk [--md]`** — advisory size/delivery-geometry signal (minimal cut of harnesses #18/19/20). Reads the committed changeset vs the merge-base with the default branch (`git diff --shortstat`), derives a size tier (trivial/normal/large) and suggests a delivery geometry (`direct`/`single`/`split`, with the touched top-level dirs as natural split lines). Read-only/Tier-1 (retro/health shape); never gates, never splits, never mutates git; graceful no-signal when there is no base or nothing committed.
|
|
23
|
+
|
|
3
24
|
## [2.20.1] - 2026-05-17
|
|
4
25
|
|
|
5
26
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ After install, **next session in any prjct project**:
|
|
|
58
58
|
- `security` — OWASP Top 10 + STRIDE, 8/10 confidence gate, concrete exploit per finding
|
|
59
59
|
- `investigate` — Iron Law (no fix without investigation), max 3 failed hypotheses
|
|
60
60
|
- `ship` (endurecido) — Coverage Gate + Auto-Document
|
|
61
|
+
- **Delivery-geometry advisory** (`prjct review-risk`): reads the committed changeset vs the merge-base and suggests a size tier (trivial/normal/large) + whether to ship direct, as one PR, or split — with the touched top-level dirs as natural split lines. Purely advisory: never gates, never mutates git.
|
|
61
62
|
|
|
62
63
|
## How it works
|
|
63
64
|
|
|
@@ -132,6 +133,7 @@ Cursor / Windsurf use the same commands with a `/` prefix: `/capture`, `/task`,
|
|
|
132
133
|
| `prjct sync` | Re-index files, git co-change, imports; refresh project analysis. |
|
|
133
134
|
| `prjct regen` | Full rebuild of the Obsidian vault snapshot from SQLite. |
|
|
134
135
|
| `prjct suggest` | Smart recommendations based on current project state. |
|
|
136
|
+
| `prjct review-risk` | Advisory change-size + delivery-geometry signal for the branch (read-only; never gates, never splits). |
|
|
135
137
|
| `prjct seed <add\|list>` | Manage packs (persona, memory types, workflow slots). |
|
|
136
138
|
|
|
137
139
|
## Personas & Packs
|
|
@@ -205,6 +207,7 @@ prjct watch Auto-sync on file changes
|
|
|
205
207
|
prjct doctor Check system health
|
|
206
208
|
prjct hooks <install|uninstall|status> Git hooks for auto-sync
|
|
207
209
|
prjct context <files|signatures|imports|recent|summary> Smart context filters
|
|
210
|
+
prjct review-risk Advisory change-size + delivery-geometry hint (read-only)
|
|
208
211
|
prjct workflow ["config"] Configure hooks via natural language
|
|
209
212
|
prjct stop / restart Background daemon control
|
|
210
213
|
prjct login / logout / auth Cloud sync authentication
|