Initial commit

This commit is contained in:
diyaa
2026-11-11 20:25:21 +01:00
commit 311f19f9d2
48 changed files with 1391 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# Commands for agents
Run everything from the repository root.
| Command | What it does |
| --- | --- |
| `make build` | Invariants, clean install from lockfiles (`ci`), production build of `web/` and `api/`. Never deploys. |
| `make dev` | Invariants, incremental build. Start dev servers as printed at the end. |
| `make test` | Invariants, then lint, typecheck and tests for `web/` and `api/`. |
| `make build PACKAGE_ONLY=1` | Build and verify only; nothing started or deployed. |
Each target runs `scripts/check-invariants.sh` first. A failing invariant stops the command.
## Values to confirm (placeholders)
- Package manager: detected from the lockfile in each app (`pnpm-lock.yaml`, `yarn.lock` or `package-lock.json`). The owner has not chosen one yet; pick one in T-006 and record it in `docs/decisions.md`.
- Each app must define the npm scripts `build`, `lint`, `typecheck` and `test`. `make test` fails if one is missing.
- `web/` builds to `web/.next`; `api/` builds to `api/dist`.
## Before the project exists
Until `web/` and `api/` are created (T-006), `make build`, `make dev` and `make test` stop with a clear message. That is expected.
## Reporting
After running a command, report the exact command and its real outcome. Do not claim success from a build alone; tests and invariants must have run.
## Deployment (only when the owner asks)
Deploy files live in `deploy/` (T-007). Server facts and Traefik labels are in `docs/architecture.md`. Verify the server state first (T-001).