Skip to content

DevEx: sync init-miniwebapp with 003-MiniWebApp (#695)#719

Merged
PurHur merged 1 commit into
masterfrom
issue-695-init-miniwebapp-parity
May 22, 2026
Merged

DevEx: sync init-miniwebapp with 003-MiniWebApp (#695)#719
PurHur merged 1 commit into
masterfrom
issue-695-init-miniwebapp-parity

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 22, 2026

Summary

  • Align templates/init-miniwebapp/ with examples/003-MiniWebApp/ on 10 key files (router, front controller, config, templates, assets).
  • Add script/check-init-miniwebapp-parity.sh and wire it into ci_run_inventory_checks (fast CI gate).
  • Extend phpc init --profile miniwebapp to copy hello, contact, and thankyou templates; document sync policy in both READMEs.
  • Refresh docs/bootstrap-inventory.md line refs after php-types-ns-func-call patch drift (unblocks inventory --check in Docker).

Test plan

  • ./script/check-init-miniwebapp-parity.sh
  • PhpcInitMiniWebAppTest (init + phpc lint --all on scaffold)
  • CiScriptsTest parity wiring assertions
  • Docker: CgiDriverTest, PhpcLintProjectTest, MiniWebApp*VmCli
  • Full ./script/ci-fast.sh on harness (RealWorldTest failures appear pre-existing in this environment)

Closes #695

Made with Cursor

Keep phpc init --profile miniwebapp byte-identical to the reference example
on key app files, add a parity check wired into ci-fast inventory, and
extend the init profile to ship hello/contact/thankyou templates.

Refresh bootstrap-inventory line refs after vendor patch drift.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 17c5263 into master May 22, 2026
@PurHur PurHur deleted the issue-695-init-miniwebapp-parity branch May 22, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DevEx: Keep phpc init --profile miniwebapp template in sync with examples/003-MiniWebApp

1 participant