Skip to content

context-budget: file the corrected hook if tool-name report upstream and re-probe each release #8985

Description

@kyle-sexton

Problem

#3680's 2.1.285 probe (2026-09-30 resolution comment on #3680) showed the hook if gap is tool-name matching: an Edit(...) rule does not match a Write tool call. The path is not the cause. The owner chose on 2026-10-01 to file the corrected draft upstream from their own account (option A). A lane cannot file on anthropics/claude-code or run the per-release re-probe. #3680 now carries only the doc correction.

Criteria moved from #3680

  • File upstream with a minimal reproduction (one PreToolUse hook with if: Edit(//**/settings.json) and a Write to ~/.claude/settings.json), then re-probe on each new Claude Code release; when it matches, the context-budget row can take the gate.
  • The owner files the corrected upstream draft from the 2026-09-30 comment and pastes the URL. A one-line follow-up then adds the URL to both sections (plugins/context-budget/README.md Hook section and docs/conventions/hook-precision/README.md "Platform gap").

Blocked by: #3680

Activity

  1. added
    needs-human
    status: confirmed
    on Oct 22, 2026
  2. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-human
    on Oct 25, 2026
  4. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.

    To hold this issue again, add needs-human (or status: needs-decision) and say why in a comment.

  5. added
    needs-human
    on Oct 25, 2026
  6. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Hold restored: the 2026-10-25 release took needs-human off, but this issue does need a person under the owner's stop rule. Reason (attended): "The owner files the corrected upstream draft from the 2026-09-30 comment" from their own account, plus per-release re-probe

  7. kyle-sexton commented on Oct 29, 2026

    @kyle-sexton
    MemberAuthor

    Re-triage: an owner-present step (the upstream filing goes out under the owner's account). The owner decided this on 2026-10-01 (option A on #3680: #3680 (comment)). What remains is carrying it out, so this issue does not need to be held for a decision.

    Host step, in a session on the owner's account:

    1. Re-probe on the current Claude Code release. Set up one PreToolUse hook with if: Edit(//**/settings.json), then do a Write to ~/.claude/settings.json. The last probe was 2.1.285. If the gap no longer reproduces, say so here and close this issue.
    2. If it does reproduce, file the corrected draft from the 2026-09-30 comment (Hook if file rules never match an absolute path outside cwd on Windows (upstream candidate) #3680 (comment)) on anthropics/claude-code, with the release and the result of the re-probe. Paste the URL here and on Hook if file rules never match an absolute path outside cwd on Windows (upstream candidate) #3680.
    3. Add the upstream issue to the harness-ops known-issues registry, so its per-release re-check runs there. Then close this issue. The one-line URL follow-up in plugins/context-budget/README.md and docs/conventions/hook-precision/README.md goes with Hook if file rules never match an absolute path outside cwd on Windows (upstream candidate) #3680's doc correction.

    This issue does not wait on #3680. Filing upstream needs nothing from it, and it is #3680's URL line that depends on this filing.

  8. added
    attended
    and removed
    needs-human
    on Oct 29, 2026
  9. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The upstream filing is dropped. The owner, in the Issue Triage session on 2026-10-31, answered with the standing direction: "Lets go with whatever this recommends", on the recommendation that the 2026-10-30 rule "no upstream issues to 3rd party / external repos" replaces the 2026-10-01 plan to file from the owner's account. The gap stays recorded locally in docs/contracts/hook-precision/README.md, "Platform gap", and the context-budget row stays unconditioned. A release note is what ends it now, so that section's Recheck no longer waits on this issue.

  10. added
    agent-ready
    status: ready
    and removed
    attended
    status: confirmed
    on Oct 31, 2026
  11. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 41226474974, the work-resolve-issue run that agent-ready started, before it did any work; that run ended at 2026-10-31T18:05:57Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.

  12. added
    agent-ready
    and removed
    agent-ready
    on Oct 31, 2026
  13. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  14. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
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

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions