pi-ext
bugabingas pi extensions
owned by bugabinga
docs: update changelog and goldfish plan
40457934d8d4bf4013e7465af23ff1d815435ec8
Review <review@example.invalid> ·
unsigned
Browse filesCompare with HEAD
Changed files (2)
21 21 only text such as `???`
22 22 - Ignore leaked internal planning notes and debug punctuation patterns such as
23 23 `Need ...?`, `Wait ...?!`, and hedged command markers like `? / maybe`
24 +- Keep direct prompts starting with `Now` or `Also` eligible for q extraction
24 25 - Avoid treating signature-like parenthesized parameters such as
25 26 `forget(target?, reason?)` as q questions
26 27 - Add `Alt+Q` as a shortcut for `/q` and notify after assistant messages when
38 39 skills, context files, prompt templates, or thinking
39 40 - Add a q corpus regression test that validates the extractor against the
40 41 gzip-compressed corpus and explains how to build the missing corpus
42 42 - Fix goldfish startup so bare boolean `--goldfish` enables the gate after
43 43 session start, uses `pi.exec` for checks, and keeps normal tools visible while
44 44 hard-blocking them until `task.create` succeeds
docs/super/plans/2026-06-22-goldfish.md
Modified 34 34 type TaskStatus = "idle" | "active" | "done" | "abandoned";
36 36 type GoldfishTask = {
39 - doneCommand: string;
40 - doneTimeoutSeconds: number;
46 - lastResult?: string;
39 + doneCommand: string;
40 + doneTimeoutSeconds: number;
46 + lastResult?: string;
95 - "name":
"@bugabinga/pi-ext-goldfish",
99 - "devDependencies": {
100 - "@marcfargas/pi-test-harness":
"^0.6.1",
103 - "peerDependencies": {
104 - "@earendil-works/pi-coding-agent":
"*" 107 - "description":
"Task-gated Pi tool use experiment.",
108 - "keywords": [
"pi",
"pi-extension"],
95 + "name":
"@bugabinga/pi-ext-goldfish",
99 + "devDependencies": {
100 + "@marcfargas/pi-test-harness":
"^0.6.1",
103 + "peerDependencies": {
104 + "@earendil-works/pi-coding-agent":
"*" 107 + "description":
"Task-gated Pi tool use experiment.",
108 + "keywords": [
"pi",
"pi-extension"],
135 135 import goldfishExtension from "../index";
137 137 describe("goldfish pi-test-harness", () => {
138 - let t: TestSession | undefined;
138 + let t: TestSession | undefined;
145 - it("loads in real Pi extension runtime", async () => {
146 - t = await createTestSession({ extensionFactories: [goldfishExtension] });
145 + it("loads in real Pi extension runtime", async () => {
146 + t = await createTestSession({ extensionFactories: [goldfishExtension] });
148 - expect(t.session.extensionRunner.extensions).toHaveLength(1);
148 + expect(t.session.extensionRunner.extensions).toHaveLength(1);