Watch
1
0
Fork
You've already forked souveraine
0

shell: context pill tooltip states the real tiers, not the archivist

The tooltip claimed 'Archivist begins compacting around 70%'. The
archivist does not compact. It reads journal/ and writes
system/synthesized/ - a different substrate from the conversation
entirely (core/archivist/mod.rs:5).

The real advisory tiers are 80/90/95 in ConsciousnessEngine::
on_response, and they never force compaction. Icon thresholds moved
from 85/70 to 90/80 to match.
This commit is contained in:
Fimeg 2026-08-12 20:30:34 -04:00
commit 525157250a

View file

@ -398,14 +398,17 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\)
// it shows both numbers and the ratio between them, // it shows both numbers and the ratio between them,
// which is the only reading that means anything. // which is the only reading that means anything.
visible: Ai.context.known || Ai.tokenCount.total > 0 visible: Ai.context.known || Ai.tokenCount.total > 0
icon: Ai.context.percent >= 85 ? "error" // Tiers mirror ConsciousnessEngine::on_response exactly:
: Ai.context.percent >= 70 ? "warning" // 80 / 90 / 95 are the three compaction-warning tiers.
// They are advisory the engine never forces compaction.
icon: Ai.context.percent >= 90 ? "error"
: Ai.context.percent >= 80 ? "warning"
: "token" : "token"
statusText: Ai.context.known statusText: Ai.context.known
? `${Math.round(Ai.context.used / 1000)}k/${Math.round(Ai.context.limit / 1000)}k · ${Ai.context.percent}%` ? `${Math.round(Ai.context.used / 1000)}k/${Math.round(Ai.context.limit / 1000)}k · ${Ai.context.percent}%`
: (Ai.tokenCount.total > 0 ? `${Ai.tokenCount.total}` : "—") : (Ai.tokenCount.total > 0 ? `${Ai.tokenCount.total}` : "—")
description: Ai.context.known description: Ai.context.known
? Translation.tr("Context: %1 of %2 tokens (%3%)\nCeiling comes from this agent's configured context window.\nArchivist begins compacting around 70%.") ? Translation.tr("Context: %1 of %2 tokens (%3%)\nCeiling is this agent's configured context window.\nAdvisory warnings at 80/90/95% — compaction is never forced.")
.arg(Ai.context.used.toLocaleString()) .arg(Ai.context.used.toLocaleString())
.arg(Ai.context.limit.toLocaleString()) .arg(Ai.context.limit.toLocaleString())
.arg(Ai.context.percent) .arg(Ai.context.percent)