Skip to content

refactor: move the atoms to the unity layer - #54

Merged
nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/unity-atoms
Oct 14, 2026
Merged

nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/unity-atoms

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

Summary

  • The atoms (texture decoding, PNG and ASTC encoding, sprite images, mesh arrays, glTF, file sniffing and the bundle reader) are the pure functions Unity objects are converted with; they live in nnnotes.unity.atoms.
  • Object ids (nnnotes.unity.ids) and media types (nnnotes.core.media) sit below them; nnnotes.pipeline.contract keeps object_id, parse_object_id, media_type and MEDIA_TYPES among its names.
  • Atom ids, and with them task keys and golden records, are unchanged.
  • The atom tests move to tests/unity; docs/stages.md and the architecture layer table name the new place.

Test plan

  • pytest (whole suite, synthetic fixtures)
  • ruff check, ruff format --check
  • pyright (basic, and strict for core/source), import-linter layers

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

The atoms (texture decoding, PNG and ASTC encoding, sprite images, mesh
arrays, glTF, file sniffing and the bundle reader) are the pure functions
Unity objects are converted with, and live in nnnotes.unity.atoms. Object
ids (nnnotes.unity.ids) and media types (nnnotes.core.media) sit below
them; nnnotes.pipeline.contract keeps object_id, parse_object_id,
media_type and MEDIA_TYPES among its names. Atom ids, and with them task
keys, are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nichinichisou0609
nichinichisou0609 merged commit cfddec0 into redesign/depot Oct 14, 2026
8 checks passed
@nichinichisou0609
nichinichisou0609 deleted the redesign/unity-atoms branch October 14, 2026 16:04
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