chore: address review feedback on skill hint, triage logging, and archive log level

This commit is contained in:
Nirlep Makwana
2026-11-26 20:47:31 +05:30
parent 7fbe10abed
commit 1860781c82
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1437,7 +1437,7 @@ func warnBrokenSkills(dir string) {
if s.Dir == "" || s.Name == filepath.Base(s.Dir) {
continue
}
slog.Warn("[skill] frontmatter did not parse", "skill", s.Name, "path", filepath.Join(s.Dir, "SKILL.md"))
slog.Warn("[skill] frontmatter did not parse (loaded under directory name; fix YAML in SKILL.md)", "skill", s.Name, "path", filepath.Join(s.Dir, "SKILL.md"))
}
}
+1 -1
View File
@@ -157,7 +157,7 @@ func (s *Server) deleteRemoteTaskArchive(job *pgdb.TaskArchive) error {
}
if err := s.recoverRemoteArchiveJournal(journal); err != nil {
// The task is gone; the durable outbox retries the remaining object cleanup.
slog.Info("[task-archive] archive deleted, remote cleanup pending", "archive_id", job.ID, "err", err)
slog.Warn("[task-archive] archive deleted, remote cleanup pending", "archive_id", job.ID, "err", err)
}
return nil
}
+1 -1
View File
@@ -23,10 +23,10 @@ import (
// no base_url/model returns nil, and report_finding behaves exactly as before.
func (s *Server) triageClient() agent.TriageClient {
id := s.triageProfileID()
slog.Info("[triage] initialized triage client", "profile_id", id)
if id <= 0 {
return nil
}
slog.Info("[triage] initialized triage client", "profile_id", id)
p, err := s.m.pg.ProfileByID(id)
if err != nil || p == nil {
return nil