Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/screens/Samskara.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,15 @@
this session. Stale / empty cases rendered explicitly so
"nothing shown" reads as data rather than a bug. -->
<h2 class="pane-section">Compound summary (always on in system prompt)</h2>
<p class="subtle pane-help">
Static for the whole conversation. A background worker rebuilds
it once enough new samskaras have been minted since the last
regen, so the paragraph drifts between conversations rather than
mid-thread. Each turn also gets a per-turn "fired this turn"
bullet list appended next to this paragraph - recomputed from
the current user message - which is what the Cohort fires
section below shows the history of.
</p>
{#if compound === null && !loading && !error}
<p class="subtle">No compound summary yet - the worker builds one once you have ~5 samskaras.</p>
{:else if compound}
Expand Down Expand Up @@ -956,6 +965,12 @@
</label>
{/if}
</div>
<p class="subtle pane-help">
One cohort per user turn. Each turn's top-scoring samskaras were
appended to that turn's system prompt alongside the compound
summary above, then resolved against whatever the user said
next.
</p>
{#if !threadId}
<p class="subtle">Open a conversation to see fires scoped to it.</p>
{:else if cohortGroups.length === 0 && !loading}
Expand Down Expand Up @@ -1273,6 +1288,15 @@
.pane-section:first-child {
margin-top: 0;
}
/* Help text under a section heading. Tucked tight to the heading so
the relationship reads as "subtitle" rather than "first paragraph
of body content"; uppercase pane-section above already carries the
visual break. */
.pane-help {
margin: -0.2rem 0 0.6rem;
font-size: 0.85rem;
line-height: 1.4;
}

.counts-grid {
display: grid;
Expand Down
Loading