PLAN-001: Secrets Templates & Initialization Code
IMPLEMENTATION RULES: Before implementing this plan, read and follow:
- WORKFLOW.md - The implementation process
- PLANS.md - Plan structure and best practices
Status: Completed
Goal: Create the templates and initialization code that will generate .uis.extend/ and .uis.secrets/ folders when users run the UIS system.
Completed: 2025-01-23
Last Updated: 2025-01-23
Branch: feature/secrets-migration
Related: INVESTIGATE-secrets-consolidation.md
Context: Contributor vs User
We are contributors to the urbalurba-infrastructure repo. We build:
- Templates (baked into the container image)
- Initialization code (runs when user first uses UIS)
- Scripts that read from user folders
Users create these folders when they run ./uis:
.uis.extend/- User's committed configuration.uis.secrets/- User's gitignored secrets
These folders do NOT exist in this repo - they are created at runtime in the user's working directory.
Overview
This plan creates:
- Template files in
provision-host/uis/templates/(baked into container) - Initialization script that creates user folders on first run
- Updated
uiswrapper to handle first-run and mounting
Blocks: PLAN-002, PLAN-003, PLAN-004 depend on this being complete.