prjct-cli 2.49.1 → 2.50.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 +10 -0
- package/dist/bin/prjct-core.mjs +266 -266
- package/dist/daemon/entry.mjs +203 -203
- package/dist/mcp/server.mjs +145 -145
- package/dist/templates.json +1 -1
- package/package.json +1 -1
- package/templates/skills/prjct/SKILL.md +13 -0
package/package.json
CHANGED
|
@@ -66,6 +66,19 @@ Heavy quality workflows (`review`, `qa`, `security`, `investigate`, `audit`, `au
|
|
|
66
66
|
|
|
67
67
|
**CONTENT LANGUAGE — author every stored memory in ENGLISH**, no matter what language the user speaks (Spanish, Japanese, German — any). When you `capture`/`remember`, translate the intent into a clean English entry; the persisted knowledge is always English. LLMs comprehend English better and embeddings stay high-quality in one canonical language — mixed-language content produces cross-language retrieval noise and extra token cost on every later recall.
|
|
68
68
|
|
|
69
|
+
## Loop discipline — stop, delegate, or audit (keep the orchestrator thin)
|
|
70
|
+
|
|
71
|
+
Concrete triggers that keep the main thread thin and stop you from working forward over a broken state. When one fires, do the action BEFORE continuing. These do NOT contradict `default DIRECT` — they mark WHEN direct stops being safe.
|
|
72
|
+
|
|
73
|
+
| Trigger | Do this before continuing |
|
|
74
|
+
|---|---|
|
|
75
|
+
| Reading **4+ files** just to understand a flow | Delegate exploration to a fresh-context subagent (`general-purpose`, `model: "sonnet"`) — it returns the map; your context stays clean. |
|
|
76
|
+
| Touching **2+ non-trivial files** | Keep ONE writer (no fan-out onto shared files), then a fresh `review` before you call it done. |
|
|
77
|
+
| About to **commit / push / open a PR** after code changes | Run `review` first — skip ONLY for a trivial docs/text/version diff. |
|
|
78
|
+
| **Wrong cwd, worktree/git accident, merge recovery, or a confusing test/env failure** | STOP. Re-orient or run `audit` before any more edits — never debug forward over a broken state. |
|
|
79
|
+
|
|
80
|
+
Model on EVERY dispatch (quick-reference — never omit `model:`): the implementer that writes code → `model: "opus"`; any reviewer/judge (`review`/`security`/`investigate`/`audit-spec`) → `model: "sonnet"`; pure routing/orchestration → `model: "haiku"`. Rationale + fan-out rules in `workflows.md`.
|
|
81
|
+
|
|
69
82
|
## Verb intent map — you run the verb, the user never types it
|
|
70
83
|
|
|
71
84
|
On every turn ask: "what is the user trying to accomplish?" and match to a verb below. The user may phrase intent in ANY language — the verbs are language-agnostic. These are *signals*, not phrase templates. The **Tier** column governs whether you auto-run or confirm first (see Routing).
|