Spec gap: template_strings instantiation syntax and namespace sharing with templates are undefined #12
Labels
No labels
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/actors-spec#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
§8.9 introduces the
template_stringssection for raw structural templates — templates containing{% for %}loops that generate YAML keys — and states they must be preserved verbatim until instantiation.However, §8.9 never specifies how to instantiate a template from
template_strings. The example in §18.11 uses the sametemplate: <name>syntax as fortemplates:Neither §8.9 nor §8.7 (Template Instances) address:
templatesandtemplate_strings? I.e., can you instantiate atemplate_stringsentry usingtemplate: <name>?templatesandtemplate_strings? Which takes precedence?template_stringsidentical to Phase B fortemplates, or does it go through a different mechanism (since the body must be text-rendered and then YAML-parsed at instantiation time rather than having expressions rendered into an already-parsed structure)?Impact on Library Implementation
The template resolution and instantiation pipeline cannot be implemented correctly without knowing whether
templatesandtemplate_stringsshare a namespace and howtemplate_stringsentries are instantiated. If they are treated identically by thetemplate:key, the library must handle the structural-template case (text → render → parse → merge) differently from the component-template case (parse → render expressions into values).Fix Needed
In §8.9, add:
template_stringsentries are resolved by the sametemplate:key in agents/routestemplatesandtemplate_stringstemplate_stringsentries (text render → YAML parse → merge into parent)References
template_strings)template_stringsSectiontemplate_stringsfor Structural Templates (usestemplate:key without stating it resolves fromtemplate_strings)