fix(ci): resolve lint errors and test failures

- Fix errcheck: handle watcher.Close() and Set() return values
- Fix unparam: remove always-nil error from NewActivityWatcher
- Fix unparam: remove unused sinceTime param, delete dead code
- Fix version mismatch: update MCP __init__.py to 0.48.0
- Fix routing tests: change CWD so routing can find town root

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/crew/lydia
2026-01-20 20:50:43 -08:00
committed by Steve Yegge
parent 8807a171d3
commit 83e3c75635
5 changed files with 45 additions and 77 deletions

View File

@@ -23,8 +23,8 @@ Examples:
parentID := args[0]
// Set the parent flag on listCmd, run it, then reset
listCmd.Flags().Set("parent", parentID)
defer listCmd.Flags().Set("parent", "")
_ = listCmd.Flags().Set("parent", parentID)
defer func() { _ = listCmd.Flags().Set("parent", "") }()
listCmd.Run(listCmd, []string{})
},
}