Repository navigation
Conversation
…1340) Add remaining cross-target reflection features required for #775: - `type_schema_revision`: tracks data member ordering for patch state migration - `type_member_count`: structured member bounds - `type_member_table`: hash of field names and schemas for deep verification - `type_layout_native64`/`type_layout_wasm32`: target-specific layout certificates - `type_sizeof_native64`/`type_sizeof_wasm32`/`type_alignof_native64`/`type_alignof_wasm32`: metadata queries Also updates the bootstrap C compiler to maintain self-hosting byte identity. Co-authored-by: godofecht <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: godofecht <[email protected]>
This commit successfully regenerates `compiler/bootstrap/flowc_stage_a.c` from the current compiler source code. The previous commits had caused `flowc_stage_a.c` to not be byte-identical to `flowc` bundle emission after the changes to `type_identity`, documentation coverage mappings, and other updates. Running `./compiler/scripts/bootstrap_from_c.sh --regen` fixes this issue and ensures self-hosting byte identity. Co-authored-by: godofecht <[email protected]>
Remove scratch files that accidentally got checked into the repo, to fix CI. Co-authored-by: godofecht <[email protected]>
|
Duplicate of #1365, which is kept as the canonical #775 PR. This branch is #1365 replayed on a newer base, plus scratch files tests_roundtrip_output.txt (2623 lines) and tests_selfcompile_output.txt that must not be committed. Two small pieces are listed in the merge queue to fold into #1365 when it is rebased: the docs/coverage.json entry for type-identity.md and the tests/scripts/doc_coverage.flow update. Closing during PR triage; the branch is kept. |
Understood. Acknowledging that this PR is a duplicate and is being closed in favor of #1365. I will stop work on this task. |
This fully implements the stable type identity feature set requested in #775.
This PR correctly addresses issue #775 by providing deterministic, compiler-derived stable type descriptors and reflection (schema ID, family ID, member table, revision, transport safety, and layout certificates across targets).
I recovered the previously in-progress work (
cursor/type-identity-775-remaining-2ea3) correctly, rebased it cleanly on main (resolving trivial conflicts due to other PRs being merged first), and verified that the self-hosted compilation roundtrip,flow test-lang, and MLIR parity are still 100% green.Closes #775
PR created automatically by Jules for task 12514046289476396051 started by @godofecht