There is a local-only helper script at:
scripts/dev.shIt is intentionally excluded from Git via .git/info/exclude and must not be committed.
Useful commands:
scripts/dev.sh doctor
scripts/dev.sh status
scripts/dev.sh test
scripts/dev.sh build
scripts/dev.sh backend
scripts/dev.sh restart-backend
scripts/dev.sh stop-backend
scripts/dev.sh health
scripts/dev.sh logs
scripts/dev.sh lint
scripts/dev.sh frontend-build
scripts/dev.sh pushDefaults:
PICOFARM_BIN=/tmp/daedalus-current
PICOFARM_LOG=/tmp/opencode/daedalus-backend.log
PICOFARM_PORT=8084
PICOFARM_REMOTE=picofarm
PICOFARM_BRANCH=mainUse scripts/dev.sh backend after backend changes. It builds, restarts, and checks /health.
Use scripts/dev.sh test before finishing feature work when both backend and frontend may be affected.
Use scripts/dev.sh logs when backend health fails.
When changing behavior, operations, validation, API contracts, storage, security, or agent workflow, check the documentation under docs/:
docs/PROJECT_BASELINE.md— canonical stack/runtime defaults and validation gates.docs/ARCHITECTURE.md— code layout, boundaries, and where to make common changes.docs/API_CONTRACTS.md— HTTP/JSON conventions, route groups, and Go/TypeScript contract synchronization.docs/REGRESSION_MATRIX.md— critical workflows to validate or automate.docs/SECURITY_MODEL.md— CORS, secrets, uploads, backups, integrations, and sensitive endpoint guidance.docs/SALES_CHANNELS.md— canonical guide for Etsy, Squarespace, Shopify, and future sales-channel providers/adapters.docs/README.md— documentation maintenance policy.
When changing sales channels, product/listing sync, external order processing, product links, provider OAuth/API-key flows, or marketplace/storefront integrations, read docs/SALES_CHANNELS.md first and keep API, security, and regression docs aligned.
Keep docs factual and operational. Do not document planned behavior as current behavior.
The user requested that code changes be committed from now on.
Do not commit local-only helper scripts. scripts/dev.sh is excluded locally.
Push normal commits to:
git push picofarm mainNever force-push unless the user explicitly asks.