Governed product experience
Since v0.14.0, RSI experience runs under three governed layers — immutable versions, one resolver, a release gate. An experience goes through five auditable stages before an agent uses it: versioning → evidence gate → human review → release → injection, and every stage can be withdrawn independently.
Version lifecycle
- Every experience write lands in
experience_versions: body and evidence-snapshot hashes are insert-only; any body/evidence/scope change creates a newcandidateversion (CAS head pointer,EXPERIENCE_VERSION_CONFLICTon races). - The lifecycle
candidate → evaluating → validatedand the deploymentnone → shadow → canary → activeare independent; validation state is not deployment state. - Upgrade migration backfills existing rows as
legacy-unverified(historicalretiredstaysretired) — old rows without resolvable provenance do not inherit deployment permission and are never auto-injected.
The one resolver
Every read path (automatic injection, explicit retrieval, review projection) shares one entry, gated in order:
- Authorization epoch: membership/role/binding/product/experience permission changes advance a durable epoch; a mismatch rejects (
EPOCH_STALE); - Scope hard filter: line/product experience is visible only when the current product and recipe revision match; unknown never widens;
- Purpose tiers:
automaticreturns onlyvalidated+canary/active;explicitshows undeployed validated rows marked as reference;reviewsees candidates.
After revocation, product switch or retirement, old content stops being injected on the next turn (overlay cache keys include the epoch).
Evidence and promotion
- Independence is counted by host-derived support units (run/batch/seed): same-source retries, splits, and restatements of previously injected claims do not count;
- Claim clusters require matching product, variable, unit, direction, condition and recipe revision; Beta descendants and legacy rows never enter a promotion cluster;
- Promoting to
validatedrequires the evidence gate (≥2 independent support units, complete task evidence).
Release and withdrawal
- Promoting to
activerequires a host-provenanced evaluation (host-evaluationledger row carrying the real C−B measurements); client-submitted bench is display-only; - Release = pending request + audit outbox (one transaction) → audit acknowledged → CAS activation; requester and reviewer must differ (maker-checker);
- One active per scope: activating a new version withdraws the previous one; withdrawal stops injection without rewriting reviewed facts.
Plant write-attempt ledger
Every plant write persists prepared → dispatched → verified | rejected | not_sent | unknown. After a process restart, reconciliation classifies unclosed attempts: prepared → not_sent (driver never called), dispatched → unknown (may have applied). unknown is never auto-resent and requires independent verification; an old approval is rejected when generation, lease, context or payload differ.
Project plan progress
Project observability exposes planProgress (pending_approval / applied / rejected / attention_required); while a plan approval is pending, manual work items that conflict with it are rejected with PLAN_CHANGE_PENDING, and non-conflicting manual paths remain available.
Boundaries (read this)
- Experience is low-trust reference data, never the authority for system instructions, tool authorization, device writes or safety limits;
- Deployment requires the explicit human release gate;
shadowfeeds isolated evaluation only;legacy-unverifiedis never auto-injected; - Simulation evidence is not physical HIL or production approval; effect validation requires independent prospective samples under a frozen protocol;
- Site admission follows the independent checklist and is separate from this document's software conclusions.