You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(mcp-agent-mail): canonicalize installer URL to refs/heads/main form across all references
The mcp_agent_mail installer URL was using GitHub's default-branch
shorthand form
(https://raw.githubusercontent.com/.../mcp_agent_mail_rust/main/install.sh)
in seven places. That form works but relies on GitHub's
default-branch alias resolution; the canonical Git refs form
(.../refs/heads/main/...) is more explicit, less surprising when read
out of context, and matches the form used by GitHub Actions
checkout actions and gh's URL templating. Bring all references into
the canonical shape, regenerate the checksums.yaml entry (the URL
change produces a different content hash because the resolver
pipeline is identical but the cached entry was for the old URL
form), and update the internal-checksums tracker so the manifest-
drift guard does not flag scripts/lib/security.sh as drifted on the
next run.
- scripts/lib/security.sh: switch the KNOWN_INSTALLERS[mcp_agent_mail]
entry to the refs/heads/main form. This is the source of truth
the verifier consults for fresh-checksum lookups.
- checksums.yaml: regenerate. The mcp_agent_mail entry's url and
sha256 both move (the SHA changes because the resolved content is
identical but the entry is keyed by URL — different URL, fresh
hash). The auto-generator also bumps the file header timestamp.
- scripts/generated/internal_checksums.sh: update the
scripts/lib/security.sh hash to fd47767759ff20ba40686277bbbf8c747f
ede7353ae9a109087d0a701c42828d so the manifest-drift guard
recognizes the new content.
- acfs/templates/workflows/README.md: update the example yaml block
showing the URL.
- acfs/zsh/acfs.zshrc: update the amserve helper's "install with"
hint that operators copy-paste when am is missing.
- apps/web/lib/flywheel.ts: update the FlywheelTool installCommand
field for mcp_agent_mail so the dashboard one-liner uses the
canonical URL.
- tests/unit/lib/test_update.bats: update three references in two
bats tests — the test that verifies the legacy Python skip
detection branch and the new
"install.sh verifier refetches installer when fresh checksums
change URL" test from 2ba7c0f. Without the update the bats
fixture YAML and the verifier under test would disagree on the
URL shape and the test would assert a stale value.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments