team-ljyzipelo

공개
184줄13 KB
1{
2 "schemaVersion": 1,
3 "status": "source-prepared; candidate compilation and execution pending central validation",
4 "scope": "stage 1: test-only strict single-member GZip boundary parser with history-validating inflater",
5 "baseline": {
6 "pr": 15,
7 "head": "174d9d87d90ed973d9baa06ca1d8de401eba591b",
8 "project": "tests/gzip-boundary-probe/Zipelo.GzipBoundaryProbe.csproj",
9 "historicalCentralResult": {
10 "platforms": [
11 "Windows",
12 "Ubuntu 26"
13 ],
14 "passed": 183,
15 "failed": 1,
16 "exit": 1,
17 "failure": "deflate.invalid-backreference-history"
18 },
19 "rerunThisCandidateBranch": "See historicalCentralResults for the exact tested head. New source head is not executed."
20 },
21 "candidate": {
22 "project": "tests/gzip-history-integration-probe/Zipelo.GzipHistoryIntegrationProbe.csproj",
23 "assembly": "Zipelo.Experimental.GzipHistoryIntegrationProbe",
24 "inheritedRegressionCases": 184,
25 "additionalGroupedCases": 162,
26 "expectedExit": 0,
27 "actualResult": null,
28 "invalidArgumentsExit": 2,
29 "outputSections": [
30 "candidate.inherited-suite.begin",
31 "candidate.inherited-suite.exit",
32 "candidate.integration"
33 ],
34 "note": "expected counts are source enumeration, not observed results; grouped tests include multiple controls and all optional-header prefixes"
35 },
36 "binding": {
37 "historyProject": "tests/deflate-history-validation-probe/Zipelo.HistoryProbe.csproj",
38 "historyAlias": "history",
39 "types": [
40 "Inflater",
41 "SharpZipBaseException"
42 ],
43 "crc": "official SharpZipLib [1.4.2] global reference",
44 "sourceChanges": "Candidate BoundaryProbe.cs is a documented copy of the fixed PR15 parser with only failure-path output accounting changes. Program.cs remains linked unchanged. Global aliases bind both parser adapter and exception catch to history assembly.",
45 "guard": "assembly.identity checks parser private field type and both assembly identities",
46 "separation": "baseline executable uses official package; candidate links original parser and regression sources, references history executable as an assembly without running its entry point"
47 },
48 "transaction": {
49 "helper": "PendingValidation",
50 "finalization": "Only after Read completes header, raw finish/counters, CRC/ISIZE and EOF, pending SHA is computed, hash sink is disposed, optional test hook runs, and shared budget/cancellation is checked. Boundary and optional hash are then committed once.",
51 "failure": "exception propagates; no committed boundary/hash; one-use wrapper cannot retry; local default inflater is abandoned, no reset/reuse",
52 "selectedFalse": "full parse/decode/CRC/ISIZE/budget/EOF checks; no sink output, no selected hash; successful boundary only",
53 "publication": "no filesystem output, temp archive, rename, ValidatedArchive, or product file publication is implemented",
54 "rollback": "no inflater rollback claim; only final result withholding",
55 "disposeSeam": "Optional onSinkDispose action executes inside TemporarySink.Dispose after disposing the original HashSink. This injects an actual wrapper Dispose exception, not a beforeCommit exception; it does not induce a failure in the BCL IncrementalHash implementation. Null hook preserves the existing operation order.",
56 "errorPrecedence": "Current C# using semantics: a throwing Dispose replaces an active body Budget/cancellation exception and prevents beforeCommit/final Check. If Dispose succeeds, an active body exception propagates. If both cancellation and deadline become pending inside successful Dispose, final Check reports cancellation. No exception aggregation or new recovery behavior is introduced."
57 },
58 "budgets": {
59 "chunkSize": 65536,
60 "accounting": "Input high-water/read-ahead accounting is unchanged. Every Inflate call records its observable TotalOut delta in finally before exception propagation or post-call cancellation/time checks. Successful output is not charged twice. Selected output is charged only on the existing sink delivery path. Repeated attempts share the same budget without reset/refund.",
61 "time": "same start and TimeProvider through parse, hashing, disposal and final check; cooperative checks cannot interrupt synchronous decoder call",
62 "externalLimitSecondsPerProcess": 60,
63 "failedOutput": "TotalOut measures bytes copied into the caller output buffer, including bytes copied by a call that subsequently throws. It does not expose bytes still held only inside OutputWindow. No decoder internals are modified.",
64 "overLimit": "Record actual bounded output delta even when it exceeds ProcessedLimit; then throw Budget. Processed may exceed the configured limit by at most 65536 and remains recorded. Check rejects later attempts. A valid delta that exceeds the budget takes precedence over an Inflate exception; invalid negative/oversized delta produces Boundary. Otherwise preserve Deflate/cancellation/original exception.",
65 "invalidCounter": "Negative or >65536 TotalOut delta is Boundary in finally before ChargeDecoded or post-call Check, including when cancellation/deadline is pending. Invalid deltas are not charged or trusted. Existing valid-delta over-limit Budget precedence is unchanged."
66 },
67 "coverage": [
68 "all original baseline negative expectations unchanged",
69 "matching CRC/ISIZE invalid history versus valid zero and static empty controls",
70 "selected true/false and feed 1/2/3/7/65536",
71 "header options/FHCRC, CRC/ISIZE, truncation and trailing/single-member policies",
72 "consumed/remaining, read-ahead and exact trailer position, output counters",
73 "input/processed/output/metadata limits and cancellation inherited unchanged",
74 "new final cancellation/deadline after sink disposal, same-budget repeated attempts, input immutability, fresh inflater after rejection",
75 "10 additional groups: selected true/false actual stored-A then reserved-block failure, over-limit failure, return-time cancellation/deadline/other exception; verify retained TotalOut cost, no sink output or committed result, and same-budget retry refusal before another Inflate call",
76 "26 new groups: 10 Dispose groups (5 scenarios x selected false/true, each with nonthrowing control and throwing wrapper); 16 invalid TotalOut groups (delta -1/65537 x no overlap/cancellation/deadline/both x selected false/true). Assert no public committed boundary/hash/count on failure, actual disposal, final-hook reachability, retained input accounting, and competing Check outcome. No decoder or baseline edits."
77 ],
78 "exclusions": [
79 "product adoption or main merge",
80 "GZip filesystem publication or production integration",
81 "stage 2 general dynamic trees, upper zlib dictionary/Reset integration, new partial-drain matrix",
82 "stage 3 performance measurement",
83 "complete decoder/security certification"
84 ],
85 "execution": {
86 "environment": "central isolated workspace using existing verified SDK 10.0.403/runtime 10.0.14; do not install SDK or download packages",
87 "sourceVerification": "From repository root, sha256sum -c tests/gzip-history-integration-probe/SHA256SUMS; compare full file inventory in provenance.json. Check again after execution.",
88 "restore": "dotnet restore <project> --configfile tests/gzip-history-integration-probe/NuGet.Config --source <existing-verified-offline-feed> --packages <isolated-packages-path> -p:NuGetAudit=false",
89 "restoreChecks": "Only official SharpZipLib 1.4.2 net6.0 asset; no network sources/fallback; verify existing approved nupkg SHA before use. History project has zero PackageReference. Baseline and candidate each restored separately.",
90 "build": "dotnet build <project> --no-restore -c Release -p:NuGetAudit=false",
91 "runBaseline": "dotnet tests/gzip-boundary-probe/bin/Release/net10.0/Zipelo.GzipBoundaryProbe.dll",
92 "runCandidate": "dotnet tests/gzip-history-integration-probe/bin/Release/net10.0/Zipelo.Experimental.GzipHistoryIntegrationProbe.dll",
93 "invalidCli": "Run both DLLs with --invalid; expect exit 2.",
94 "warnings": "Candidate authored sources treat warnings as errors. Referenced unchanged history project preserves its own warning policy and original SYSLIB0051 warning; do not pass a global warnings-as-errors override or suppress it.",
95 "results": "Record exact head, SDK/runtime, restore/build exits and warnings, separately baseline/candidate counts and invalid CLI exits on Windows/Linux, package/source/DLL hashes before/after and no residual processes. Do not upload logs, binaries or generated corpus.",
96 "constraints": "Apply 60-second external process bound and isolated output/package locations. No restore/build/run was performed by author."
97 },
98 "regressionFixtures": [
99 {
100 "rawHex": "00 01 00 FE FF 41 07",
101 "basis": "non-final stored block, LEN=1 and NLEN=65534, literal 0x41, then final reserved BTYPE=3; malformed independently of trailer",
102 "expected": "Deflate with one observed TotalOut byte retained when budget sufficient; Budget with usage retained when one byte over limit"
103 },
104 {
105 "rawHex": "01 01 00 FE FF 41",
106 "basis": "final stored block with one literal A; valid",
107 "expected": "one copied output byte; injected post-return cancellation/deadline/IOException must retain cost without publishing"
108 }
109 ],
110 "priorCandidate": {
111 "head": "4ada9f9e8c693288127792c925bc88a5ebc4a9fe",
112 "status": "unexecuted candidate with failure-path output accounting omission identified by static review; not a validated baseline"
113 },
114 "historicalCentralResults": [
115 {
116 "head": "2d2ef7f472673d386fed2ef7fe98cc7522ef56f6",
117 "source": "coordinator-reported central execution; not rerun by author",
118 "buildHost": "Windows",
119 "sdk": "10.0.403",
120 "runtime": "10.0.14",
121 "platforms": [
122 "Windows build 26300",
123 "Ubuntu 26.04.1"
124 ],
125 "restoreExit": {
126 "baseline": 0,
127 "candidate": 0
128 },
129 "buildExit": {
130 "baseline": 0,
131 "candidate": 0
132 },
133 "candidateWarnings": [
134 "one original SharpZipBaseException.cs SYSLIB0051"
135 ],
136 "errors": 0,
137 "perPlatform": {
138 "baseline": {
139 "passed": 183,
140 "failed": 1,
141 "exit": 1,
142 "onlyFailure": "deflate.invalid-backreference-history"
143 },
144 "candidate": {
145 "inheritedPassed": 184,
146 "inheritedTotal": 184,
147 "additionalPassed": 136,
148 "additionalTotal": 136,
149 "exit": 0
150 },
151 "invalidCliExit": {
152 "baseline": 2,
153 "candidate": 2
154 }
155 },
156 "samePortableAssembly": true,
157 "externalSecondsPerProcess": 60,
158 "timeouts": 0,
159 "residualProcesses": 0,
160 "unchangedHashes": {
161 "sourceFiles": 41,
162 "dllCopies": 6,
163 "offlineNupkg": true
164 },
165 "candidateDllSha256": "cb2c7821f4c68b5b54acca8827a9e42e39c0932b0edd9d364a62148a7a53fe5f",
166 "limits": "Finite synthetic cases only. Does not validate subsequent heads, file publication, general decoder safety, stages 2/3 or product adoption."
167 }
168 ],
169 "finalizationRegression": {
170 "file": "FinalizationRegression.cs",
171 "addedGroupedCases": 26,
172 "disposeScenarios": [
173 "successful parse",
174 "body deadline Budget",
175 "body cancellation",
176 "body deadline and cancellation",
177 "deadline and cancellation inside Dispose"
178 ],
179 "disposeAssertions": "Same injected IOException instance, exactly one Dispose, beforeCommit never reached when disposal throws, no public committed boundary/hash and count zero. Nonthrowing controls prove success or original failure priority. Both selected paths allocate/dispose the sink, but selected=false neither appends nor completes a hash.",
180 "counterFixture": "Valid stored-A raw 01 01 00 FE FF 41, actual patched inflater output 1. Adapter changes only observed TotalOut after return to -1 or 65537. This is a contract-violation mock, not malformed Deflate input.",
181 "counterAssertions": "Boundary before final Check, one Inflate, actual output 1 but output delivery 0, processed input only, Dispose once, beforeCommit zero, committed boundary/hash absent and count zero. Separate Check demonstrates pending cancellation/Budget condition.",
182 "execution": "Source enumeration only; new head compilation and execution pending central validation."
183 }
184}