pi-dev-flow 0.57.0 → 0.57.1
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 +6 -0
- package/docs/development.md +6 -6
- package/package.json +1 -1
- package/src/projectmd.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ Format: newest first. `Unreleased` collects what's merged but not yet tagged.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.57.1] - 2026-10-23
|
|
8
|
+
|
|
9
|
+
### Removed
|
|
10
|
+
|
|
11
|
+
- **The dogfood shim is gone — one global dev-flow copy is the only source.** `.pi/extensions/dev-flow.ts`, the committed one-line re-export that made every session in this checkout load the working tree, was itself a second registered extension beside the global npm install — the exact two-sources hazard the README warns about (pi dedupes extensions by path, not by package), and the copy `flow version` had started naming in this very repo. Sessions here now load the single global install (`pi update --extensions` reconciles it after a release, `/reload` carries it into a running session); `pi -e .` stays the explicit way to dogfood the working tree. The `flow doctor` probe that demanded the shim, its test, and the `development.md` dogfood paragraph were removed with it.
|
|
12
|
+
|
|
7
13
|
## [0.57.0] - 2026-10-23
|
|
8
14
|
|
|
9
15
|
### Changed
|
package/docs/development.md
CHANGED
|
@@ -7,12 +7,12 @@ npm i && npm test # unit tests + wiring smoke test (node --test)
|
|
|
7
7
|
pi -e . run /flow status # try it against any repo
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
Sessions in this checkout load the **single global dev-flow install** (`pi update --extensions`
|
|
11
|
+
reconciles it after a release, `/reload` brings it into a running session) — there is deliberately no
|
|
12
|
+
`.pi/extensions/` pointer here: a committed shim beside the global package loads two copies of the
|
|
13
|
+
extension in one process (pi dedupes by path, not by package — see the README's two-sources
|
|
14
|
+
warning), which is what the shim used to cause. To dogfood the working tree instead of the
|
|
15
|
+
installed copy, point pi at it explicitly for that run: `pi -e .`.
|
|
16
16
|
|
|
17
17
|
A release cannot update a session that is already running — pi keeps the code it loaded at startup.
|
|
18
18
|
After merging and tagging, `/reload` in every session that must carry the new behavior.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-dev-flow",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.1",
|
|
4
4
|
"description": "Enforced feature workflow for Pi: plan → implement → pre-release → release, gated checkpoints, self-improvement reflections, one git worktree per feature, changelog + publish as part of the release",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
package/src/projectmd.ts
CHANGED
|
@@ -362,12 +362,6 @@ export function doctorFindings(root: string, cfg: Config, md: ParsedMd | null):
|
|
|
362
362
|
if (cfg.commands.dev && !healthProbe(cfg)) f.push("dev deploy configured but no health check — flow verify cannot prove the deploy came back serving this build: add commands.health or a flow-check health block");
|
|
363
363
|
if (!cfg.checkList.length) f.push("implement tier-1 gates nothing — no test, no health, no flow-check block: 'flow check' would pass vacuously");
|
|
364
364
|
for (const g of ghostFeatureDirs(root)) f.push(`${g} has a plan/ but no state.json — ghost of a closed or aborted feature (flow init offers to remove it)`);
|
|
365
|
-
// dev-flow must load its own working code in its own checkout: the committed .pi shim is the only thing that guarantees it
|
|
366
|
-
if (pkgRaw && (pkgRaw as { name?: unknown }).name === "pi-dev-flow") {
|
|
367
|
-
const shim = path.join(root, ".pi", "extensions", "dev-flow.ts");
|
|
368
|
-
if (!existsSync(shim) || !readFileSync(shim, "utf8").includes("../../extensions/dev-flow.ts"))
|
|
369
|
-
f.push("dogfood shim .pi/extensions/dev-flow.ts is missing or does not re-export ../../extensions/dev-flow.ts — sessions in this checkout will not load the current code");
|
|
370
|
-
}
|
|
371
365
|
return f;
|
|
372
366
|
}
|
|
373
367
|
|