Repository navigation
fix: distinguish outdated tools from missing tools - #5688
Conversation
|
Speaking as Kun's firstmate: Verdict: Diff reviewed ( contract-class: VISION: Interface honesty — aligns (outdated ≠ missing). Authority explicit — aligns (no auto-upgrade). Scripts — aligns. Restart/spine/vendor — align. Scope — aligns (bootstrap diagnostics). Attestation: MATCH |
488edec to
8423c49
Compare
|
|
Speaking as Kun's firstmate: HEAD Closes #5440: body Contract-class: restore (re-verified tip-vs-main). Concrete existing default bootstrap diagnostic path; skill already distinguished upgrade vs install; script wrongly labeled below-floor as MISSING. No auto-upgrade; detect→ask→act unchanged. VISION.md (each rule)
Attestation: MISMATCH — body still names |
a5cca66 to
d92180e
Compare
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
d92180e to
5760624
Compare
|
Speaking as Kun's firstmate (OSS triage, not the captain). Thanks for re-raising this, @ironerumi. I re-read the thread and checked the new tip against main. What changed since my 2026-09-28 stamp (head
Contract-class: restore (re-verified on the tip; my own verdict)On main, a present but below-floor or feature-incompatible VISION.md, rule by rule
Notes
waiting-ci: nothing is needed from you right now. If CI goes green on |
5760624 to
983ddc5
Compare
|
Speaking as Kun's firstmate (OSS triage, not the captain). Thanks for the new push, @ironerumi. I re-read the thread and checked head Contract-class: restore (re-checked on this tip, my own verdict). On main, a VISION.md, rule by rule: One captain, one interface: aligns (an outdated tool is no longer reported as missing). Authority is explicit: aligns (no automatic upgrades). Scripts own the mechanics: aligns. A restart is a non-event: n/a. Delegation with a spine: aligns. The fleet outlives any vendor: aligns. Scope: aligns (bootstrap diagnostics only). Blocking, on you:
Fork CI didn't need approval on this pass (the runs weren't held). Security: none. This is bootstrap/docs/tests only, with no workflow or secret changes. Once an attested head is fully green and CLEAN, this is an auto-merge candidate as restore. No captain decision is needed. |
983ddc5 to
e762fd2
Compare
|
Speaking as Kun's firstmate (OSS triage, not the captain). Thanks for the new attested head, @ironerumi. I re-checked Contract-class: restore (re-verified). On main, an installed-but-below-floor or capability-missing tool still prints VISION.md: One captain / Authority explicit / Scripts own mechanics / Restart n/a / Delegation / Vendor / Scope: all align (bootstrap diagnostics only; no automatic upgrades). Attestation: MATCH at |
e762fd2 to
b769fd1
Compare
|
Speaking as Kun's firstmate: thanks @ironerumi — tip moved to Contract-class: restore (re-verified). On main, installed-but-below-floor or capability-missing tools still print VISION.md: One captain / Authority / Scripts / Restart n/a / Spine / Vendor / Scope: all align (bootstrap diagnostics only). Attestation: MATCH. NM green. CI on this tip: Behavior portable serial 2 cancelled at the ~30m job window (no failing test; last lines ok then Status: waiting-ci. Auto-merge candidate as restore once fully green and CLEAN. No captain decision. Security: none. |
b769fd1 to
587436d
Compare
detect_local_tools printed "MISSING:" for a treehouse without --lease, a no-mistakes below 1.46.0, a gh-axi below its floor, and an incompatible tasks-axi or quota-axi, so a supervisor read an installed tool as absent and took the first-install remediation again. Report those as "OUTDATED:" with the installed version, the requirement and the tool's own upgrade command: treehouse update, no-mistakes update, gh-axi update and quota-axi update. tasks-axi ships no self-updater, so it keeps its install command. "MISSING:" stays for absent tools only, and lavish-axi keeps PRESENTATION_UNAVAILABLE with its text fallback. Update the bootstrap-diagnostics handler, the AGENTS.md section 13 trigger list and the operator diagnostics in docs/configuration.md, and cover absent, below-floor and at-floor for every floored tool in tests/fm-bootstrap.test.sh.
Rendering the tasks-axi OUTDATED requirement text ran the two `--help` capability probes again after the compatibility check had already run them, including when session start handed bootstrap an incompatible verdict. The check now records the reason behind its verdict - the version floor, or the capability probes the build fails - and reuses it, both within the process and across the existing one-hop handoff, so naming a missing capability costs no second probe pass. A build below the floor is answered by its version alone and never pays for capability probes it cannot use. The bootstrap tests that simulate a tool as absent removed it from the fake bin directory while bootstrap kept searching the fallback base PATH, so a real host install could satisfy the lookup instead of the expected MISSING line. Those cases now hide the tool from the base path as well, and a new case pins the contrast between a bare and a curated fallback. Verified: the touched bootstrap suite passes, and its probe-count and capability assertions fail against the pre-fix scripts. Run with a fallback base PATH carrying real installs of the absent tools, the pre-fix suite fails on "absent treehouse reports a missing tool" while the fixed suite passes every case.
587436d to
dfa5abe
Compare
|
Speaking as Kun's firstmate: thanks for rebasing this again, @ironerumi. It had gone conflicting, and the fresh head is clean. I read head Contract-class (my own read): restore. This is the existing default bootstrap diagnostic path, which mislabeled outdated tools as missing. Closes #5440. VISION.md: One captain / Authority / Scripts / Restart n/a / Delegation / Vendor / Scope: all align (bootstrap diagnostics only, with no automatic upgrades). Where it stands: waiting on CI, nothing needed from you. The attestation binds this head, the no-mistakes check passes, and live validation is 4/4. CI is running and didn't need approval. If it goes fully green and the PR stays mergeable, this is a restore auto-merge candidate on the next pass. |
|
Rebased onto main CI on
The author account cannot rerun CI on this repository. Could a maintainer rerun those two jobs? |
|
Speaking as Kun's firstmate: this is merged. Thank you @ironerumi — really appreciate you taking the time on this. Context: I re-checked head |
Intent
Make the existing upstream pull request #5688 ("fix: distinguish outdated tools from missing tools", closes
#5440) merge-ready again, so the fork's change can land upstream and the fork diverges less.Context: the maintainer's last triage (2026-10-12) was "waiting on CI": nm SUCCESS, attestation MATCH, with an unrelated serial-2 timeout and a Herdr failure, and flagged auto-merge-if-green. The PR is now CONFLICTING with upstream main.
Substance of that PR (issue #5440), as already reviewed: bin/fm-bootstrap.sh reported a tool that is installed but below its version floor, or present but missing a required capability, with the same "MISSING:" line it uses for an absent tool, so a supervisor read an installed tool as missing and repeated the first-install remediation. The accepted design splits the two states: "MISSING:" stays for absent tools only, and a present-but-below-floor tool reports "OUTDATED: (installed: <version|unparseable>; requires <floor|capability>; upgrade: )", where the upgrade command is the tool's own updater (treehouse update, no-mistakes update, gh-axi update, quota-axi update) and never a first-install-only step. tasks-axi ships no self-updater, so it keeps its install command and the line names the missing feature-probe capability; the tasks-axi compatibility probe result and reason are reused across the session-start/bootstrap handoff rather than re-probed. lavish-axi keeps PRESENTATION_UNAVAILABLE with its plain-text fallback. It covers treehouse, no-mistakes, gh-axi, quota-axi and tasks-axi, and updates the bootstrap-diagnostics handler skill, the trigger index, operator docs in docs/configuration.md and README, and tests/fm-bootstrap.test.sh for absent, below-floor and at-floor states. Non-goals: no change to floor values or policy, no change to the absent path, no automatic upgrades.
This run is a conflict-only rebase of that reviewed change onto current main: no new behavior. The only conflict was the bootstrap-diagnostics skill description, which main reworded; the resolution keeps main's wording and adds OUTDATED to its diagnostic list, as the PR did.
What Changed
MISSING:) from installed-but-incompatible tools (OUTDATED:), including versions, requirements, and tool-specific upgrade commands.Risk Assessment
✅ Low: The change is bounded to tool diagnostics, the tasks-axi handoff explanation, and matching operator documentation/tests, with no source-verifiable defect found.
Testing
Focused behavior checks passed for all changed diagnostic states and the session-start handoff. The real product was also driven directly with isolated disposable toolchains; the resulting user-visible diagnostics are captured in the evidence artifact. A broad invocation of the bootstrap test file exceeded its 120-second limit, so acceptance relies on the focused relevant test functions rather than the broader run.
bin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txtbin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txtbin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txttest_tasks_axi_compatibility_is_probed_onceandtest_tasks_axi_verdict_handoff_is_consumed_onceEvidence: Live bootstrap diagnostics
Source: Live bootstrap diagnostics
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txtbin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txtbin/fm-bootstrap.shdisposable-tool fixture transcript: bootstrap-live-diagnostics.txttest_tasks_axi_compatibility_is_probed_onceandtest_tasks_axi_verdict_handoff_is_consumed_oncebash -c '... test_bootstrap_reporting; test_absent_tool_cases_hide_a_real_install_in_the_base_path; test_no_mistakes_min_version; test_gh_axi_min_version; test_lavish_axi_min_version; test_tasks_axi_min_version; test_quota_axi_min_version; test_tasks_axi_verdict_handoff_is_consumed_once'bash -c '... test_tasks_axi_compatibility_is_probed_once'Disposable fake-tool runs ofbin/fm-bootstrap.shfor absent, outdated, unparseable, capability-missing, at-floor, and Lavish states✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.