Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,22 @@
*.cabal
.pre-commit-config.yaml
openapi.json

# WASM build artifacts
wasm/dist/
wasm/dist-wasm/
wasm/dist-host/
wasm/.cabal-sandbox/
wasm/cabal.project.local
wasm/cabal.project.local~
wasm/cabal.project.local.tmp
wasm/test-wasm.mjs

# WASM artifacts copied to frontend
frontend/static/wasm/dist/

# Generated TypeScript types from Haskell
frontend/src/lib/wasm/types.ts

# Cabal build directories
dist-newstyle/
15 changes: 15 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ change.
- **CRITICAL: Always verify checks pass before claiming work is complete**
- ALWAYS run `stack build --fast` and `stack test --fast` before submitting
Haskell code for review
- ALWAYS run `hlint` on modified Haskell files before submitting for review
- ALWAYS run `pnpm lint` and `pnpm format` before submitting TypeScript code
for review
- NEVER claim that work is complete or ready for review without running all
Expand Down Expand Up @@ -157,6 +158,12 @@ loops:
- `stack test --fast` - Run tests without optimizations
- Use optimized builds only for production or benchmarking

**Build Responsibility**:

- **User runs build** when dependencies or versions change (monitors download
progress)
- **AI can run build** for code-only changes (quick, no downloads)

### Frontend (TypeScript/Svelte)

```bash
Expand All @@ -181,6 +188,14 @@ pnpm lint
pnpm format
```

**Command Execution Responsibility**:

- **User runs** `pnpm install` when dependencies change (heavy lifting -
monitors download progress)
- **AI can run** `pnpm build`, `pnpm lint`, `pnpm format`, `pnpm test` for
code-only changes (quick, no downloads)
- **User runs** indefinite commands like `pnpm dev` (long-running dev servers)

## Project Structure

**CRITICAL**: This project uses **package by feature**, NOT package by layer.
Expand Down
Loading