Skip to content

Commit 9d43072

Browse files
committed
P1-GATE.02: bind early-exit source mechanism to installed PowerShell SHA
1 parent 5e8ce02 commit 9d43072

1 file changed

Lines changed: 94 additions & 0 deletions

File tree

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"schemaVersion": 1,
3+
"taskId": "P1-GATE.02.body-cause-v1",
4+
"sourceMechanismReviewed": true,
5+
"actualRuntimeCauseProved": false,
6+
"wholeGateAccepted": false,
7+
"fullP1Closure": false,
8+
"fullP2Closure": false,
9+
"actualProductVersion": "7.6.6 SHA: 078a44214be21d0b816adb9fe8a5f1f63a85236a+078a44214be21d0b816adb9fe8a5f1f63a85236a",
10+
"actualPwshSha256": "BFB46AF89433268872DDB43D1CA7A3F433452EE91ED356A9786940F90118E285",
11+
"frozenFiles": [
12+
{
13+
"path": "D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\powershell-body-cause-v1\\BASELINE.json",
14+
"sha256": "89CD4F39C0BF96DAEA595F3B2F83DC9F69E86BB62F3F201AAC6EB1486469A2D4"
15+
},
16+
{
17+
"path": "D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\powershell-body-cause-v1\\ManagedEntrance.cs",
18+
"sha256": "B57FE9EADDEDFF9130013EE8DDAA18651AB7122C564732472CCF9A4BBE8D8E2E"
19+
},
20+
{
21+
"path": "D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\powershell-body-cause-v1\\SOURCE-RECEIPT.json",
22+
"sha256": "F20D0EEA385B9B091604966C82174FA1AD2AC510724E1CD07ADCFF173F26F617"
23+
},
24+
{
25+
"path": "D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\powershell-body-cause-v1\\CAUSE-EVIDENCE.json",
26+
"sha256": "B2D219B4D744EC51597884078765833BE59DAEC4737E13692403C6C53F016245"
27+
},
28+
{
29+
"path": "D:\\GitHub\\RustSharp\\artifacts\\p1-supervision\\powershell-body-cause-v1\\HANDOFF.md",
30+
"sha256": "45B6AF0F9B97ED79E6AD0500AB3A153D7DF17331DABBFEBFEF2466E01C07B8A9"
31+
}
32+
],
33+
"sourceReceipt": {
34+
"url": "https://raw.githubusercontent.com/PowerShell/PowerShell/078a44214be21d0b816adb9fe8a5f1f63a85236a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs",
35+
"file": "ManagedEntrance.cs",
36+
"attempts": [
37+
{
38+
"proxy": false,
39+
"status": 200
40+
}
41+
],
42+
"fetched": true,
43+
"sha256": "B57FE9EADDEDFF9130013EE8DDAA18651AB7122C564732472CCF9A4BBE8D8E2E"
44+
},
45+
"actualEvidence": {
46+
"taskId": "P1-GATE.02.CONTAIN-v8",
47+
"status": "SOURCE_MECHANISM_FOUND_RUNTIME_CAUSE_UNCONFIRMED",
48+
"installedVersion": "7.6.6",
49+
"commit": "078a44214be21d0b816adb9fe8a5f1f63a85236a",
50+
"entrySourcePath": "ManagedEntrance.cs",
51+
"entrySourceSha256": "B57FE9EADDEDFF9130013EE8DDAA18651AB7122C564732472CCF9A4BBE8D8E2E",
52+
"facts": [
53+
"Official managedentry initializes exitCode0 before ConsoleHost.Start",
54+
"HostException with innerWin32 error6 or1236 returns initialized exitCode without ordinarycommandexecution",
55+
"ConsoleHost ctor createsRawUI; RawUI ctor readsForeground/Background viaGetBufferInfo/CONOUT$ OpenExisting",
56+
"Successful retainedformatter StdIoLauncher usesactualflags0x08080004 despite boolparameterdetached",
57+
"Failing nativePowerShellFile/Command diagnostics use0x0008000C; realSTDINNULchar2/OUTERRpipe3/inherit1/Startup112/flags256/attribhandlelist24",
58+
"True heldidentity/privateJob1/nativeexit0 established; bodyfile missing/2streamsempty/NaturalRootRuntime0"
59+
],
60+
"inference": "Detached process lacks console, RawUI consolebuffer lookup may fail withWin32error6; managedentry catches andreturns0 before dispatch. This matches observed body0+exit0 but actual exception stack not captured",
61+
"runtimeCauseProved": false,
62+
"actualExceptionCode": "UNKNOWN",
63+
"actualAllocationCaller": "UNKNOWN",
64+
"originalScopePassed": false,
65+
"noFlagChange": true,
66+
"noFixtureChange": true,
67+
"noHelperApproval": true,
68+
"nextProof": "Capture actual target firstchance HostException/innerWin32code and stack against exactPID/birth/cmd/flags/STDIO; keep allcaps/no body remainsFAIL",
69+
"rejectedWorkaround": "No ServerMode/NamedPipe/managedinprocess substitute for originalpwsh-body contract",
70+
"originalTiny": 1,
71+
"identityFailure": 1,
72+
"cancel": 6,
73+
"retention": 2,
74+
"linux": 12,
75+
"helper0": true,
76+
"workerBuild": 0,
77+
"workerNative": 0,
78+
"workerGit": 0,
79+
"fullP1Closure": false
80+
},
81+
"reviewedSourceLines": {
82+
"interpretation": "Specific earlyreturn mechanism is primary-source fact; attribution to actual target remains inference/UNKNOWN",
83+
"entry": "ManagedEntrance.cs86-110 exitCode initial0, ConsoleHost.Start, HostException innerWin32error6/1236 earlyreturn",
84+
"runtimeLimit": "No actual target firstchance exception/stack. Different observed/source-bound NO_WINDOW versus DETACHED flags do not approve a flag/helper/cap change or completeoriginalfixture"
85+
},
86+
"resourceReview": {
87+
"cleanupRequired": false,
88+
"workerBuild": 0,
89+
"longProcessesCreated": 0,
90+
"workerNative": 0,
91+
"originalsRetained": true
92+
},
93+
"at": "2026-10-14T06:45:37.8991800+08:00"
94+
}

0 commit comments

Comments
 (0)