Repository navigation
Closed
Labels
lane-capturein-session hooks and the summarizer — post-tool, prompt, session-start/end, haiku.py, prompts/
Description
What
The plugin never asks for a star. It should, once, in the places it already speaks — with the same opt-out, throttle and self-identification the cross-plugin promo (#574, #631) earned.
Where it could go
SessionStartpromo slot._remember_compute_promo()inscripts/session-start-hook.shalready emits a singlesystemMessageline the model never sees, opening withclaude-remember:and closing with the off switch (features.plugin_promos). A star ask is one more entry inpromos.json, subject to the same cooldown and rotation marker. Nothing new to build; the question is only whether "star us" belongs in a slot that has so far been reserved for sibling plugins.- README. A badge row exists (
versionat line 12); astarsshield beside it costs nothing and is the conventional place. A one-line ask under the install section is the other. /remember:doctor's report footer. It is human-run and read end to end, so a closing line there reaches a person who is already engaged, not one who just opened a session.
Constraints, non-negotiable
- Once per store, or on a long cooldown — not per session. The Cross-promote supertool and jit-context to the human via systemMessage, with a config bool to disable #574 promo's marker/cooldown machinery is the model; a star ask that fires more often than it is a nag and will get the whole promo feature turned off, which loses the plugin promos too.
- Same off switch.
features.plugin_promos: falsemust silence it; no second key to discover. - Names itself.
claude-remember:at column 0, the URL, the off switch — the Cross-promotional notifications should be opt-in only #631 shape, so who asked and how to stop it arrive together. - Never in
additionalContext.systemMessageonly; the model must never see it (the Cross-promote supertool and jit-context to the human via systemMessage, with a config bool to disable #574 rule). - Never on Codex/Antigravity/Gemini hosts whose stdout contract does not carry
systemMessage— the same host gate the existing promo already sits behind.
Not decided here
Whether the ask fires only after the plugin has demonstrably done something for the user (say, N successful saves or a first consolidation), which is when a star request reads as earned rather than as an install-time toll. That gate would need a counter the store does not keep today; worth deciding before writing the promo entry.
Reference
[AI-generated]
Metadata
Metadata
Assignees
Labels
lane-capturein-session hooks and the summarizer — post-tool, prompt, session-start/end, haiku.py, prompts/
Activity
fdaviddpt commentedon Sep 11, 2026
Maintainer decision: yes — the ask waits until the plugin has demonstrably done something for the user. An install-time ask is out.
On the "needs a counter the store does not keep" point: it probably does not need one. The store already carries evidence of work done, and the cheapest honest signal is
recent.mdexisting and non-empty — that file only appears once a past day's staging has been consolidated, which means the plugin captured a full day of sessions and compressed it. That is "did something for you" by construction, needs no new state, and cannot be tripped by a fresh install. A weaker fallback if that is judged too slow to reach:tmp/last-save.jsonwith at least one session position, which means one real save landed.So the gate for the promo entry reads:
features.plugin_promoson, host carriessystemMessage, existing promo cooldown clear, andrecent.mdis a non-empty regular file. Fires once per store.[AI-generated]
Cut SessionStart promo's jq forks 10->4, and add a gated star ask (#660…
perf(#660): stop forking for work bash can do -- 49 -> 29 foreground …
perf(#660): take 20 subprocesses off the SessionStart foreground path (…