feat(mesh): !archy command — node status over the mesh, no AI #72
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/mesh-archy-command"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
!aisends the question to a language model.!archynever does — it reads the same status caches that/bitcoin-statusand/electrs-statusserve, so answers are deterministic, cost no tokens, and stay available when the assistant is switched off.Changes
mesh/listener/node_cmd.rs:strip_archy_trigger+run_node_cmd, sub-commandsstatus(default),btc,electrs,version, else a usage hint. Replies are single-frame terse to respect airtime.is_sender_allowed) and reply routing unchanged —blocked,allowed_contacts,trusted_onlyand federation-Trustedall behave identically.is_sender_allowed/send_replywidened from private topub(super); no logic touched.!archydoes not requireassistant_enabled, since it never calls a model. Turning the LLM off shouldn't take node status with it. Worth a second opinion if you disagree.decode.rs) and typed 1:1 chat (dispatch.rs). Hooking only one would make it work from a phone but not the UI. Factored the shared reply-routing closure indecode.rsrather than duplicating it.docs/COMMANDS.md— user-facing surface for mesh, voice and HTTP. No command reference existed before;meshroller-integration-design.mdnow cross-references it.Checklist
Note for the reviewer
Not exercised against real hardware. The trust gate is shared with
!ai, so a regression there would affect both — the mesh suite passing is reassuring but not a substitute for a radio test.🤖 Generated with Claude Code