prjct-cli 1.56.6 → 1.56.10

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,65 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.56.10] - 2026-04-11
4
+
5
+ ### Bug Fixes
6
+
7
+ - prefer direct Glob/Grep over Explore subagent (#247)
8
+ - chore: dead code purge + architecture docs (v1.56.8) (#246)
9
+
10
+
11
+ ## [1.56.9] - 2026-04-11
12
+
13
+ ### Changed
14
+ - `templates/tools/task.txt`: prefer direct `Glob`/`Grep` for simple
15
+ exploration; only delegate to `Explore` subagent when the search is
16
+ open-ended. Subagents inherit all MCP tool schemas from the parent
17
+ session and can start with heavy context, so prescriptive delegation
18
+ was hurting more than helping.
19
+
20
+ ## [1.56.8] - 2026-04-10
21
+
22
+ ### Removed
23
+ - **Dead code purge (-9400 LOC).** Deleted 43 unused files including the entire
24
+ `core/integrations/` subtree (Linear/Jira integration replaced by the MCP
25
+ gateway CLIs in `core/cli/linear.ts` and `core/cli/jira.ts`), orphan schemas
26
+ (`prd`, `issues`, `permissions`, `agents`, `command-context`, `enriched-task`,
27
+ `project`), orphan services (`skill-service`, `skill-installer`, `skill-lock`,
28
+ `context-selector`, `file-categorizer`, `git-analyzer`), orphan domain files
29
+ (`snapshot-manager`, `architecture-generator`, `context-estimator`,
30
+ `task-stack`), and various agentic/session/utility files.
31
+ - **24 re-export lines** across 16 files (`core/utils/output.ts`,
32
+ `core/utils/error-messages.ts`, `core/commands/maintenance.ts`, and others).
33
+ Import directly from the source module per the no-barrel rule.
34
+ - **Unused functions** trimmed from `core/utils/collection-filters.ts`,
35
+ `core/utils/runtime.ts`, `core/utils/jsonl-helper.ts`,
36
+ `core/utils/subtask-table.ts`, and `core/utils/mcp-config.ts`.
37
+
38
+ ### Added
39
+ - **`knip.json`** and `bun run knip` script for dead code detection. Entry
40
+ points reflect the five build targets from `scripts/build.js` plus tests.
41
+ - **`docs/architecture.md`** — layered architecture walkthrough, retrieval
42
+ triad (BM25 + import graph + git co-change) with ASCII diagram, schemas
43
+ pattern, storage and testing conventions, enforced code rules.
44
+ - **`docs/sqlite-migration.md`** — why v1.24.1 moved from JSON to SQLite,
45
+ what `migrate-json.ts` does, how to inspect `prjct.db` with `sqlite3`,
46
+ and troubleshooting recipes.
47
+ - **56 new tests** across `core/__tests__/sync/` (event-mapper, auth-config,
48
+ sync-client, sync-manager — 39 tests) and
49
+ `core/__tests__/tools/context/token-counter.test.ts` (17 tests).
50
+
51
+ ### Changed
52
+ - **Biome lint rules hardened.** `noUnusedVariables`, `noUnusedImports`, and
53
+ `noVoidTypeReturn` are now `"error"` (were `"warn"`). CI blocks on any
54
+ violation.
55
+ - **`AGENTS.md`** updated with a "Code rules" section (no barrels, SQLite
56
+ only, Biome errors blocking, Zod as source of truth) and references to the
57
+ new architecture docs.
58
+ - **`.gitignore`** no longer ignores `docs/` so documentation is versioned.
59
+
60
+ ### Tests
61
+ - Full suite: **1013 pass / 0 fail** (was 957).
62
+
3
63
  ## [1.56.6] - 2026-04-07
4
64
 
5
65
  ### Bug Fixes