Skip to content

feat(assemble): let a product keep some files of an object - #68

Merged
nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/product-roles
Oct 15, 2026
Merged

nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/product-roles

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

Summary

  • Assembly.roles names, per object, the roles of its files a product keeps, for an object of which the product uses some files only (a shader's programs for one graphics API).
  • The product's object table, manifest and layout then hold only those files.
  • Naming an object the table lacks, or a role the object has no file for, is an error of the stage.

Tests

  • a product that keeps only the json of a texture: table, manifest and layout entries
  • keeping a role the object lacks is an error

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

An Assembly names, besides the objects its files use, the roles it keeps of
an object of which it uses some files only (`roles`), such as a shader's
programs for one graphics API. The product's object table, and so its
manifest and layout, hold only those files. Naming an object the table lacks
or a role the object has no file for is an error of the stage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nichinichisou0609
nichinichisou0609 merged commit d886195 into redesign/depot Oct 15, 2026
8 checks passed
@nichinichisou0609
nichinichisou0609 deleted the redesign/product-roles branch October 15, 2026 02:41
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