PAI-Install hardcodes Algorithm v1.4.0 but that version file doesn't exist
Bug
The PAI installer writes v1.4.0 to Components/Algorithm/LATEST and displays Algo v1.4.0 in the startup banner, but no v1.4.0.md Algorithm file exists. The highest shipped version is v1.2.0.md.
Impact
RebuildPAI.tscrashes withENOENT: no such file or directory, open '.../Algorithm/v1.4.0.md'when attempting to rebuildSKILL.md- Startup banner displays a version that doesn't correspond to any real Algorithm content
- Users see conflicting version info: banner says v1.4.0, but the Algorithm header in SKILL.md says v1.2.0
Root Cause
Two hardcoded references in PAI-Install/:
-
engine/actions.ts:464— writesv1.4.0to theLATESTpointer file:try { writeFileSync(latestPath, "v1.4.0\n"); } catch {} -
cli/display.ts:79— hardcodesv1.4.0in the startup banner:print(`...⚙ Algo v1.4.0`);
Existing Algorithm versions
Only three versions exist in Components/Algorithm/:
v1.0.0.mdv1.1.0.mdv1.2.0.md
No v1.3.x or v1.4.x files have ever been created.
Suggested Fix
Option A (if v1.4.0 is aspirational): Create the actual v1.4.0.md Algorithm file with the intended changes, or update the version references to point to a real version file.
Option B (if v1.4.0 was premature): Update both hardcoded references to v1.2.0 (the actual latest) and make the banner read LATEST dynamically instead of hardcoding.
Either way, the installer should not reference a version that doesn't exist — it breaks the rebuild pipeline.
Fixed in a9c0d3f! 🎉
Updated both hardcoded references from v1.4.0 to v1.5.0:
engine/actions.tsline 464: LATEST pointer file now writesv1.5.0cli/display.tsline 79: banner now showsAlgo v1.5.0
The Algorithm v1.3.0, v1.4.0, and v1.5.0 spec files were added in an earlier commit (e9fa62f), so all referenced versions now exist. LATEST correctly points to v1.5.0.
Thanks for the sharp eye!