Skip to content
Merged
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
11 changes: 9 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
interval: monthly
open-pull-requests-limit: 1
groups:
workspace-dependencies:
patterns:
- '*'

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
interval: monthly
open-pull-requests-limit: 1
groups:
github-actions-dependencies:
patterns:
- '*'
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
name: Quality and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
version: 11.21.0
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -39,11 +39,11 @@ jobs:
name: Browser smoke
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
version: 11.21.0
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
cache: pnpm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules/
.pnpm-store/
.next/
apps/world-lab/next-env.d.ts
dist/
coverage/
playwright-report/
Expand Down
5 changes: 4 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ These instructions apply throughout the repository.
- Update architecture, security, testing, and roadmap docs when changing the corresponding contract.
- Do not commit `.env` files, credentials, generated build output, test reports, or caches.
- Use Conventional Commit messages. Keep pull requests within one roadmap milestone.
- Before handing off a change, run `pnpm validate`; run `pnpm test:e2e` for World Lab behavior changes.
- Coding agents write and update appropriate tests, configure automatic GitHub CI, and provide the exact local validation commands for the repository owner to run.
- The repository owner runs local formatting checks, lint, type checking, tests, builds, and Playwright. Coding agents must not run local validation unless the owner explicitly requests it in that session.
- Automatic GitHub CI may run after a branch is pushed. Coding agents may inspect CI status and failure logs.
- Coding agents must never claim local tests passed unless the repository owner supplied the results.
2 changes: 1 addition & 1 deletion apps/game-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"hono": "4.13.2"
},
"devDependencies": {
"@types/node": "26.2.0",
"@types/node": "24.13.3",
"esbuild": "0.28.2",
"tsx": "4.23.12",
"vitest": "4.1.10"
Expand Down
4 changes: 0 additions & 4 deletions apps/world-lab/next-env.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/world-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "eslint .",
"start": "next start",
"test": "vitest run",
"typecheck": "tsc --noEmit"
"typecheck": "next typegen && tsc --noEmit"
},
"dependencies": {
"@agentborne/shared": "workspace:*",
Expand Down
4 changes: 4 additions & 0 deletions docs/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Default validation is deterministic, offline except for dependency/browser installation and the World Lab basemap requested during manual viewing. No test calls a model provider.

Coding agents write and update appropriate tests, configure automatic GitHub CI, and provide exact validation commands. The repository owner runs local formatting, lint, type checking, tests, builds, and Playwright unless they explicitly request an agent to run validation in that session. Agents may inspect automatic CI after a branch is pushed, but must not claim local checks passed unless the owner supplied the results.

## Local sequence

```bash
Expand All @@ -23,6 +25,8 @@ development server on another port, run for example

`pnpm validate` aggregates formatting, lint, type checking, unit/integration tests, and builds. Browser smoke coverage remains separate because it installs and starts Chromium.

The World Lab typecheck runs `next typegen` before TypeScript. Next.js manages `apps/world-lab/next-env.d.ts`; the file remains in `tsconfig.json` but is ignored by Git so development, builds, and type generation can recreate it without dirtying the working tree.

## Layers

- Shared schema unit tests cover the four allowed requested-action forms and reject invented verbs.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@playwright/test": "1.62.1",
"@types/node": "26.2.0",
"@types/node": "24.13.3",
"eslint": "9.39.5",
"eslint-config-next": "16.3.1",
"prettier": "3.9.6",
Expand Down
70 changes: 35 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading