Skip to content

ci: adopt ci-templates v2.5.0 enrollment gate (TIN-2109)#112

Merged
Jesssullivan merged 2 commits into
mainfrom
codex/tin2109-adopt-v2-5-0
Jun 14, 2026
Merged

ci: adopt ci-templates v2.5.0 enrollment gate (TIN-2109)#112
Jesssullivan merged 2 commits into
mainfrom
codex/tin2109-adopt-v2-5-0

Conversation

@Jesssullivan

Copy link
Copy Markdown
Owner

Adopts the hardened TIN-2109 enrollment gate from ci-templates v2.5.0.

  • Bumps js-bazel-package.yml pins @v2.3.0 -> @v2.5.0 (ci.yml + publish.yml).
  • Promotes the four enrollment dimensions from supply_chain.sbom.notes prose to first-class manifest fields: enrollment.{forgeScope,operatorOverlay,executionPool,substrateMode}. substrateMode: shared-cache-backed is now the authoritative expected mode the gate enforces (declared-vs-actual mismatch fails closed).
  • Re-vendors scripts/cache-attachment-contract.sh from v2.5.0 (manifest-driven expected mode, hosted/repo-label fallback rejection, executor-backed contract defined+enforced but selected by no repo).

Stays cache-first: cache_backed: true, substrateMode: shared-cache-backed, no --remote_executor wired. CI runs on the tinyland-nix cluster pool where nix-setup injects BAZEL_REMOTE_CACHE, so the gate attaches and rejects any hosted fallback.

Jess Sullivan added 2 commits June 14, 2026 17:27
- bump js-bazel-package.yml pins @v2.3.0 -> @v2.5.0 (ci.yml + publish.yml)
- promote the four enrollment dimensions to first-class manifest fields
  (enrollment.forgeScope/operatorOverlay/executionPool/substrateMode);
  substrateMode=shared-cache-backed drives the now manifest-sourced expected
  mode in the cache-backed gate
- re-vendor scripts/cache-attachment-contract.sh from v2.5.0 (manifest-driven
  expected mode, hosted/repo-label fallback rejection, executor-backed contract
  defined+enforced but not selected)

Stays cache-first: cache_backed:true, substrateMode=shared-cache-backed, no
--remote_executor wired.
v2.5.1 makes repo-manifest-validate dependency-free so the cache-backed
manifest-validation gate works on the tinyland-nix cluster pool (the v2.5.0
gate failed on a cold nix develop lock). Vendored cache-attachment-contract.sh
is unchanged between v2.5.0 and v2.5.1.
@Jesssullivan Jesssullivan merged commit 45f3f8d into main Jun 14, 2026
5 checks passed
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