Skip to content

Commit 6a82c86

Browse files
committed
Retain valid browser coverage deltas and qualify each session
Keep authentic empty Chrome snapshots as hashed zero-contribution evidence while rejecting sessions without authored execution. Exercise the actual reader with complete native receipts and controlled rejection copies; preserve all website coverage and publication gates.
1 parent cc99e9c commit 6a82c86

13 files changed

Lines changed: 599 additions & 16 deletions

‎docs/ADR/ADR-040-static-site-threejs-evidence.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,3 +409,31 @@ receipt's structural bound without fake transport or performance data. Root
409409
reviews the single-file diff, serialized development build/format, strongest
410410
source join and complete real GitHub gates in that order. No data/contract/API/
411411
deployment migration or threshold change; production ownership stays with030.
412+
413+
### Native browser zero-delta implementation contract
414+
415+
REQ/AC-BC-024/025/028 retain valid CDP empty browser arrays as original hashed
416+
zero-contribution receipts. The official Profiler array contract and actual G
417+
initial-blank receipt establish the source error; Node-empty/non-array/malformed
418+
remain rejected. Every browser session independently requires mapped authored
419+
functions; another valid session cannot hide an empty-only or unmapped-only one.
420+
All17sources,9critical gates,80/70/90 thresholds, origins/source hashes and raw
421+
evidence remain mandatory. No Chrome capture filtering or report-schema change.
422+
423+
Ordered stages: root records G full-suite baseline and acceptance; strongest
424+
approves this contract; TASK037 gpt-6-sol high owns tests-first ONE post-Complete
425+
Behavior call plus NEW SiteBrowserCoverageAssertions/Fixture/Tokens; TASK036
426+
gpt-6-luna high then owns ONLY NativeRanges/ArtifactReader and named error token
427+
in CoverageTokens if needed; root joins all terminal diffs/hashes, serial build/
428+
format/governance; strongest source review; complete exact-source real GitHub
429+
Analyzer/native/Site/Chrome/coverage before main/provider/live final join.
430+
Tests use unchanged ReadAsync and owned converter-fixtures copies of the actual
431+
complete browser session, manifest and mapped Node bytes, without global env
432+
mutation or fake execution. Positive retains every byte/hash with zero empty
433+
credit; controlled second sessions prove empty-only/anonymous-only/missing/
434+
non-array/foreign-origin and empty Node rejection even beside valid evidence.
435+
Ownership, dependencies, commands, terminal states and required evidence are
436+
tracked in site-publication.plan.md. No public API/data/runtime/dependency
437+
migration. Rollback restores the coherent parser/reader/tests and previous verified
438+
public output, retaining failed evidence; this ADR remains Accepted until actual
439+
publication and complete acceptance evidence exist.

‎docs/Features/BenchmarkComparisons.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ worker ownership and terminal joins are frozen in acceptance/ADR/plan before
178178
writes. Pure controlled metadata/ZIP tests are not fake API transport evidence.
179179
Real workflow/provider/live evidence remains mandatory and currently pending.
180180

181+
AC-BC-024/025 additionally retains actual CDP blank/no-script empty deltas with
182+
their raw hashes and zero line/branch contribution. Each session must independently
183+
map authored functions; empty-only/unmapped-only sessions and malformed/Node-empty
184+
receipts fail. TASK036/037's tests-first reader/protocol contract and actual G
185+
red baseline are in publication acceptance/plan and ADR-040. Every earlier source
186+
inventory, numeric threshold and complete real-browser assertion remains required.
187+
181188
## Required analyzer dependency for the website candidate
182189

183190
REQ-BC-027 maps to AC-BC-027 in [site acceptance](../../site-design.acceptance.md),

‎docs/implementation/site-design.json‎

Lines changed: 59 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemaVersion": 1,
33
"date": "2026-10-02",
4-
"scope": "REQ/AC-BC-011..018 and BC-024/025/027",
4+
"scope": "REQ/AC-BC-011..018 and BC-024/025/027/028; website_only_publication",
55
"status": "implementation_in_progress",
66
"feature": "docs/Features/BenchmarkComparisons.md",
77
"decision": "docs/ADR/ADR-040-static-site-threejs-evidence.md",
@@ -63,7 +63,9 @@
6363
"nativeFormatRepair": "TASK014_COMPLETE_source_and_GitHub_36991420593_all3real_process_cases_passed",
6464
"numericRepair": "TASK015_COMPLETE_source_and_GitHub_36991420593_original4failures_plus_all17registrations_and_numeric_selfinventory_passed",
6565
"diagnosticFlows": "TASK016_COMPLETE_root_and_strongest_4file_source_join_213298217ea9f5309765bb41eca581062cc1ca78ef45abd4cd4715dd26cd41cb; retainedregressionbytepreserved; integrateddevelopmentbuild_and_formatpass; runtime_pending",
66-
"argumentRoleRepair": "TASK018_FIX_COMPLETE_root_and_strongest_twofile_source_join_6daafb389c2caca0976ea7c8530cae37a6ba033f5fb3001171a2489bfeef1218_bf33778bb16a12d04b07a88d535a516d004957592a2aba9d5b91845e2e0de5fc; enabledbuild0warnings0errors_and_analyzerformatpass; realGitHub_pending"
66+
"argumentRoleRepair": "TASK018_FIX_COMPLETE_root_and_strongest_twofile_source_join_6daafb389c2caca0976ea7c8530cae37a6ba033f5fb3001171a2489bfeef1218_bf33778bb16a12d04b07a88d535a516d004957592a2aba9d5b91845e2e0de5fc; enabledbuild0warnings0errors_and_analyzerformatpass; realGitHub_pending",
67+
"browserDeltaProtocol": "TASK036_SOURCE_COMPLETE_strongest_threefile_review; authentic_browser_empty_delta_retained_and_per_session_mapped_evidence_required; real_GitHub_pending",
68+
"browserDeltaRegressions": "TASK037_SOURCE_COMPLETE_strongest_fourfile_semantic_review; two_actual_build_style_errors_repaired; enabled_development_build0warnings0errors; real_GitHub_pending"
6769
},
6870
"verification": {
6971
"source": "Joined bounded website publication source and strongest task reviews; exact next candidate cut and actual full qualification pending; no runtime qualification claimed",
@@ -110,7 +112,7 @@
110112
]
111113
},
112114
"githubSiteSuite": {
113-
"state": "actual_F4_full_suite_red_repaired_source_pending_complete_GitHub_join",
115+
"state": "actual_G_all70_functional_tests_passed; full_gate_failed_on_valid_empty_browser_delta; complete_qualification_pending",
114116
"attempts": [
115117
{
116118
"run": 36987695573,
@@ -354,14 +356,51 @@
354356
},
355357
"cause": "Four real-CLI malformed metadata regressions accepted invalid receipts/IDs; real Chrome Queue ACK to PointRead reaches undefined metric symbol; emitted-asset test oracle wrongly prefixes output with site/. Missing browser receipt fails numeric coverage. All source repairs await next complete GitHub gate.",
356358
"nativeGateReportSha256": "3c239c4384e94c31ad48179e62da11fb20e8c4b4706d5ded4ea653b8338fdf2b"
359+
},
360+
{
361+
"run": 37008674643,
362+
"sourceRevision": "cc99e9c2814a9bd6c26dc44661ac3ee82a4f0e64",
363+
"url": "https://github.com/managedcode/KeyLoad/actions/runs/37008674643",
364+
"jobUrl": "https://github.com/managedcode/KeyLoad/actions/runs/37008674643/job/110842887739",
365+
"purpose": "website_only_protocol_regression_baseline",
366+
"state": "completed_failure",
367+
"conclusion": "failure",
368+
"publication": "skipped",
369+
"analyzerTests": {
370+
"total": 118,
371+
"executed": 118,
372+
"passed": 118,
373+
"failed": 0,
374+
"skipped": 0,
375+
"trxSha256": "0fb59325adc559514054945346ae3c9c2179aa5fb12fe001f79795a69eda0d46"
376+
},
377+
"siteTests": {
378+
"total": 71,
379+
"executed": 71,
380+
"passed": 70,
381+
"failed": 1,
382+
"skipped": 0,
383+
"trxSha256": "091e891b7d122aefceca527b1b6b291cbf39127a451fa0b294a2059f1c0e29b8",
384+
"failure": "synthetic_AfterTestSession_only; all70authored_functional_tests_pass"
385+
},
386+
"nativeReportSha256": "04e7f43aab20bbf3aba4e4602e8e40dfd0711caf5726b5dfc4052be6abf14d9e",
387+
"nativeGateReportSha256": "7a735eb6918f31976d2a8167b8ca4404b97e083409f55565b2614e077fbf5c4a",
388+
"artifactReceipt": {
389+
"id": 11226958262,
390+
"bytes": 22080263,
391+
"digest": "sha256:fe0f1c9501afbc420425721fb2ad1ac20b9d208458491be1144fc57269aa16ec",
392+
"localEvidence": "/private/tmp/keyload-site-run-37008674643",
393+
"log": "/private/tmp/keyload-site-run-37008674643-failed.log"
394+
},
395+
"cause": "Native parser rejects valid initial blank-page CDP result:[]; all prior functional failures repaired, numeric97/86 and all9critical pass but retained error fails full gate. TASK036/037 reader/protocol regressions pending."
357396
}
358397
]
359398
},
360399
"coverage": "native_Node_browser_and_MTP_analyzer_gates_in_progress; exact_candidate_GitHub_numeric_pass_pending",
361400
"databaseQualification": "not_part_of_site_gate",
362401
"publicPublication": "owner_authorized_separate_workflow_implemented_qualification_and_provider_proof_pending",
363402
"dns": "unchanged",
364-
"developmentBuild": "Integrated SiteTests_and_AnalyzerTests_Release_builds_passed_0warnings_0errors; focused_format_passed_for_all_three_dependency_projects; no_local_tests; broader_solution_qualification_separate",
403+
"developmentBuild": "Integrated SiteTests H Release build passed0warnings0errors after bounded two-line fixture style repair; AnalyzerTests prior development build passed; no_local_tests; exact_H_format/static/sourcecut/GitHub_qualification_pending",
365404
"githubAccess": "Authenticated_read_verified_live_2026-10-02; repository_push_permission_true; no_credentials_changed",
366405
"governance": {
367406
"state": "passed_static_workspace_validation",
@@ -397,18 +436,22 @@
397436
"fullAnalyzerTests": "112executed112passed0failed0skipped",
398437
"globalProductAndNoDecreaseCoverage": "separate_unqualified"
399438
},
400-
"publicationPreflight": "authenticated metadata selection and immutable same-ZIP setup ran in GitHub F4; current validator/control/caller repairs pending next complete native/Site/Chrome/coverage qualification and provider proof",
439+
"publicationPreflight": "Authenticated metadata and same-ZIP preparation plus all70functionalSiteTests passed in actual G; full gate failed on valid empty browser delta; protocol/source qualification and provider/live proof pending",
401440
"latestSiteCoverageFailure": {
402-
"run": 37006688275,
403-
"sourceRevision": "81d5cc02f10bd6f53b73bcc07b28a6e996a91936",
404-
"reportSha256": "76a668b80376f905b4e0a939ccef67c9f0c8d8584f7699afe7fad5a3a3bbfda5",
441+
"run": 37008674643,
442+
"sourceRevision": "cc99e9c2814a9bd6c26dc44661ac3ee82a4f0e64",
443+
"reportSha256": "ce769fab3b0d2a4fbb1a976a94c1c56ba1c8aa068362fa64fdd74b2e77b645b6",
405444
"sources": 17,
406445
"criticalSources": 9,
407-
"coveredLines": 1214,
408-
"executableLines": 2329,
409-
"coveredBlockOutcomes": 305,
410-
"blockOutcomes": 388,
411-
"completedBrowserReceipts": 0,
446+
"coveredLines": 2351,
447+
"executableLines": 2399,
448+
"coveredBlockOutcomes": 537,
449+
"blockOutcomes": 623,
450+
"completedBrowserReceipts": 7,
451+
"nativeBrowserFiles": 8,
452+
"errors": [
453+
"Initial real Chrome blank-page delta rejected as empty native script records"
454+
],
412455
"passed": false
413456
}
414457
},
@@ -420,12 +463,13 @@
420463
"sourceSnapshotReceiptSha256": "271d8415d29c69e8af84f604858079ed6effd4ce586d06220237ff9ac57b9684",
421464
"workspace": "shared_dirty_checkout_preserved",
422465
"main": "preserved_by_site_composer; advanced_by_concurrent_runtime_owner",
423-
"currentCandidateRevision": "81d5cc02f10bd6f53b73bcc07b28a6e996a91936",
466+
"currentCandidateRevision": "cc99e9c2814a9bd6c26dc44661ac3ee82a4f0e64",
424467
"descendantReceipt": "/private/tmp/keyload-site-candidate-20261002-b.delivery.json",
425468
"redSourceReceipt": "/private/tmp/keyload-site-candidate-20261002-c.delivery.json",
426469
"sharedHeadAtRedComposition": "3559225a5f918160e46e32c9a812c3f71790e382",
427470
"joinedSourceReceipt": "/private/tmp/keyload-site-candidate-20261002-d.delivery.json",
428471
"portableSourceReceipt": "/private/tmp/keyload-site-candidate-20261002-e.delivery.json",
429-
"governanceSnapshotReceipt": "/private/tmp/keyload-site-candidate-f4b-20261002.delivery.json"
472+
"governanceSnapshotReceipt": "/private/tmp/keyload-site-candidate-f4b-20261002.delivery.json",
473+
"protocolSourceReceipt": "/private/tmp/keyload-site-candidate-g2-20261002.delivery.json"
430474
}
431475
}

‎site-publication.acceptance.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,35 @@ The actual F4 failing complete-preview regression is the tests-first baseline;
268268
the same real builder/raw-report/asset/vendor flow must pass in the next full
269269
GitHub suite. This is a test-oracle correction under existing architecture, not
270270
permission to remove an asset or publish qualification tooling as website assets.
271+
272+
### AC-BC-024/025 native blank-page deltas
273+
274+
A real CDP precise-coverage browser snapshot may have a valid empty `result`
275+
array during a blank or no-script interval. Retain its original bytes, runtime,
276+
identity and hash, recording zero mapped functions and no line/branch credit.
277+
Do not filter or fabricate it. Non-array/malformed browser results and empty Node
278+
results still fail. Each individual browser session must contain mapped authored
279+
functions; empty-only or unmapped-only sessions fail even when another valid
280+
session supplies browser coverage. All earlier source/hash/origin/confinement
281+
checks,17 authored sources,9 critical gates and80/70/90 thresholds remain required.
282+
283+
The authentic G full-suite failure is the tests-first baseline: run37008674643,
284+
site SHA cc99e9c2814a9bd6c26dc44661ac3ee82a4f0e64,71 executed/70 passed/1
285+
synthetic after-session failure/0 skipped. Regression evidence must exercise real
286+
Chrome/native bytes through the actual reader: positive complete session with its
287+
empty delta retained at zero credit; controlled empty-only second-session copy
288+
must fail despite a valid session beside it. Malformed/Node-empty rejection stays
289+
explicit. Isolated owned copies remain under the existing converter-fixtures
290+
test-infrastructure area and are removed before the full coverage join; no global
291+
environment mutation, fake transport/browser, authored-source exclusion or local
292+
test run is allowed. Automated evidence is the complete exact-SHA GitHub TUnit
293+
Site/Chrome/coverage workflow, followed by strongest source/evidence review.
294+
295+
TASK036 changes only NativeRanges/ArtifactReader and a named per-session error
296+
token if needed. TASK037 owns one assertion call after the existing complete real
297+
browser flow plus SiteBrowserCoverageAssertions/Fixture/Tokens. Use unchanged
298+
ReadAsync with owned converter-fixtures paths, the actual source manifest, all
299+
actual session bytes and an actual mapped Node receipt. Controlled negative
300+
second sessions additionally cover anonymous-only entries, missing/non-array
301+
results and unknown origins; an empty Node copy remains rejected. All identities
302+
and hashes derive from the retained bytes, never generated execution claims.

‎site-publication.brainstorm.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,22 @@ custom ZIP parser, fake GitHub transport, credential exposure or new installatio
5151
Controlled metadata/corrupt archive inputs prove rejection, never API/publication
5252
success. Real automatic callback, complete GitHub gates, Pages provider receipt
5353
and live report/UI verification remain required operational evidence.
54+
55+
## Actual G browser-coverage finding
56+
57+
The exact G GitHub suite passed all70 authored functional tests, but its coverage
58+
join rejected the first real Chrome delta: `{"result":[],"timestamp":867.18667}`.
59+
The snapshot was taken on the initial blank page before navigation. The official
60+
[CDP Profiler contract](https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/pdl/js_protocol.pdl)
61+
returns an array for the current isolate and resets counters; it does not promise
62+
a nonempty delta. Later seven snapshots map authored website execution. Numeric
63+
thresholds already pass; this is a native-protocol interpretation error.
64+
65+
Skipping startup collection or filtering empty files loses original evidence and
66+
does not handle other legitimate blank/no-script windows. Keep every native byte
67+
and hash. Accept only a structurally valid empty browser array as zero coverage;
68+
preserve Node-empty/malformed rejection and strengthen each browser session to
69+
require mapped authored functions. Empty-only or unmapped-only sessions must fail
70+
even beside another valid session. Root records the actual red artifact first;
71+
strongest review freezes disjoint converter/reader and realistic regression scopes
72+
before bounded workers, followed by full exact-source GitHub qualification.

0 commit comments

Comments
 (0)