spec: M092_002 — cache-kit vs other Rust caches docs page#4
Closed
indykish wants to merge 1 commit into
Closed
Conversation
Second v0.9.2 milestone spec. Independent of M092_001 (error codes) — this is docs-only work. Converts plans/comprehensive-code-review.md §12 #2 and §18 (moka comparison) into a goal-contract spec under the updated dotfiles TEMPLATE.md format. Deliverable: site/content/concepts/vs-other-caches.mdx Route: https://cachekit.org/concepts/vs-other-caches Scope: - Capability matrix (rows = capabilities, no self-rating stars). - "When to pick which" decision section for 4 common scenarios. - Worked example of moka-as-L1 + cache-kit-as-L2 layering. - "Things cache-kit deliberately doesn't do" section — TinyLFU, sub-µs reads, no-network-hop. Honest about moka's wheelhouse. Key invariants: - No self-rating ⭐ columns (greppable). - §4 ("deliberately doesn't do") MUST be non-empty. - Every performance claim cites a benchmark in benches/ or external URL. Out of scope: - Running new benchmarks vs moka (needs separate proposal). - Migration guide from moka -> cache-kit (separate spec). - The other 10 review recommendations (each their own spec). Provenance: agent-generated (pre-spec, derived from plans/comprehensive-code-review.md §12 #2 and §18). The review's self-rated table is treated as input, not as the shipping artifact — the spec demands honest, evidence-backed claims instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
Consolidated into #2 (docs/nextjs-netlify-migration). Same spec content, single PR. |
12 tasks
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4 +/- ##
=======================================
Coverage ? 73.03%
=======================================
Files ? 14
Lines ? 2173
Branches ? 0
=======================================
Hits ? 1587
Misses ? 586
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second v0.9.2 milestone spec. Independent of #3 (M092_001 error codes) — this is docs-only work.
Converts the moka comparison recommendation from
plans/comprehensive-code-review.md(§12 #2 and §18) into a goal-contract spec following the updateddotfiles/docs/TEMPLATE.md.No code yet — spec only. Implementation lands on
feat/m092-vs-other-cachesafter this PR merges.What ships
A new MDX page at
site/content/concepts/vs-other-caches.mdx, reachable athttps://cachekit.org/concepts/vs-other-caches. Four sections:cache-kit / moka / cached / redis-rs, cells = ✅/❌/Why this shape
The seed table in
plans/comprehensive-code-review.md§18 has two problems that this spec demands the implementation fix:Both issues are pinned as invariants in the spec (greppable: zero ⭐ characters, §4 non-empty).
Out of scope (intentional)
plans/proposals/perf-vs-moka.mdusingPROPOSAL_TEMPLATE.md.Test plan
⭐, §4 non-empty, every perf claim cited).main: openfeat/m092-vs-other-cachesper CHORE(open), write the page, runcd site && npm run build.🤖 Generated with Claude Code