Phase 15 (v0.1.13): gap-fill batch — 5 new subcommands#22
Merged
Conversation
hermes ships 42 top-level subcommands; merlion had 21. Heavy lifts
(dashboard, kanban, profile, acp) and Nous-specific commands (claw,
slack-manifest, computer-use) are deferred; everything else got
batched here. Spawned 5 parallel subagents to build the modules; main
thread serialized the wire-up in main.rs.
- `status` — already aliased to `doctor` via clap; no-op confirmation.
- `dump` — plain-text setup snapshot for bug reports (version, OS,
config redacted, env-var presence matrix, credential files, store
sizes, MCP servers, gateway state, cron jobs, log tails). Never
prints secrets — only env-var names.
- `debug share` — tar.gz bundle: redacted config + .env-with-values
-stripped + last-N lines of each log file + MCP/fallback yamls.
Multi-layer redaction including pattern-based scrubbing of
sk- / xoxb- / xapp- / Telegram bot tokens in log tails.
- `checkpoints {stats,list,prune,vacuum}` — sessions.db management.
Prune is transactional + supports humantime durations
(`--older-than 30d`); cascades through messages and FTS rows.
- `hooks {list,test}` — config-driven shell-script hooks at agent
lifecycle events (before_tool / after_tool / session_start /
session_end). Adds `hooks:` section to merlion_config::Config. Hooks
are NOT yet wired into the agent loop — that's a follow-up phase.
- `uninstall [--yes] [--keep-data] [--keep-binary]` — stops gateway
daemon, removes ~/.merlion/, classifies the running binary's path
and prints the right `brew uninstall` / `cargo uninstall` command.
Never deletes its own running binary.
`merlion --help` now lists 25 subcommands (was 20) plus `status`
alias. 14 new unit tests across the 5 modules.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
`hermes` ships 42 top-level subcommands; merlion had 21. This PR closes the easy quality-of-life gap with 5 new subcommands, built by 5 parallel subagents.
Also adds `hooks:` field to `merlion_config::Config` (with `#[serde(default)]` so existing config files still load).
Deferred (each its own future phase): lsp, webhook, whatsapp, pairing, insights, dashboard, kanban, profile, acp, plugins, external memory providers. Skipped: claw (Nous-specific), computer-use (macOS screen control), slack manifest helpers (gateway adapter already exists).
Test plan
🤖 Generated with Claude Code