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
SessionStart: ls|grep|wc counting pipelines, $(cat), $(dirname), ungated mkdir -p on every start (Part of #660) #666
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-capturein-session hooks and the summarizer — post-tool, prompt, session-start/end, haiku.py, prompts/priority:highBlocks work or has already caused damage
:1270$(cksum < f | tr); :776$(cat capture-alive) and :846$(cat capture-gap-reported) -- cat forks even when the file is missing.
:860$(dirname "$REMEMBER_DIR").
:1163mkdir -p "$REMEMBER_DIR/tmp" unconditional, not gated on -d.
:1015, :1399-1460date +%s via _remember_date -- lib-clock refuses %s for the builtin, so these fall through to an external date.
bootstrap-dirs.sh:143find "$REMEMBER_DIR/tmp" -mmin +30 -exec rm every start.
Cost
Estimated 0.5-1.5s per start on Windows/Git Bash (reasoned, not measured).
Fix shape
Staging count: for f in "$dir"/today-*.md with a case exclusion for today-$TODAY.md and *.done.md, counting in bash.
Rotated slices and transcripts: glob arrays; newest-first via a -nt loop.
Capture-alive prune: set -- "$dir"/*; [ $# -gt 200 ] || skip before any pipeline.
$(<file) for the two cat-into-variable reads (guarded by [[ -f ]]); ${REMEMBER_DIR%/*} for dirname.
[[ -d ]] || mkdir -p at :1163.
EPOCHSECONDS (bash 5) with a printf '%(%s)T' -1 fallback for epoch reads; teach lib-clock.sh to accept %s on bash >= 4.2 where %(%s)T is supported.
find -mmin sweep: run it in the detached phase, or only when the tmp dir has more than N entries.
Negative control: spawn-count test in the shape of tests/test_session_start_promo_spawn_budget_660.py for the whole foreground path; positive: the existing consolidation-trigger and recovery tests still fire.
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-capturein-session hooks and the summarizer — post-tool, prompt, session-start/end, haiku.py, prompts/priority:highBlocks work or has already caused damage
Activity
Give the #666 capture-seen prune gate its positive control, and docum…
Make SessionStart's Python probe lazy, and drop always-on forks in me…
Fix #1029: remove three unconditional subshell forks per post-tool-ho…