From e1a02135f81b322edb6ff7ace305ed5baf2615d2 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Tue, 19 May 2026 18:59:15 -0400 Subject: [PATCH] docs(storage): link gitsheets#184 (per-sheet refresh) from staleness section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes the deferred follow-up from #47 — upstream enhancement now has a concrete issue number and a sentence on what we'd replace the git-show fallback with once it ships. Co-Authored-By: Claude Opus 4.7 (1M context) --- specs/behaviors/storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/behaviors/storage.md b/specs/behaviors/storage.md index f6ba1ce..7c7e371 100644 --- a/specs/behaviors/storage.md +++ b/specs/behaviors/storage.md @@ -186,7 +186,7 @@ This is why the hot-reload path uses `Store.swapPublic` (`apps/api/src/store/sto **Today** that means `slug-history` and `revocations` — neither has live exposure (no current route handler reads them post-write in the same request), but tests that verify a transact landed on those sheets must use `git show HEAD:…` or `swapPublic` themselves. When a future redirect handler does read slug-history post-write, the correct fix is to load it into the typed in-memory `Store` like the other sheets, not to call `swapPublic` per request. -Upstream gitsheets enhancement tracked at the issue linked from [#47](https://github.com/CodeForPhilly/codeforphilly-ng/issues/47). +Upstream gitsheets enhancement filed at [JarvusInnovations/gitsheets#184](https://github.com/JarvusInnovations/gitsheets/issues/184) (per-sheet `refresh()`). When that lands, tests + future direct-read code can replace the `git show HEAD:…` fallback with `await sheet.refresh(); await sheet.queryAll()`. ## Commits are the audit log