You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split harness-ops session hooks into session-telemetry and plugin-diagnostics - part 1 of 3 #16438
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Understood: this is part 1 of 3 of #16437, which splits the harness-ops session hooks into session-telemetry and plugin-diagnostics. Its done-when is that the guardrails suite passes, including a headless settings-write ask that returns a block with a reason. The issue doesn't say which pieces of the split belong to this part. Parts 2 and 3 are #16436-style siblings (see the open "part 2 of 3" and "part 3 of 3" issues) and are related, not duplicates. No merged pull request appears to already cover this.
Decision recorded. Owner, 2026-11-16: "go w/ recomendations". The recommendation was to close #16517, #16438 and #16437 on guardrails' unit suites plus the #16438 headless transcript, with the criterion "a headless settings-write ask returning a block with a reason" reworded to "the guard fires with its reason and the write is blocked".
Both guards run from guardrails: feat(guardrails)!: move the settings-write ask and connected-page gate into guardrails #16543 merged as dceb40c8b5d6e6704850c0416adf28e16f249563. plugins/guardrails/hooks/ on main holds settings-write-ask.mjs and connected-page-gate.mjs with their test files, and no check run failed at the merged head 859539c87a294bbd6b4eb48e94a60c4924f3ecfd.
always-on.yaml no longer lists context-budget; harness-upkeep.yaml lists it.
The headless run (Claude Code 2.1.325, default mode, guardrails loaded from 859539c8, session ed867279-4407-4ac6-8858-edbf3cc29564): a write to a .claude/settings.json was tried; the hook returned ask with its reason; Claude Code's own settings-file check then rejected the write with its own text; the file was not written. The transcript is kept on the owner's machine.
What the run did not show: the hook's ask reaching a person as a prompt, since Claude Code's own check rejected the write first. That is why the criterion was reworded. The guard's probe note is updated to say what this run measured in a follow-up pull request.
The hook-unit split itself (session-telemetry and plugin-diagnostics) shipped in #16519, merged as 24e622cf.
Activity
github-actions commentedon Nov 15, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Understood: this is part 1 of 3 of #16437, which splits the harness-ops session hooks into session-telemetry and plugin-diagnostics. Its done-when is that the guardrails suite passes, including a headless settings-write ask that returns a block with a reason. The issue doesn't say which pieces of the split belong to this part. Parts 2 and 3 are #16436-style siblings (see the open "part 2 of 3" and "part 3 of 3" issues) and are related, not duplicates. No merged pull request appears to already cover this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 15, 2026
Not admitted to the issue lane yet: blocker #16429 is not closed by a listed human or a merge.
melodic-automation-lanes commentedon Nov 16, 2026
{"v":1,"actor_id":337595936,"title_sha256":"be2234238ba9344f44479e5a56f15437595448b64001b531b3659b4f9ac41c33","body_sha256":"93e085ef27fd8c7555e6db8642e8724dd6b81a5d0a1c2fb5220b716ee79ff6ae"}
github-actions commentedon Nov 16, 2026
kyle-sexton commentedon Nov 16, 2026
Decision recorded. Owner, 2026-11-16: "go w/ recomendations". The recommendation was to close #16517, #16438 and #16437 on guardrails' unit suites plus the #16438 headless transcript, with the criterion "a headless settings-write ask returning a block with a reason" reworded to "the guard fires with its reason and the write is blocked".
dceb40c8b5d6e6704850c0416adf28e16f249563.plugins/guardrails/hooks/on main holdssettings-write-ask.mjsandconnected-page-gate.mjswith their test files, and no check run failed at the merged head859539c87a294bbd6b4eb48e94a60c4924f3ecfd.always-on.yamlno longer lists context-budget;harness-upkeep.yamllists it.859539c8, sessioned867279-4407-4ac6-8858-edbf3cc29564): a write to a.claude/settings.jsonwas tried; the hook returnedaskwith its reason; Claude Code's own settings-file check then rejected the write with its own text; the file was not written. The transcript is kept on the owner's machine.askreaching a person as a prompt, since Claude Code's own check rejected the write first. That is why the criterion was reworded. The guard's probe note is updated to say what this run measured in a follow-up pull request.The hook-unit split itself (session-telemetry and plugin-diagnostics) shipped in #16519, merged as
24e622cf.