Skip to content

chore: let coding agents run local validation - #76

Merged
christopherjnelson merged 1 commit into
mainfrom
chore/allow-agent-local-validation
Sep 29, 2026
Merged

christopherjnelson merged 1 commit into
mainfrom
chore/allow-agent-local-validation

Conversation

@christopherjnelson

Copy link
Copy Markdown
Member

Before: AGENTS.md said coding agents must not run formatting, lint, typecheck, tests, builds or Playwright. They had to stop before pushing and wait for the owner to confirm local validation passed.

After: coding agents run pnpm validate themselves, plus pnpm test:e2e when World Lab or Game API behavior can change. They may push and open a draft PR once their own final validation passes on that commit. Failures are fixed and never skipped. A check that can't run in the agent's environment is named and handed to the owner. Real-provider and paid commands such as pnpm compare:live still need an explicit owner request.

How: the engineering workflow rules in AGENTS.md are rewritten, and the validation sections in README and docs/TESTING.md now describe one shared sequence for the owner and agents.

Validation (run locally in the agent session): pnpm validate passed (format check, lint, typecheck, tests, build).

🤖 Generated with Claude Code

https://claude.ai/code/session_016aHdPe3nkZ7bEQRB33qwEm


Generated by Claude Code

The owner now wants coding agents to run formatting, lint, type
checking, tests, builds, and Playwright themselves instead of waiting
for the owner to validate every change before a push.

- AGENTS.md: agents run `pnpm validate` (and `pnpm test:e2e` when
  behavior can change) and may push and open a draft PR once their own
  final validation passes; failures are fixed, never skipped; checks
  that cannot run are named and handed to the owner
- Real-provider and paid commands still require an explicit owner ask
- README and TESTING describe the shared validation sequence

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016aHdPe3nkZ7bEQRB33qwEm
@christopherjnelson
christopherjnelson marked this pull request as ready for review September 29, 2026 18:42
@christopherjnelson
christopherjnelson merged commit 89a2fbf into main Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants