chore(monitor): remove debug logging from check cycle
Some checks failed
CI / test (push) Failing after 3s
Some checks failed
CI / test (push) Failing after 3s
Debug channel events and stderr logging removed — monitor runs silently unless something actually happens. Only real events (agent.complete, inbox.message, harvest.complete) fire now. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
5a234c1179
commit
0fda800e8b
1 changed files with 0 additions and 4 deletions
|
|
@ -167,7 +167,6 @@ func (m *Subsystem) loop(ctx context.Context) {
|
|||
}
|
||||
|
||||
func (m *Subsystem) check(ctx context.Context) {
|
||||
fmt.Fprintf(os.Stderr, "monitor: check cycle running\n")
|
||||
var messages []string
|
||||
|
||||
// Check agent completions
|
||||
|
|
@ -294,7 +293,6 @@ func (m *Subsystem) checkInbox() string {
|
|||
keyFile := filepath.Join(home, ".claude", "brain.key")
|
||||
data, err := coreio.Local.Read(keyFile)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "monitor: checkInbox: no API key (env=%v, file err=%v)\n", apiKeyStr == "", err)
|
||||
return ""
|
||||
}
|
||||
apiKeyStr = data
|
||||
|
|
@ -362,8 +360,6 @@ func (m *Subsystem) checkInbox() string {
|
|||
m.inboxSeeded = true
|
||||
m.mu.Unlock()
|
||||
|
||||
m.debugChannel(fmt.Sprintf("checkInbox: unread=%d, maxID=%d, prevMaxID=%d", unread, maxID, prevMaxID))
|
||||
|
||||
// First check after startup: seed, don't fire
|
||||
if !seeded {
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue