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
The SessionStart hook should say how long it took, so a slow host is distinguishable from a slow plugin #706
enhancementNew feature or requestlane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:mediumRecurring cost; compounds if unfixed
From @jqit-ricky's #660 investigation, and the single sharpest piece of feedback on that thread:
A "hook took N s" line at start would have pointed us at the host a day earlier.
They spent days measuring this plugin. The cause turned out to be their own machine — 129h uptime and a 23.2GB kernel paged-pool leak, which made every fork cost 90-263ms instead of 10-30ms. The plugin cannot diagnose that, and should not try. But a hook that states its own runtime is how a user finds out the question is not about the plugin at all.
What to add
A single line from the SessionStart hook naming its own wall-clock duration. The design questions worth settling in the issue rather than in review:
Always, or over a threshold? A line on every start is noise on a healthy host; a line only over (say) 5s is silent exactly when someone is comparing two machines. A cheap answer: always emit it into the daily log, surface it in the session only over a threshold.
Where does it go? The session-start output is context the user pays for on every turn. hook-errors.log is wrong (this is not an error); the daily log is right for the record, and /remember:doctor is right for the read-out.
An honest number the user can see beats a fast hook they cannot measure — and this repo's own stated value is that anything that can be absent should say it is. A duration nobody can read is the same silence in a different place.
enhancementNew feature or requestlane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:mediumRecurring cost; compounds if unfixed
Activity
fix(#705,#706): stop CI red on PR #711 -- allowlist drift and a Windo…
fix(#705,#706): scope the date-shim skip to Windows only
fix(#705,#706): revisit MEMORY_LOG_DATE across midnight, report Sessi…