Repository navigation
Document Stage A identity contracts and RC readiness (A6) - #128
Conversation
ip332
left a comment
There was a problem hiding this comment.
Independent A6 review (head 68c3c159961398eefc81c0067f8b5e772a72bd55): the release notes, Stage A identity specification, 111-document link/CLI validation, and the requirement-by-evidence readiness matrix are substantially aligned with merged implementation. Good distinctions between current BRF2/QBS1/IR1 format versions, changed RC3 record IDs, the generated definition identity, and future Stage B. #85/#88 are not falsely discharged; #129/#130 are marked partial rather than passed. Native 73/73 and Linux build/coverage/Cortex-M passed.
Please make one focused normative wording correction before final merge approval: docs/specifications/binary-record-format.md currently says the new hierarchical recordId assignment section 'applies to BRF v1 and BRF v2 alike.' The 32-bit field representation can be described across physical formats, but the current compiler's hierarchical allocation algorithm is not a historically guaranteed property of BRF v1 or old generated bindings. Explicitly scope the sorted hierarchical mapping to current Stage A compilation, and distinguish it from the historical v1 physical format. Avoid retroactively specifying historical record-ID allocation.
Also, GitHub currently marks PR #128 as Draft, and the exact-head clang-tidy job was still running during review. After the focused text correction, revalidate the new exact head, allow CI to complete, then mark ready for review. No automatic merge. #85 and #88 remain release gates; the two new coverage-gap issues should receive explicit release disposition rather than implied approval. This is a review COMMENT (the connected GitHub account is the PR author).
ip332
left a comment
There was a problem hiding this comment.
Independent final technical review: GO / approved for squash merge at exact head efecaea0e766c2c323b5cd45dd8f1312b3e3e2d7.
Verified that the sole requested normative clarification is now correctly addressed in docs/specifications/binary-record-format.md: the BRF v1/v2 physical recordId field is 32-bit big-endian, while sorted hierarchical mapping and reserved ranges are explicitly scoped to current Stage A BRF v2 compiler generation, without retroactive historical BRF v1 allocation claims. The delta since the previous review is limited to that document. Earlier A6 scope/readiness review remains applicable.
Verified PR is open, non-draft, mergeable, with Closes #104; exact-head GitHub Actions run 44979343103 completed successfully: Build and test, Coverage baseline, clang-tidy, Cortex-M all pass; benchmarks skipped by PR policy. Native 73/73, Linux 73/73, coverage 68/68 and documentation checks reported. No remaining A6 merge-blocking finding.
Release publication is NOT approved: #85 and #88 remain outstanding gates; #129/#130 remain tracked partial coverage, #90 deferred and #119 approved exclusion. Merge PR #128 and confirm #104 closure and post-merge CI separately before any release-gate work. Review submitted as COMMENT, not formal GitHub APPROVE, because connected account is the PR author. No merge performed.
Closes #104
Reconciles Stage A specifications, architecture/user/developer guides and release documentation with merged A1–A5 behavior. No compiler/runtime behavior, wire format, identity algorithm, record IDs or API epochs change.
Review correction
Addresses the single normative finding in the independent review of
68c3c159961398eefc81c0067f8b5e772a72bd55.docs/specifications/binary-record-format.mdnow separates the unsigned 32-bit big-endian physical field representation from ID allocation. Sorted hierarchical mapping, reserved ranges and REQ-BRF-001–003 apply to current Stage A BRF v2 generation, not historical BRF v1 allocation or older bindings. Nearby compatibility/table wording is scoped consistently. The historical v1 physical description and current normative allocation rules are preserved. This review correction changes only that Markdown file.Documentation and readiness
Baseline:
2a9aafdbc3edbe9eef8ea84efa02cad717b1c7b0, with post-merge CI verified before A6 work. Final corrected head:efecaea0e766c2c323b5cd45dd8f1312b3e3e2d7.Exact-head
scripts/quarry-validate validate HEAD: 73/73 native CTests passed (626.31 s; total validation 649.7 s). Matching receipt fingerprint:b7f585657bf5daa66bdab10be82e525d12d64a6102147de836fa5292a6dbbd39.scripts/quarry-validate pushpassed its enabled hook (one commit/ref, 0.27 s).Documentation checker passed unchanged: 111 Markdown files, 233 relative links/heading fragments, 11 literal CLI examples, expected outputs/error exits, format versions/epochs, truck IDs/schema_id and both QBS headers. Native documentation check: 2.56 s; existing consumer-doc check: 6.84 s; public examples: 53.56 s; matrix: 43.47 s. Fresh matrix report: 25/25 pairs and 1,475 checks PASS, all five runtimes, no matrix skips. Packaging/installed consumers and identity regressions passed in the full suite. Commit hooks and
git diff --checkpassed; existing host SDK/linker warnings remain.Corrected-head CI: Linux GCC 73/73 CTests (327.39 s); coverage 68/68 (192.93 s, guard passed). The documentation CTest passed in 0.16 s in the full Linux suite / 0.33 s under coverage. Targeted Clang 18.1.3 matrix passed 25/25 pairs (13.919 s), with all five rows and no matrix skips. GCC LTO diagnostics passed; matrix artifact and LTO evidence uploaded.
Cortex-M passed: 10/10 matched artifacts, including the linked smoke ELFs, have byte-identical allocatable sections, relocations and defined symbols against the baseline in Default/MinSizeRel/Debug. Standalone runtime object path differences are reported unmatched, not counted in 10/10. Linked firmware flash/RAM is unchanged; hardware execution remains unverified. Clang-tidy also passed. All four applicable jobs are green on the corrected exact head; Benchmarks is skipped under the existing PR policy. The single reported normative finding is addressed by the linked correction; final independent review remains pending. PR is ready for review, with auto-merge disabled.
Publication decisions remain unchanged: #85 publication blocker; #88 unresolved publication gate; #89 fixed; #90 explicitly deferred/non-blocking; #119 approved exclusion for same-TU unprefixed C symbol collisions. Full cross-release ABI/compiler permutations and board/RTOS execution remain unverified. The targeted Clang18 matrix does not resolve #85's separate full generic conformance failure.
No automatic merge, release/tag publication, #105 work, or implementation of #85/#88/#90/#119/#129/#130. Unrelated local artifacts and the experimental record-ID branch remain preserved.