Skip to content

Re-measure the Windows Stop wall p95 after #8771 and #8772 land #9158

Closed

Description

@kyle-sexton

Problem

#8770 found the Windows Stop wall at p95 2,072 ms against #4373's 2,000 ms budget, set by two rows: disk-hygiene's destructive-guard check (#8771) and harness-ops' hook-failure audit (#8772). The ten node-only rows are accepted at the exec-form floor (decision defaulted on #8770). Whether the wall is back under budget needs a live re-measure on a Windows host, which no lane can run (Attended Build).

Criteria moved from #8770 and #8772

Blocked by: #8771, #8772

Activity

  1. added
    needs-human
    on Oct 22, 2026
  2. added theissue type on Oct 22, 2026
  3. added
    status: confirmed
    and removed
    needs-human
    on Oct 22, 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): "needs a live re-measure on a Windows host, which no lane can run (Attended Build)"

  7. added
    host-run
    and removed
    needs-human
    on Oct 28, 2026
  8. added
    agent-ready
    on Oct 30, 2026
  9. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor
    No description provided.
  10. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor
    No description provided.
  11. removed
    agent-ready
    on Oct 30, 2026
  12. melodic-automation-lanes commented on Oct 30, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host run the lane cannot make.
    It added host-run and removed agent-ready: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: the issue's done-when is a live re-measure of the Stop hook wall p95 with findings.py stop-hook-timing on a Windows host, run before and after on the same host with host load stated. This Linux CI lane cannot run a Windows host measurement, and the issue body itself says no lane can run it (Attended Build); the owner's 2026-10-25 comment restored the hold for the same reason. There is no code change for this lane to make.

    What the run says it did not do:

    • Windows host re-measure of the Stop wall p95 with findings.py stop-hook-timing (before and after on the same host, host load stated): needs an attended Windows host run this lane cannot make
    • Confirming the harness-ops hook-failure audit row no longer shows among timed blocking Stop hooks: it depends on the same Windows timing run
    • Did not check whether #8771 and #8772 are closed: this lane has no tracker read, and the measurement this issue exists for still needs a host run
    • tidy, review, verify and checks steps: skipped because there is no diff

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41110239312

    To hand it back to the lane, remove host-run and add agent-ready again.

  13. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    New Stop-hook evidence from a 7-day, all-lane audit-friction run (2026-10-31)

    This adds evidence to the Stop wall re-measure, and to the shared-dispatcher question that #8770 closed.

    Totals

    • Summed Stop-hook time was 7,403,980 ms (2.06 h). That figure adds up hooks that run in parallel.
    • The wait the person sees is the per-stop maximum: 1,168,710 ms (19.5 min) over 13,980 stops, about 84 ms per stop on average.
    • That is well under the 2,000 ms budget on average. This run did not compute p95. The audit-friction headline reports only the sum (friction.py:156), filed separately as a reporting defect.

    Per-row totals (summed ms)

    Bearing on the consolidation question

    A shared uncommitted-changes pass (one git diff, dispatch by extension) saves nothing while the end-of-turn options are off: no row runs git diff today. The remaining cost is about 8 node starts per stop, which is option A's accepted exec-form floor.

    The trade changes if #11502 turns markdown-format's end-of-turn check on by default. Each enabled row then runs its own git diff and linter, and a single shared pass starts to pay. Recommend revisiting option C, for example through one shared runner as #6633 proposes for SessionStart, when the first end-of-turn option defaults to on.

    🤖 Generated with Claude Code

  14. self-assigned this
    on Nov 1, 2026
  15. kyle-sexton commented on Nov 1, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
  16. kyle-sexton commented on Nov 1, 2026

    @kyle-sexton
    MemberAuthor

    Host run: Windows Stop wall re-measured. Measured on melo-lap-001 native Windows (Claude Code 2.1.312, the Windows lane's account). The plugins were current from the 2026-10-31 refresh (#9711): disk-hygiene 0.50.0, which carries #11305 (#8771), and harness-ops 4.22.0, which carries #9395 (#8772).

    Method. One claude.exe -p --model sonnet session in a scratch git repository, then 124 --continue turns, all with the same one-word prompt: 125 Stops, 00:20:26Z to 00:47:37Z, with no failed turn. Per stop_hook_summary record, the wall is the largest durationMs among that Stop's hooks, as #8770 computed it.

    Measure Value
    Stops 125
    Stop wall p50 356 ms
    Stop wall p95 603 ms (budget 2,000 ms, #4373)
    Stop wall max 763 ms
    Stops over 2 s 0

    The slowest rows by p95 were codex's stop-review-gate-hook.mjs (603 ms), the spelling check (447), the PowerShell check (411), the Python check (405), the Markdown check (383) and disk-hygiene's destructive-guard check (368). Twelve hooks were timed per Stop.

    harness-ops audit row. "Checking for unsurfaced hook failures..." appears in all 125 records with durationMs: null. It runs async and no longer adds to the wall.

    Host load. The same laptop was busy throughout: the WSL distro's 1-minute load average was 4.7 to 6.9, with other lanes running evals. Before-measurement on this host: the six Stop records in its earlier Windows transcripts gave p95 815 ms, too few for a p95. The 2,072 ms in #8770 was measured on a second host. Even on a loaded host, p95 is under a third of the budget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

host-runstatus: confirmed

Type

Fields

No fields configured for Task.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions