- Decouple getHoseProvisionalAuthLink from internal closeapi session cache to prevent silent truncation and cache pollution (#137)
- Add --force, --refresh, -f options and positive integer validation to auth hose-link
- Clarify distinction between Hose web assistance links and Seal delegation tokens across CLI help, SKILL.md, and docs
- Add modular issue resolution and PR workflow rule under .agents/rules/
ci.yml triggered on push/pull_request for both main and master. master does
not exist on the remote (GitHub's default is main, and the stale remote branch
was deleted), so that filter could never match.
Left alone deliberately: AGENTS.md and bump-version.ts referring to
codex/release-vX.Y.Z, which describe the naming pattern for future release
branches rather than a specific existing one.
`872b617` removed the in-repo `.agents/skills/seal-use` symlink, but two docs
still described it as present, so the repository's own instructions
contradicted the tree:
- AGENTS.md claimed the symlink exists "so workspace and Codex skill loading
keep working". It is gone; loading now uses the global
~/.agents/skills/seal-use copy installed by `seal-use skill install`.
- README.md told readers the symlink mirrors `skills/seal-use`, and pointed
them at a path that no longer resolves.
No code or test depended on the removed path — verified by grepping src/ and
scripts/, which only ever reference the global `~/.agents/skills/seal-use`.
plugin-migration-plan.md also mentions the symlink, but it is a historical
record of that migration and is left as-is.
The read-only MCP tool refused three verbs that only query:
approval-runs search, pick and bridge. #117's changelog claimed pick had
'moved into read-only', which was true of the tool registry but not of the CLI
allow-list — the two are hand-maintained in different files and had drifted.
Adds the missing entries, and a test that derives the pairing mechanically:
every 'action === "x"' in src/cli/commands/* that dispatches to a
runTool("seal_...") must be read-only when the tool it reaches is read-only.
It asserts a minimum number of pairs so a change in dispatch shape cannot make
it silently vacuous, and names its exceptions explicitly — the deploy
<action> short forms (rejected at runtime, so unreachable) and
approval-runs search (an accepted alias of list with no registry row).
Half of these were found by that check rather than by reading the code.
The committed MCP bundle is the only thing that ships, but nothing checked
that it matched src/. The gate could not be added while CI ran
'bun-version: latest': that resolved to 1.4.2, and the minifier allocates
identifiers differently across Bun releases, so the runner rebuilt the
macOS/1.3.14-built bundle into different bytes — identical code, renamed
variables (N/S, A/I, q/p). Measured on #116.
Pin bun-version to 1.3.14 in both workflows, matching the local toolchain and
the @types/bun/bun-types already declared in package.json, then add the diff
gate alongside the existing boot check.
The boot check stays: a bundle that cannot start is invisible to a byte diff
when it is in sync with its broken source, which is exactly how #114 shipped.
The read-only MCP tool refused the whole `seal-use tool <name>` area, because
the 98-entry internal tool registry had no read/write classification. Now it
does: SEAL_READ_ONLY_TOOLS (66) and SEAL_MUTATING_TOOLS (32), exported from
src/domains/seal/tools.ts, with the policy delegating `tool` to them.
The two sets are exhaustive by construction — a test asserts they partition
sealTools exactly — so a newly added tool fails the suite until it is
classified, rather than silently defaulting into one bucket.
Classifying by inspection was not enough. Cross-checking mechanically (every
exported function in src/domains/seal that performs a mutating HTTP call,
mapped to the tools that invoke it) caught a real mistake shipped in #115:
`analytics analyze` was allow-listed as read-only, but it calls
seal_insight_record_analyze, which issues a POST and starts an analysis
server-side. Removed from the CLI allow-list; a comment records why it is
absent, since the name reads like a query.
`approval-runs pick` went the other way into read-only: it dispatches to
seal_approval_run_pick, which is a query over approval runs rather than a
local-state mutation.
Read-only means: reads tenant state, or writes only a local file. Anything
that creates, updates, deletes, publishes, pushes, replays, uploads, activates
or mints a credential counts as mutating. `seal_webhook_material_pack` is
mutating because push mode sends the pack even though preview mode does not;
`seal_approval_runs_export` and `seal_insight_export` are read-only because
they only write a local workbook.
CI disproved the freshness gate on the first run: an ubuntu rebuild of the
macOS-built committed dist/mcp/server.js differs, and the diff is entirely
minified identifier renaming (N->S, A->I, q->p) with identical code. The
minifier does not allocate names reproducibly across platforms and Bun
versions, so a byte-for-byte gate cannot work here without pinning the
toolchain and matching runners.
Keep the check that does hold: boot the freshly built bundle and complete an
MCP handshake. Booting is what #114 actually needed — the byte diff would not
have caught that bug either, since the broken bundle was in sync with its
broken source.
The committed bundle is the only thing that ships, but CI only checked that
it compiled — never that it matched src/, and never that it could start.
- Fail when a fresh build differs from the committed dist/mcp/server.js,
mirroring the existing dist/openapi.json gate, with the same actionable
error. This is viable now: the bundle is byte-reproducible with the current
toolchain (a rebuild of the committed file is byte-identical). Before the
#114 rebuild it was not, which is why this was previously left out.
- Keep booting the freshly built bundle through a handshake, since a bundle
that cannot start is invisible to source-level tests.