Enforce disclosure policy in dormant native drag materialization #1497
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 459 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.367
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1497"
general
weight: 0.35
qwts
Motivation
Refs #1137. Native file promises could open original bytes without consulting disclosure classes. Production native dragging remains disabled after #1027.
Description
Dependency blocker
Issue #1137 remains open. #1028 has no signed initiation prototype and is explicitly blocked on that evidence gate. This independent materialization hardening leaves production
enabled: false, AppKit initiation and the session redesign unchanged. TestNativeDragBridge does not establish signed initiation, receiver or preview acceptance. The remaining signed native-session acceptance depends on #1028.Documentation
Appended the ADR-0032 posture before implementation. Updated native-drag acceptance to separate automated materialization evidence, disabled production checks and future signed receiver evidence.
Changeset
Acceptance coverage
Testing
Passed locally, sequentially:
INTEROP_IMAGE_TRAIL_ROOT=/workspace/image-trail npm test— 2,759 unit +117 DOM +1 database-page passed; 10 unit skips. Includes 30 native-drag tests.npm run lintDOCS_GOV_TOOLING_ROOT=/workspace/docs-gov npm run docs:govnpm run format:checknpm run check:changesetsnpm run check:acceptance-coverageThe subsequent E2E selector-only correction also passed targeted ESLint, Prettier and
npm run typecheck; the app's existing import action is labelledImport 1 photos, and gallery accessible names include comma-separated date/place context.CI passed on final head
ae469b554ce1f7793cbf7c2c690fee13f4b7571b: complete suite (coverage, build and Storybook), E2E and E2E gate, Windows x64, docs governance, CodeQL and workflow policy checks. The GPS import/refusal and retained internal-payload scenario passes in CI's materialization harness.Manual Testing
Signed native-session evidence is blocked by #1028 and is not claimed. Follow
docs/acceptance/Acceptance-Test-Native-Drag-Out.mdin a signed build to verify production stays disabled, internal album dragging and inbound Finder/recovery-key drops remain responsive. After #1028 supplies the accepted initiation path, signed receiver testing must verify disclosure refusal/preview, revocation and cleanup.<!-- agent-bot-write: ghw_b1b49357e5992453 session=f601b21bf418 bot=trueline-codex-agent[bot] -->