feat(sable): report Sable updates from MCP get_version (#77) #91

Merged
jfro merged 1 commit from feat/77-sable-updates into main 2026-11-28 18:20:35 +00:00
Owner

What changed

PR #91 makes the Sable source report Sable updates from MCP get_version (notes:false, never check:true) as an updates signal, with development builds and missing tools or grants handled as the team decided. It has no GitHub fallback. The tests fail on main and pass on the branch (C27), and CI and precommit are green (C29).

Fixes #77

Red, then green

  • The Sable source asks get_version with notes:false and reports a newer release (or up to date, or a development build with no update info) as an updates signal, skipping it as 'needs Sable 1.6 + updates.read' without the tool or grant; main has no update reporting for Sable.: bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix test test/lamplighter/sources/sable_test.exs'
    • fails on the base (b43f616): exit 1
    • passes on the branch (b30b77b): exit 0

Checks

  • Forgejo CI passes on b30b77b, and mix precommit (warnings as errors, format, full suite of 1296 tests) passes on the branch. (Upper Wolfjaw): bash -o pipefail -c 'curl -sf -H "Authorization: token $FORGEJO_TOKEN" https://git.knope.dev/api/v1/repos/jfro/lamplighter/commits/b30b77b/status | jq -e ".state == \"success\"" && source ~/.rmenv && export PATH=$HOME/.local/bin:$PATH && eval "$(mise activate bash --shims)" && env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix precommit 2>&1 | tail -3', exit 0
  • Read the diff against main (notes:false only, dev builds, missing tool/grant skipped, no GitHub fallback) and the 29 Sable tests pass; untested against a real Sable 1.6, fixtures only. (Prover): bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix test test/lamplighter/sources/sable_test.exs', exit 0

Shipping it

  • Goes live when it merges: no. Merging to main only runs CI; images are built and published only when Jeremy pushes a v* tag with mise run release.
  • Undo: a revert puts it back.
  • Not tried on the real thing: A real Sable 1.6 get_version answer: the result shape is the proposal in drudge/sable#233, so the parser was tested only against fixtures built from it, plus variants (string versions, a leading v, missing and extra fields).
  • For later: Existing Sable sources whose token lacks updates.read get no update signal, and their connection test and context summary note 'get_version skipped: needs Sable 1.6 + updates.read'. Adding the grant turns it on. A GitHub releases fallback for older Sables is still Jeremy's call (D22).

Prover

Passed (Sonnet): Read the diff against main (notes:false only, dev builds, missing tool/grant skipped, no GitHub fallback) and the 29 Sable tests pass; untested against a real Sable 1.6, fixtures only.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed PR #91 makes the Sable source report Sable updates from MCP get_version (notes:false, never check:true) as an updates signal, with development builds and missing tools or grants handled as the team decided. It has no GitHub fallback. The tests fail on main and pass on the branch (C27), and CI and precommit are green (C29). Fixes #77 ## Red, then green - The Sable source asks get_version with notes:false and reports a newer release (or up to date, or a development build with no update info) as an updates signal, skipping it as 'needs Sable 1.6 + updates.read' without the tool or grant; main has no update reporting for Sable.: `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix test test/lamplighter/sources/sable_test.exs'` - fails on the base (b43f616): exit 1 - passes on the branch (b30b77b): exit 0 ## Checks - Forgejo CI passes on b30b77b, and mix precommit (warnings as errors, format, full suite of 1296 tests) passes on the branch. (Upper Wolfjaw): `bash -o pipefail -c 'curl -sf -H "Authorization: token $FORGEJO_TOKEN" https://git.knope.dev/api/v1/repos/jfro/lamplighter/commits/b30b77b/status | jq -e ".state == \"success\"" && source ~/.rmenv && export PATH=$HOME/.local/bin:$PATH && eval "$(mise activate bash --shims)" && env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix precommit 2>&1 | tail -3'`, exit 0 - Read the diff against main (notes:false only, dev builds, missing tool/grant skipped, no GitHub fallback) and the 29 Sable tests pass; untested against a real Sable 1.6, fixtures only. (Prover): `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_77p mix test test/lamplighter/sources/sable_test.exs'`, exit 0 ## Shipping it - Goes live when it merges: no. Merging to main only runs CI; images are built and published only when Jeremy pushes a v* tag with mise run release. - Undo: a revert puts it back. - Not tried on the real thing: A real Sable 1.6 get_version answer: the result shape is the proposal in drudge/sable#233, so the parser was tested only against fixtures built from it, plus variants (string versions, a leading v, missing and extra fields). - For later: Existing Sable sources whose token lacks updates.read get no update signal, and their connection test and context summary note 'get_version skipped: needs Sable 1.6 + updates.read'. Adding the grant turns it on. A GitHub releases fallback for older Sables is still Jeremy's call (D22). ## Prover Passed (Sonnet): Read the diff against main (notes:false only, dev builds, missing tool/grant skipped, no GitHub fallback) and the 29 Sable tests pass; untested against a real Sable 1.6, fixtures only. Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.4 milestone 2026-11-28 18:13:30 +00:00
feat(sable): report Sable updates from MCP get_version (#77)
All checks were successful
CI / test (pull_request) Successful in 1m15s
b30b77b7f3
Sable 1.6+ reports its own update check through the get_version MCP tool
(needs updates.read). Lamplighter asks it with notes:false and never asks it
to check again, and turns the answer into an "updates" signal: failing while
a newer release is out (with the cluster nodes still behind), ok when up to
date, and ok with 'development build, no update info' for dev builds.

The result shape is the proposal in drudge/sable#233, so it's read
tolerantly (string or map versions, leading v, missing or extra fields).
Without the tool or the grant it's skipped as 'needs Sable 1.6 +
updates.read'. No GitHub releases fallback (D22/D24).
jfro merged commit e350dc2e6d into main 2026-11-28 18:20:35 +00:00
jfro deleted branch feat/77-sable-updates 2026-11-28 18:20:35 +00:00
Sign in to join this conversation.
No description provided.