• - scripts/run-backend.sh: source .env.local + start Spring Boot
    - scripts/seed-dev.sh: load sql/seed/dev-seed.sql into local DB
    - sql/seed/dev-seed.sql: dev-only seed (admin / 666666 login)
    
    Seed data path is local-dev only; not run by Flyway, not part of
    the test gate. Operator runs after setup-test-db + first Spring
    Boot start (so V1 schema exists).
    zichun authored
     
    Browse Code »
  • Step 4/6 (npm test) blew up with 'Missing script: test' on a fresh
    frontend that hasn't wired up a test runner yet. Guard with a
    node-based check on package.json#scripts.test so the gate skips
    gracefully (with a log line) instead of failing.
    
    Lint/build still always run when frontend is tracked — only the
    test step is conditional on having a runner configured.
    zichun authored
     
    Browse Code »
  • Untracked WIP directories (e.g. unfinished frontend/) were triggering
    HAS_FRONTEND=1 via bare `[ -d frontend ]`, causing the pre-push gate
    to lint/build code that isn't part of the push. Require non-empty
    `git ls-files -- <dir>` so detection follows tracked content, matching
    the CLAUDE.md rule that the gate covers current module + completed
    modules only.
    zichun authored
     
    Browse Code »