dKMS/dDRM foundation on the ESP substrate (inspired from flint-5.0) #15
All Vouch review confidence checks passed
Residual risk 0.31 = Change Risk (0.57) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 413 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.361
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #15"
general
weight: 0.35
SashaMIT
Lands the decentralized key custody (dKMS), content protection (dDRM), and content-commerce rails — originally built on the pre-ESP runtime (
review/dkms-foundation) — rebased and re-seated onto the ESP architecture, hardened, test-anchored, and consolidated into 7 commits.What this delivers
elacity-player,ddrm-viewer) decrypt through capability-scoped provider chains with per-open sessions (open → session-bound streaming → close → sweeper reap), fail-closed at every unauthorized step.content-marketcapsule, and Marketplace/Creator surfaces.dkms-authority/dkms-keygenwith a CI-enforced release invariant (release build fails to compile withlegacy-receipt-authz/dev-modes).How it was adapted to ESP (main's architecture wins everywhere)
provider_operation_action(preview==enforce conformance down to 1 tracked divergence)./api/market/buy,/api/create/mint) require passkey step-up — intent-, launch-, and time-bound, single-use — brokered under Home's cookie authority with a new Home-chrome spend-confirmation dialog (what's displayed is what's signed). Launch tokens moved to URL fragments (never query strings).localhostscheme + boot sub-route seizure (first-writer-wins pinning, identity-keyed teardown), authority refusals reaching guests asDenied(wasInternal), release-gating ofELASTOS_DDRM_SUBJECT.Testing
~1,700 tests green across both CI lanes (default +
dev-modes): workspace suites, 10 capsule crates, capability conformance + token fuzz, egress spine, and a newdkms_raile2e anchor proving the full commerce/viewer contract.verify-ci,verify-capsules,bus-conformance(made non-vacuous), lint/fmt, entropy/WCI checkers all pass. Known pre-existing flakes:browser_reconciliationtiming family (passes in isolation, predates this branch).Docs
All dKMS/dDRM/commerce docs consolidated into one onboarding hub at
docs/dkms/(README entry → architecture, security model, media pipeline, viewer sessions, commerce, dev setup; historical notes underhistory/). Roadmap coverage baseline + gap plan indocs/superpowers/specs/.Known follow-ups (documented, non-blocking)
RequiredHomeLaunchTokenthreading): chain-gated open/buy is dev-lane-only until it lands — deliberately fail-closed; prerequisites in theviewer_open.rsPARKED block.