repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

demo: replace suite demos

a96a36317b0e654606c3737f20a6d6d7be53573d

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (86)

.pi/prompts/drive-demo.md

Modified
9 9 Rules:
10 10 - Manual workflow only; never run from check/release gates.
11 11 - Driver files live in `drivers/*.py`; readable, small, commentable.
12 +- Driver names are focused extension names. No `*_suite` drivers.
12 13 - `scripts/demo.py` is engine; drivers contain data/steps only.
13 -- `just demo <name>` delegates to `python3 scripts/demo.py <name>`.
14 -- Batch/all changed-since-release demos run through `python3 scripts/extensions.py demo`.
14 +- `just demo ...` is the public interface; it delegates to `python3 scripts/demo.py ...`.
15 +- Batch/all/changed/list actions live under `just demo` subcommands/flags.
15 16 - README missing → fail. Do not create README silently.
16 17 - Assets land in each target extension: `extensions/<target>/assets/<demo>.gif`.
17 -- README updated only between markers:
18 +- `targets` are README/asset owners, usually exactly one primary extension.
19 +- `extensions` may include support extensions when needed for visible UX.
20 +- README demo block is generated after the H1 title:
18 21 `<!-- demo:<name>:start -->` … `<!-- demo:<name>:end -->`.
22 +- Existing generated demo blocks and `## Demo\n\nNone.` placeholders are removed.
19 23 - No screenshots. GIF is source of truth for visual QA.
21 25 Recording defaults:
26 30 - Pi isolation flags:
27 31 `--no-session --no-context-files --no-skills --no-prompt-templates --no-extensions`
28 32 - Load exact extensions with `-e ./extensions/<name>`.
29 -- For footer concert demos, load footer + client extensions together; do not make ephemeral fixture extensions.
33 +- For footer demos, load footer + client extensions together, but target only `footer`.
34 +- For footer-client demos, load `footer` as support only when it improves visibility; target the client.
35 +- Terminal-only extensions need no demo unless they have a stable visible non-terminal UI.
30 36 - Real LLM/quota calls OK for manual demos.
32 38 Pexpect driving:
65 71 Driver shape:
66 72 ```py
67 -title = "Footer suite"
73 +title = "Footer"
68 74 extensions = ["footer", "context-size", "cost", "vcs-status", "runtime", "quota"]
69 -targets = ["footer", "context-size", "cost", "vcs-status", "runtime", "quota"]
75 +targets = ["footer"]
70 76 cols = 100
71 77 rows = 28
72 78 cwd = "."
73 79 steps = [
74 - ("wait", 5000),
75 - ("command", "/quota", 7000),
76 - ("prompt", "In one short sentence, say what this directory contains.", 16000),
80 + ("wait", 1500),
81 + ("command", "/quota", 0),
82 + ("expect", r"quota|usage|provider", 15000, 2000),
83 + ("prompt", "Count from one to ten, then finish with: footer clients updated.", 0),
84 + ("expect", r"footer clients updated", 30000, 3000),
77 85 ("command", "/footer", 4000),
78 - ("command", "/footer", 6000),
79 - ("prompt", "Now answer with exactly three words: footer status dashboard.", 14000),
86 + ("command", "/footer", 5000),
80 87 ("wait", 6000),
84 91 Supported step ops should stay tiny:
85 92 - `wait(ms)`
86 93 - `type(text[, delay_ms])`
87 -- `send(text)`
94 +- `send(text[, after_ms])`
88 95 - `command(text[, after_ms])` — type text slowly, pause, Enter, wait
89 96 - `prompt(text[, after_ms])` — type prompt slowly, pause, Enter, wait
97 +- `expect(regex, timeout_ms[, hold_ms])` — semantic readiness check; use after `command(..., 0)`/`prompt(..., 0)` when needed
98 +- `ready([timeout_ms])` — broad prompt readiness check
90 99 - `ctrl(key)`
91 100 - `quit()`
93 102 Batch/all demos:
94 -- Use `python3 scripts/extensions.py demo` for all installed demo drivers needing refresh.
95 -- It selects installed drivers whose driver file, target extension, or loaded extension changed since latest release tag.
103 +- Use `just demo changed` for demo drivers needing refresh.
104 +- It selects drivers whose driver file, target extension, or loaded extension changed since latest release tag.
96 105 - It skips unchanged demos and prints `OK demo <name> skipped (unchanged since <tag>)`.
97 -- Use specific names only when debugging or when user asks: `python3 scripts/extensions.py demo <driver> [...]`.
106 +- Use `just demo all` only when explicitly refreshing everything.
107 +- Use `just demo <driver>` for one focused demo.
108 +- Use `just demo <driver> --out /tmp/<driver>.gif --no-install` for disposable smoke renders.
98 109 - Do not force rerender unchanged demos just to satisfy release/readme checks.
99 110 - If no release tag exists, current behavior applies: treat all relevant demos as changed.
101 112 When asked to create a driver:
102 -1. Pick visual story: what user sees, why ext matters.
103 -2. Pick exact extensions and targets.
104 -3. Add/read driver in `drivers/`.
105 -4. Run smoke once to `/tmp/<demo>.gif` first.
106 -5. Ask user to inspect GIF before committing assets/README changes.
113 +1. Pick focused primary extension/story: what user sees, why ext matters.
114 +2. Pick exact support extensions; keep `targets` to README/asset owner(s), usually one.
115 +3. Do not create suite demos that target multiple unrelated extensions.
116 +4. Add/read driver in `drivers/`.
117 +5. Run smoke once: `just demo <demo> --out /tmp/<demo>.gif --no-install`.
118 +6. Ask user to inspect GIF before committing assets/README changes.
108 120 When asked to refresh demos:
109 121 1. For one driver, run `just demo <name>`.
110 -2. For all changed installed drivers, run `python3 scripts/extensions.py demo`.
122 +2. For all changed drivers, run `just demo changed`.
111 123 3. Inspect changed GIFs, not txt, before claiming ready.

.pi/prompts/release.md

Modified
10 10 - Do not commit, tag, push, or publish unless user explicitly says OK after report.
11 11 - Prefer jj if `jj root` succeeds; otherwise git.
12 12 - Stop on unrelated dirty changes, failing checks, missing README/demo assets, or ambiguous release scope.
13 -- Use changed-since-release behavior already in `scripts/extensions.py`; do not rerun unchanged readmes/demos manually unless user asks.
13 +- Use changed-since-release behavior already in `scripts/extensions.py` / `just demo changed`; do not rerun unchanged readmes/demos manually unless user asks.
14 14 - Demos are manual visual QA. Never make them required by `just check`.
16 16 Workflow:
28 28 - `just readme`
29 29 - Verify generated README diffs only touch intended files.
30 30 5. Demo:
31 + - List drivers: `just demo list`.
31 32 - Single/known driver: `just demo <driver>`.
32 - - Batch/all changed-since-release path: `python3 scripts/extensions.py demo`.
33 + - Batch changed-since-release path: `just demo changed`.
34 + - Force all only if asked: `just demo all`.
35 + - Smoke render: `just demo <driver> --out /tmp/<driver>.gif --no-install`.
33 36 - If assets changed, inspect GIFs as source of truth; text output is sanity only.
34 37 6. Dry run:
35 38 - `just publish "--dry-run --no-push"`

drivers/advisor_suite.py

Deleted
deleted file mode 100644
1 -title = "Advisor suite"
3 -extensions = [
4 - "angel",
5 - "devil",
6 - "ghost",
7 - "neko",
8 - "terse",
9 -]
11 -targets = [
12 - "angel",
13 - "devil",
14 - "ghost",
15 - "neko",
16 - "terse",
17 -]
19 -cols = 100
20 -rows = 28
21 -cwd = "."
23 -steps = [
24 - ("wait", 5000),
25 - ("command", "/neko status", 3000),
26 - ("command", "/neko on", 4000),
27 - ("command", "/angel-policy", 3000),
28 - ("command", "/devil Tag and push the first release now, no dry-run needed.", 18000),
29 - ("prompt", "Give a terse safety review of tagging and pushing a release.", 16000),
30 - ("wait", 6000),
31 -]

drivers/ctx.py

Added
new file mode 100644
1 +title = "ctx read compaction"
3 +extensions = [
4 + "ctx",
5 +]
7 +targets = [
8 + "ctx",
9 +]
11 +cols = 100
12 +rows = 28
13 +cwd = "extensions/ctx"
15 +steps = [
16 + ("wait", 5000),
17 + ("prompt", "Use the read tool on ./bun.lock. Then explain in one short sentence what ctx did to the oversized output.", 18000),
18 + ("prompt", "Now use read with offset 120 and limit 8 on ./bun.lock to recover a small hidden slice.", 14000),
19 + ("wait", 6000),

drivers/ctx_demo.py

Deleted
deleted file mode 100644
1 -title = "ctx read compaction"
3 -extensions = [
4 - "ctx",
5 -]
7 -targets = [
8 - "ctx",
9 -]
11 -cols = 100
12 -rows = 28
13 -cwd = "extensions/ctx"
15 -steps = [
16 - ("wait", 5000),
17 - ("prompt", "Use the read tool on ./bun.lock. Then explain in one short sentence what ctx did to the oversized output.", 18000),
18 - ("prompt", "Now use read with offset 120 and limit 8 on ./bun.lock to recover a small hidden slice.", 14000),
19 - ("wait", 6000),
20 -]

drivers/footer.py

Added
new file mode 100644
1 +title = "Footer"
3 +extensions = [
4 + "footer",
5 + "context-size",
6 + "cost",
7 + "vcs-status",
8 + "runtime",
9 + "quota",
10 + "tps",
11 + "model-info",
14 +targets = [
15 + "footer",
18 +cols = 100
19 +rows = 28
20 +cwd = "."
22 +steps = [
23 + ("wait", 5000),
24 + ("command", "/quota", 0),
25 + ("expect", r"quota|usage|provider", 15000, 2000),
26 + ("prompt", "Count from one to ten, then finish with: footer clients updated.", 0),
27 + ("expect", r"footer clients updated", 30000, 3000),
28 + ("command", "/footer", 4000),
29 + ("command", "/footer", 5000),
30 + ("wait", 6000),

drivers/footer_suite.py

Deleted
deleted file mode 100644
1 -title = "Footer suite"
3 -extensions = [
4 - "footer",
5 - "context-size",
6 - "cost",
7 - "vcs-status",
8 - "runtime",
9 - "quota",
10 -]
12 -targets = [
13 - "footer",
14 - "context-size",
15 - "cost",
16 - "vcs-status",
17 - "runtime",
18 - "quota",
19 -]
21 -cols = 100
22 -rows = 28
23 -cwd = "."
25 -steps = [
26 - ("wait", 5000),
27 - ("command", "/quota", 6000),
28 - ("prompt", "In one short sentence, say what this directory contains.", 16000),
29 - ("command", "/footer", 4000),
30 - ("command", "/footer", 6000),
31 - ("prompt", "Now answer with exactly three words: footer status dashboard.", 14000),
32 - ("wait", 6000),
33 -]

drivers/goal.py

Added
new file mode 100644
1 +title = "Goal loop"
3 +extensions = [
4 + "goal",
5 +]
7 +targets = [
8 + "goal",
9 +]
11 +cols = 100
12 +rows = 28
13 +cwd = "."
15 +steps = [
16 + ("wait", 5000),
17 + ("command", "/goal status", 3500),
18 + ("command", "/goal In this demo, answer exactly: goal loop ready.", 18000),
19 + ("command", "/goal status", 6500),
20 + ("wait", 7000),

drivers/goal_suite.py

Deleted
deleted file mode 100644
1 -title = "Goal loop"
3 -extensions = [
4 - "goal",
5 -]
7 -targets = [
8 - "goal",
9 -]
11 -cols = 100
12 -rows = 28
13 -cwd = "."
15 -steps = [
16 - ("wait", 5000),
17 - ("command", "/goal status", 3500),
18 - ("command", "/goal In this demo, answer exactly: goal loop ready.", 18000),
19 - ("command", "/goal status", 6500),
20 - ("wait", 7000),
21 -]

drivers/prune.py

Added
new file mode 100644
1 +title = "Prune recall"
3 +extensions = [
4 + "prune",
5 +]
7 +targets = [
8 + "prune",
9 +]
11 +cols = 100
12 +rows = 28
13 +cwd = "extensions/prune"
15 +steps = [
16 + ("wait", 5000),
17 + ("prompt", "Remember this phrase for the demo: lossless compaction keeps recall searchable.", 12000),
18 + ("command", "/prune-recall compaction all", 5000),
19 + ("command", "/prune demo focus", 8000),
20 + ("wait", 6000),

drivers/prune_suite.py

Deleted
deleted file mode 100644
1 -title = "Prune recall"
3 -extensions = [
4 - "prune",
5 -]
7 -targets = [
8 - "prune",
9 -]
11 -cols = 100
12 -rows = 28
13 -cwd = "extensions/prune"
15 -steps = [
16 - ("wait", 5000),
17 - ("prompt", "Remember this phrase for the demo: lossless compaction keeps recall searchable.", 12000),
18 - ("command", "/prune-recall compaction all", 5000),
19 - ("command", "/prune demo focus", 8000),
20 - ("wait", 6000),
21 -]

drivers/shell_suite.py

Deleted
deleted file mode 100644
1 -title = "Shell suite"
3 -extensions = [
4 - "nu-bang",
5 - "ssh-tools",
6 - "terminal-notifier",
7 - "terminal-signals",
8 -]
10 -targets = [
11 - "nu-bang",
12 - "ssh-tools",
13 - "terminal-notifier",
14 - "terminal-signals",
15 -]
17 -cols = 100
18 -rows = 28
19 -cwd = "."
20 -steps = [
21 - ("wait", 5000),
22 - ("command", "/ssh status", 3000),
23 - ("prompt", "Explain what a Nushell bang command does in Pi.", 14000),
24 - ("command", "!date now | format date '%Y-%m-%d'", 5000),
25 - ("prompt", "Answer with exactly three words: terminal signals ready.", 12000),
26 - ("wait", 6000),
27 -]

drivers/tldr.py

Added
new file mode 100644
1 +title = "TLDR live summary"
3 +extensions = [
4 + "tldr",
5 +]
7 +targets = [
8 + "tldr",
9 +]
11 +cols = 100
12 +rows = 28
13 +cwd = "."
15 +steps = [
16 + ("wait", 1500),
17 + ("command", "/tldr status", 0),
18 + ("expect", r"tldr on|model: current", 10000, 1500),
19 + ("prompt", "Answer exactly: TLDR demo checkpoint complete.", 0),
20 + ("expect", r"TLDR demo checkpoint complete", 30000, 4000),
21 + ("prompt", "Answer exactly: TLDR widget live summary ready.", 0),
22 + ("expect", r"TLDR widget live summary ready", 30000, 5000),
23 + ("wait", 6000),

drivers/tools_suite.py

Deleted
deleted file mode 100644
1 -title = "Tools suite"
3 -extensions = [
4 - "builtin-tools",
5 - "ctx",
6 - "git-safe",
7 - "web",
8 -]
10 -targets = [
11 - "builtin-tools",
12 - "ctx",
13 - "git-safe",
14 - "web",
15 -]
17 -cols = 100
18 -rows = 28
19 -cwd = "."
21 -steps = [
22 - ("wait", 5000),
23 - ("command", "/builtin-tools", 4000),
24 - ("prompt", "Use web_fetch to fetch https://example.com and summarize the page in one sentence.", 16000),
25 - ("prompt", "Use ctx to run a tiny Python count of files in this directory.", 14000),
26 - ("prompt", "Call git_clone_safe for https://github.com/octocat/Hello-World into /tmp/pi-demo-hello-world, then report success briefly.", 18000),
27 - ("wait", 6000),
28 -]

drivers/tps.py

Added
new file mode 100644
1 +title = "Tokens per second"
3 +extensions = [
4 + "footer",
5 + "tps",
6 +]
8 +targets = [
9 + "tps",
12 +cols = 100
13 +rows = 28
14 +cwd = "."
16 +steps = [
17 + ("wait", 5000),
18 + ("prompt", "Count from one to twelve, one item per line, then finish with: tokens streamed.", 18000),
19 + ("wait", 4000),
20 + ("prompt", "Reply with exactly eight short words about streaming token speed.", 14000),
21 + ("wait", 6000),

drivers/tps_suite.py

Deleted
deleted file mode 100644
1 -title = "Tokens per second"
3 -extensions = [
4 - "footer",
5 - "tps",
6 -]
8 -targets = [
9 - "tps",
10 -]
12 -cols = 100
13 -rows = 28
14 -cwd = "."
16 -steps = [
17 - ("wait", 5000),
18 - ("prompt", "Count from one to twelve, one item per line, then finish with: tokens streamed.", 18000),
19 - ("wait", 4000),
20 - ("prompt", "Reply with exactly eight short words about streaming token speed.", 14000),
21 - ("wait", 6000),
22 -]

drivers/workflow_suite.py

Deleted
deleted file mode 100644
1 -title = "Workflow suite"
3 -extensions = [
4 - "cwd",
5 - "diff-review",
6 - "llmiterate",
7 - "pulse",
8 - "q",
9 - "session-rename",
10 - "prompt-autopsy",
11 - "usage",
12 -]
14 -targets = [
15 - "cwd",
16 - "diff-review",
17 - "llmiterate",
18 - "pulse",
19 - "q",
20 - "session-rename",
21 - "prompt-autopsy",
22 - "usage",
23 -]
25 -cols = 100
26 -rows = 28
27 -cwd = "."
29 -steps = [
30 - ("wait", 5000),
31 - ("command", "/session-rename release demo", 3000),
32 - ("command", "/cwd", 3000),
33 - ("command", "/llmiterate status", 4000),
34 - ("command", "/pulse help", 6000),
35 - ("prompt", "Ask me two crisp follow-up questions about Pi extension release automation.", 14000),
36 - ("command", "/q", 6000),
37 - ("command", "/diff-review-cancel", 3000),
38 - ("command", "/usage", 7000),
39 - ("send", "q", 1000),
40 - ("wait", 5000),
41 -]

extensions/angel/README.md

Modified
112 112 - `devil`: adversarial stress-test of an idea. User-initiated.
113 113 - `angel`: paired execution advisor, max-context packet, error-triggered advice, dangerous-command gate.
115 -## Demo
117 -<!-- demo:advisor_suite:start -->
118 -![Advisor suite](assets/advisor_suite.gif)
119 -<!-- demo:advisor_suite:end -->

extensions/angel/assets/advisor_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/builtin-tools/README.md

Modified
29 29 - otherwise: enables them
31 31 UI notifications report changed tools. If no target tools are registered, the command reports that.
33 -## Demo
35 -<!-- demo:tools_suite:start -->
36 -![Tools suite](assets/tools_suite.gif)
37 -<!-- demo:tools_suite:end -->

extensions/builtin-tools/assets/tools_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/context-size/README.md

Modified
43 43 No UI update runs when UI is unavailable.
45 45 Clears footer/status when context usage is unavailable. Clears status on session shutdown.
47 -## Demo
49 -<!-- demo:footer_suite:start -->
50 -![Footer suite](assets/footer_suite.gif)
51 -<!-- demo:footer_suite:end -->

extensions/context-size/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/cost/README.md

Modified
41 41 Cost label shows turn cost, `Σ` session cost, and `` monthly cost. Monthly cost is shown only when it is greater than session cost. Cost label is hidden when all costs are zero.
43 43 Telemetry publishes only when UI exists. Duplicate snapshots are skipped by signature. Read/parse/update errors are swallowed so the agent loop keeps running.
45 -## Demo
47 -<!-- demo:footer_suite:start -->
48 -![Footer suite](assets/footer_suite.gif)
49 -<!-- demo:footer_suite:end -->

extensions/cost/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/ctx/README.md

Modified
59 59 ```json
60 60 { "ctxCompactedRead": true }
63 -## Demo
65 -<!-- demo:tools_suite:start -->
66 -![Tools suite](assets/tools_suite.gif)
67 -<!-- demo:tools_suite:end -->

extensions/ctx/assets/tools_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/cwd/README.md

Modified
28 28 - Uses target cwd session directory config when available.
29 29 - Writes a target session file from in-memory entries when no source session file exists.
30 30 - Completion suggestions for empty prefix: `.`, `..`, `~`.
32 -## Demo
34 -<!-- demo:workflow_suite:start -->
35 -![Workflow suite](assets/workflow_suite.gif)
36 -<!-- demo:workflow_suite:end -->

extensions/cwd/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/devil/README.md

Modified
140 140 ### Irrelevant challenges
142 142 Make `/devil <idea>` more specific. Debate context comes from the current session branch and loaded context.
144 -## Demo
146 -<!-- demo:advisor_suite:start -->
147 -![Advisor suite](assets/advisor_suite.gif)
148 -<!-- demo:advisor_suite:end -->

extensions/devil/assets/advisor_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/diff-review/README.md

Modified
59 59 - Binary files are recorded as skipped.
60 60 - Per-file diff limit: 10 MiB. Total renderable diff limit: 50 MiB. Request body limit: 10 MiB.
61 61 - If all changed files are binary or over limits, review fails with the skipped file list.
63 -## Demo
65 -<!-- demo:workflow_suite:start -->
66 -![Workflow suite](assets/workflow_suite.gif)
67 -<!-- demo:workflow_suite:end -->

extensions/diff-review/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/footer/README.md

Modified
1 1 # footer
3 +<!-- demo:footer:start -->
4 +![Footer](assets/footer.gif)
5 +<!-- demo:footer:end -->
3 7 Shared stable footer renderer for Pi.
5 9 ## Install / load
40 44 Publishes capability state at `Symbol.for("@bugabinga/pi-ext-footer")`: `{ version: 1, loaded: true }`. On quit/reload shutdown, `loaded` becomes `false`.
42 46 Hidden mode swaps in a zero-height footer stub. Shutdown clears segments and footer context.
44 -## Demo
46 -<!-- demo:footer_suite:start -->
47 -![Footer suite](assets/footer_suite.gif)
48 -<!-- demo:footer_suite:end -->

extensions/footer/assets/footer.gif

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

extensions/footer/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/ghost/README.md

Modified
77 77 When hidden, ghost shows a small widget above the editor: `/ghost is running • run /ghost to bring it back`.
79 79 Closing the overlay or Pi session shutdown cleans up the overlay, widget, event log, subscription, and ghost session. Overlay failure also cleans up that state.
81 -## Demo
83 -<!-- demo:advisor_suite:start -->
84 -![Advisor suite](assets/advisor_suite.gif)
85 -<!-- demo:advisor_suite:end -->

extensions/ghost/assets/advisor_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/git-safe/README.md

Modified
48 48 - wraps text `read` results from tracked clone dirs in `<untrusted_external_data marker="...">` markers with a git-specific warning preamble
49 49 - warns when `.git/config` contains `include` or `includeIf`
50 50 - warns when symlinks are present; `core.symlinks=false` stores them as text files
52 -## Demo
54 -<!-- demo:tools_suite:start -->
55 -![Tools suite](assets/tools_suite.gif)
56 -<!-- demo:tools_suite:end -->

extensions/git-safe/assets/tools_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/goal/README.md

Modified
1 1 # goal
3 +<!-- demo:goal:start -->
4 +![Goal loop](assets/goal.gif)
5 +<!-- demo:goal:end -->
3 7 Persistent standing-goal loop for Pi sessions.
5 9 ## Install / load
91 95 - Shared footer integration: emits `footer:segment` id `goal` when `extensions/footer` is loaded.
92 96 - Goals owned by another session show `owned by another session`; mutating commands require `/goal resume` first.
93 97 - `PI_GOAL_PROBE=1` adds `/goal-probe` and writes custom `goal-probe` entries for continuation scheduling checks.
95 -## Demo
97 -<!-- demo:goal_suite:start -->
98 -![Goal loop](assets/goal_suite.gif)
99 -<!-- demo:goal_suite:end -->

extensions/goal/assets/goal.gif

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

extensions/goal/assets/goal_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/llmiterate/README.md

Modified
232 232 Before a job starts, llmiterate rechecks that the marker still exists at the same line with the same prompt hash. If it changed, the job is failed as stale and skipped.
234 234 After the worker finishes, llmiterate rechecks the file. If the same marker is still present at the same line with the same prompt hash, the job is marked failed. Otherwise that job is marked done.
236 -## Demo
238 -<!-- demo:workflow_suite:start -->
239 -![Workflow suite](assets/workflow_suite.gif)
240 -<!-- demo:workflow_suite:end -->

extensions/llmiterate/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/neko/README.md

Modified
50 50 - compacting — between `session_before_compact` and `session_compact`, with a 180s failsafe.
51 51 - error — flashes for 2.5s after an error tool result.
52 52 - sleeping — normal state after 30s without input.
54 -## Demo
56 -<!-- demo:advisor_suite:start -->
57 -![Advisor suite](assets/advisor_suite.gif)
58 -<!-- demo:advisor_suite:end -->

extensions/neko/assets/advisor_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/nu-bang/README.md

Modified
34 34 - Bang input always allows file-completion triggering; non-bang input delegates that decision.
35 35 - Completion JSON accepts Nushell's normal output and salvages malformed quoted list items.
36 36 - `session_shutdown` removes temporary completion dirs still tracked by the extension.
38 -## Demo
40 -<!-- demo:shell_suite:start -->
41 -![Shell suite](assets/shell_suite.gif)
42 -<!-- demo:shell_suite:end -->

extensions/nu-bang/assets/shell_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/prompt-autopsy/README.md

Modified
29 29 - `[CORE]` for everything else
31 31 If no turn has started for the current cwd, it falls back to `ctx.getSystemPrompt()`, writes `[PROMPT]`, and shows an ungrouped notice. Duplicate SDK chunks stay `[CORE]` instead of guessed.
33 -## Demo
35 -<!-- demo:workflow_suite:start -->
36 -![Workflow suite](assets/workflow_suite.gif)
37 -<!-- demo:workflow_suite:end -->

extensions/prompt-autopsy/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/prune/README.md

Modified
1 1 # prune
3 +<!-- demo:prune:start -->
4 +![Prune recall](assets/prune.gif)
5 +<!-- demo:prune:end -->
3 7 Deterministic Pi session compaction with searchable recall.
5 9 ## Install / load
130 134 - `bun test` intentionally excludes `__tests__/real/`.
131 135 - `test:real` uses MiniMax, temp cwd/agentDir/session, `noExtensions: true`, and only prune loaded.
133 -## Demo
135 -<!-- demo:prune_suite:start -->
136 -![Prune recall](assets/prune_suite.gif)
137 -<!-- demo:prune_suite:end -->

extensions/prune/assets/prune.gif

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

extensions/prune/assets/prune_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/pulse/README.md

Modified
94 94 - Writes are refused if a tracked file changed between load and apply.
95 95 - `.pi/pulse.json` is watched and reloaded after changes.
96 96 - Last run state is stored in the session as `pulse-state`.
98 -## Demo
100 -<!-- demo:workflow_suite:start -->
101 -![Workflow suite](assets/workflow_suite.gif)
102 -<!-- demo:workflow_suite:end -->

extensions/pulse/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/q/README.md

Modified
46 46 `/b` returns from the discussion fork to the original session. Without args, it uses the latest assistant `<q-answer>...</q-answer>` block. With text after `/b`, it uses that text directly. With `/b edit`, it opens `VISUAL`, then `EDITOR`, then `vi`, using a temp file. Editor command parsing splits quotes but does not invoke a shell.
48 48 Return validation checks original session file, session id, leaf id, entry count, pending wizard, wizard status, and question index. If validation fails, the answer can be put into the editor or discarded.
50 -## Demo
52 -<!-- demo:workflow_suite:start -->
53 -![Workflow suite](assets/workflow_suite.gif)
54 -<!-- demo:workflow_suite:end -->

extensions/q/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/quota/README.md

Modified
38 38 - Active provider marker: `●`; inactive marker: `◌`.
40 40 OpenAI Codex needs both an auth token and an account id. The account id is read from Pi auth storage first, then `~/.codex/auth.json`.
42 -## Demo
44 -<!-- demo:footer_suite:start -->
45 -![Footer suite](assets/footer_suite.gif)
46 -<!-- demo:footer_suite:end -->

extensions/quota/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/runtime/README.md

Modified
43 43 Refreshes on session start and agent end. UI output is skipped when the session has no UI.
45 45 Clears segment/status when no runtime is detected or session shuts down.
47 -## Demo
49 -<!-- demo:footer_suite:start -->
50 -![Footer suite](assets/footer_suite.gif)
51 -<!-- demo:footer_suite:end -->

extensions/runtime/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/session-rename/README.md

Modified
30 30 - Normalizes generated names: lowercase words, no punctuation, max 3 words.
31 31 - Rejects generic one-word names, tiny edit-distance changes, and previous auto names.
32 32 - Shows temporary UI status while naming. Manual command generation notifies on rename.
34 -## Demo
36 -<!-- demo:workflow_suite:start -->
37 -![Workflow suite](assets/workflow_suite.gif)
38 -<!-- demo:workflow_suite:end -->

extensions/session-rename/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/ssh-tools/README.md

Modified
44 44 - `ssh_edit` requires both remote read and write access.
45 45 - `ssh_bash` runs scripts through remote bash with stdin prefixed by `cd <cwd>`.
46 46 - Remote image MIME detection recognizes `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp` extensions case-insensitively.
48 -## Demo
50 -<!-- demo:shell_suite:start -->
51 -![Shell suite](assets/shell_suite.gif)
52 -<!-- demo:shell_suite:end -->

extensions/ssh-tools/assets/shell_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/terminal-notifier/README.md

Modified
47 47 - otherwise → OSC 777.
49 49 `notify:send` relay always sends, independent of terminal focus. Warning messages get `⚠️`; error messages get `❌`.
51 -## Demo
53 -<!-- demo:shell_suite:start -->
54 -![Shell suite](assets/shell_suite.gif)
55 -<!-- demo:shell_suite:end -->

extensions/terminal-notifier/assets/shell_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/terminal-signals/README.md

Modified
58 58 - `TERM_PROGRAM=iTerm.app`
60 60 Focus tracking is shared through `globalThis`.
62 -## Demo
64 -<!-- demo:shell_suite:start -->
65 -![Shell suite](assets/shell_suite.gif)
66 -<!-- demo:shell_suite:end -->

extensions/terminal-signals/assets/shell_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/terse/README.md

Modified
24 24 - keeps code, tool args, file contents, quoted errors exact
25 25 - pushes terse output: no preamble, no recap, no hedging
26 26 - allows clarity over compression for security, destructive ops, user confusion
28 -## Demo
30 -<!-- demo:advisor_suite:start -->
31 -![Advisor suite](assets/advisor_suite.gif)
32 -<!-- demo:advisor_suite:end -->

extensions/terse/assets/advisor_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/tldr/README.md

Modified
1 1 # tldr
3 +<!-- demo:tldr:start -->
4 +![TLDR live summary](assets/tldr.gif)
5 +<!-- demo:tldr:end -->
3 7 Live TLDR widget above Pi editor.
5 9 ## Install / load
42 46 - Uses in-progress vs completed tense instructions.
43 47 - Disables prompt caching for TLDR requests.
44 48 - Does not scan or redact secrets.
46 -## Demo
48 -None.

extensions/tldr/assets/tldr.gif

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

extensions/tps/README.md

Modified
1 1 # tps
3 +<!-- demo:tps:start -->
4 +![Tokens per second](assets/tps.gif)
5 +<!-- demo:tps:end -->
3 7 Tokens-per-second footer segment for Pi.
5 9 ## Install / load
34 38 - Shared footer present → emits `footer:segment` in `llm` zone.
35 39 - No shared footer → falls back to `ctx.ui.setStatus("tps", ...)`.
36 40 - `session_shutdown`: clears state and removes status/segment.
38 -## Demo
40 -<!-- demo:tps_suite:start -->
41 -![Tokens per second](assets/tps_suite.gif)
42 -<!-- demo:tps_suite:end -->

extensions/tps/assets/tps.gif

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

extensions/tps/assets/tps_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/usage/README.md

Modified
22 22 - Table keys: `Tab`/`←`/`→` switch period, `↑`/`↓` select provider, `Enter`/`Space` expand models, `v` toggles insights, `q`/`Esc` closes.
23 23 - Insights view shows cost-weighted hints for parallel sessions, large context, uncached prompts, long sessions, and top-session concentration.
24 24 - No UI context: command returns without rendering.
26 -## Demo
28 -<!-- demo:workflow_suite:start -->
29 -![Workflow suite](assets/workflow_suite.gif)
30 -<!-- demo:workflow_suite:end -->

extensions/usage/assets/workflow_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/vcs-status/README.md

Modified
67 67 When footer support is present, old `cwd` and `vcs` status text keys are cleared before footer segments are emitted. Without footer support, footer segments are cleared before status text is set.
69 69 Non-VCS dirs show cwd only. Status refreshes on session start, agent end, and tool execution end. Git and jj commands time out after 2500 ms. Segments/status keys are cleared on session shutdown.
71 -## Demo
73 -<!-- demo:footer_suite:start -->
74 -![Footer suite](assets/footer_suite.gif)
75 -<!-- demo:footer_suite:end -->

extensions/vcs-status/assets/footer_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

extensions/web/README.md

Modified
67 67 - Z.AI calls MCP tool `web_search_prime`; `ZAI_SEARCH_FRESHNESS` accepts `day`, `week`, `month`, `year`, or no-limit values.
68 68 - DuckDuckGo fallback throttles requests to at least 2 seconds apart and reports captcha/dedup diagnostics.
69 69 - `understand_image` sends the prompt and image data to MiniMax VLM. It accepts HTTP/HTTPS URLs, data URLs, and local files. Local file data is base64 encoded before the request.
71 -## Demo
73 -<!-- demo:tools_suite:start -->
74 -![Tools suite](assets/tools_suite.gif)
75 -<!-- demo:tools_suite:end -->

extensions/web/assets/tools_suite.gif

Deleted
deleted file mode 100644

Previous version contains binary or non-UTF-8 data.

justfile

Modified
16 16 publish flags="":
17 17 python3 scripts/extensions.py publish {{ flags }}
19 -demo name:
20 - python3 scripts/demo.py {{ name }}
19 +demo *args:
20 + python3 scripts/demo.py {{ args }}
22 22 goal-pexpect idea="1":
23 23 python3 scripts/test_goal_pexpect.py --idea {{ idea }}

scripts/demo.py

Modified
6 6 import argparse
7 7 import importlib.util
8 +import re
8 9 import shutil
9 10 import subprocess
10 11 import sys
108 109 if not isinstance(step, tuple) or not step:
109 110 raise SystemExit(f"invalid step: {step!r}")
110 111 op = step[0]
111 - if op not in {"wait", "type", "send", "command", "prompt", "ctrl", "quit"}:
112 + if op not in {"wait", "type", "send", "command", "prompt", "expect", "ready", "ctrl", "quit"}:
112 113 raise SystemExit(f"unknown step op: {op!r}")
113 114 if op == "wait" and not (len(step) == 2 and isinstance(step[1], int)):
114 115 raise SystemExit(f"wait step must be ('wait', ms): {step!r}")
115 - if op in {"type", "send"} and not (len(step) in {2, 3} and isinstance(step[1], str)):
116 - raise SystemExit(f"{op} step must include text: {step!r}")
117 - if op in {"command", "prompt"} and not (len(step) in {2, 3} and isinstance(step[1], str)):
118 - raise SystemExit(f"{op} step must include text: {step!r}")
116 + if op in {"type", "send"} and not (len(step) in {2, 3} and isinstance(step[1], str) and (len(step) == 2 or isinstance(step[2], int))):
117 + raise SystemExit(f"{op} step must be ('{op}', text[, delay_ms]): {step!r}")
118 + if op in {"command", "prompt"} and not (len(step) in {2, 3} and isinstance(step[1], str) and (len(step) == 2 or isinstance(step[2], int))):
119 + raise SystemExit(f"{op} step must be ('{op}', text[, after_ms]): {step!r}")
120 + if op == "expect" and not (len(step) in {3, 4} and isinstance(step[1], str) and isinstance(step[2], int) and (len(step) == 3 or isinstance(step[3], int))):
121 + raise SystemExit(f"expect step must be ('expect', regex, timeout_ms[, hold_ms]): {step!r}")
122 + if op == "ready" and not (len(step) in {1, 2} and (len(step) == 1 or isinstance(step[1], int))):
123 + raise SystemExit(f"ready step must be ('ready'[, timeout_ms]): {step!r}")
119 124 if op == "ctrl" and not (len(step) == 2 and isinstance(step[1], str) and len(step[1]) == 1):
120 125 raise SystemExit(f"ctrl step must be ('ctrl', key): {step!r}")
121 126 if op == "quit" and len(step) != 1:
173 178 pump(child, delay)
181 +def expect_regex(child: pexpect.spawn, pattern: str, timeout_ms: int, hold_ms: int = 300) -> None:
182 + try:
183 + child.expect(pattern, timeout=timeout_ms / 1000)
184 + except pexpect.TIMEOUT as e:
185 + raise SystemExit(f"expect timed out after {timeout_ms}ms: {pattern}") from e
186 + for data in (child.before, child.after):
187 + if isinstance(data, str) and data:
188 + sys.stdout.write(data)
189 + sys.stdout.flush()
190 + pump(child, hold_ms / 1000)
176 193 def run_step(child: pexpect.spawn, step: tuple) -> bool:
177 194 op = step[0]
178 195 if op == "wait":
193 210 pump(child, 0.45)
194 211 child.send("\r")
195 212 pump(child, (step[2] if len(step) > 2 else 12000) / 1000)
213 + elif op == "expect":
214 + expect_regex(child, step[1], step[2], step[3] if len(step) > 3 else 300)
215 + elif op == "ready":
216 + expect_regex(child, r"(›|❯|> )", step[1] if len(step) > 1 else 30000, 300)
196 217 elif op == "ctrl":
197 218 child.sendcontrol(step[1])
198 219 pump(child, 0.5)
229 250 raise SystemExit(f"missing tool(s): {', '.join(missing)}")
232 -def record(driver: Driver) -> tuple[Path, Path, Path]:
253 +def record(driver: Driver, gif_out: Path | None = None) -> tuple[Path, Path, Path]:
233 254 ensure_tools()
234 255 OUT.mkdir(exist_ok=True)
235 256 cast = OUT / f"{driver.name}.cast"
236 - gif = OUT / f"{driver.name}.gif"
257 + gif = gif_out or OUT / f"{driver.name}.gif"
237 258 txt = OUT / f"{driver.name}.txt"
259 + gif.parent.mkdir(parents=True, exist_ok=True)
239 261 cmd = [
240 262 "asciinema", "rec",
297 +DEMO_SECTION_RE = re.compile(
298 + r"\n*## Demo\n\n<!-- demo:[^:\n]+:start -->.*?<!-- demo:[^:\n]+:end -->\n*",
299 + re.DOTALL,
301 +DEMO_BLOCK_RE = re.compile(
302 + r"\n*<!-- demo:[^:\n]+:start -->.*?<!-- demo:[^:\n]+:end -->\n*",
303 + re.DOTALL,
305 +DEMO_NONE_RE = re.compile(r"\n*## Demo\n\nNone\.\n*", re.DOTALL)
308 +def strip_demo_blocks(text: str) -> str:
309 + text = DEMO_SECTION_RE.sub("\n\n", text)
310 + text = DEMO_BLOCK_RE.sub("\n\n", text)
311 + text = DEMO_NONE_RE.sub("\n\n", text)
312 + return re.sub(r"\n{3,}", "\n\n", text).strip() + "\n"
275 315 def update_readme(readme: Path, driver: Driver) -> None:
276 - text = readme.read_text()
277 - start = f"<!-- demo:{driver.name}:start -->"
278 - end = f"<!-- demo:{driver.name}:end -->"
316 + text = strip_demo_blocks(readme.read_text())
279 317 block = readme_block(driver)
281 - if start in text and end in text:
282 - before, rest = text.split(start, 1)
283 - _, after = rest.split(end, 1)
284 - readme.write_text(before + block + after)
285 - return
287 - addition = f"\n\n## Demo\n\n{block}\n"
288 - readme.write_text(text.rstrip() + addition)
318 + lines = text.splitlines()
319 + for i, line in enumerate(lines):
320 + if line.startswith("# "):
321 + updated = "\n".join(lines[: i + 1]).rstrip() + "\n\n" + block + "\n\n" + "\n".join(lines[i + 1:]).lstrip()
322 + readme.write_text(updated.rstrip() + "\n")
323 + return
324 + raise SystemExit(f"README missing H1 title: {readme}")
291 327 def install_assets(driver: Driver, gif: Path) -> None:
298 334 print(f"OK asset {name}/assets/{driver.name}.gif")
337 +def driver_names() -> list[str]:
338 + return sorted(path.stem for path in DRIVERS.glob("*.py") if not path.name.startswith("__"))
341 +def git(*args: str, check: bool = True, capture: bool = False) -> subprocess.CompletedProcess[str]:
342 + return subprocess.run(
343 + ["git", *args],
344 + cwd=ROOT,
345 + check=check,
346 + text=True,
347 + stdout=subprocess.PIPE if capture else None,
348 + stderr=subprocess.PIPE if capture else None,
352 +def latest_release_tag() -> str | None:
353 + proc = git("tag", "--list", "v*", "--sort=-creatordate", capture=True)
354 + tags = [line.strip() for line in proc.stdout.splitlines() if line.strip()]
355 + return tags[0] if tags else None
358 +def changed_since_release(path: Path, tag: str | None) -> bool:
359 + rel = str(path.relative_to(ROOT))
360 + if git("status", "--porcelain", "--", rel, capture=True).stdout.strip():
361 + return True
362 + if not tag:
363 + return True
364 + return git("diff", "--quiet", tag, "--", rel, check=False).returncode != 0
367 +def driver_watch_paths(driver: Driver) -> list[Path]:
368 + paths = [DRIVERS / f"{driver.name}.py"]
369 + paths.extend(EXTENSIONS / name for name in sorted(set(driver.targets + driver.extensions)))
370 + return paths
373 +def changed_driver_names(names: list[str]) -> list[str]:
374 + tag = latest_release_tag()
375 + changed: list[str] = []
376 + for name in names:
377 + driver = load_driver(name)
378 + if any(changed_since_release(path, tag) for path in driver_watch_paths(driver)):
379 + changed.append(name)
380 + else:
381 + print(f"OK demo {name} skipped (unchanged since {tag})")
382 + return changed
385 +def print_drivers() -> None:
386 + for name in driver_names():
387 + driver = load_driver(name)
388 + print(f"{name}\ttargets={','.join(driver.targets)}\textensions={','.join(driver.extensions)}")
391 +def run_demo(name: str, *, no_install: bool, gif_out: Path | None) -> list[Path]:
392 + driver = load_driver(name)
393 + cast, gif, txt = record(driver, gif_out)
394 + print(f"OK cast {cast}")
395 + print(f"OK gif {gif}")
396 + print(f"OK txt {txt}")
397 + if not no_install:
398 + install_assets(driver, gif)
399 + return [EXTENSIONS / target for target in driver.targets]
400 + return []
403 +def selected_names(items: list[str], all_flag: bool, changed_flag: bool) -> tuple[list[str], bool]:
404 + if items and items[0] == "all":
405 + return driver_names(), False
406 + if items and items[0] == "changed":
407 + names = items[1:] or driver_names()
408 + return changed_driver_names(names), True
409 + if all_flag:
410 + return driver_names(), False
411 + if changed_flag:
412 + names = items or driver_names()
413 + return changed_driver_names(names), True
414 + return items, False
301 417 def main() -> int:
302 - parser = argparse.ArgumentParser()
303 - parser.add_argument("name", nargs="?")
304 - parser.add_argument("--drive", dest="drive_name")
305 - parser.add_argument("--no-install", action="store_true")
418 + parser = argparse.ArgumentParser(description="Record interactive Pi extension demo GIFs")
419 + parser.add_argument("items", nargs="*", help="driver name(s), or subcommand: list | all | changed")
420 + parser.add_argument("--drive", dest="drive_name", help=argparse.SUPPRESS)
421 + parser.add_argument("--no-install", action="store_true", help="record only; do not copy assets/update README")
422 + parser.add_argument("--out", type=Path, help="GIF output path; valid with exactly one driver")
423 + parser.add_argument("--all", action="store_true", help="record all drivers")
424 + parser.add_argument("--changed", action="store_true", help="record drivers changed since latest v* tag")
425 + parser.add_argument("--list", action="store_true", help="list drivers")
306 426 args = parser.parse_args()
308 428 if args.drive_name:
309 429 return drive(load_driver(args.drive_name))
310 - if not args.name:
311 - raise SystemExit("usage: scripts/demo.py <driver>")
430 + if args.list or (args.items and args.items[0] in {"list", "ls"}):
431 + print_drivers()
432 + return 0
313 - driver = load_driver(args.name)
314 - cast, gif, txt = record(driver)
315 - print(f"OK cast {cast}")
316 - print(f"OK gif {gif}")
317 - print(f"OK txt {txt}")
318 - if not args.no_install:
319 - install_assets(driver, gif)
434 + names, was_changed = selected_names(args.items, args.all, args.changed)
435 + if not names:
436 + if was_changed:
437 + print("OK demo none")
438 + return 0
439 + print_drivers()
440 + return 0
441 + if args.out and len(names) != 1:
442 + raise SystemExit("--out requires exactly one driver")
444 + touched: set[Path] = set()
445 + for name in names:
446 + touched.update(run_demo(name, no_install=args.no_install, gif_out=args.out))
447 + print(f"OK demo {name}")
320 448 return 0

scripts/extensions.py

Modified
341 341 def changed_since_release(path: Path) -> bool:
342 + rel = str(path.relative_to(ROOT))
343 + if git("status", "--porcelain", "--", rel, capture=True).stdout.strip():
344 + return True
342 345 tag = latest_release_tag()
343 346 if not tag:
344 347 return True
345 - rel = str(path.relative_to(ROOT))
346 348 return git("diff", "--quiet", tag, "--", rel, check=False).returncode != 0