Files
skillshare/scripts/pi/version-evidence.json
Willie 9788d486f7 feat(pi): edit extensions on any Pi at or above the verified minimum (#367)
* feat(pi): edit extensions on any Pi at or above the verified minimum

Pi 1.0.1 was released and every user who updated found the Extensions
tab read-only, because the gate matched an exact list of versions. The
package contract has not changed between patch releases, so the gate now
accepts any plain X.Y.Z at or above PiMinVersion (0.99.2), the oldest
version with executed evidence. Older, prerelease or unparsable versions
stay read-only.

The version matrix now also records Pi 1.0.1, which passes every check.
The evidence test requires PiMinVersion to be recorded and every recorded
version to pass, instead of matching an exact list.

The read-only reason is renamed to unsupportedVersion and the API returns
minVersion, so the dashboard says which version is needed.

The Pi MCP project switch keeps writing the global command or url: from
1.0.1 Pi accepts a switch-only entry, but it is skipped by older Pi and
warns at every start where the global config lacks the server. Its
rationale in comments and docs is updated to say so.

* fix(docs): update Pi extensions design records for the minimum gate

Codex review on #367: the design records still described the exact
version list (PiVerifiedVersions, unverifiedVersion, "exact versions
only"), so a contributor relying on them would implement or validate the
old contract. implementation-report.md now states the current gate and
evidence, and phase-0.md gains a dated minimum-version update that the
older paragraphs point to, keeping the history intact.
2026-10-04 02:26:59 +08:00

83 lines
2.0 KiB
JSON

{
"package": "@earendil-works/pi-coding-agent",
"node": "v24.21.0",
"date": "2026-10-03",
"versions": [
{
"version": "0.99.2",
"integrity": "sha512-6R1BZ2N77CrVcGf3eC2KovTz1Q4RYiAeydvVWQT546N2fi1nBc81aURlbOZCgruWoW9VY/UrLzDynF4YTolpoA==",
"passed": true,
"checks": [
{
"name": "contract/core",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "contract/bundle",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "native-lock",
"exit": 0
},
{
"name": "project-native",
"exit": 0
}
]
},
{
"version": "1.0.0",
"integrity": "sha512-/FtbxoSQU/mEv1QnichJjRjqteqaIaMWxmhB4G367+MwZfX7/DI5B9YAg5lqbN7nztFskBEtUSZ+FlmMBECtMw==",
"passed": true,
"checks": [
{
"name": "contract/core",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "contract/bundle",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "native-lock",
"exit": 0
},
{
"name": "project-native",
"exit": 0
}
]
},
{
"version": "1.0.1",
"integrity": "sha512-B7FGYpHpBPvS+Ux16CbCuVnE9S4v6c2h6ykocPNarC4msD/4JM/eFrCrO2wbRkedJZ25myFozSWHvCOx4QnN+w==",
"passed": true,
"checks": [
{
"name": "contract/core",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "contract/bundle",
"exit": 0,
"summary": "# 34 scenarios, 141 assertions passed"
},
{
"name": "native-lock",
"exit": 0
},
{
"name": "project-native",
"exit": 0
}
]
}
]
}