← Field notes & protocolsSPECIFIED

PromptCapsules and EvidenceCapsules

Bounded, digest-addressed context for model operation

Purpose

Long-context systems often assemble prompts through hidden retrieval and string concatenation. A PromptCapsule makes the model input a versioned object. An EvidenceCapsule makes the supporting sources inspectable and independently verifiable.

PromptCapsule

capsule_id
task
project
schema_id
active_object
surface_snippet
constraints
authority
evidence_capsule_refs[]
output_contract
token_budget
omissions[]
digest

Stable instructions, schemas, style rules, and verification rules occupy the prefix. The active evidence tail changes per task.

EvidenceCapsule

capsule_id
source_refs[]
exact_spans[]
claim_candidates[]
contradictions[]
freshness
confidence
visibility
quote_policy
missing_evidence[]
digest

Every quote resolves to a source digest and normalization version. An EvidenceCapsule can be rebuilt when a source changes.

Benefits

  • smaller and inspectable model context;
  • prefix-cache reuse;
  • exact citation verification;
  • project isolation;
  • reproducible model calls;
  • explicit omission;
  • safe local/cloud routing;
  • easier benchmark accounting.

Construction

exact sources
→ chunks and SourceSpans
→ retrieval
→ claim candidates
→ evidence validation
→ capsule budget
→ deterministic serialization

Optional prompt compression can operate inside the construction pipeline. It cannot remove required authority, blocking state, or exact evidence without recording the omission.

Failure

A capsule is invalid if:

  • source digest changed;
  • project scope is wrong;
  • authority expired;
  • required evidence is omitted;
  • token budget truncates a protected field;
  • schema/runtime version is unsupported;
  • private data is routed to an unauthorized provider.

Relationship to FOVEA

FOVEA selects the smallest sufficient neighborhood. The capsule serializes it for one model operation. FOVEA place and PromptCapsule identity remain distinct.

Relationship to GlyphCAS

Exact capsule bytes have a ContentId. Semantically equivalent capsules may share a bounded alias under an Equivalence Contract. Model-specific token/KV artifacts attach to the exact capsule and model profile.

Source register

  • N02-S01 — Zeke 4B Max-Flex Runtime Master Spec. ZEKE-4B-MAXFLEX-RUNTIME-MASTER-SPEC-v0.1.md
  • N02-S02 — GlyphCAS Design Report. How_we_can_make_CAS_lightning_fast_for_any_LLM_by_design_or_adaptation.docx
  • N02-S03 — SurfaceMind Pocket research notes. Pasted markdown.md