Skip to content

docs: record session-topic miss costs and tagged refresh behavior - #168

Merged
MoonCaves merged 2 commits into
mainfrom
docs/topic-miss-cost-tick1325
Nov 18, 2026
Merged

MoonCaves merged 2 commits into
mainfrom
docs/topic-miss-cost-tick1325

Conversation

@MoonCaves

Copy link
Copy Markdown
Owner

Missing-session topic lookups can refresh project indexes even when they return no session. Record bounded measurements at baseline a4c49ee: one Claude project took 0.06s cold and 0.02–0.03s warm; twenty took 0.75s cold and 0.25–0.26s warm. Warm calls changed project DB bytes despite stable DB counts. Shared fixture IDs merge during consolidation, so individual project DBs establish scope coverage.

A separate tagged-session append control shows cached hits retaining two indexed messages while a later global miss advances the project index to three. The final consolidated read contains the appended message and the original tag boundary. Preserve failed immediate SQL reads as unknown, detached-publisher uncertainty, the incomplete command-log receipt, and recorded-build provenance limitations.

Validation: the supervisor and an independent referee compared all eight timing/count/hash rows and all five tagged-refresh stage rows with original receipts. Six measured commands, three identical topic outputs, fixture hashes, and documented shell syntax were checked. The installed publication gate exited 0 for this documentation-only range. No product tests were run; no runtime behavior, lookup policy, production severity, or issue closure is claimed.

Related to #103.

@MoonCaves
MoonCaves marked this pull request as ready for review November 18, 2026 03:28
@MoonCaves
MoonCaves merged commit 5bc7337 into main Nov 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant