CI

CI preview inventory

Preview cache trees per PR, promote hits to main — isolate inventory without a second gateway.

Create AccountQuickstart

Give every pull request its own exact-replay tree. Run the suite. Promote digests into main when green. Compose with Neon branches for database state.

Summary

  • Fork per PRX-Ohm-Cache-Tree: pr-842
  • HIT isolation — Preview does not pollute production agent inventory
  • Promote — Merge child tips into parent without copying blobs
  • Freeze — Lock a tip for audit after release
  • ComposeNEON_BRANCH + Metrecept tree in the same workflow
Metrecept cache trees
  • Dashed = preview tip (ephemeral)
  • Hatch = main (durable)
  • Silver = Promote crossing
Branch for a PRShare answers without copyingBring hits to mainPreview inventoryMain inventoryPromoteRead from main

Metrecept branches exact-replay inventory by tip. For pairing tips with a database preview branch in CI, see Compose with Neon.

Why CI needs replay trees

Prompt suites are mechanical. Without trees, every PR writes into one shared tip — or you disable caching and burn tokens. Trees are the git-shaped surface for inventory, not schema.

Anti-pattern: staging gateway + hope

A second full stack per PR is slow and expensive. A shared cache is fast and unsafe. Cache trees are the middle path.

How we win

  1. CI forks a tree (or uses a deterministic name).
  2. Jobs send the tree header on chat completions.
  3. On merge: promote (or freeze, then promote policy of your choice).
  4. Neon handles DB preview; Metrecept handles replay preview.

Guide: Compose with Neon · Docs: Cache trees

Start

Inventory per tenant · Product: Cache trees · $0 seat

All solutions