Repository navigation
docs(book): document the catalog-generated intrinsics workflow - #1171
Conversation
f64ee3e to
1147b7b
Compare
|
Putting this PR on hold because it defines maintainer-owned policy tracked in #808; it is not a pointer-refactor hold.
This follows the existing-design and focused-scope requirements in the Discord acceptance criteria. |
|
Fresh review pass over this one. It stays on hold, and to be fair: the blocker is on my side, not yours. #808 reserved the contributor-path policy for maintainers to define, and until I ratify it there, the normative sections here (ABI-ID rebase discipline, That said, the deep review found real accuracy issues you can fix while the policy question is pending:
Everything else I spot-checked against the tree holds up (do-not-edit targets, fail-closed probe flags, append-only ledger rules, the three CI gates). Once #808's policy call lands, this needs one conformance pass against it and a rebase, then it can go in. |
Signed-off-by: Raul Estrada <[email protected]>
…gn check-intrinsics with CI Accuracy pass over the new catalog-generated-intrinsics chapter: - schema gloss was backwards. Before: overlay.toml's `schema` "identifies the serialized catalog format expected by the generator". After: it is OVERLAY_SCHEMA, the overlay INPUT format (resolve/overlay.rs); catalog.json's "schema": 46 is CATALOG_SCHEMA, the serialized catalog format stamped at generation. Added a small pipeline sketch showing 44 -> generator -> 46. - new subsection for catalog.json's header fields (schema, catalog_version, intrinsic_abi, generator_version); the generator_version stamp was undocumented anywhere. - Justfile check-intrinsics now runs probe with --per-target, matching the generated-intrinsics CI job, so the chapter's "mirrors the CI job" sentence is literally true. - noted the two environment facts the gates depend on: check-abi-history needs full git history (CI uses fetch-depth: 0), and the generator shells out to rustfmt (why the toolchain pin carries the rustfmt component). - generator source pointers are directories now (src/model/, src/resolve/, src/render/), not single .rs files. Signed-off-by: Nihal Pasham <[email protected]>
1147b7b to
389a1e4
Compare
|
Off hold: the policy question this was parked on is settled on #808, and the path your chapter inferred is now the official one. So the normative sections stay as written; we finished the rest ourselves rather than round-tripping. Your commit is the base of the new head, untouched. What we stacked on top (one signed commit):
Validation: book builds with zero warnings, every path and command the chapter names resolves in today's tree, all nine repo guards pass, and a real |
Closes #808
Summary
Document the contributor workflow for catalog-generated intrinsics and route the existing intrinsics guide to that workflow before the hand-written path.
This closes the remaining book-level documentation gap around
cuda-intrinsics-gen: contributors can now see which files are authoritative, which files are generated, how ABI/evidence changes fit into the workflow, and which validation command mirrors the generated-intrinsics CI checks.Changes
compiler/catalog-generated-intrinsics.md;upstream.lockimported.jsonoverlay.toml/ overlay shardsabi-v1.tomlcatalog.json;overlay.toml;extractis for updating imported LLVM facts, not for normal intrinsic additions;compiler/adding-new-intrinsics.mdto distinguish the catalog-generated and hand-written paths;intrinsics/catalog.json;Validation
just check-intrinsics upstream/maincompleted successfully, including all 1016 generated intrinsic routes and ABI-history validation.