Move os-me learning out of the wait for a prediction #958
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#958
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
In one
/os-me:predictcall, the fork builds the prediction, then runs the learning loop, and only then returns the prediction. Jared waits for the learning. The Store's agent recorded this in~/dev/os-me-store/REQUESTS.mditem 3 on 2026-10-04. On 2026-10-05 the loop changed to process one quiet session in each run. A full session is more to read than the old limit of 3 entries, so the wait can increase. ADR-0272 Decision 5 says "Learning runs at the next invocation, inline", and the ADR rejects a daemon and SessionEnd learning. A design that moves the learning reverses that decision. It needs a ruling from Jared in a decision memo, then a superseding ADR, before code.Observed (optional)
On 2026-10-05, 14 predict runs occurred and the loop scored 4 predictions.
learning/token-log.mdin the Store records each run's token cost as an estimate of about 25-60k. The cost is not measured.Candidates for the decision memo:
Reproduce (optional)
n/a: design ticket; the wait is a property of the sequence in the Store's
ENTRY.mdsection 6 ("Learn ... after you have the answer ... then return your answer").Non-goals (optional)
The session-level queue rule (one quiet session in each run, 1 hour quiet time) was made in the Store on 2026-10-05 and is not part of this ticket.
Origin
os-meuse on 2026-10-05, requested by Jared in this session.~/dev/os-me-store/ENTRY.mdsection 6) ← learning is inline at the next invocation (DESIGN: ADR-0272 Decision 5).plugins/os-me/skills/predict/SKILL.md,~/dev/os-me-store/learning/loop.md,docs/adr/0272-the-os-me-plugin-predicts-jared-s-decisions-from-a-private-store-the-skill-owns-the-shell-stays-fixed-in-cc-os.mdOccurrence: learning leaves the predict call, ruled. Seen: ~/dev/os-me-store/ENTRY.md section 6; skills/predict/SKILL.md. Run: session 9feaee0d-e0ed-4f5a-85b4-db1166f8539a. Adds: Jared accepted the plan on 2026-10-22 that moves learning to a separate background dispatch after the Prediction is shown. ADR-0272 as it stands records only the two entry skills and the authority rule, so no superseding ADR is needed; this is a habit change. Unblocked. The simplifier critique adds: under a fresh-agent predictor (new ticket, same session) learning inside the predict call lands its cost on every prediction.