Skip to content

refactor(provider): template/manifest providers, delete Operation enum (Phase 2B) - #130

Merged
David-Noble-at-work merged 2 commits into
developfrom
feat/provider-phase-2b
Feb 15, 2026
Merged

David-Noble-at-work merged 2 commits into
developfrom
feat/provider-phase-2b

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Summary

  • Move Render from file provider into dedicated provider/template/ package
  • Create provider/manifest/ with manifest-resolve action for packages-manifest.yaml
  • Delete writ/tree/operation.go — ProcessingPipeline returns []string action names directly
  • Remove passthrough transforms from Plan.Copy/Plan.CopyWithMode; add explicit Plan.Render/Plan.Decrypt
  • Add Starlark plan.template.render() and plan.encryption.decrypt() namespaces
  • Remove plan.file.configure() from all platforms (darwin/linux/windows); replace Configure with Render+Decrypt on PlanBindings interface
  • Remove .age file extension support — SOPS only (.sops)
  • Update ComputeSummary for manifest-resolve; 29 total registered actions

Test plan

  • go build ./... passes
  • go vet ./... passes
  • go test ./internal/execution/... -count=1 — action count 29, template/manifest registered, engine pipeline tests pass
  • go test ./internal/writ/... -count=1 — tree tests updated for []string, .age → link
  • go test ./internal/starlark/ -count=1 — plan bindings pass
  • go test ./internal/lore/... -count=1 — passes

David Noble added 2 commits February 14, 2026 17:37
…m (Phase 2B)

- Move Render from file provider to template provider
- Create manifest provider with manifest-resolve action
- Delete writ/tree/operation.go; ProcessingPipeline returns []string
- Remove passthrough transforms from Plan.Copy/CopyWithMode
- Add Plan.Render/Decrypt, Starlark plan.template.render/plan.encryption.decrypt
- Remove plan.file.configure from all platforms (darwin/linux/windows)
- Replace Configure with explicit Render+Decrypt on PlanBindings interface
- Remove .age extension support (SOPS only)
- Update ComputeSummary for manifest-resolve
- 29 total registered actions
@David-Noble-at-work
David-Noble-at-work merged commit 20f277a into develop Feb 15, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the feat/provider-phase-2b branch February 15, 2026 02:41
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