@zew1me/pi-markdown-backlinks 0.1.1-alpha.185 → 0.1.1-alpha.210

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.
@@ -1,5 +1,18 @@
1
1
  # Attribution
2
2
 
3
+ ## Published-package skills smoke tests
4
+
5
+ - Source: [`nigel-upstart/pi-buildout`](https://github.com/nigel-upstart/pi-buildout)
6
+ - Revisions reviewed:
7
+ [`bbde93f`](https://github.com/nigel-upstart/pi-buildout/commit/bbde93ff33bfc942715f886a6d901df3fc6427b7) and
8
+ [`3d16277`](https://github.com/nigel-upstart/pi-buildout/commit/3d162774f9ec7d38decd8816c1aa3d3d1277de39)
9
+ - License: MIT (Copyright 2026 Nigel Stuke); the root `LICENSE` preserves the notice.
10
+
11
+ Adapted the fork's test design: run the applied-dispatch checks against Pi 1.6.0, exercise both bundled entrypoints, and
12
+ validate baseline manifests before inspecting the fixture. No fork code was copied: the local tests use the actual npm
13
+ package for CLI and RPC instead of reconstructing the entrypoints with stubs. The fork's candidate discovery, single-job
14
+ regeneration, generated artifacts, and release tooling were not adopted.
15
+
3
16
  ## Checkout trust and skill path identity
4
17
 
5
18
  - Source: [`nigel-upstart/pi-buildout`](https://github.com/nigel-upstart/pi-buildout)
@@ -23,6 +36,45 @@ Adapted the fork's empty hook directory and explicit `a/` and `b/` diff prefixes
23
36
  regression test reuses the fork's Git-serialized hook path containing `#`, with a separate fixture process. The fork's
24
37
  patch artifacts, version selection, and release tooling were not adopted.
25
38
 
39
+ ## Automatic subagent completion delivery
40
+
41
+ - Source: [`nigel-upstart/pi-buildout`](https://github.com/nigel-upstart/pi-buildout), revision
42
+ [`1453fafc11158421bb5ad46e91f1ff33cd662b41`](https://github.com/nigel-upstart/pi-buildout/pull/168) (#168), MIT
43
+ (Copyright 2026 Nigel Stuke; notice preserved in `LICENSE`).
44
+ - Design reference: [`earendil-works/pi`](https://github.com/earendil-works/pi), `packages/durable` v1.0.0
45
+ (`a13d35a742c6ef8462812a28fbe1d8c8b7431c32`), MIT. Owner edges and subtree-idle waits were conceptual inspiration;
46
+ Pi's RPC extension-UI `setStatus` and event ordering were API references only.
47
+
48
+ Copied and adapted the fork's background result watchers, notification and consumption behavior, lineage and
49
+ subtree-idle tracking, docs, and tests. No Pi durable code, persistence, replay, router integration, or fork-specific
50
+ release settings were imported. Later local fixes are not from the fork: settlement rechecked after refresh, handled
51
+ prompt dispositions (an idle handled prompt keeps the previous answer), retried descendant confirmation, and releasing a
52
+ delivered result on its own `message_start` or, if it was dropped before settlement, at `agent_settled`.
53
+
54
+ ## Generic subagent signaling
55
+
56
+ - Source: [`nigel-upstart/pi-buildout`](https://github.com/nigel-upstart/pi-buildout), revision
57
+ [`78234ea69545cb690098de05271904ca7e2817bc`](https://github.com/nigel-upstart/pi-buildout/pull/142) (#142), MIT
58
+ (Copyright 2026 Nigel Stuke; notice preserved in `LICENSE`).
59
+ - Protocol reference: [`tintinweb/pi-subagents`](https://github.com/tintinweb/pi-subagents), MIT, v0.22.0
60
+ (`85a704cb8f35c96c0cabfa665b572bab296942e5`) and snapshot `ca93a5247e72e7053fcd10bea7125d6c4205f949`.
61
+
62
+ Copied and adapted the fork's compatible protocol-2 ping/spawn/consume/stop handlers, isolated launch and bundled model
63
+ validation, cancellation and terminal publication, docs, and tests. This is protocol compatibility, not copied tintinweb
64
+ code. Pi's CLI, event bus, and bundled model catalog were API references only. Preserved the local pinned real-Pi
65
+ fixture; no router consumer, profile or workflow management, scheduling, or worktree code was imported.
66
+
67
+ ## Subagent wait results
68
+
69
+ - Source: [`nigel-upstart/pi-buildout`](https://github.com/nigel-upstart/pi-buildout), revision
70
+ [`722d0416f7ab30834621665f32ca3f1f87f5cd88`](https://github.com/nigel-upstart/pi-buildout/pull/136) (#136).
71
+ - License: MIT (Copyright 2026 Nigel Stuke); the root `LICENSE` preserves the notice.
72
+
73
+ Copied and adapted the final-answer RPC tracking, wait result shaping, documentation, and regression tests. Pi's
74
+ published 1.3.0 agent-session, RPC mode, and agent-loop code informed the original queue recovery design: queued user
75
+ messages start before their assistant response, and request-owned markers match that boundary. No Pi queue or scheduling
76
+ code was copied. Fork package metadata, release tests, and router changes were not imported.
77
+
26
78
  ## Subagent context modes from `nigel-upstart/pi-buildout`
27
79
 
28
80
  - Source: `nigel-upstart/pi-buildout`
@@ -131,11 +183,12 @@ Follow-up work adopted three conceptual patterns: explicit, bounded result waiti
131
183
  (tokens, cost, context utilization, compactions, and active tool); and treating an output-limit stop with no assistant
132
184
  text as a failed child run rather than a successful empty result. They were implemented as original code inside the
133
185
  existing single-tool RPC design. No tintinweb code was copied or modified. Major pieces intentionally not adopted
134
- include named/default agent types, custom agent frontmatter, proactive completion notifications, FleetView/widget UI,
186
+ included named/default agent types, custom agent frontmatter, proactive completion notifications, FleetView/widget UI,
135
187
  scheduling, event-bus RPC, persistent memory, worktree isolation, skill preloading, and its three-tool Claude
136
- Code-compatible surface.
188
+ Code-compatible surface. The signaling and completion-delivery backports above later adopted a limited event-bus RPC
189
+ subset and proactive notifications.
137
190
 
138
- ## Pi 1.0.3 `/skills` runtime patch
191
+ ## Pi 1.0.3 `/skills` runtime patch (retired)
139
192
 
140
193
  - Source: `@earendil-works/pi-coding-agent@1.0.3`
141
194
  - Canonical repository: <https://github.com/earendil-works/pi> (`packages/coding-agent`)
@@ -143,15 +196,15 @@ Code-compatible surface.
143
196
  - Source archive: `pi-1.0.3-source.tar.gz`, verified against the release's published `SHA256SUMS`
144
197
  - License declared by the package: MIT
145
198
 
146
- [`pi-overlay/versions/1.0.3/integration.patch`](pi-overlay/versions/1.0.3/integration.patch) adapts the existing opt-in
147
- skills seam to the MIT-licensed 1.0.3 TypeScript sources and documentation. The generated
148
- [`skills.patch`](patches/pi-1.0.3/skills.patch) modifies the published resource loader, slash-command list, CLI and
149
- interactive entry points, and `docs/skills.md`; it adds this repository's original skill-management modules. The patch
150
- reuses Pi's package/resource discovery, project-trust, and `proper-lockfile` APIs, including the adapted lock pattern
151
- described under the TypeScript overlay below. It keeps discovered skills catalog-only, enables explicit global,
152
- repository, and session activation, preserves explicit `--skill` paths when `--no-skills` is used, and leaves Pi's
153
- unrelated extensions, prompts, themes, packages, providers, trust behavior, and bundled chunks unchanged. It does not
154
- copy Pi's automatic skill-loading behavior or its runtime implementation into the overlay.
199
+ [`pi-overlay/versions/1.0.3/integration.patch`][retired-1.0.3-integration] adapts the existing opt-in skills seam to the
200
+ MIT-licensed 1.0.3 TypeScript sources and documentation. The generated `skills.patch` modifies the published resource
201
+ loader, slash-command list, CLI and interactive entry points, and `docs/skills.md`; it adds this repository's original
202
+ skill-management modules. The patch reuses Pi's package/resource discovery, project-trust, and `proper-lockfile` APIs,
203
+ including the adapted lock pattern described under the TypeScript overlay below. It keeps discovered skills
204
+ catalog-only, enables explicit global, repository, and session activation, preserves explicit `--skill` paths when
205
+ `--no-skills` is used, and leaves Pi's unrelated extensions, prompts, themes, packages, providers, trust behavior, and
206
+ bundled chunks unchanged. It does not copy Pi's automatic skill-loading behavior or its runtime implementation into the
207
+ overlay.
155
208
 
156
209
  The `cli-runtime.js` and `rpc-entry.js` replacements are original wrappers written for this repository, not derived from
157
210
  upstream's bundle output; Pi's published `dist/bundle/cli.js` compile-cache loader remains unchanged and is pinned by
@@ -176,7 +229,7 @@ its skill implementation were not copied into the overlay. The original `cli-run
176
229
  reused from the earlier patch; the published `dist/bundle/cli.js` loader is unchanged and checksum-pinned. Inputs come
177
230
  from the verified release archive and npm tarball; no complete Pi source checkout is committed.
178
231
 
179
- ## Pi 1.1.0 `/skills` runtime patch
232
+ ## Pi 1.1.0 `/skills` runtime patch (retired)
180
233
 
181
234
  - Source: `@earendil-works/pi-coding-agent@1.1.0`
182
235
  - Canonical repository: <https://github.com/earendil-works/pi> (`packages/coding-agent`)
@@ -184,17 +237,17 @@ from the verified release archive and npm tarball; no complete Pi source checkou
184
237
  - Source archive: `pi-1.1.0-source.tar.gz`, verified against the release's published `SHA256SUMS`
185
238
  - License declared by the package: MIT
186
239
 
187
- [`pi-overlay/versions/1.1.0/integration.patch`](pi-overlay/versions/1.1.0/integration.patch) adapts the opt-in skills
188
- seam to Pi 1.1.0's MIT-licensed TypeScript sources and documentation. The generated
189
- [`skills.patch`](patches/pi-1.1.0/skills.patch) modifies the published resource loader, slash-command list, CLI and
190
- interactive entry points, and skill documentation. It adds this repository's original skill-management modules and
191
- reuses Pi's package/resource discovery, project-trust, and `proper-lockfile` APIs. It keeps catalog skills inactive
192
- until explicitly enabled, preserves explicit `--skill` paths with `--no-skills`, and does not copy Pi's automatic skill
193
- loading or its skill implementation. The original `cli-runtime.js` wrapper reuses Pi's `setupCli()` path; the original
194
- `rpc-entry.js` wrapper also preserves Pi 1.1.0's process markers and HTTP-dispatcher setup. The published
195
- `dist/bundle/cli.js` loader remains unchanged and checksum-pinned. No complete Pi source checkout is committed.
240
+ [`pi-overlay/versions/1.1.0/integration.patch`][retired-1.1.0-integration] adapts the opt-in skills seam to Pi 1.1.0's
241
+ MIT-licensed TypeScript sources and documentation. The generated `skills.patch` modifies the published resource loader,
242
+ slash-command list, CLI and interactive entry points, and skill documentation. It adds this repository's original
243
+ skill-management modules and reuses Pi's package/resource discovery, project-trust, and `proper-lockfile` APIs. It keeps
244
+ catalog skills inactive until explicitly enabled, preserves explicit `--skill` paths with `--no-skills`, and does not
245
+ copy Pi's automatic skill loading or its skill implementation. The original `cli-runtime.js` wrapper reuses Pi's
246
+ `setupCli()` path; the original `rpc-entry.js` wrapper also preserves Pi 1.1.0's process markers and HTTP-dispatcher
247
+ setup. The published `dist/bundle/cli.js` loader remains unchanged and checksum-pinned. No complete Pi source checkout
248
+ is committed.
196
249
 
197
- ## Pi 1.3.0 `/skills` runtime patch
250
+ ## Pi 1.3.0 `/skills` runtime patch (retired)
198
251
 
199
252
  - Source: `@earendil-works/pi-coding-agent@1.3.0`
200
253
  - Canonical repository: <https://github.com/earendil-works/pi> (`packages/coding-agent`)
@@ -204,17 +257,17 @@ loading or its skill implementation. The original `cli-runtime.js` wrapper reuse
204
257
  - npm tarball: `pi-coding-agent-1.3.0.tgz`, pinned by SHA-256 and registry integrity
205
258
  - License declared by the package: MIT
206
259
 
207
- [`pi-overlay/versions/1.3.0/integration.patch`](pi-overlay/versions/1.3.0/integration.patch) is the 1.1.0 seam rebased
208
- onto Pi 1.3.0's MIT-licensed TypeScript sources and documentation: the added and removed lines are unchanged, and only
209
- hunk positions and blob indexes differ. The generated [`skills.patch`](patches/pi-1.3.0/skills.patch) modifies the
210
- published resource loader, slash-command list, CLI and interactive entry points, and skill documentation, within the
211
- same 48-line seam budget. It adds this repository's original skill-management modules, which compile byte-identically to
212
- the 1.1.0 output, and reuses Pi's package/resource discovery, project-trust, and `proper-lockfile` APIs. It keeps
213
- catalog skills inactive until explicitly enabled, preserves explicit `--skill` paths with `--no-skills`, and does not
214
- copy Pi's automatic skill loading or its skill implementation. The original `cli-runtime.js` and `rpc-entry.js` wrappers
215
- are reused byte-for-byte from 1.1.0 because Pi 1.3.0's `src/cli.ts`, `src/rpc-entry.ts`, and `src/cli/setup.ts` are
216
- unchanged. The published `dist/bundle/cli.js` loader remains unchanged and checksum-pinned. Upstream changes elsewhere
217
- in 1.3.0, including those near the seams, were not adopted. No complete Pi source checkout is committed.
260
+ [`pi-overlay/versions/1.3.0/integration.patch`][retired-1.3.0-integration] is the 1.1.0 seam rebased onto Pi 1.3.0's
261
+ MIT-licensed TypeScript sources and documentation: the added and removed lines are unchanged, and only hunk positions
262
+ and blob indexes differ. The generated `skills.patch` modifies the published resource loader, slash-command list, CLI
263
+ and interactive entry points, and skill documentation, within the same 48-line seam budget. It adds this repository's
264
+ original skill-management modules, which compile byte-identically to the 1.1.0 output, and reuses Pi's package/resource
265
+ discovery, project-trust, and `proper-lockfile` APIs. It keeps catalog skills inactive until explicitly enabled,
266
+ preserves explicit `--skill` paths with `--no-skills`, and does not copy Pi's automatic skill loading or its skill
267
+ implementation. The original `cli-runtime.js` and `rpc-entry.js` wrappers are reused byte-for-byte from 1.1.0 because Pi
268
+ 1.3.0's `src/cli.ts`, `src/rpc-entry.ts`, and `src/cli/setup.ts` are unchanged. The published `dist/bundle/cli.js`
269
+ loader remains unchanged and checksum-pinned. Upstream changes elsewhere in 1.3.0, including those near the seams, were
270
+ not adopted. No complete Pi source checkout is committed.
218
271
 
219
272
  ## Pi 1.6.0 `/skills` runtime patch
220
273
 
@@ -227,7 +280,7 @@ TypeScript sources and skill documentation, including the changed model-resolver
227
280
  this repository's shared skill management and CLI/RPC wrappers. The generated patch contains edits to upstream runtime
228
281
  files and docs; it does not vendor the upstream tree, adopt Pi's auto-loading policy, or rebuild its bundled chunks.
229
282
 
230
- ## Pi 1.5.2 `/skills` runtime patch
283
+ ## Pi 1.5.2 `/skills` runtime patch (retired)
231
284
 
232
285
  - Source: [nigel-upstart/pi-buildout](https://github.com/nigel-upstart/pi-buildout), commit
233
286
  `0704169310246b2b4fe8144f94ad4314c4a382e3`, MIT.
@@ -239,7 +292,7 @@ modifies Pi source and documentation. The generated runtime patch uses this repo
239
292
  path behavior rather than copying downstream's generated skill implementation. Other downstream changes and a complete
240
293
  Pi source checkout were not adopted.
241
294
 
242
- ## Pi 1.4.0 `/skills` runtime patch
295
+ ## Pi 1.4.0 `/skills` runtime patch (retired)
243
296
 
244
297
  - Source: `@earendil-works/pi-coding-agent@1.4.0`
245
298
  - Canonical repository: <https://github.com/earendil-works/pi> (`packages/coding-agent`)
@@ -249,17 +302,16 @@ Pi source checkout were not adopted.
249
302
  - npm tarball: `pi-coding-agent-1.4.0.tgz`, pinned by SHA-256 and registry integrity
250
303
  - License declared by the package: MIT
251
304
 
252
- [`pi-overlay/versions/1.4.0/integration.patch`](pi-overlay/versions/1.4.0/integration.patch) adapts the existing seam
253
- against Pi 1.4.0's MIT-licensed TypeScript sources and documentation. The modified-code patch retains the same additions
254
- and removals as 1.3.0; the interactive-mode hunk positions and blob indexes are refreshed. The generated
255
- [`skills.patch`](patches/pi-1.4.0/skills.patch) changes the resource loader, slash-command list, CLI/interactive
256
- dispatch, and skill documentation within the same 48-line generated-runtime seam budget. It adds this repository's
257
- original skill-management modules unchanged, reusing Pi's package discovery, project trust, path, and locking APIs
258
- rather than copying its skill implementation. The original CLI/RPC wrappers are reused byte-for-byte from 1.3.0 after
259
- reviewing 1.4.0's unchanged entrypoint sources and setup. The unchanged compile-cache loader is checksum-pinned. The
260
- build order follows 1.4.0's root build, with telemetry first. Pi's automatic activation of all discovered skills and
261
- unrelated runtime changes are intentionally not adopted into the overlay; unrelated package files and bundled chunks are
262
- left unchanged. No complete Pi source checkout is committed.
305
+ [`pi-overlay/versions/1.4.0/integration.patch`][retired-1.4.0-integration] adapts the existing seam against Pi 1.4.0's
306
+ MIT-licensed TypeScript sources and documentation. The modified-code patch retains the same additions and removals as
307
+ 1.3.0; the interactive-mode hunk positions and blob indexes are refreshed. The generated `skills.patch` changes the
308
+ resource loader, slash-command list, CLI/interactive dispatch, and skill documentation within the same 48-line
309
+ generated-runtime seam budget. It adds this repository's original skill-management modules unchanged, reusing Pi's
310
+ package discovery, project trust, path, and locking APIs rather than copying its skill implementation. The original
311
+ CLI/RPC wrappers are reused byte-for-byte from 1.3.0 after reviewing 1.4.0's unchanged entrypoint sources and setup. The
312
+ unchanged compile-cache loader is checksum-pinned. The build order follows 1.4.0's root build, with telemetry first.
313
+ Pi's automatic activation of all discovered skills and unrelated runtime changes are intentionally not adopted into the
314
+ overlay; unrelated package files and bundled chunks are left unchanged. No complete Pi source checkout is committed.
263
315
 
264
316
  ## Pi `/skills` TypeScript overlay
265
317
 
@@ -276,8 +328,9 @@ left unchanged. No complete Pi source checkout is committed.
276
328
  published `SHA256SUMS`
277
329
  - License declared by the package: MIT
278
330
 
279
- [`pi-overlay`](pi-overlay) is the authored form of the `/skills` runtime patch; the artifacts under `patches/pi-1.0.3/`,
280
- `patches/pi-1.0.4/`, `patches/pi-1.1.0/`, `patches/pi-1.3.0/`, and `patches/pi-1.4.0/` are generated from it.
331
+ [`pi-overlay`](pi-overlay) is the authored form of the `/skills` runtime patch; the artifacts under
332
+ `patches/pi-<version>/` are generated from it. Patches for Pi releases before 1.6.0, the minimum supported release, are
333
+ retired and no longer retained; their sections above record the upstream sources they were derived from.
281
334
 
282
335
  `pi-overlay/skill-management-core.ts` and `pi-overlay/skill-management.ts` are original code for this repository. They
283
336
  are a TypeScript reimplementation of the `dist/core/skill-management.js` previously authored here as JavaScript,
@@ -351,3 +404,12 @@ Pi's official launcher signatures and managed marker fields informed nonexecutin
351
404
  <https://github.com/earendil-works/pi>, local source revision `741fb3a686f8dcc075f12ea77f985967ced59e21`
352
405
  (`packages/coding-agent/src/package-manager-cli.ts`; MIT), plus the installed official launcher. These are behavioral
353
406
  references only; no launcher code, execution, installation, or self-update machinery was copied or adopted.
407
+
408
+ [retired-1.0.3-integration]:
409
+ https://github.com/zew1me/pi-buildout/blob/8250d571f6346e6ee2788ea0ffd2c1a452d30cd1/pi-overlay/versions/1.0.3/integration.patch
410
+ [retired-1.1.0-integration]:
411
+ https://github.com/zew1me/pi-buildout/blob/8250d571f6346e6ee2788ea0ffd2c1a452d30cd1/pi-overlay/versions/1.1.0/integration.patch
412
+ [retired-1.3.0-integration]:
413
+ https://github.com/zew1me/pi-buildout/blob/8250d571f6346e6ee2788ea0ffd2c1a452d30cd1/pi-overlay/versions/1.3.0/integration.patch
414
+ [retired-1.4.0-integration]:
415
+ https://github.com/zew1me/pi-buildout/blob/8250d571f6346e6ee2788ea0ffd2c1a452d30cd1/pi-overlay/versions/1.4.0/integration.patch
@@ -51,7 +51,7 @@ export default function markdownBacklinksExtension(pi: ExtensionAPI) {
51
51
  });
52
52
 
53
53
  pi.on("before_agent_start", (event) => {
54
- // The supported floor, Pi 1.0.3, normalizes systemPromptOptions, so contextFiles is always present.
54
+ // The supported floor, Pi 1.6.0, normalizes systemPromptOptions, so contextFiles is always present.
55
55
  for (const file of event.systemPromptOptions.contextFiles) {
56
56
  inspectMarkdown(file.path, file.content);
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zew1me/pi-markdown-backlinks",
3
- "version": "0.1.1-alpha.185",
3
+ "version": "0.1.1-alpha.210",
4
4
  "type": "module",
5
5
  "description": "Pi Markdown backlinks extension",
6
6
  "license": "SEE LICENSE IN dist/LICENSE",