feat(storage): bind and cancel managed dependency admission - #2622
feat(storage): bind and cancel managed dependency admission#2622zhiiw wants to merge 20 commits into
Conversation
f92c4c3 to
30d982a
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
9c25870 to
090035d
Compare
090035d to
6683551
Compare
|
Rebased this Draft on the rebuilt npm-attestation branch and current main. The only source conflict was the placement of 中文说明该 Draft 已基于重建后的 npm attestation 分支与最新主线更新。唯一源码冲突是 |
|
Closing this Draft as superseded. The managed admission and cancellation authority has been migrated into the rebuilt M1.3 prerequisites and Gitoxide-based product composition. The design discussion and review history here remain useful, but this branch will not be merged or developed further. Replacement: 中文说明关闭此 Draft,标记为已被新实现替代。 managed admission 与 cancellation authority 已迁移到重建后的 M1.3 前置能力和基于 Gitoxide 的产品组合中。本 PR 的设计讨论和审查记录仍会保留,但该分支不会继续开发或合并。 替代实现: |
Summary
Binds attested dependency environments to managed workspace execution and makes admission lifecycle authoritative across storage owners. This slice owns dependency binding, canonical
node_modulesrouting, dependency singleflight, abandoned-publication replacement, baseline admission cancellation, and owner drain.Primary invariant
Only an owner-bound, cancellable, and drainable managed admission may issue an execution scope. Cancellation or Host drain must prevent scope issuance or revoke the abandoned acquisition, and a new caller must never inherit a previous caller's aborted singleflight publication.
Verification
node_modulesrouting.Stack
中文说明
本切片把 dependency execution binding 与 admission cancellation 收敛到同一个 storage owner:只有经过 canonical source baseline、dependency lease 和取消检查后,才能签发可撤销 execution scope。
source drift、非法 dependency 路径和已撤销 singleflight publication 都会 fail closed,不会回退到 managed worktree 的同名目录。