fix(pbs): exclude transient state from packaged example knowledge
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

Keep canonical asset identities and verify cache-independent packaging and installed references.

Work: WRK-0027. Validation: make -C tooling verify, run 20261127T004152Z-e028bb55, PASSED.
This commit is contained in:
2026-11-27 00:51:37 +00:00
parent a2494e7d70
commit 219969b9e6
6 changed files with 71 additions and 1 deletions
@@ -568,6 +568,17 @@ example references identify their SDK major and target; unsupported selections
MUST NOT silently reuse another SDK/target. Numbered spec/draft revisions and the
reference-index schema revision MUST NOT be reported as language/compiler versions.
The packaged Beacon Workshop example MUST preserve canonical sources, asset
metadata, animation sidecars, PNG resources and `assets/.prometeu/index.json`
with their content hashes. Its resource bundle, `distribution.json` inventory
and reference index MUST use the same source selection and exclude local
`assets/.prometeu/cache.json`, Python `__pycache__` directories and temporary
publications (`.asset-publish-*.tmp`, `.record-*.tmp`, `.animation-*.tmp`). These
transient files MUST NOT affect the generated resources, inventory, reference
IDs or hashes when created, modified or removed. Regeneration MUST remove
previously copied transient resources. The installed example MUST remain
compilable and packable outside the source checkout without a preexisting cache.
`studio_reference_read` is authenticated but does not require an acquired task; the transport still requires a grant-published project credential. It resolves the explicit open root and its current saved manifest selection
on every read. Changing SDK/target can invalidate previously advertised IDs.
Only IDs in that project's installed index can be read, including when other