Skip to content

🗺️ Context Scaffolding Roadmap

Last updated: 2025-10-09 (Europe/Paris)

This note captures the CLI improvements landed today and the follow-up work scheduled for the Accounts and Creators contexts.


✅ What’s Ready

  • context:make now drives both single-artifact and bundle scaffolding through one entry point.
  • Composer scripts provide Sail-aware shortcuts:
  • composer run context:make -- {Name} --context=Catalog --model --migration
  • composer run context:delete -- {Name} --context=Catalog
  • MkDocs includes dark mode and a manual GitHub Pages workflow (ready for activation when the repo goes public).

📋 Next Steps (Starting Tomorrow)

  1. Accounts Context
  2. Scaffold domain layers: Models, Repositories, Contracts, Actions, DTOs.
  3. Generate HTTP stack: Controllers, Requests, Resources, Policies.
  4. Wire context service providers and events to support auth/role flows.

  5. Creators Context

  6. Mirror the Accounts stack (Models ⇢ HTTP ⇢ Policies).
  7. Add domain events for cross-context communication (e.g., artist membership updates).

  8. Shared Tasks

  9. Ensure repository bindings are registered in config/repository.php.
  10. Add feature tests covering the generated flows (auth + creators onboarding).
  11. Update documentation diagrams once the new entities are in place.

Quick Commands

# Bundle scaffold using Composer (preferred wrapper)
composer run context:make -- Artist --context=Creators --model --migration --controller --requests --policy --resource --repository

# Tear down if you need to re-run adjustments
composer run context:delete -- Artist --context=Creators

Keep this page up to date as milestones are completed. It acts as the rolling checklist while the team builds out both contexts.