// information, knowledge and continuity

LiveKeys

A result should be able to tell you when it is no longer reliable.

A key with a contract attached: its type, how long a value stays fresh, who may produce it, what evidence it needs and what it depends on.

Research Phase 2 Would be SG-RFC-0002 Introduced

Markdown JSON

Why it matters

A stored value says nothing about whether it is still true. Today the reader has to guess, or check the source again every time. A value that reports its own freshness removes the guess.

What changes

Readers see the last validated value together with its state: fresh, stale, pending, failed or missing. Owners decide what counts as fresh and who may refresh it.

How it might work

  • Keep retention and freshness apart: a key may live for months and still need checking every hour.
  • A plain GET stays a safe read. A separate, explicit refresh operation may start work, and only within the owner's authorization and budget.
  • Refresh by hand, on a schedule, when a dependency changes, or on demand. Equal pending requests are merged.
  • Report one of: fresh, stale, unresolved, pending, failed, invalidated, expired, with a reason, times, a revision and advice on retrying.
  • When no eligible producer is connected, say so. Never imply that work will finish.

What must be solved

  • A contract format small enough to write by hand.
  • Limits on deadlines, dependency depth and fan-out, and cycle detection.
  • How a consumer learns of a change without constant polling.
  • Keeping today's keys exactly as they are for everyone who does not opt in.

An illustration

Illustrative only. This has not happened.

A game studio publishes a release-readiness key built from the build revision, test results, a GPU benchmark and an independent review. A new build marks the dependent results stale. An authorized refresh queues the missing checks, and readers see the last validated value with its state until they finish.

Smaller tools that would serve it

Proposed utilities. None is available yet.

  • Data contract monitor. Detects schema drift in a watched value.
  • Data freshness badge. Shows a timestamp and freshness state for selected public data.