1.4 KiB
1.4 KiB
Acceptance Spec
F-001 — Document and move legacy PHP app into ARNES project layout
Acceptance criteria
- Legacy PHP app structure is documented in SDD files.
- Repo layout decision is recorded in one ADR.
- Legacy code moves from
project/newtoproject/web/index/newwith no file loss. - SQL dump moves from
project/db-25052026.sqltoproject/sql/db-25052026.sql. ./scripts/verify.shstays green after the move.
Evidence targets
spec/sdd/architecture.mdspec/sdd/components/*.mdspec/sdd/decisions/001-store-legacy-app-under-project-web.mdspec/bdd/features/layout/legacy-app-layout.featurework/artifacts/F-001/architect.md
F-002 — Remove secrets and externalize config
Acceptance criteria
- No hard-coded API or DB secrets stay in versioned PHP files.
- Config values load from one local config source for the legacy module.
- Production URLs and external endpoints are configurable.
- Legacy PHP entry points use config helper keys instead of inline values.
./scripts/verify.shstays green after the change.
Evidence targets
project/web/index/new/bootstrap.phpproject/web/index/new/config/local.example.phpproject/web/index/new/config/README.mdspec/sdd/components/legacy-config-loader.mdspec/sdd/decisions/002-use-local-config-loader-for-legacy-module.mdspec/bdd/features/config/legacy-config.featurework/artifacts/F-002/architect.mdwork/artifacts/F-002/implementer.md