refactor(claude-hooks): retire the issue-ref hook #949

Merged
coilyco-ops merged 1 commit from aos/claude/ff54-retire-issue-refs into main 2026-08-26 18:17:39 +00:00
Owner

Rollout half of retiring check-issue-refs.sh. The script itself is deleted in agentic-os, and the up-to-date.py assertion is already dropped in agentic-os-kai (393da23).

Why

The hook policed how an agent spelled a reference in chat rather than anything durable. Its Stop leg also read the transcript slice after the last user record, and tool results are recorded as user, so a tool-heavy turn inspected an empty string rather than the reply.

What unwires

Three tasks, following the retirement pattern this role already uses for the o2r nudge and the agent-compose refresh:

  • the Stop entry this role wrote,
  • the pre-847 agentic-os-kai bridge path, which was already unwiring, and
  • a PreToolUse copy on mcp__forgejo__(create_issue|edit_issue|comment_issue) that no role ever wrote. It exists in a converged host's settings.json as hand-wiring, so unwiring by marker is what keeps it from outliving the hook.

Drop all three once every fleet host has converged past this, per the note in the header block.

🤖 Generated with Claude Code

Rollout half of retiring `check-issue-refs.sh`. The script itself is deleted in agentic-os, and the `up-to-date.py` assertion is already dropped in agentic-os-kai (`393da23`). ## Why The hook policed how an agent spelled a reference in chat rather than anything durable. Its Stop leg also read the transcript slice after the last `user` record, and tool results are recorded as `user`, so a tool-heavy turn inspected an empty string rather than the reply. ## What unwires Three tasks, following the retirement pattern this role already uses for the o2r nudge and the agent-compose refresh: * the Stop entry this role wrote, * the pre-847 agentic-os-kai bridge path, which was already unwiring, and * a PreToolUse copy on `mcp__forgejo__(create_issue|edit_issue|comment_issue)` that **no role ever wrote**. It exists in a converged host's `settings.json` as hand-wiring, so unwiring by marker is what keeps it from outliving the hook. Drop all three once every fleet host has converged past this, per the note in the header block. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
refactor(claude-hooks): retire the issue-ref hook
All checks were successful
TruffleHog / Scan for secrets (pull_request) Successful in 5s
CI / lint (pull_request) Successful in 44s
46c5cd9498
It policed how an agent spelled a reference in chat rather than anything
durable, and its Stop leg read the transcript slice after the last `user`
record, which tool results also occupy, so a tool-heavy turn inspected an
empty string rather than the reply.

Both wirings unwire: the Stop entry this role wrote, and a PreToolUse copy on
the Forgejo issue writers that no role ever wrote and that a converged host
still carries. agentic-os deletes the script.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Kai Siren <coilysiren@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Agent-Role: platform
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/infrastructure!949
No description provided.