session-flow: remove a delivered absence's away state so idle hook cost returns to the cheap path
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 18/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- performance, tooling
Rechercherichtung
Start with the session-flow away hooks and the deliver and end paths that write the away/<session> state under the plugin data dir. Check whether the Python startup cost only appears once that directory exists. Done means a delivered absence leaves no away/<session> directory (or one within the stated retention), the report stays readable as long as that retention allows, tests cover the cleanup, and the idle hook timing is recorded. Linked PR #17396 is already open, so coordinate there first.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
session-flow's always-registered away hooks cost about 0.02 s per prompt and turn end when no away state exists (Python never starts). Once any away/ directory exists under the plugin data dir, the cost is about 0.09 s. A finished absence's state stays in place, so every later session pays the higher cost.
Done looks like
deliver(orend) removes a finished absence's state, or keeps it for a stated bounded retention.- After a delivered absence, no
away/<session>directory remains (or only within the retention bound). - Measured idle hook cost in a session with no active absence is back to about 0.02 s, with the measurement recorded in the PR.
- Tests cover the cleanup, and the report remains readable after delivery for as long as the retention says.
Refs: #17337
- Vorherrschende Sprache
- Shell
- Sterne
- 22
- Forks
- 2
- Ø Merge
- 1 Std. 47 Min.
- Gemergte PRs (30 T.)
- 942
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus melodic-software/claude-code-plugins
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
melodic-software/claude-code-plugins#17374 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
docs(prompts): loop-lane template prose still says the merge partition reads work-class labelsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 71/100
melodic-software/claude-code-plugins#17364 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
melodic-software/claude-code-plugins#17039 · 7 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
melodic-software/claude-code-plugins#16931 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
melodic-software/claude-code-plugins#15498 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in melodic-software/claude-code-plugins
Ähnliche Issues
-
application-issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Installomator/Installomator#3657 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
-
out-of-date
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
eip-work/kuboard-press#723 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
nekko-labs/nekko-agent#2998 ·
Maintainer antworten meist innerhalb von 1 Tag