Commit Graph

24 Commits

Author SHA1 Message Date
Jakub Zych
44685de65e docs(04): create phase plan
Phase 04: Theme Engine
- 2 plans in 2 waves
- Wave 1: Theme loading and layout composition (04-01)
- Wave 2: Asset pipeline and Vue integration (04-02)
- Ready for execution
2026-02-05 14:06:11 +01:00
Jakub Zych
6cc9465f35 docs(04): research theme engine domain
Phase 4: Theme Engine
- Standard stack: Pebble 4.1.1 + pebble-scala for Twig-compatible templates
- Asset bundling: Vite with manifest-based backend integration
- Hot reload: Mill --watch + classloader-based reload
- Vue hydration: createSSRApp with server-rendered HTML
- Caching: ZCaffeine for static page caching
- Architecture patterns documented for layouts, partials, rendering modes
2026-02-05 13:55:41 +01:00
Jakub Zych
3dd38dabd8 docs(03): create phase plan
Phase 03: Component System
- 2 plan(s) in 2 wave(s)
- Wave 1: 03-01 (registration and lifecycle) - parallel
- Wave 2: 03-02 (HTMX routing and response) - sequential
- Ready for execution
2026-02-05 13:45:15 +01:00
Jakub Zych
a68508ba73 docs(03): research component system domain
Phase 3: Component System
- Standard stack: zio-http-htmx 3.3.0, Pebble 4.1.1, htmx4s
- Architecture patterns: YAML properties, lifecycle hooks, HTMX handlers
- WinterCMS component patterns adapted to ZIO
- Pitfalls: CSRF, XSS, state isolation, SSE connections
2026-02-05 13:38:58 +01:00
Jakub Zych
5f2e7b87c9 fix(02): revise plans based on checker feedback
- 02-01 Task 3: Add concrete REPL verification command for PluginManifest.parse
- 02-02 Task 1: Add FieldDef case class to placeholder types in PluginRegistration.scala
- 02-02 Task 1: Document PluginEnv as placeholder to be expanded in 02-03
- 02-03 Task 3: Remove duplicate Main.scala code, keep only corrected version
- 02-03: Add SummerPlugin.scala to files_modified for PluginEnv update
2026-02-05 13:29:45 +01:00
Jakub Zych
336acf5572 docs(02): create phase plan
Phase 02: Plugin System
- 3 plans in 3 waves (sequential)
- 02-01: Plugin discovery and manifest parsing
- 02-02: Lifecycle management and dependency resolution
- 02-03: Extension API with type-safe plugin-to-plugin communication
- Ready for execution
2026-02-05 13:24:06 +01:00
Jakub Zych
030633b5e5 docs(02): research plugin system domain
Phase 2: Plugin System
- Standard stack identified: circe-yaml, semver-parser-scala, directory-watcher
- Architecture patterns documented: ZIO service traits, Hub events, Ref state
- Dependency resolution via topological sort with cycle detection
- Type-safe extension API patterns from Scala 3 features
- Pitfalls catalogued from WinterCMS experience
2026-02-05 13:18:10 +01:00
Jakub Zych
dc5564ef22 docs(01): complete Foundation phase 2026-02-05 12:26:43 +01:00
Jakub Zych
46f8b7dc90 docs(01-03): complete Repository Pattern and Infrastructure plan
Tasks completed: 3/3
- Create Repository pattern with typed errors
- Create Pulumi infrastructure with Besom
- Create Dockerfile for containerization

SUMMARY: .planning/phases/01-foundation/01-03-SUMMARY.md

Phase 1 Foundation now complete (3/3 plans)
2026-02-05 12:01:27 +01:00
Jakub Zych
d2399de260 docs(01-02): complete PostgreSQL and Migrations plan
Tasks completed: 3/3
- Create Quill PostgreSQL context
- Create Flyway migrator service
- Add /ready endpoint with database check

SUMMARY: .planning/phases/01-foundation/01-02-SUMMARY.md
2026-02-04 22:31:32 +01:00
Jakub Zych
bcf928da77 docs(01-01): complete Mill Build and ZIO HTTP Server plan
Tasks completed: 3/3
- Create Mill build configuration
- Create project structure and configuration
- Create HTTP routes and Main entry point

SUMMARY: .planning/phases/01-foundation/01-01-SUMMARY.md
2026-02-04 21:45:03 +01:00
Jakub Zych
db76c5dd91 fix(01): reconcile migration policy - manual via CLI, not auto on startup
- Updated 01-02-PLAN.md Task 3 to NOT run migrations on startup
- Updated must_haves truth: 'run via ZIO effect when invoked' (not 'on startup')
- Updated verification/success_criteria to reflect manual migration
- Updated ROADMAP success criteria #3 to match CONTEXT.md decision

Per CONTEXT.md line 22-23: migrations run manually via CLI command
2026-02-04 17:25:27 +01:00
Jakub Zych
3f1fc59d23 docs(01): create phase 1 foundation plans
Phase 01: Foundation
- 3 plans in 3 waves (sequential dependency)
- Plan 01: Mill build + ZIO HTTP server
- Plan 02: PostgreSQL + Quill + Flyway migrations
- Plan 03: Repository pattern + Pulumi/Besom deployment

Ready for execution
2026-02-04 17:21:15 +01:00
Jakub Zych
a0f198e894 docs(01): research phase domain
Phase 01: Foundation
- Standard stack identified (Mill, ZIO HTTP, Quill, Flyway, Besom)
- Architecture patterns documented (service layer, typed errors, HOCON config)
- Pitfalls catalogued (effect wrapping, transaction nesting, Besom laziness)
2026-02-04 17:16:06 +01:00
Jakub Zych
02ee2b296b docs(10): capture phase context
Phase 10: Core Plugins
- Implementation decisions documented
- Phase boundary established
2026-02-04 17:06:27 +01:00
Jakub Zych
94ebf3f7b5 docs(09): capture phase context
Phase 09: Content Management
- Implementation decisions documented
- Phase boundary established
2026-02-04 16:51:37 +01:00
Jakub Zych
cf711a996d docs(08): capture phase context
Phase 08: Admin Dashboard
- Implementation decisions documented
- Phase boundary established
2026-02-04 16:38:25 +01:00
Jakub Zych
8abdc30bf2 docs(07): capture phase context
Phase 07: Admin Forms & Lists
- Implementation decisions documented
- Phase boundary established
2026-02-04 16:29:23 +01:00
Jakub Zych
90a2473fd0 docs(06): capture phase context
Phase 06: Backend Authentication
- Implementation decisions documented
- Phase boundary established
2026-02-04 16:15:54 +01:00
Jakub Zych
90cd7b1bf0 docs(05): capture phase context
Phase 05: CLI Scaffolding
- Implementation decisions documented
- Phase boundary established
2026-02-04 16:06:41 +01:00
Jakub Zych
1eaa5f5d16 docs(04): capture phase context
Phase 04: Theme Engine
- Template syntax decisions (Twig-style, string templates)
- Layout composition (WinterCMS-style placeholders)
- Asset pipeline requirements (hot reload, bundling)
- Rendering modes (SPA, hybrid, static)
2026-02-04 15:54:14 +01:00
Jakub Zych
63e334d92b docs(03): capture phase context
Phase 03: Component System
- Implementation decisions documented
- Phase boundary established
2026-02-04 15:38:45 +01:00
Jakub Zych
ec0e8daddf docs(02): capture phase context
Phase 02: Plugin System
- Implementation decisions documented
- Phase boundary established
2026-02-04 15:13:09 +01:00
Jakub Zych
8f3c671cac docs(01): capture phase context
Phase 01: foundation
- Implementation decisions documented
- Phase boundary established
2026-02-04 13:57:50 +01:00