Skip to content

docs: write the four remaining engine-capability docs - #87

Merged
Lillevang merged 1 commit into
mainfrom
docs/complete-engine-docs
Jul 18, 2026
Merged

docs: write the four remaining engine-capability docs#87
Lillevang merged 1 commit into
mainfrom
docs/complete-engine-docs

Conversation

@Lillevang

Copy link
Copy Markdown
Owner

Follows #86 (the README/docs polish, now merged). Completes the docs/ backlog — every subcommand, flag, flavor, and engine capability now has a doc entry.

New docs

  • engine/templates.md.tmpl content substitution: the opt-in, the {{.ProjectName}} data model, escaping literal braces ({{"{{"}}), and why verbatim copy is the default (Helm/Ansible/Actions files with native {{ }}).
  • engine/path-templating.md{{.ProjectName}} in file paths, and the .tmpl workaround that keeps cmd/{{.ProjectName}}/ from breaking go build ./... in the template tree.
  • engine/common-overlay.md — flavor-then-common layering, the shared claimed-path set that makes the flavor win on collisions, and Overlay() as the single-layer writer add-tracker uses.
  • engine/done-gate.md — what the shipped check.sh runs, and the step (hard) vs maybe_step (skip-missing-recipe) split that lets one script serve every flavor.

Each leads with what the capability is, links source with file:line, and carries a worked example — matching the house style of flavor-hooks.md / releases.md.

Index

docs/README.md: all four marked DONE, backlog removed (it's empty now). flavor-hooks.md drops the (TODO) on its common-overlay.md link, and the /feature-doc skill note no longer references a TODO backlog.

Verification

All source line refs were read directly from the code. Cross-doc anchors (iac#template-files-and-the-jinja-gotcha, flavor-hooks#commontemplates, each flavor's #justfile-recipes) verified to resolve. go vet and go test ./... pass.

🤖 Generated with Claude Code

Completes the docs/ backlog. Adds:

- engine/templates.md — .tmpl content substitution: the opt-in, the
  {{.ProjectName}} data model, escaping literal braces, and why verbatim
  copy is the default.
- engine/path-templating.md — {{.ProjectName}} in file paths, and the
  .tmpl workaround that keeps cmd/{{.ProjectName}}/ from breaking
  `go build ./...` in the template tree.
- engine/common-overlay.md — the flavor-then-common layering, the shared
  claimed-path set that makes the flavor win on collisions, and Overlay()
  as the single-layer writer add-tracker uses.
- engine/done-gate.md — what the shipped check.sh runs, and the
  step (hard) vs maybe_step (skip-missing-recipe) split that lets one
  script serve every flavor.

Each leads with what the capability is, links source with file:line, and
carries a worked example. docs/README.md: all four marked DONE, backlog
cleared; flavor-hooks.md drops the "(TODO)" on its common-overlay link.
Cross-doc anchors verified; vet and tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Lillevang
Lillevang merged commit d8eb8a7 into main Jul 18, 2026
1 check passed
@Lillevang
Lillevang deleted the docs/complete-engine-docs branch July 18, 2026 00:01
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