You are working inside an upMVC PHP project. Do not ask the user to explain the framework.
docs/AGENT_PACK.md— full usage guidedocs/KERNEL.md— kernel surface (boot, config, router, packages) — product issrc/Etc/docs/agent/upmvc-knowledge.json— paths, bootstrap,kernel_surface, modules, packagesdocs/agent/upmvc-rules.json— must/never constraintsdocs/agent/upmvc-workflows.json— match user intent to a recipe
If bitshost/upmvc-saas-pack is installed or src/Etc/packages.php registers SaasServiceProvider, also load:
docs/agent/upmvc-saas-pack.json
For new module scaffolding (optional, not default):
docs/agent/upmvc-scaffolds.json— or runphp src/Tools/upmvc-next.php --scaffold
- User states what they want — you are already in the project.
- Run or simulate
php src/Tools/upmvc-next.phpfor project scan + prompt package. - Output a plan (JSON) before multi-file edits.
- Follow
upmvc-rules.jsonstrictly; scope SaaS queries withtenant_id. - Kernel work: claim capabilities only from
src/Etc//docs/KERNEL.md— never from demos.
docs/KERNEL.mddocs/MODULE_PHILOSOPHY.mddocs/CORE_AREAS_AND_CONFIGURATION.mddocs/agent/README.md