Skip to content

Commit 98487ee

Browse files
committed
Repoint prediction-consolidation plan citations to runtime.ts
1 parent c508fd4 commit 98487ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/plans/prediction-consolidation.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ predictions that scored above threshold in the same `scorePredictionNudge`
9292
call. This is the direct analog of nak's `samskara_fires.cohort_id`.
9393

9494
**Write path:** `scorePredictionNudge` currently returns `PredictionNudgeItem[]`
95-
and is called from two sites (index.ts auto-fire, sideband.ts MCP path). Add a
95+
and is called from two sites (runtime.ts auto-fire, sideband.ts MCP path). Add a
9696
`recordFires` method that takes the scored predictions + a generated cohort_id
9797
and inserts one row per prediction. The callers generate the cohort_id before
9898
calling `scorePredictionNudge` and pass it through for recording.
9999

100-
Both callers must record fires. The opencode path (index.ts) has the session_id.
100+
Both callers must record fires. The opencode path (runtime.ts) has the session_id.
101101
The MCP path (sideband.ts) does not have a session_id in the sideband request --
102102
pass null or derive from the socket connection.
103103

@@ -278,7 +278,7 @@ db.ts.
278278
**Code changes by file:**
279279
- `src/db.ts` -- new table, 4-5 new methods (recordFires, fireCount,
280280
cofireCount, totalCohorts, findPredictionDuplicates, findCoFireConstellations)
281-
- `src/index.ts` -- generate cohort_id, pass to recordFires in auto-fire path
281+
- `src/runtime.ts` -- generate cohort_id, pass to recordFires in auto-fire path
282282
- `src/sideband.ts` -- same for MCP path
283283
- `src/hygiene.ts` -- add prediction dedup + constellation counts to report
284284
- `src/prompts.ts` -- compound minting guidance in all three prompt variants

0 commit comments

Comments
 (0)