Titles move to the shared standard [source][auto][gandalf][network]
Summary [scope][production][issue], built in one place
(ticket_text.title). Checked by running Tinker's TicketHash.php: every
Gandalf title shape hashes the same as before, so open tickets keep
matching.
Thor can read /api/status, /api/events, /api/attention and
/api/suppressions with a machine key (Authorization: Bearer, only its
SHA-256 in config, read-only, optional source CIDRs; a wrong key is a
401 and never falls back to identity headers). /api/suppressions
?include_ended=1&hours=N returns every suppression in force in the
window with start, planned end, actual end and who ended it: new
ended_at/ended_by columns, added automatically.
Refs #66 (items 1 and 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When an alert that opened a ticket clears, the monitor now comments on the
ticket (when it cleared, how long it lasted, failed checks, a link back).
It never closes or changes a ticket's status. Failed notes retry each
cycle for 24 hours; a 401/403 from Tinker stops them until restart.
Tickets are now Markdown with a "What to check" list and, where known:
the switch port the device plugs into (kept from the last time it was
seen, so a dead host still shows it), cutsheet cables and their path,
how often the alert fired in the last 7/30 days, other open alerts on the
device, and links into Gandalf (gandalf.public_url). Titles are unchanged
so Tinker's duplicate detection still works.
network_events gains recovery_notified, added at monitor startup; rows
that cleared before the upgrade count as already notified.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>