Repository navigation
Description
Why this exists
Umbrella #13685's central finding was break 3: the tiered L0–L4 stack is shipped dark. Every other break under that umbrella is fixed and closed. This one is not, and it currently has no tracking issue — which is how it would get lost.
The history matters, because the obvious reading ("#13689 is closed, so the A/B is done") is wrong:
- test(memory): run the #5066 A/B with all five layers live and record the result #13689 ran the A/B and flipped
tiered_context_enabledon - fix(context): revert tiered_context_enabled to off — the A/B it was flipped on measured mocks, and 3 of 5 layers cannot render #13866 found that result had been measured against test doubles — the harness supplied entity documents with a key no production write path produces, and mocked a service that merged code had already removed from the call site. The fixture and the layer shared the same wrong assumption, so they agreed
- The flag was reverted to off, and
docs/research/tiered-context-ab-13689.mdcarries the correction
So the stack is in exactly the state the umbrella opened on: built, merged, not running.
What is different now
The two preconditions the correction named are both met, verified in base:
- fix(memory): L2 OnDemand can never render — memory graph read off an object that does not have it #13686 — CLOSED.
_entity_factsnow readsobservations, the shape_build_entity_documentactually writes (chat_history/layers.py:170) - fix(context): L0 identity hardcodes an owner name into every tenant's system prompt #13867 — CLOSED. L0 no longer hardcodes an owner name into every tenant's prompt
The correction's own words: "Re-enabling requires: #13686 and #13867 fixed, and this A/B re-run against a live backend with entity documents built by _build_entity_document. Not another mock-based pass."
The first two are done. The re-run is not.
What this issue is
Re-run the #5066 A/B against a live backend, then flip or park the flag on the result.
Explicitly not another mock-based pass. The prior record's methodological failure is documented and must not be repeated: it noted "real retrieval latency is not measured here" as an open caveat and then drew a default-changing conclusion as though the caveat were closed.
Acceptance criteria
- A/B run against a live backend, with entity documents produced by the real write path — no mocked memory graph, no mocked knowledge service
- Each of the five layers is shown rendering non-empty output on a real turn, individually, with the evidence attached — L2 in particular, since it has never once rendered in production
- Latency measured after fix(chat): work-item binding keeps a stale company scope after membership revocation #13729's two indexed DB queries on bound sessions; the prior figure predates them and was never revised
- The flag is flipped or parked on that evidence, and
docs/research/tiered-context-ab-13689.mdis appended to (never rewritten — the record keeps its own history by design) - If parked: the reason is recorded, and umbrella: the tiered L0–L4 context stack was built and never ran — 2 of 5 layers cannot render #13685 closes on the parking decision rather than staying open indefinitely
Note on evidence
This measures runtime behaviour, so it needs host evidence from a live deployment. Merge status proves nothing here — that is precisely the mistake #13866 corrected.
Provenance
Found while attempting to close #13685: all seven task-tree children and the spinout are closed, six of seven filed findings are closed, but the umbrella's own headline break is still live and untracked. Blocks #13685.
Activity
github-actions commentedon Oct 29, 2026
needs-structure: this issue is missing:M<n> - ...:v0.13.0is not a goal milestonephase:M<n>.<k>label whose<n>matches the goal milestone: found noneParent: #Nin the body), unless this is an umbrella with sub-issuesThe label clears on the next issue event once all three are present (#19522).