Repository navigation
Description
Part of the scripts-consolidation program: every shell script lives under scripts/, so shell is reused instead of rewritten. Program order: this → the hook move → the location gate, then the workflow-extraction tickets.
What moves
git mv the five shell scripts to a new scripts/frontend-dev/ (mirrors the scripts/ci/ precedent; they stay siblings because run.sh → up.sh → env.sh are chained):
frontend/dev/env.sh→scripts/frontend-dev/env.shfrontend/dev/up.sh→scripts/frontend-dev/up.shfrontend/dev/run.sh→scripts/frontend-dev/run.shfrontend/dev/kill-servers.sh→scripts/frontend-dev/kill-servers.shfrontend/dev/update-baselines.sh→scripts/frontend-dev/update-baselines.sh
compose.yaml, seed.mjs and the gitignored .state/ stay in frontend/dev/ — the scripts reach them via REPO_ROOT.
Internal fixes
run.sh/up.sh:REPO_ROOT="${SCRIPT_DIR}/../.."stays correct (same depth).up.sh'scompose.yamlref becomes${REPO_ROOT}/frontend/dev/compose.yaml; theenv.shsource andup.shcall stay${SCRIPT_DIR}-relative.update-baselines.sh:FRONTEND_DIR="${SCRIPT_DIR}/.."currently resolvesfrontend/— must become${REPO_ROOT}/frontend(deriveREPO_ROOTtwo levels up).env.sh: unchanged (caller exportsREPO_ROOT;STATE_DIRstaysfrontend/dev/.state).
Callers to update
Makefiletargetsrun,frontend-dev,frontend-seed(thesource),frontend-baselines(lines ~127/131/138/149).frontend/package.jsontest:e2e:fresh:bash dev/kill-servers.sh→bash ../scripts/frontend-dev/kill-servers.sh(cwd isfrontend/).frontend/tests/support/stale-servers.ts:11,117— prose + the user-facing remediation string.
CI classification (gating inputs, not cosmetics)
.github/workflows/frontend.ymldetect block (~line 92): addscripts/frontend-dev/so edits to these scripts still run the frontend gate after they leavefrontend/.- Run
bash scripts/ci/detect-paths-test.shandbash scripts/skills-check.sh regen— theinfra/k8scoverage generator greps the wholescripts/tree and the drift check byte-comparescoverage.md.
Prose/comment references
frontend.yml:22 + .github/dependabot.yml:35 (image-pin mirror comments), .claude/skills/frontend-testing/SKILL.md:170, .claude/skills/security/references/secrets-iac.md:46, docs/infrastructure.md:56,385,655, docs/infrastructure-decisions.md:55, docs/batch-orchestration-design.md:1124, docs/frontend-testing.md:561, docs/parity-roadmap.md:2755, frontend/dev/seed.mjs:14,28 error strings, comments in infra/k8s/charts/er-platform/values.yaml:4, rust/crates/er-server/src/main.rs:122,193, rust/crates/er-server/src/provision.rs:5, scripts/dev_env.sh:13, frontend/src/components/settings/settings-nav.tsx:37.
Verify
make check, make frontend; then make run boots the dev stack and corepack pnpm test:e2e:fresh (from frontend/) still kills stale servers.
Activity
athvin commentedon Nov 6, 2026
Claimed — working in #728 (draft). Closing that PR releases the claim.
chore(scripts): move frontend/dev/*.sh into scripts/frontend-dev/ (#718)
chore(scripts): move frontend/dev/*.sh into scripts/frontend-dev/ (#728)