S9: skip the prediction disclaimer line when choosing the moment topic #1293
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1293
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
After #1289, the live S9 refresh on the real Store (365 moments, 289 embedded, 2026-10-23) still gives 0 lesson candidates. One cluster holds 49 moments from 34 sessions with agreement 0.74. Its topic texts are the disclaimer line that the main session writes above a shown prediction, for example
*This is a prediction, not your ruling. I take no action until you decide.*andThis is a **prediction, not a decision**. Nothing runs until you reply.The shown predictions have noToward:line, soMomentTopicuses the first line that is not a heading or a stock opener, and that line is the disclaimer.A diagnostic run with the disclaimer added to
MomentTopic::STOCK_OPENERSgave: largest cluster 6 moments, 3 clusters with 3 or more sessions, 2 eligible candidates.Approach
Add one stock opener to
MomentTopic::STOCK_OPENERS: a line that starts withThis is a prediction, with optional leading*or_emphasis marks and optional**beforeprediction. Case-insensitive, like the existing openers. Also allow optional leading**onYou are right, as theShort answeropener already does.Required work:
MomentTopic::STOCK_OPENERS— check: presentThis is ainplugins/os-me/lib/os_me/moment_topic.rbAcceptance criteria
*This is a prediction, not your ruling. I take no action until you decide.*, thenUse option B for the cache., whenCandidateRefresh#runruns with a fake embedder, then the embedder receivesclustering: Use option B for the cache.This is a **prediction, not a decision**. Nothing runs until you reply., thenKeep the worker count at two., when the refresh runs, then the embedder receivesclustering: Keep the worker count at two.**You are right** about the cache., thenDrop the second worker., when the refresh runs, then the embedder receivesclustering: Drop the second worker.All criteria run in Minitest under
plugins/os-me/test, with fixture transcripts in a temp dir and a fake embedder. No model call, no network.Owner sketch
Scope and blocking
In scope:
plugins/os-me/lib/os_me/moment_topic.rband tests underplugins/os-me/test. Out of scope: the**Predicted action:**label lines (6-moment cluster, agreement 0.58, not eligible); the similarity threshold; the predictor output format (#1292). Blocked by: none (#1289 is merged).Origin
MomentTopic::STOCK_OPENERSlacks the disclaimer. Stop at CODE (plugins/os-me/lib/os_me/moment_topic.rb).VERDICT: CREATE (extends the user-ruled B-prime stock-opener rule; backlog search only)
Work started on branch ticket-1293 (os-sdlc implement).
Resolution
Done: MomentTopic::STOCK_OPENERS skips the prediction disclaimer line and a bold You are right
Evidence: Implementation 152 complete in 3 min 12 s, 8 dispatches, all pass; suite gate green
Follow-ups: none; live candidates rerun reported in session