Skip to content

Explain copy-on-write tails and shared prefix trunks - #27

Closed
FujitsuPolycom wants to merge 1 commit into
codex/sparkcache-cuda-restore-terminologyfrom
codex/sparkcache-prefix-explainer-tail-trunks
Closed

Explain copy-on-write tails and shared prefix trunks#27
FujitsuPolycom wants to merge 1 commit into
codex/sparkcache-cuda-restore-terminologyfrom
codex/sparkcache-prefix-explainer-tail-trunks

Conversation

@FujitsuPolycom

Copy link
Copy Markdown
Owner

Result

The interactive prefix-reuse explorer describes SparkCache as implemented: 256-token logical boundaries, longest all-rank selection, bounded row aliases, immutable row-tail publication, authenticated opaque-page deltas, cross-root row-trunk coalescing, bounded shared GPU-prefix leases, and SparkCache CUDA restore and placement ownership.

The README links the explorer. A GPU-free HTML contract verifies internal identifiers, ARIA targets, local links, interactive scenarios, concurrency controls, canonical status vocabulary, required present-state claims, and rejection of obsolete terminology.

Status and limits

  • Implemented: row tails, page deltas, shared row trunks, exact and row-alias discovery.
  • Qualified: recorded GLM-5.3 exact restore and shared GPU-prefix reuse through C16.
  • Research-only: live serving performance for tail publication, page-delta reconstruction, and cross-root row-trunk coalescing.
  • Unsupported: arbitrary earlier-prefix aliases derived from opaque HMA page snapshots.

Compatibility

CacheIdentity wire values, digest salts, 256-token geometry, stored formats, and runtime behavior are unchanged. Cache namespace impact: none. The explorer documents the already distinct tail-cow-v1 identities.

Adding sparkcache/test_prefix_explainer.py changes the deployable source-tree digest to 335296b16304ef9b13d4e3b5b68dce41d332dcd2abce8df2ae2a25451471a06a. The GLM-5.2 and DeepSeek-V4 deployment profiles carry that exact source identity.

Validation

  • python -m pytest sparkcache -q: 750 passed, 7 skipped
  • python -m pytest deploy -q: 108 passed, 1 skipped
  • python -m ruff check sparkcache deploy: passed
  • Desktop 1440x900 and mobile 390x844 browser checks: no horizontal overflow or console errors
  • Exact, row-alias, missing-rank, corrupt-object, and cold scenarios: preserved
  • C1, C8, and C16 controls: preserved

Stack

This draft targets codex/sparkcache-cuda-restore-terminology, the head of draft PR #26.

Describe immutable row tails, authenticated page deltas, cross-root row-trunk coalescing, and SparkCache CUDA restore and placement ownership in the interactive explorer. Add README discoverability and a GPU-free HTML contract, and refresh deployment source digests because the test is part of the deployable SparkCache tree.

Compatibility: documentation and regression coverage only. CacheIdentity wire values, digest salts, 256-token geometry, stored formats, and runtime behavior are unchanged. Cache namespace impact: none.

Validation: 750 SparkCache tests passed with 7 skipped; 108 deployment tests passed with 1 skipped; Ruff passed; desktop 1440x900 and mobile 390x844 browser checks passed with no horizontal overflow or console errors.
@FujitsuPolycom

Copy link
Copy Markdown
Owner Author

The resulting behavior and evidence are consolidated in retained draft stack #39#42#44. Independent heat and SSD research remains in #36. Closing this superseded draft and deleting only its remote head branch.

@FujitsuPolycom
FujitsuPolycom deleted the codex/sparkcache-prefix-explainer-tail-trunks branch August 31, 2026 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant