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
@@ -17,7 +17,10 @@ val pbsResources = layout.projectDirectory.dir("src/main/resources")
val beaconWorkshop = rootProject.layout.projectDirectory.dir("test-projects/beacon-workshop")
val beaconFiles = fileTree(beaconWorkshop) {
include("src/**", "assets/**", "tools/*.py", "*.md", "prometeu.json", ".gitignore")
exclude("**/__pycache__/**")
// Local packer state and in-flight publications are not example source material.
// Keep assets/.prometeu/index.json: it owns the canonical asset identities.
exclude("assets/.prometeu/cache.json", "**/__pycache__/**",
"**/.asset-publish-*.tmp", "**/.record-*.tmp", "**/.animation-*.tmp")
}
val generatePbsKnowledge by tasks.registering(Sync::class) {
from(pbsSpecs) { include("*.md"); into("pbs-knowledge/specs") }