2.2 KiB
2.2 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
F-003 — Sanitize SQL dump for safe dev use
Acceptance criteria
- Repo no longer stores the raw production-like SQL dump as the active development baseline.
- Tracked SQL baseline contains only safe synthetic or non-sensitive data for local module work.
- Safe local data handling is documented.
- Local development remains possible through the sanitized baseline and docs.
./scripts/verify.shstays green after the change.
Evidence targets
project/sql/db-25052026.sqlproject/sql/README.mdspec/sdd/components/development-data-baseline.mdspec/sdd/decisions/003-replace-raw-sql-with-sanitized-dev-baseline.mdspec/bdd/features/data/sanitized-sql-baseline.featurework/artifacts/F-003/architect.mdwork/artifacts/F-003/implementer.md