Skip to content

Implement strict Package Template References#147

Merged
zack-nova merged 1 commit into
mainfrom
issue-140-strict-template-refs
May 12, 2026
Merged

Implement strict Package Template References#147
zack-nova merged 1 commit into
mainfrom
issue-140-strict-template-refs

Conversation

@zack-nova
Copy link
Copy Markdown
Owner

Closes #140

Summary

  • render strict {{ vars.<name> }} Package Template References across all valid text files
  • validate template references against manifest declarations for apply/reapply/replay/preview flows
  • update reverse variableization and backfill output to emit strict references
  • keep binary/invalid UTF-8 files untouched and preserve GitHub Actions ${{ ... }} expressions

Dev Brief Mapping

  • Parser/renderer rejects malformed references, unsupported namespaces, undeclared variables, and unresolved strict bindings when required.
  • Rendering is no longer Markdown-only; legacy $name references are not rendered.
  • Save/backfill reverse replacement emits {{ vars.<name> }}.

Validation

  • go test ./cmd/orbit/cli/template -count=1
  • go test ./cmd/orbit/cli -count=1
  • mise run fix
  • mise run ci

@zack-nova zack-nova merged commit 5a4573a into main May 12, 2026
9 checks passed
@zack-nova zack-nova deleted the issue-140-strict-template-refs branch May 12, 2026 15:11
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.

Strict Package Template Reference rendering

1 participant