Repository navigation
Conversation
Every string in a spec is a Jinja2 template, so a description or a paste
that only quotes one - `{{ .Values.tag }}` in a Helm example - was refused
as an undefined variable, and no escape survived both the offline check
and the render.
`interpolate: false` in the envelope sends every string exactly as
written, for every kind. Such a spec takes no variables: a `variables:`
section or a `--set` is the new problem code `interpolation-off`, and a
value that is not true or false is `wrong-type`.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
5 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First of three stacked pull requests that let a task be exported to a spec, edited and applied back. This one stands alone.
Every string in a spec is a Jinja2 template. A description or a paste that only quotes one, such as
{{ .Values.tag }}in a Helm example, was refused asundefined-variable, and no escape survived both the offline check and the render.interpolate: falsein the envelope sends every string exactly as written. It applies to create and search specs alike.variables:section or a--setis the new problem codeinterpolation-off.trueorfalseiswrong-typeand leaves interpolation on.docs/phorge-spec.mdandphabfive/SKILL.mddescribe the key.There is deliberately no per-string escape:
{% raw %}is outside the portable subset.Test plan
tests/test_spec_interpolate.pypins the old refusal and covers the new key: offline validation, rendering,to_data(), the schema, multi-document files, and--setagainst a literal spec.scripts/gen_spec_docs.py --checkandmkdocs build --strict.make test-e2eagainst a local Phorgestable: 153 passed, 2 skipped.🤖 Generated with Claude Code