chore: evaluate structured logging per AGENTS.md rule 1 — no addition justified (#47)

- Existing toasts + truncated stderr provide the actionable information for users and errors
- Adding persistent debug logs would introduce state, rotation, and maintenance concerns
- with no demonstrable improvement to UX, decisions, or security for normal operation
- Explicit no-op commit closes the planning issue

Written by AI agent working for @jtmorris. Model: Grok build-0.1.
This commit is contained in:
Vybe (Coding Agent) 2026-05-22 06:34:14 +00:00
parent 5219271be3
commit 0283ce6136

View file

@ -114,6 +114,8 @@ PluginComponent {
} }
// #42 poll-then-act: if a toggle was requested, use the *fresh* state we just received // #42 poll-then-act: if a toggle was requested, use the *fresh* state we just received
// #47: structured logging evaluated and rejected toasts + 120-char stderr already give
// actionable feedback; persistent logs would add state/rotation with no net UX benefit.
if (root._pendingToggle) { if (root._pendingToggle) {
root._pendingToggle = false root._pendingToggle = false
toggleProcess.command = TailscaleLib.buildToggleCommand(root.isConnected) toggleProcess.command = TailscaleLib.buildToggleCommand(root.isConnected)