Skip to content

Strict Package Template Reference rendering #140

@zack-nova

Description

@zack-nova

Parent

#136

What to build

Replace the public package template variable behavior with strict namespaced Package Template References. Package-owned runtime rendering should use {{ vars.<name> }} only, fail closed for broken Harness Yard references, and leave GitHub Actions expressions outside the Harness Yard renderer.

Acceptance criteria

  • Package-owned runtime file rendering recognizes {{ vars.<name> }} as the P0 Package Template Reference syntax.
  • The renderer fails before writing package-owned runtime output for unsupported namespaces such as package.*, runtime.*, context.*, and secrets.*.
  • The renderer fails for unknown vars.* references that are not declared Package Variables.
  • The renderer fails for declared variables that remain unresolved after Runtime Bindings/default resolution.
  • The renderer fails for malformed Harness Yard template syntax and includes the file path when available.
  • GitHub Actions expressions such as ${{ secrets.GITHUB_TOKEN }} are preserved and are not interpreted as Harness Yard Package Template References.
  • Pre-release $name template references are not part of the public rendering contract.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    delivery-mode:afkDelivery expected to proceed through objective repository gatesstate:mergedWork has landedtype:featureFeature work item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions