Repository navigation
feat(star): load templates from extension directory - #126
Merged
Merged
Conversation
Move plan_receiver and graph_ops templates from noblefactor-ops Go code to .go.tmpl files in the Ops extension's templates/ directory. Templates are loaded at runtime via file.read() using ctx.extension.dir. The realtime_receiver template remains a builtin retrieved via go.template().
David-Noble-at-work
added a commit
that referenced
this pull request
Aug 7, 2026
The session ledger made durable: eleven closed items (PRs #321-#330, ops #125/#126) recorded with their plan docs, and the two open items front and center — item 10, the 2.8 diagnose-sweep (blocked on the diagnostics API; 30 diagnose-ignored-error markers form the work-list) and item 11, the single codec (owner-authored design; the requirements ledger and unlegislated corners linked). The plan closes when 10 and 11 do. Co-authored-by: David Noble <[email protected]>
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
templates/plan_receiver.go.tmplandtemplates/graph_ops.go.tmplin the Ops extensiongenerate.starto load local templates viafile.read()usingctx.extension.dirgo.template()Test plan
go build ./...andgo vet ./...clean