Problem
Firstmate's bootstrap needs Treehouse >=2.0.1 and durable lease support for guarded pool recovery and cleanup. The prior check could accept multiline treehouse --version output when the first line was a supported canonical version, such as:
v2.0.1
unexpected diagnostic
That can treat a malformed or wrapped executable as compatible even though downstream lifecycle safety depends on canonical version and lease behavior.
Expected behavior
Accept exactly one canonical version line at or above v2.0.1, then retain the existing durable-lease capability check. Reject multiline, malformed, pre-floor, or lease-incompatible output through the existing installation diagnostic.
Contribution
PR #1247 implements the bounded correction and regression coverage. Its configured validation is green with low risk. It preserves the existing upgrade-consent path, backend scoping, durable lease check, and guarded cleanup behavior.
Because the repository belongs to kunchenguid, an upstream maintainer must review and merge the contribution.
Problem
Firstmate's bootstrap needs Treehouse
>=2.0.1and durable lease support for guarded pool recovery and cleanup. The prior check could accept multilinetreehouse --versionoutput when the first line was a supported canonical version, such as:That can treat a malformed or wrapped executable as compatible even though downstream lifecycle safety depends on canonical version and lease behavior.
Expected behavior
Accept exactly one canonical version line at or above
v2.0.1, then retain the existing durable-lease capability check. Reject multiline, malformed, pre-floor, or lease-incompatible output through the existing installation diagnostic.Contribution
PR #1247 implements the bounded correction and regression coverage. Its configured validation is green with low risk. It preserves the existing upgrade-consent path, backend scoping, durable lease check, and guarded cleanup behavior.
Because the repository belongs to
kunchenguid, an upstream maintainer must review and merge the contribution.