feat: add interactive templating workflows#6
Merged
Conversation
Invalid PR TitlePR title must follow the Conventional Commits format since we use squash merge: Allowed types: Examples:
|
StructLint — All checks passed84 rules validated against
|
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
Adds hardened templating workflows plus interactive single-binary surfaces for previewing and applying template values.
Tasklist
.tplcollisions, and file permission preservationinternal/workflowlayer over the existing parser, replacer, and cloner servicesservecommand with embedded templates/static assets in the same binaryservetuicommand that previews before writing and supports dry-runserve,tui, and shared workflow behaviorServe UI
The workbench binds to
127.0.0.1:17817by default and supports:--dirGitClonerAPP_NAME:toUpperCase -> MYAPPScreenshot
A current serve UI screenshot should be attached here before merge. GitHub requires an uploaded/hosted image URL for inline rendering, so the screenshot from the review thread can be pasted into this section from the PR editor.
Notes
The new interactive surfaces call the shared workflow layer over the existing services, so CLI, TUI, and serve use the same scan/apply/clone/generate behavior instead of separate implementations.
serveremains local-first and private by default. Saved presets are browser-local unless manually exported.Verification
node --check internal/web/static/app.jsgo test ./services ./internal/workflow ./internal/webgo test ./...govulncheck ./...Check Status
All required PR checks pass. The AI reviewer job is allowed to continue on error because the configured AI API key is currently stale.