docs(render): preserve exact C24 quality-test macro recovery WIP

This commit is contained in:
selune committed 2026-10-31 05:38:12 +01:00
1 parent 53a60b772d
commit 53ef5bb7c2
5 files changed
+2862

No files matched your search

+4
View File
@@ -203,3 +203,7 @@ The complete API consumer connects captured direct visibility and RGB shading to
[Four-path source and request-boundary documentation](../2026-10-31/cpu-directional-shadow-ui/README.md). UniformON/OFF reaches the existing producer; mixed assignments refuse explicitly. Original277cases retained, one old unsupported-feature frontier deliberately updated,7newcasesUNRUN. Included in C23source only, not native/image/GPU/full-CI qualification.
- [U04 original GPU owner patches: proposed source integration](../2026-10-31/u04-owner-integrated-source/README.md) — Twelve literal hunks from plexi32's #6813 and #6850, original tests and RAW bindings. Not adopted; Rust/Naga/GPU/native UNRUN.
## C24 existing quality-test macro expression (2026-10-31)
[One-file checkpoint, exact two-parentheses delta and source bindings](../2026-10-31/c24-two-parentheses/README.md). Immediate base is C23 post-format source, not the earlier unformatted public candidate. No production change or new tests; C24 resource admission stopped before combined Cargo, with 953 cases and 60 required marker contracts UNRUN. No gate/readiness PASS inferred.
@@ -0,0 +1,11 @@
# C24: two parentheses in an existing quality test
This source checkpoint contains one adopted test-file change following the [C23 quality proposal](../c23-three-path-source/README.md). It adds only `(` and `)` around `["Q-001","Q-002","Q-003"][index]` inside the existing `json!` call in `quality_highlight_derives_every_projected_field_and_returns_to_custom`. C23's actual compiler reported `no rules expected [` at this expression; the parentheses group the indexed expression for the macro. No renderer production code changes.
All fixture IDs, the index, variant, omission acknowledgement, assertions, tolerances and oracles remain byte-identical outside these two inserted characters. The file retains the same 81 test declarations, with zero new declarations. Existing source, authorship and notices are preserved verbatim.
The patch's immediate before file is the actual C23 post-format source, SHA256 `87c0acbdfd3e45128e3ced3819fa5b9740d8940eec2ce5402aa567b3435b53b9`. The earlier public C23 candidate has SHA256 `867fbaa191e057b56dcc09b0d61e624edab130e53dab0ea3882e98ee850a2da6`; it precedes that formatting and is not this patch's literal receiver. This archive supplies no cumulative patch from the older public file. Reconcile that receiver explicitly before applying the two-character delta; do not apply earlier quality deltas again to a file that already contains them.
`candidate/` is the exact adopted C24 test file, SHA256 `5dfa8eb8be2da3ae24895ed098ebe62029a4de69f508ab7e26cabdba54ad5292`. `delta.patch` is the 597-byte single-hunk alternative from the exact before source. Forward and inverse byte replay match. Use the candidate OR apply the patch once to its exact receiver; these are alternatives. Other integrated workspace prerequisites are not bundled, so this is not a standalone buildable branch. `source-bindings.json` separates Git commits from source/artifact SHA256 pins.
C24 stopped at resource admission before the combined Cargo build. This is a resource stop, not a test or product failure. The changed C24 source has no combined-build or test qualification: all 953 selected cases and 60 required CPU-supported marker contracts remain UNRUN. No normal development gate, full CI, native desktop/GPU acceptance or readiness PASS is claimed, and prior partial results do not transfer. A later exact-source attempt requires its own authorized execution and admission; this archive creates neither.
@@ -0,0 +1,11 @@
--- a/crates/ui-egui/src/render_workspace_inspector_tests.rs
+++ b/crates/ui-egui/src/render_workspace_inspector_tests.rs
@@ -2683,7 +2683,7 @@
.app
.run(
"render.quality.prepare",
- json!({"id":["Q-001","Q-002","Q-003"][index],"variant":"fixed_samples_png","acknowledge_omissions":true}),
+ json!({"id":(["Q-001","Q-002","Q-003"][index]),"variant":"fixed_samples_png","acknowledge_omissions":true}),
)
.unwrap();
apply_quality(&mut h.app, &plan).unwrap();
@@ -0,0 +1,33 @@
{
"schema": "portable-source-bindings-v1",
"scope": "One existing test expression, two inserted parentheses, no production change",
"path": "crates/ui-egui/src/render_workspace_inspector_tests.rs",
"before_sha256": "87c0acbdfd3e45128e3ced3819fa5b9740d8940eec2ce5402aa567b3435b53b9",
"before_bytes": 153358,
"candidate": "candidate/crates/ui-egui/src/render_workspace_inspector_tests.rs",
"candidate_sha256": "5dfa8eb8be2da3ae24895ed098ebe62029a4de69f508ab7e26cabdba54ad5292",
"candidate_bytes": 153360,
"delta": "delta.patch",
"delta_sha256": "a8b1b1134222c6579228d02dc0d8850828938fec824c468306325c23f6283850",
"delta_bytes": 597,
"immediate_receiver": "Actual C23 post-format test source; not the earlier public unformatted candidate",
"lineage": {
"prior_public_unit": "proposals/render/2026-10-31/c23-three-path-source/",
"prior_public_candidate_sha256": "867fbaa191e057b56dcc09b0d61e624edab130e53dab0ea3882e98ee850a2da6",
"actual_C23_post_format_source_manifest_sha256": "7cc6a040e808f5dd973310dd095f5a457ae482ab5a240309602c4f97d231b99e",
"C24_adopted_source_manifest_sha256": "2f39172dd42414588fb0c88cb23d30c2d5f626592ab3d4632b032701e85edbf1",
"C24_independent_expression_source_review_sha256": "ab7fd9e787e4cceb881047377d9efc640c53cf09166943ee412fe2c70dafa7b6",
"production_checkout_HEAD_at_source_adoption": "a077906234972dbbf11e80c54893f85ece97c8b7",
"archive_parent_commit_supplied_for_publication": "53a60b772d5c31a10bc86195814c86704d66c43f"
},
"test_contract": {
"existing_case": "quality_highlight_derives_every_projected_field_and_returns_to_custom",
"test_declarations_before_and_after": 81,
"new_declarations": 0,
"other_fixture_ID_index_variant_acknowledgement_assertion_oracle_bytes_unchanged": true,
"selected_cases_UNRUN_on_C24_source": 953,
"required_TRUE_marker_contracts_UNRUN": 60
},
"C24_execution_status_at_curation": "Resource admission stop before combined Cargo build, as reported by Engineer; no passing normal gate, test run or readiness inferred",
"combined_build_or_test_qualification": false
}