NPM exemption for /api/ticket_link_api.php: added on hosts 14 and 42 on 2026-11-26.
Repeated "could not be reopened" comments: cleaned up on 2026-11-26.
Effect on prod
The hourly hwmonDaemon report for closed ticket 703260823 changes. Instead of a "could not be reopened" comment every hour, the next report opens one new ticket, linked to 703260823 with a history comment. Later reports update that new ticket. The other closed tickets that collected these comments behave the same way the next time they're reported.
Unchanged: closed tickets inside the 7-day window still only get a note, because the Workflow Designer requires admin + comment for Closed → Open. That decision is still open.
Promotes `development` to production. Everything here has been on beta since 2026-11-25.
## What's in it
**#124 (closes #123):**
- `dedup_key` on `create_ticket_api.php`.
- Lookup by key (`tickets_api.php?dedup_key=`) and a `?source=` filter.
- A new `api/ticket_link_api.php`.
- `tickets.source`, shown as the creator, with a Source filter on the dashboard.
- Comments the API writes name the reporter.
- Recurrence: a ticket closed more than 7 days ago gets a new linked ticket instead of a note on the closed one.
## Already in place
- **Migration 008:** applied 2026-11-25 to the shared DB.
- **Source backfill:** done (137 hwmonDaemon, 10 gandalf).
- **NPM exemption for `/api/ticket_link_api.php`:** added on hosts 14 and 42 on 2026-11-26.
- **Repeated "could not be reopened" comments:** cleaned up on 2026-11-26.
## Effect on prod
- **The hourly hwmonDaemon report for closed ticket 703260823 changes.** Instead of a "could not be reopened" comment every hour, the next report opens one new ticket, linked to 703260823 with a history comment. Later reports update that new ticket. The other closed tickets that collected these comments behave the same way the next time they're reported.
- **Unchanged:** closed tickets inside the 7-day window still only get a note, because the Workflow Designer requires admin + comment for Closed → Open. That decision is still open.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
From the thor#1 plan: each reporter (gandalf, hwmonDaemon, thor) decides
what "the same problem" is, and Tinker enforces it.
- dedup_key on create_ticket_api.php (scope:subject:kind, A-Za-z0-9_.:-,
case-sensitive). The hash becomes sha256("key:" + key) and the title is
not looked at; an invalid key is a 400. Keyless callers hash exactly as
before (checked over every prod title).
- Recurrence window for every reporter, keyed or not: a match on a ticket
closed under AUTO_REOPEN_WINDOW_DAYS (7) ago reopens it as before
(subject to the Workflow Designer); an older one gets a new ticket that
takes over the dedup slot (tickets.hash stays UNIQUE, the old ticket
gives it up), carries the key, records recurrence_of, is linked
relates_to, and gets a history comment. action: new_recurrence.
- GET api/tickets_api.php?dedup_key= returns the newest ticket with that
key plus its recurrence chain; ?source= filters the list.
- New api/ticket_link_api.php (link/unlink, read_write) through
DependencyService::link()/unlink(), now shared with MCP
link_tickets/unlink_tickets; audit rows record the key name.
- tickets.source records the API key name. Shown as the creator instead of
"System" on the dashboard and ticket page, a Source filter in the
sidebar, source in MCP results and a search_tickets filter. Comments the
create API writes name the reporter instead of a hard-coded
"hwmonDaemon", and system-linked comments display that name.
- Migration 008 (dedup_key, source, recurrence_of). Scripts:
backfill_ticket_source.php (pre-#123 tickets, where certain) and
backfill_dedup_keys.php (mapping file supplied by the app).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Promotes
developmentto production. Everything here has been on beta since 2026-11-25.What's in it
#124 (closes #123):
dedup_keyoncreate_ticket_api.php.tickets_api.php?dedup_key=) and a?source=filter.api/ticket_link_api.php.tickets.source, shown as the creator, with a Source filter on the dashboard.Already in place
/api/ticket_link_api.php: added on hosts 14 and 42 on 2026-11-26.Effect on prod
🤖 Generated with Claude Code
From the thor#1 plan: each reporter (gandalf, hwmonDaemon, thor) decides what "the same problem" is, and Tinker enforces it. - dedup_key on create_ticket_api.php (scope:subject:kind, A-Za-z0-9_.:-, case-sensitive). The hash becomes sha256("key:" + key) and the title is not looked at; an invalid key is a 400. Keyless callers hash exactly as before (checked over every prod title). - Recurrence window for every reporter, keyed or not: a match on a ticket closed under AUTO_REOPEN_WINDOW_DAYS (7) ago reopens it as before (subject to the Workflow Designer); an older one gets a new ticket that takes over the dedup slot (tickets.hash stays UNIQUE, the old ticket gives it up), carries the key, records recurrence_of, is linked relates_to, and gets a history comment. action: new_recurrence. - GET api/tickets_api.php?dedup_key= returns the newest ticket with that key plus its recurrence chain; ?source= filters the list. - New api/ticket_link_api.php (link/unlink, read_write) through DependencyService::link()/unlink(), now shared with MCP link_tickets/unlink_tickets; audit rows record the key name. - tickets.source records the API key name. Shown as the creator instead of "System" on the dashboard and ticket page, a Source filter in the sidebar, source in MCP results and a search_tickets filter. Comments the create API writes name the reporter instead of a hard-coded "hwmonDaemon", and system-linked comments display that name. - Migration 008 (dedup_key, source, recurrence_of). Scripts: backfill_ticket_source.php (pre-#123 tickets, where certain) and backfill_dedup_keys.php (mapping file supplied by the app). Co-Authored-By: Claude Opus 5.5 <[email protected]>