Skip to content

Commit f213c3a

Browse files
committed
feat(p1): bind Drop transport to retained original verifier bytes
1 parent 4d33334 commit f213c3a

7 files changed

Lines changed: 484 additions & 0 deletions
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"schemaVersion": 1,
3+
"evidenceKind": "p1-drop-transport-component-acceptance",
4+
"candidateSha": "c950e0164719bdcf6309e944c2e0078d2ee5eafe",
5+
"candidateTreeSha": "08ec300868804497bc985f547bd8679f88e8f5cf",
6+
"sourceInputCount": 707,
7+
"sourceHashes": [
8+
{
9+
"path": "eng/P1DropTransportContract.ps1",
10+
"sha256": "C9CCBE9FCCC2D20E153EEA1E7ACAAEC35DE7665F25B6F86C7369507AF9885AF5",
11+
"snapshotMatched": true
12+
},
13+
{
14+
"path": "eng/Write-P1DropTransport.ps1",
15+
"sha256": "E470BF1D314BE15683D013C8D167A3039D326AE187B542C58271A24B87940ACC",
16+
"snapshotMatched": true
17+
},
18+
{
19+
"path": "eng/Test-P1DropTransport.ps1",
20+
"sha256": "FCAA16DFCC0B157DCB1A5BC29799E88DC3DDAA945F672FA545A3D1CBD1B4C23B",
21+
"snapshotMatched": true
22+
},
23+
{
24+
"path": "eng/Test-P1DropTransportUtilities.ps1",
25+
"sha256": "C40EC4AD8F5A9DDD0A5C6965D9344E289EB6D8F47515103B7F46A84E973F4D1D",
26+
"snapshotMatched": true
27+
}
28+
],
29+
"reports": [
30+
{
31+
"path": "artifacts/p1-supervision/transport-root-v1/source-snapshot.json",
32+
"sha256": "3974B6973CCC5755AA1E5E27C2C5BED6EE94A950C4247BD6A8D2290A9C0FDB24"
33+
},
34+
{
35+
"path": "artifacts/p1-supervision/transport-root-v1/release-build.json",
36+
"sha256": "7F5752C6D86EF1F8718FA7EDD2D682F5F1AFD54ADC3140411084F84FF801BB2B"
37+
},
38+
{
39+
"path": "artifacts/p1-supervision/transport-root-v1/windows-final-tiny.json",
40+
"sha256": "8B47971ED077FA188E690A469B649F67EB2006E8A26B5591EA35A6D7D3DED007"
41+
},
42+
{
43+
"path": "artifacts/p1-supervision/transport-root-v1/windows-final-all.json",
44+
"sha256": "0FD11C63326AA3FF1D2AB5CB2CEA86101DFFE495A75568C2678440AA02ED83B8"
45+
},
46+
{
47+
"path": "artifacts/p1-supervision/transport-root-v1/linux-tiny.json",
48+
"sha256": "C6C1D4E1D9BC9603A99C76C4F68C893F60E86B863FEC5EF5F3ECA6E16CAD31D5"
49+
},
50+
{
51+
"path": "artifacts/p1-supervision/transport-root-v1/linux-all.json",
52+
"sha256": "80F538DF81F277126A86BAB69A8238FEE554B74442EA93156F3919FF98C04A4C"
53+
},
54+
{
55+
"path": "artifacts/p1-supervision/transport-root-v1/writer-unauthenticated.process.json",
56+
"sha256": "F6F4A24C48F7DBE1908DEFBE358E1974D1F0234E3B3D5FE8CFC7E1F9A84DAF53"
57+
},
58+
{
59+
"path": "artifacts/p1-supervision/transport-root-v1/writer-unauthenticated.stderr.log",
60+
"sha256": "D915F25435697DE56101B423B8C0BF2FE012B7737C1072DE7AEA57F0ED498C3A"
61+
},
62+
{
63+
"path": "artifacts/p1-supervision/transport-root-v1/validator-unauthenticated.process.json",
64+
"sha256": "C5537A34D1F4BCA71EA28F9ED64B030410C75A39CB1C2657872D24F575841355"
65+
},
66+
{
67+
"path": "artifacts/p1-supervision/transport-root-v1/validator-unauthenticated.stderr.log",
68+
"sha256": "DDEDA79374BB033EFE84D81FC26C012911392319631AD4B6DDCFC9F11EFC4CE3"
69+
}
70+
],
71+
"resourceReview": {
72+
"path": "artifacts/p1-supervision/transport-root-v1/resource-review.json",
73+
"sha256": "60C5D04039BE06B4BA43600BEA5AEA8EC7153A21B5B2A9D51841ECB7BBED5168"
74+
},
75+
"release": {
76+
"sdkVersion": "10.0.401",
77+
"warnings": 0,
78+
"errors": 0,
79+
"registeredDenominator": 1203,
80+
"executedHarness": 0
81+
},
82+
"utility": {
83+
"windowsTiny": 1,
84+
"windowsFixed": 12,
85+
"ubuntuTiny": 1,
86+
"ubuntuFixed": 12,
87+
"entryRejections": 2,
88+
"astFiles": 4,
89+
"syntheticVerifierMetadata": true,
90+
"nativeRuntimeExecuted": 0,
91+
"originalPeIlVerifyExecuted": 0,
92+
"nativeAotExecuted": 0,
93+
"formalJointControlsExecuted": 0
94+
},
95+
"frozenNativeDenominators": {
96+
"generated": 28,
97+
"exactRustcMatches": 26,
98+
"inheritedDifferences": 2,
99+
"originalPeIlVerify": 30,
100+
"nativeAot": 28,
101+
"callableArtifacts": 2,
102+
"callableCases": 7,
103+
"stages": 36,
104+
"formalJointControls": 12
105+
},
106+
"workflowIntegrated": false,
107+
"processCleanupVerification": "parent-exit-only",
108+
"descendantContainmentVerified": false,
109+
"p1GateClosed": false,
110+
"p2LeafClosed": false,
111+
"fullP1Closure": false,
112+
"fullP2Closure": false
113+
}

‎docs/p1-drop-transport-v1.md‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# P1 native Drop transport component
2+
3+
English | [简体中文](p1-drop-transport-v1_zh.md)
4+
5+
## Delivery
6+
7+
✅ Complete for this component's local utility acceptance. The native writer and
8+
aggregate validator reconcile opened artifact bytes with the original receipt,
9+
source snapshot and zero-warning/error Release build. They retain the fixed
10+
28 generated cases (26 exact matches and two inherited differences), 30 original
11+
PE ILVerify reports, 28 Native AOT cases, two callable artifacts/seven callable
12+
cases and 36 ordered process ledgers. Original verifier stage, path, hash,
13+
length, version 10.0.11 and retained post-verification hashes must agree.
14+
15+
The reader rejects repository escapes and parent links, hashes actual opened
16+
bytes, checks length/EOF, and retains cancellation and final monotonic deadline
17+
checks. Bounds are 512 witnesses, 2GiB shared reads, 90 seconds overall,
18+
10 seconds per file, 32MiB captured JSON and 512MiB per witness. Publication uses
19+
an owned CreateNew temporary and an atomic move that cannot overwrite prior
20+
proof. The entry points require matching Actions repository, job, SHA, run and
21+
attempt values; these checks bind context fields, they do not independently
22+
authenticate a GitHub server response.
23+
24+
## Acceptance
25+
26+
Candidate `c950e0164719bdcf6309e944c2e0078d2ee5eafe`, tree
27+
`08ec300868804497bc985f547bd8679f88e8f5cf`, binds 707 source inputs and all four
28+
new scripts. SDK 10.0.401 Release passes with zero warnings/errors. Windows and
29+
Ubuntu each pass tiny1 and fixed12 utility controls. These controls include
30+
synthetic verifier metadata; they execute zero generated programs, original-PE
31+
ILVerify checks, Native AOT programs or formal joint controls. The fixed12 utility
32+
count is separate from the formal joint12 denominator. Both real entry processes
33+
reject invocation without the required Actions context. Four PowerShell AST
34+
checks pass. The 1203 registered harness cases were inventoried, not executed.
35+
36+
The [acceptance archive](evidence/p1/drop-transport-v1-archive.json) retains source
37+
and raw report hashes. Root checked all 13 recorded Windows launcher identities
38+
absent; all four owned utility sandboxes and their links were removed. Full
39+
command arguments and recorded parent identities remain in the resource review.
40+
Cleanup verification is explicitly `parent-exit-only`, with
41+
`descendantContainmentVerified=false`.
42+
43+
## Remaining closure
44+
45+
🚧 In progress: wire the native writer, aggregate validator and mandatory formal
46+
joint12 gate into CI, then execute and reconcile the same pushed SHA on native
47+
Windows/Linux. The workflow currently has no `drop-native` job and does not call
48+
these transport entry points. Actual timer-delay/I/O fault injection and trusted
49+
descendant containment remain open. This component closes no P1 gate, P2 leaf,
50+
parent or phase. P2 remains 8/101 ✅ Complete leaves.

‎docs/p1-drop-transport-v1_zh.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# P1 原生 Drop 传输组件
2+
3+
[English](p1-drop-transport-v1.md) | 简体中文
4+
5+
## 交付
6+
7+
✅ 已完成本组件的本地工具验收。原生写入器和聚合验证器将实际打开的制品字节与原始
8+
回执、源码快照及零警告/错误的 Release 构建逐项对账。保持固定 28 个生成案例
9+
(26 个精确匹配、两个继承差异)、30 份原始 PE ILVerify 报告、28 个 Native AOT
10+
案例、两个 callable 制品/七个 callable 案例以及 36 份有序进程台账。原始验证器的
11+
阶段、路径、哈希、长度、版本 10.0.11 及验证后保留路径的哈希必须一致。
12+
13+
读取器拒绝仓库路径逃逸和父链接,对实际打开字节计算哈希,核对长度/EOF,并保留取消
14+
及最终单调时限检查。限制为 512 个见证、共享读取 2GiB、总计 90 秒、每文件 10 秒、
15+
捕获 JSON 32MiB 和每见证 512MiB。发布使用独占 CreateNew 临时文件和不能覆盖旧证据
16+
的原子移动。入口要求 Actions 仓库、job、SHA、run 和 attempt 字段一致;这些检查
17+
绑定上下文字段,并不能独立认证 GitHub 服务器响应。
18+
19+
## 验收
20+
21+
候选 `c950e0164719bdcf6309e944c2e0078d2ee5eafe`、tree
22+
`08ec300868804497bc985f547bd8679f88e8f5cf` 绑定 707 个源码输入及全部四份新脚本。
23+
SDK 10.0.401 Release 构建通过,零警告/错误。Windows 和 Ubuntu 各通过 tiny1
24+
及固定 12 项工具控制。这些控制包含模拟验证器元数据;真实生成程序、原始 PE
25+
ILVerify 检查、Native AOT 程序和正式 joint 控制的执行数均为零。工具固定 12 项与
26+
正式 joint12 分母独立。两个真实入口进程均拒绝缺少所需 Actions 上下文的调用。
27+
四份 PowerShell AST 检查通过。1203 个注册 harness 案例仅完成清单核对,未执行。
28+
29+
[验收归档](evidence/p1/drop-transport-v1-archive.json) 保留源码和原始报告哈希。
30+
主监督者检查全部 13 个已记录的 Windows 启动进程身份均已不存在;四个独占工具沙箱
31+
及其链接均已移除。完整命令参数和记录的父进程身份保留在资源复核中。回收验证明确为
32+
`parent-exit-only`,且 `descendantContainmentVerified=false`。
33+
34+
## 剩余闭环
35+
36+
🚧 进行中:将原生写入器、聚合验证器及必需的正式 joint12 门禁接入 CI,再在原生
37+
Windows/Linux 上执行和对账同一已推送 SHA。当前工作流没有 `drop-native` job,
38+
且未调用这些传输入口。真实计时器延迟/I/O 故障注入与可信完整后代隔离仍开放。
39+
本组件不关闭任何 P1 门禁、P2 叶项、父项或阶段。P2 仍为 8/101 ✅ 已完成叶项。

0 commit comments

Comments
 (0)