feat: Script Generator Phase 1 — backend models, engine, API, and AD templates #105
Reference in New Issue
Block a user
Delete Branch "feat/script-generator"
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?
Summary
Phase 1 — Backend (original PR scope):
ScriptCategory,ScriptTemplate,ScriptGenerationSQLAlchemy models with UUID PKs and timezone-aware datetimesScriptTemplateEngine— a Jinja2-style PowerShell template engine with parameter substitution,as_secure_string/as_array/as_boolfilters,{% if %}conditionals, and PowerShell-safe string escaping/scripts/: categories, template CRUD (team_admin+), generation, generation historyPhase 2 — Frontend Script Library:
/scriptswith filter bar (category tabs + debounced search), template list, and script previewScriptPreview+PowerShellHighlighterPhase 2.5 — Left Pane Takeover UX Redesign:
ScriptPreview— always visible, no form or buttonsScriptGeneratorPaneldeleted; replaced byScriptConfigurePane+ right-pane simplificationTest Plan
pytest tests/test_script_template_engine.py tests/test_scripts.py -v— all 27 tests pass/scripts— Script Library loads with category filter tabs and template list🤖 Generated with Claude Code
🚅 Deployed to the patherly-pr-105 environment in selfless-grace