Skip to content

Commit 2b48221

Browse files
committed
test(P1-GATE.04): verify retained parent lifetime chain prototype
1 parent 5405f14 commit 2b48221

8 files changed

Lines changed: 712 additions & 2 deletions

File tree

Lines changed: 346 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,346 @@
1+
{
2+
"sameJobBinding": "ReferenceEquals original JobLease token, not raw handle value",
3+
"integration": "Byte-identical tested snapshot; final-SHA CI pending",
4+
"growthReconciliationAccepted": false,
5+
"fullP1Closure": false,
6+
"nativePassed": 2,
7+
"bindings": [
8+
{
9+
"sha256": "6FBF03490A7DC0B859CB9D6713807AD30E18EDD7C0E0D0FB91E78C52D6648533",
10+
"path": "eng/prototypes/ParentLifetimeV1/ParentFixture.csproj"
11+
},
12+
{
13+
"sha256": "77DEEDD2CC19D8727CDD7E99FE0AC1E29402962D158D815C78F07B39DBD4FEDB",
14+
"path": "eng/prototypes/ParentLifetimeV1/ParentLifetime.cs"
15+
},
16+
{
17+
"sha256": "1AAEAB29A8EF113556827E55EE4065CEA7A7011359142610ECEB857DEF327989",
18+
"path": "eng/prototypes/ParentLifetimeV1/Program.cs"
19+
},
20+
{
21+
"sha256": "39D060E154E4F005EB0183419A4EC72F628318116C31EDA5346FDCF2A48CE9E5",
22+
"path": "eng/prototypes/ParentLifetimeV1/Core/Native.cs"
23+
},
24+
{
25+
"sha256": "ACC2F90DFBE6988B35667C9B86739F9C8827AD65BAC2372F0A24AF9C2FEEBEAA",
26+
"path": "eng/prototypes/ParentLifetimeV1/Core/Launcher.cs"
27+
}
28+
],
29+
"syntheticUniqueDenominator": 8,
30+
"dualBudgetAccepted": false,
31+
"legacyEightRerun": false,
32+
"localSdk": "10.0.402",
33+
"scope": "NATIVE_FIXTURE_RETAINED_HANDLE_CHAIN_ONLY",
34+
"originalFailurePreserved": "Round57 pre-token build; no final token runtime existed before Round58",
35+
"reports": [
36+
{
37+
"case": "held",
38+
"proof": {
39+
"Accepted": true,
40+
"Reason": "complete-original-root-lifetime-chain",
41+
"ChildToRoot": [
42+
{
43+
"Pid": 88532,
44+
"CreationFileTime": 134364617764647796,
45+
"ParentPid": 14264,
46+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target child held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
47+
},
48+
{
49+
"Pid": 14264,
50+
"CreationFileTime": 134364617761692088,
51+
"ParentPid": 26216,
52+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target parent held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
53+
},
54+
{
55+
"Pid": 26216,
56+
"CreationFileTime": 134364617758576694,
57+
"ParentPid": 74520,
58+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target root held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
59+
}
60+
]
61+
},
62+
"path": "artifacts/p1-supervision/resume-root-v58/parent-held/report.json",
63+
"syntheticNegatives": [
64+
{
65+
"Name": "missing-parent",
66+
"EvidenceKind": "synthetic-structural-only",
67+
"Rejected": true,
68+
"Reason": "missing-retained-parent"
69+
},
70+
{
71+
"Name": "child-before-parent-birth",
72+
"EvidenceKind": "synthetic-structural-only",
73+
"Rejected": true,
74+
"Reason": "child-before-parent-birth"
75+
},
76+
{
77+
"Name": "child-after-parent-exit",
78+
"EvidenceKind": "synthetic-structural-only",
79+
"Rejected": true,
80+
"Reason": "child-after-parent-lifetime"
81+
},
82+
{
83+
"Name": "equal-parent-child-birth",
84+
"EvidenceKind": "synthetic-structural-only",
85+
"Rejected": true,
86+
"Reason": "equal-birth-ambiguity"
87+
},
88+
{
89+
"Name": "equal-child-birth-parent-exit",
90+
"EvidenceKind": "synthetic-structural-only",
91+
"Rejected": true,
92+
"Reason": "equal-upper-ambiguity"
93+
},
94+
{
95+
"Name": "duplicate-pid-lifetimes",
96+
"EvidenceKind": "synthetic-structural-only",
97+
"Rejected": true,
98+
"Reason": "duplicate-pid-lifetimes"
99+
},
100+
{
101+
"Name": "cycle",
102+
"EvidenceKind": "synthetic-structural-only",
103+
"Rejected": true,
104+
"Reason": "parent-cycle"
105+
},
106+
{
107+
"Name": "cross-job-token",
108+
"EvidenceKind": "synthetic-structural-only",
109+
"Rejected": true,
110+
"Reason": "cross-job-token"
111+
}
112+
],
113+
"nativeRows": [
114+
{
115+
"Identity": {
116+
"Pid": 26216,
117+
"CreationFileTime": 134364617758576694,
118+
"ParentPid": 74520,
119+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target root held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
120+
},
121+
"Birth": 134364617758576694,
122+
"Exit": 0,
123+
"ObservedStarted": 134364617768054347,
124+
"ObservedFinished": 134364617768054490,
125+
"Terminal": false,
126+
"OriginalIdentityAndJobVerified": true,
127+
"EvidenceKind": "native-retained-original",
128+
"OriginalHandle": 756
129+
},
130+
{
131+
"Identity": {
132+
"Pid": 14264,
133+
"CreationFileTime": 134364617761692088,
134+
"ParentPid": 26216,
135+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target parent held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
136+
},
137+
"Birth": 134364617761692088,
138+
"Exit": 0,
139+
"ObservedStarted": 134364617768054505,
140+
"ObservedFinished": 134364617768054652,
141+
"Terminal": false,
142+
"OriginalIdentityAndJobVerified": true,
143+
"EvidenceKind": "native-retained-original",
144+
"OriginalHandle": 824
145+
},
146+
{
147+
"Identity": {
148+
"Pid": 88532,
149+
"CreationFileTime": 134364617764647796,
150+
"ParentPid": 14264,
151+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target child held D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-held Local\\RustSharp.Parent.e808e1325a0f4ff9b71018e32d6d83b6 e808e1325a0f4ff9b71018e32d6d83b6"
152+
},
153+
"Birth": 134364617764647796,
154+
"Exit": 0,
155+
"ObservedStarted": 134364617768054667,
156+
"ObservedFinished": 134364617768054833,
157+
"Terminal": false,
158+
"OriginalIdentityAndJobVerified": true,
159+
"EvidenceKind": "native-retained-original",
160+
"OriginalHandle": 828
161+
}
162+
],
163+
"terminal": [
164+
{
165+
"Terminal": true,
166+
"BirthVerified": true,
167+
"ExitCode": 0,
168+
"Checks": 1,
169+
"ElapsedMilliseconds": 26
170+
},
171+
{
172+
"Terminal": true,
173+
"BirthVerified": true,
174+
"ExitCode": 0,
175+
"Checks": 1,
176+
"ElapsedMilliseconds": 0
177+
},
178+
{
179+
"Terminal": true,
180+
"BirthVerified": true,
181+
"ExitCode": 0,
182+
"Checks": 1,
183+
"ElapsedMilliseconds": 0
184+
}
185+
],
186+
"sha256": "4DD2F4A1579A2A609C383A1EBA9A518D1935CDDCF1E798A54C1FE96A88E4CDD1"
187+
},
188+
{
189+
"case": "exited",
190+
"proof": {
191+
"Accepted": true,
192+
"Reason": "complete-original-root-lifetime-chain",
193+
"ChildToRoot": [
194+
{
195+
"Pid": 80256,
196+
"CreationFileTime": 134364617781144982,
197+
"ParentPid": 77904,
198+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target child exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
199+
},
200+
{
201+
"Pid": 77904,
202+
"CreationFileTime": 134364617778368648,
203+
"ParentPid": 41368,
204+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target parent exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
205+
},
206+
{
207+
"Pid": 41368,
208+
"CreationFileTime": 134364617775564065,
209+
"ParentPid": 79272,
210+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target root exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
211+
}
212+
]
213+
},
214+
"path": "artifacts/p1-supervision/resume-root-v58/parent-exited/report.json",
215+
"syntheticNegatives": [
216+
{
217+
"Name": "missing-parent",
218+
"EvidenceKind": "synthetic-structural-only",
219+
"Rejected": true,
220+
"Reason": "missing-retained-parent"
221+
},
222+
{
223+
"Name": "child-before-parent-birth",
224+
"EvidenceKind": "synthetic-structural-only",
225+
"Rejected": true,
226+
"Reason": "child-before-parent-birth"
227+
},
228+
{
229+
"Name": "child-after-parent-exit",
230+
"EvidenceKind": "synthetic-structural-only",
231+
"Rejected": true,
232+
"Reason": "child-after-parent-lifetime"
233+
},
234+
{
235+
"Name": "equal-parent-child-birth",
236+
"EvidenceKind": "synthetic-structural-only",
237+
"Rejected": true,
238+
"Reason": "equal-birth-ambiguity"
239+
},
240+
{
241+
"Name": "equal-child-birth-parent-exit",
242+
"EvidenceKind": "synthetic-structural-only",
243+
"Rejected": true,
244+
"Reason": "equal-upper-ambiguity"
245+
},
246+
{
247+
"Name": "duplicate-pid-lifetimes",
248+
"EvidenceKind": "synthetic-structural-only",
249+
"Rejected": true,
250+
"Reason": "duplicate-pid-lifetimes"
251+
},
252+
{
253+
"Name": "cycle",
254+
"EvidenceKind": "synthetic-structural-only",
255+
"Rejected": true,
256+
"Reason": "parent-cycle"
257+
},
258+
{
259+
"Name": "cross-job-token",
260+
"EvidenceKind": "synthetic-structural-only",
261+
"Rejected": true,
262+
"Reason": "cross-job-token"
263+
}
264+
],
265+
"nativeRows": [
266+
{
267+
"Identity": {
268+
"Pid": 41368,
269+
"CreationFileTime": 134364617775564065,
270+
"ParentPid": 79272,
271+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target root exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
272+
},
273+
"Birth": 134364617775564065,
274+
"Exit": 0,
275+
"ObservedStarted": 134364617785324893,
276+
"ObservedFinished": 134364617785325799,
277+
"Terminal": false,
278+
"OriginalIdentityAndJobVerified": true,
279+
"EvidenceKind": "native-retained-original",
280+
"OriginalHandle": 744
281+
},
282+
{
283+
"Identity": {
284+
"Pid": 77904,
285+
"CreationFileTime": 134364617778368648,
286+
"ParentPid": 41368,
287+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target parent exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
288+
},
289+
"Birth": 134364617778368648,
290+
"Exit": 134364617785186667,
291+
"ObservedStarted": 134364617785325916,
292+
"ObservedFinished": 134364617785325972,
293+
"Terminal": true,
294+
"OriginalIdentityAndJobVerified": true,
295+
"EvidenceKind": "native-retained-original",
296+
"OriginalHandle": 812
297+
},
298+
{
299+
"Identity": {
300+
"Pid": 80256,
301+
"CreationFileTime": 134364617781144982,
302+
"ParentPid": 77904,
303+
"CommandLine": "\"C:\\Program Files\\dotnet\\dotnet.exe\" D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-lifetime-build\\bin\\ParentFixture.dll target child exited D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\resume-root-v58\\parent-exited Local\\RustSharp.Parent.7e038a0f128749e6a9d605797b802f94 7e038a0f128749e6a9d605797b802f94"
304+
},
305+
"Birth": 134364617781144982,
306+
"Exit": 0,
307+
"ObservedStarted": 134364617785325979,
308+
"ObservedFinished": 134364617785327188,
309+
"Terminal": false,
310+
"OriginalIdentityAndJobVerified": true,
311+
"EvidenceKind": "native-retained-original",
312+
"OriginalHandle": 816
313+
}
314+
],
315+
"terminal": [
316+
{
317+
"Terminal": true,
318+
"BirthVerified": true,
319+
"ExitCode": 0,
320+
"Checks": 1,
321+
"ElapsedMilliseconds": 22
322+
},
323+
{
324+
"Terminal": true,
325+
"BirthVerified": true,
326+
"ExitCode": 0,
327+
"Checks": 1,
328+
"ElapsedMilliseconds": 0
329+
},
330+
{
331+
"Terminal": true,
332+
"BirthVerified": true,
333+
"ExitCode": 0,
334+
"Checks": 1,
335+
"ElapsedMilliseconds": 0
336+
}
337+
],
338+
"sha256": "A71567B6A2F185CA9760BAB9F70C5724EECC3EAE6AB236AE52C2D26B5D052583"
339+
}
340+
],
341+
"nativeDenominator": 2,
342+
"rustsharpGeneratedPrograms": 0,
343+
"syntheticExecutions": 16,
344+
"productionIntegrated": false,
345+
"taskId": "P1-GATE.04.parent-lifetime-B"
346+
}

‎docs/roadmap/P2-HANDOFF.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ English | [简体中文](P2-HANDOFF_zh.md) | [P2 contract](P2.md)
1010
`01a13917-a6b4-78e0-bd31-44600dd87b79`, bound to the unique active 30-minute
1111
heartbeat `rustsharp-p1-p2-30`. The deleted old `rustsharp-p2` is not restored.
1212
The persistent dispatch and acceptance checkpoint is
13-
`artifacts/p1-supervision/resume-root-v57/resumption.json`.
13+
`artifacts/p1-supervision/resume-root-v58/resumption.json`.
1414

1515
Round38 fresh Windows formatter integration is ✅ Complete as a bounded component: strict solution/driver builds0 warnings/errors, full formatter59/59 and contract18/18, actual Windows CLI8/8 and real native signal1/1 pass. [Fresh integration proof](../evidence/p2/formatter-fresh-native-integration-v1.json) binds exact working-source/DLL/PDB/driver hashes, actual pending995, natural130, native Join/close and outer3→0; three exact process identities are independently absent. Legacy outer skeleton proof flags remain false and are not substituted for the hashed child proof. The earlier provenance rejection remains unresolved despite actual compiled GitAsync returning997 entries with the original raw hash; no cap increased. New clean-SHA CI/Linux/full cancellation/containment and complete59/91 leaf contracts remain open; P2 stays8/101.
1616

@@ -1347,3 +1347,5 @@ Round56 original-handle lease component is ✅ Complete: strict build and real W
13471347
Round56 P3-02.01 protocol candidate component is ✅ Complete: strict trim/AOT-analyzed local build and24/24 contract checks pass (eight envelope kinds,15 rejects and caller cancellation). [Candidate proof](../evidence/p3/proc-wire-candidate-v1.json) covers exact version, direction/kind, capabilities, fields and spans only; no transport/host/macro runs or complete budget-boundary proof follows. P3-01 dependency is unpassed; P3 formal leaves0/38 and gates0/4 remain unchanged.
13481348

13491349
Round57 P3 protocol boundary component is ✅ Complete: strict build and19/19 new tests pass; old24 are not rerun. [Boundary proof](../evidence/p3/proc-wire-boundaries-v1.json) covers nine independent at/over dimensions and one actual JSON parser-depth rejection. Legal depth12/operations/deadline/mid-validation cancel remain NOT_PROVEN. P1 final same-Job parent candidate remains NOT_RUN after repair; P2 extraction fails closed before headers on child identity, with original failures retained. P1 six gates, P2 8/101 and P3 formal0/38+0/4 remain open.
1350+
1351+
Round58 retained-parent lifetime component is ✅ Complete: strict local build, held/exited2/2 real Windows fixtures and eight unique synthetic rejections (16 executions) pass. [Native lifetime proof](../evidence/p1/parent-lifetime-v1.json) binds the same original handles, three-node root chain, native creation/exit intervals, original JobLease object identity, three natural0 exits and handle/event/Job cleanup. This is fixture evidence, with zero RustSharp-generated programs; production growth reconciliation, legacy8/dual3 and all six P1 gates stay open. Prior Ubuntu562032/562033 and its process group are independently absent, with no kill.

0 commit comments

Comments
 (0)