mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
789e403c74
Wire `with:` inputs from caller workflows to called workflows via `inputs.*` context, resolve `on.workflow_call.inputs` defaults, and propagate `on.workflow_call.outputs` back so downstream jobs can access `needs.<callerJobId>.outputs.*`. Also fixes intra-workflow `needs.*` resolution for composite job IDs. Adds smoke test, unit tests, /validate command, and CLAUDE.md agent rules. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
934 B
934 B
Agent CI — Claude Code Instructions
Rules
- Changeset Required — Every PR must include a changeset and update the root CHANGELOG.md
Machinen — Agent Rules
Testing
Before completing any work, you MUST run and pass:
- Unit tests:
npx vitest run - E2E test:
npx agent-ci run --workflow .github/workflows/e2e.yml --quiet
If either fails, fix the issue and re-run. Do not tell the user work is done until both pass.
CI
- Always use
--quiet(-q) when running agent-ci. - Run
/validateto check all workflows:npx agent-ci run --all -q -p
Code
- This is a Node.js ESM project (
.mjsfiles). Useimport, notrequire. - Package manager is pnpm (pinned via
packageManagerin package.json). - Docker operations go through
src/docker.mjs. Cloud operations throughsrc/cloud.mjs. - The user authenticates via OAuth (
gh auth login), never API keys.