Skip to content

Correct the Assembly id-derivation comment in the catalog#542

Merged
xmap merged 1 commit into
mainfrom
worktree-fix-assembly-comment
Jul 4, 2026
Merged

Correct the Assembly id-derivation comment in the catalog#542
xmap merged 1 commit into
mainfrom
worktree-fix-assembly-comment

Conversation

@xmap

@xmap xmap commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • The assemblies: header comment in catalog/catalog.yaml claimed the spine derives each Assembly's id as uuid5 over its name (matching Family and Role). The running code does not: define_assembly mints a fresh per-registration UUIDv7, and content_hash equality is what makes an Assembly recognizably the same blueprint across facilities.
  • Rewrote the comment to describe the actual behavior and to call out the contrast with the name-derived Family and Role ids.

Why

Surfaced during an adversarial stress-test of the Assembly/Fixture model: the stale comment had misled reasoning about how Assemblies are shared across facilities (they share by content_hash equality, not by a shared id). Comment-only change; no behavior change.

Test plan

  • test_catalog_descriptor + test_catalog_markers green
  • make docs-build (mkdocs --strict) green

Generated with Claude Code

The comment claimed the spine derives each Assembly's id as uuid5 over its
name, matching Family and Role. The code does not: define_assembly mints a
fresh per-registration UUIDv7, and content_hash equality is what makes an
Assembly recognizably the same blueprint across facilities. The stale
comment misled reasoning about how Assemblies are shared, so align it with
the actual behavior and call out the contrast with the name-derived Family
and Role ids.
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@xmap xmap merged commit 5c990e3 into main Jul 4, 2026
16 checks passed
@xmap xmap deleted the worktree-fix-assembly-comment branch July 4, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant