GeezerVison is showing github.com — Cache epoch and hot-result contract · Issue #10154 · developing-today/code
Cache epoch and hot-result contract #10154DescriptionProblem 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.
Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on 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 commented on Nov 17, 2026 agent-note:v1
- lane: openchamber-scheduled-lane (code-f), queue task 19114, worker repo-worker-code
- verdict: triaged, blocked. Hard dependencies are both still OPEN as of 2026-11-17T05:45Z: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 (tenancy architecture: monotonic policy-epoch/revocation interface) and impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 (search v1: corpus watermark/invalidation publisher contract and public cache flags).
- labels status/blocked, queue/blocked and work/assigned already present; no new work started and no PR opened.
- resume condition: both design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 reach their named interfaces (or close), then re-triage this packet.
dezren39 commented on Nov 17, 2026 agent-note:v1
- kind: blocked
- worker: repo-worker-code
- lane: code-f
- task: 17004 (repo-health-code-pilot)
- at: 2026-11-17T17:43:48Z
- summary: Native-blocker preflight for slice C9134-01 complete. Both hard blockers remain OPEN —
blocked-by: developing-today/code#9092, developing-today/code#9083 verified fresh via gh issue view at 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 commented on 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.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|