ceulen 0.15.1 → 0.15.2
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,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.2 — 2026-10-08
|
|
4
|
+
|
|
5
|
+
Deferred-tier re-evaluation from live session usage (211 transcripts, 13K tool
|
|
6
|
+
calls). Four tools promoted from `tool_search`-only back to always-declared:
|
|
7
|
+
|
|
8
|
+
- **munin_search / munin_get** — the Memory Protocol is injected into every
|
|
9
|
+
configured session and its before-acting rule is a search; the old deferred
|
|
10
|
+
tier forced a discovery round-trip in front of the protocol's own workflow.
|
|
11
|
+
- **github** — the top user among deferred tools (61 calls/17 sessions, all
|
|
12
|
+
pre-dating the deferred pass). Since deferral, release verification did not
|
|
13
|
+
discover it via tool_search and fell back to raw bash gh, forfeiting the
|
|
14
|
+
wrapper's deadline, output cap, and read-only guardrails.
|
|
15
|
+
- **ux_audit** — every ux_* skill routes into it pre-code; the ux module is
|
|
16
|
+
always loaded, so the deferred tier was a pure-latency detour.
|
|
17
|
+
|
|
18
|
+
52 tools stay discover-only (serena, a2a, web cold tools, sg, fff extras,
|
|
19
|
+
munin store/list/…, jfind, cron, shell, notify, rule_get). Declared block goes
|
|
20
|
+
~438 → ~507 tokens, still ~47% below the pre-deferral ~955. Docs swept
|
|
21
|
+
(AGENTS.md module-convention + module sections, README tool-loading, stale
|
|
22
|
+
defaultTools docstring); +registry tier guard test.
|
|
23
|
+
|
|
3
24
|
## 0.15.1 — 2026-10-08
|
|
4
25
|
|
|
5
26
|
pi 1.1.0 compatibility (audit found the API diff purely additive — SettingsManager,
|
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ In `~/.pi/agent/settings.json` or a trusted project's `.pi/settings.json` — a
|
|
|
174
174
|
|
|
175
175
|
The core set — router, usage, ux, classifier, composer, advisor, and the `/config` panel itself — is always on and never appears in the kill-switch list.
|
|
176
176
|
|
|
177
|
-
**Tool loading**: most tools register *deferred* — not declared to the model, loaded on demand by `tool_search` (pi activates it for you).
|
|
177
|
+
**Tool loading**: most tools register *deferred* — not declared to the model, loaded on demand by `tool_search` (pi activates it for you). Declared every request: the hot core (subagent, herdr, todo, write_plan, ask_user_question, apply_patch, str_replace_editor, web_search/extract/screenshot/interact, ffgrep/fffind, advisor, classify, think) plus four tools promoted in the 2026-10-08 usage re-eval — `munin_search`, `munin_get`, `github`, `ux_audit`. Everything else stays discover-only, keeping the standing token cost small no matter how many tools ceulen ships.
|
|
178
178
|
|
|
179
179
|
## License
|
|
180
180
|
|
|
@@ -48,6 +48,18 @@ describe("isProjectTrusted", () => {
|
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
+
describe("deferredTools tiers", () => {
|
|
52
|
+
// 2026-10-08 usage re-eval: these four were promoted from deferred to
|
|
53
|
+
// direct. A registry edit that silently reverts them must fail here.
|
|
54
|
+
it("keeps the promoted hot tools out of every deferred list", async () => {
|
|
55
|
+
const { MODULES } = await import("./registry.js");
|
|
56
|
+
const allDeferred = new Set(MODULES.flatMap((m) => m.deferredTools ?? []));
|
|
57
|
+
for (const hot of ["munin_search", "munin_get", "github", "ux_audit"]) {
|
|
58
|
+
assert.equal(allDeferred.has(hot), false, `${hot} must stay direct`);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
|
|
51
63
|
describe("MODULES load order", () => {
|
|
52
64
|
// The steering entry must stay behind every before_agent_start prompt
|
|
53
65
|
// rewriter (its ds-anchor bootstrap REPLACES the final prompt; a rewriter
|
|
@@ -124,10 +124,20 @@ export const MODULES: ModuleEntry[] = [
|
|
|
124
124
|
// ── Appearance ─────────────────────────────────────────────────────────
|
|
125
125
|
{ name: "usage", core: true, category: "Appearance", describe: "Subscription-usage footer (5h/weekly/monthly windows + credits).", load: usageModule },
|
|
126
126
|
{ name: "composer", core: true, category: "Appearance", describe: "Composer shape for the input editor — pick one in /config with a live preview. Core: always on.", load: composerModule, config: composerConfig },
|
|
127
|
-
|
|
127
|
+
// ux_audit is DIRECT (2026-10-08 usage re-eval): every ux_* skill routes to
|
|
128
|
+
// it, it must run pre-code in the ux workflow, and it has no fs/network side
|
|
129
|
+
// effects. The ux module is CORE (always loaded), so registration alone
|
|
130
|
+
// declares it — no tool_search detour to start the UX discipline.
|
|
131
|
+
{ name: "ux", core: true, category: "Appearance", describe: "Anti-slop UI/UX design discipline: /ux modes, ux_audit tool, design skills. No status-bar footprint.", load: uxModule, config: uxConfig },
|
|
128
132
|
// ── Memory ─────────────────────────────────────────────────────────────
|
|
133
|
+
// munin_search + munin_get are DIRECT (2026-10-08 usage re-eval): the Memory
|
|
134
|
+
// Protocol is injected into every configured session and its before-acting
|
|
135
|
+
// rule is a search — forcing a tool_search round-trip first was pure
|
|
136
|
+
// latency. The remaining six stay deferred: store/list/recent/delete/
|
|
137
|
+
// capabilities/share are needed only after search/get evidence is in hand
|
|
138
|
+
// (and store/delete/share stay behind plan mode's BLOCKED_TOOLS).
|
|
129
139
|
{ name: "munin", category: "Memory", describe: "Munin long-term memory tools (search/get/store/list/recent/delete/capabilities/share) + memory protocol. Config at project level.", load: muninModule, config: muninConfig, deferredTools: [
|
|
130
|
-
"
|
|
140
|
+
"munin_store", "munin_list", "munin_recent", "munin_delete", "munin_capabilities", "munin_share",
|
|
131
141
|
] },
|
|
132
142
|
// ── Tasks ──────────────────────────────────────────────────────────────
|
|
133
143
|
{ name: "ponytail", category: "Tasks", describe: "Lazy-senior-dev mode: prompts, skills, subagent instructions.", load: ponytailModule, config: ponytailConfig },
|
|
@@ -179,7 +189,12 @@ export const MODULES: ModuleEntry[] = [
|
|
|
179
189
|
// gh after web: same class of external-fetch tooling; fail-open on a missing
|
|
180
190
|
// gh binary (registers nothing until installed). Read-only ops only, so
|
|
181
191
|
// plan mode auto-allows it (plan-tools.ts READ_ONLY_TOOLS).
|
|
182
|
-
|
|
192
|
+
// github is DIRECT (2026-10-08 usage re-eval): 61 calls across 17 sessions
|
|
193
|
+
// made it the top deferred-tool user — and every one of them happened in the
|
|
194
|
+
// pre-deferral direct era. After the deferred pass, release verification did
|
|
195
|
+
// not discover it via tool_search at all and fell back to raw bash gh,
|
|
196
|
+
// forfeiting the wrapper's deadline, output cap, and read-only guardrails.
|
|
197
|
+
{ name: "gh", category: "Tools", describe: "GitHub tool over the gh CLI: repo/file/PR views, PR diff, five search flavors, Actions run_watch. Read-only; mutating flows stay on bash gh.", load: ghModule, config: ghConfig },
|
|
183
198
|
// sg after gh: the same external-binary fail-open shape, for ast-grep.
|
|
184
199
|
{ name: "sg", category: "Tools", describe: "Structural search & rewrite via the ast-grep CLI: ast_grep search, ast_edit dry-run-default rewrites. Registers nothing until ast-grep/sg is installed.", load: sgModule, deferredTools: ["ast_grep", "ast_edit"] },
|
|
185
200
|
// notify: harmless desktop ping (bell fallback), herdr multi-pane ergonomics.
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* Pi's built-in tools as /config toggles over the `defaultTools` setting.
|
|
3
3
|
*
|
|
4
4
|
* Rows live on the Tools tab ("Built-in tools" section): one toggle per
|
|
5
|
-
* built-in tool plus the
|
|
6
|
-
* tool_search). The stock four (read, bash, edit, write) default on — pi
|
|
5
|
+
* built-in tool plus codemode (the built-in extension tool). The stock four (read, bash, edit, write) default on — pi
|
|
7
6
|
* enables exactly those unless `defaultTools` changes them. A plain-list
|
|
8
7
|
* write only replaces the BUILT-IN startup selection; extension tools with
|
|
9
8
|
* `defaultActive: true` still self-activate, so ceulen's tools are never
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
//
|
|
3
3
|
// Ported from @bacnh85/pi-munin 0.5.12 extensions/index.ts (SDK vendored to
|
|
4
4
|
// lib/sdk.ts; dotenv dropped — ceulen's bundle env.ts ingests trusted .env).
|
|
5
|
-
// Registers the 8 munin_* tools (
|
|
5
|
+
// Registers the 8 munin_* tools (search/get direct; the other six deferred —
|
|
6
|
+
// tool_search loads them),
|
|
6
7
|
// /munin-status, the Munin Memory Protocol injection (only when configured),
|
|
7
8
|
// the tool_result error sanitizer, and the munin skill (resources_discover).
|
|
8
9
|
// Config lives at PROJECT level (.pi/settings.json `munin` section) — see
|
|
@@ -68,9 +69,8 @@ const MUNIN_PROTOCOL_HEADER = `## Munin Memory Protocol
|
|
|
68
69
|
|
|
69
70
|
Use Munin to recover and preserve verified project knowledge, not as a task log.
|
|
70
71
|
If Munin is unavailable, state that briefly when it matters and continue from
|
|
71
|
-
repository evidence.
|
|
72
|
-
load
|
|
73
|
-
rest of the session).
|
|
72
|
+
repository evidence. munin_search/munin_get are always declared; the other
|
|
73
|
+
munin_* tools load on demand with one tool_search call for "munin".
|
|
74
74
|
|
|
75
75
|
### Before acting
|
|
76
76
|
|
package/package.json
CHANGED