Skip to content

Split harness-ops session hooks into session-telemetry and plugin-diagnostics - part 1 of 3 #16438

Closed

Description

@melodic-automation-lanes

Part 1 of 3 of #16437, split at intake (owner Q93). The done-when below is copied from #16437 as written.

Done when

  • guardrails' suite passes, including a headless settings-write ask returning a block with a reason.

Activity

  1. added
    needs-triage
    on Nov 15, 2026
  2. github-actions commented on Nov 15, 2026

    @github-actions
    Contributor

    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.

  3. removed
    needs-triage
    on Nov 15, 2026
  4. melodic-automation-lanes commented on Nov 15, 2026

    @melodic-automation-lanes
    ContributorAuthor

    Not admitted to the issue lane yet: blocker #16429 is not closed by a listed human or a merge.

  5. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    ContributorAuthor

    {"v":1,"actor_id":337595936,"title_sha256":"be2234238ba9344f44479e5a56f15437595448b64001b531b3659b4f9ac41c33","body_sha256":"93e085ef27fd8c7555e6db8642e8724dd6b81a5d0a1c2fb5220b716ee79ff6ae"}

  6. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor
    No description provided.
  7. added
    host-run
    on Nov 16, 2026
  8. kyle-sexton commented on Nov 16, 2026

    @kyle-sexton
    Member

    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.

  9. removed
    host-run
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions