Repository navigation
Description
Problem and goal
Specify local watermark/policy epoch, bounded corpus staleness, immediate revocation, realtime/cache-disable flags and fail-closed behavior against current indefinite cache.
Version and design basis
Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9134-tenant-hot-cache-s24s26-s217 (section: #9134 tenant hot cache (S2.4–S2.6, S2.17)).
Tier: crucial.
Statement IDs: S2.4, S2.5, S2.6, S2.17
Enables: safe cache implementation
Scope and ownership
Parent: #9134 (native component/meta parent).
pkgs/atlas-search/worker/src/cache_contract.ts(new; owner: C9134-01)pkgs/atlas-search/worker/test/cache_contract.test.ts(new; owner: C9134-01)
Hard dependencies (native blockers): 9083 — tenant authorization and monotonic policy-epoch/revocation interface; 9092 — corpus watermark/invalidation publisher contract and public cache flags
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/atlas-search/worker/test/cache_contract.test.ts first. Proposed command: npm --prefix pkgs/atlas-search/worker exec vitest -- run test/cache_contract.test.ts
Oracle: model — expected Policy epoch stale/unknown never serves; fresh hot result serves without a source/Turso lookup; realtime and disable flags bypass cache.; verifier: Independent watermark/policy-epoch state model with event loss, lease expiry, revocation, and lookup counter..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Keep cache bypass enabled and retain prior cache data only as inaccessible diagnostics; never restore indefinite serving after revocation.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- The cache epoch and hot-result contract is specified per the settled design section cited in the body (parent design(atlas): D1 tenant hot cache — admission, invalidation, Turso-hop skip #9134, statement IDs S2.4/S2.5/S2.6/S2.17): local watermark/policy epoch, bounded corpus staleness, immediate revocation, realtime/cache-disable flags and fail-closed behaviour are all pinned in
pkgs/atlas-search/worker/src/cache_contract.tswith its test file. - Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3579
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: blocked
task: 17004
lane: code-b
summary: Preflight for slice C9134-01 (task 17004, lane code-b, 2026-11-14). Native-blocker check: GET repos//issues/10154/dependencies/blocked_by returns two blockers, and both are still OPEN (fresh gh verify this shift): #9083 (tenant authorization and monotonic policy-epoch/revocation interface) and #9092 (corpus watermark/invalidation publisher contract and public cache flags). The issue body lists the same two as hard dependencies. Per the preflight packet, task 17004 self-blocks with structural dependency blocks on #9083 and #9092 and NO implementation was performed. Contingent research trigger: none; none started. Issue #10154 carries no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit).
next: when #9083 and #9092 both close, the broker auto-releases task 17004 to the pool; the claiming lane then implements C9134-01 within the issue's approved scope (cache_contract.ts + cache_contract.test.ts, model oracle) — test first per the issue.
dezren39 commentedon Nov 17, 2026
agent-note:v1
dezren39 commentedon Nov 17, 2026
agent-note:v1
blocked-by: developing-today/code#9092, developing-today/code#9083verified fresh viagh issue viewat 2026-11-17T17:43Z. Per the mandatory preflight, no implementation was performed and the claimed queue task 17004 was self-blocked (reason-class: blocked,blocked-by-issue: #9083, #9092). Work stays paused until every native blocker is closed. No production rollout authorized.dezren39 commentedon Nov 20, 2026
agent-note:v1
state: blocked
task: 17004
worker: repo-worker-code
lane: oc-code-03
origin: openchamber-scheduled-lane
stage: native_blocker_preflight
Fresh native blocker preflight (2026-11-20 17:45Z): #9083 and #9092 are both OPEN. Per the mandatory preflight packet, no implementation or rollout is authorized while either blocker remains open. Task 17004 is self-blocked with both native issues recorded; no repository files changed.
3 remaining items
developing-today-fleet commentedon Nov 29, 2026
Felix lane (muse), #14863 audit slice N6: removed the stale native blocked_by edge to #9083 — #9083 is now CLOSED, so of the two blockers recorded at the 2026-11-20 preflight only #9092 remains, verified OPEN via the dependencies API readback just now. The issue stays blocked on #9092 alone; queue/blocked + status/blocked unchanged. Refs #14863
developing-today-fleet commentedon Nov 29, 2026
🤖 Census note — 2026-11-29 (lane CEN-C09, full issue census)
State verified today: the gate graph narrowed TODAY — the #14863 N6 audit removed the stale blocked-by edge to #9083, which is now CLOSED. Of the two blockers recorded at the 2026-11-20 preflight, only one remains.
Sole remaining blocker (verified OPEN 2026-11-29): #9092 (corpus watermark/invalidation publisher).
Next step: when #9092 closes, implement the contract at pkgs/atlas-search/worker/src/cache_contract.ts + tests (watermark/policy epoch, bounded staleness, immediate revocation, fail-closed) per the settled #9134 design section.
Census fixes: added priority/high — the body tiers this slice crucial and it enables the safe cache implementation (#10166 hangs off it).
Verdict: blocked — detail exemplary (owned files, statement IDs, design anchor); one live gate.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Priority validation 2026-11-29 (Felix): priority/high → priority/normal — crucial-tier specification slice, but it sits behind the open #9092 hub and gates a single normal-band follow-on (#10166); no time-sensitive work waits on it — the scheduling band is normal even though the design tier is crucial
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label; no acceptance-criteria section.Actions taken: labels added:
kind/design,app/atlas,effort/m; appended## Acceptance criteria(original body text unchanged above it).Blocker recorded in this census note: the issue carries
status/blocked+queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 30, 2026
🤖 P3.1 reparenting — Felix lane 0640-WO, 2026-11-30 (Refs #17071). This issue's native parent #9134 is closed and has no parent or named successor epic of its own, so under the P0–P3 playbook's destination rule (successor epic or top-level) it is detached to top-level via the GraphQL
removeSubIssuemutation. Verified post-move: parent is null. No state, labels, or priority band changed.