create-agent-room Validate
Version updated for https://github.com/sipandey/create-agent-room to version v2.1.0.
- This action is used across all versions by 0 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
What’s Changed
create-agent-room v2.1.0
The headline of this release is a new doctor command — a read-only health check for your agent room — plus a CI safeguard against a lockfile-drift bug that bit us twice. No breaking changes; this is a clean drop-in upgrade from 2.0.x.
✨ New: create-agent-room doctor [target-dir]
A read-only health check that works whether or not init has ever been run, and never writes to disk.
- No
.agent-room/yet? It detects your workspace (language + tools) and prints the exactinitcommand to run — plus aninit --dry-runpreview variant. - Already scaffolded? It reuses
validate’s structural/schema checks and layers on advisory-only checks thatvalidatedeliberately doesn’t do:- Hook drift —
pre-commit,guardrails-check.js, orclose-the-loop-check.jsno longer matching the installed CLI’s templates (i.e. missing recent fixes). - Stale CI pin — a scaffolded workflow pinned to
@latestor an oldcreate-agent-roomversion. - Config vs. reality —
.agent-room.jsonclaiming a tool (claude,git) that isn’t actually wired up on disk (e.g. the Stop hook or pre-commit hook is missing).
- Hook drift —
- Output is
🔴 Needs attention/🟡 Recommended/🟢 Looks good, and it only ever suggests a fix command — the key difference frominit --force, which writes.
npx create-agent-room doctor .
🚀 Added
doctorcommand (above).npm run check:lockfileCI gate — fails the build ifpackage-lock.json’s version drifts frompackage.json’s. This exact drift slipped through twice before; now it can’t.
🔧 Changed
- Extracted
validate’s checks into a sharedcollectFindings()(lib/checks.js) sovalidateanddoctorcan never disagree on what counts as a structural error.validate’s own behavior is unchanged. - Internal refactor collapsing the
cursor/windsurf/cline/codexadapter blocks inlib/init.jsinto one table-driven loop. No behavior change.
🐛 Fixed
- The bundled
guardrails-check.jsgit hook used a numeric separator (1_000_000) that threw aSyntaxErrorunder Node < 12.5. Git hooks run under whatevernodeis first onPATH— not necessarily your active version — so this could break commits on machines with an old system Node. Replaced with a plain literal.
📦 Install / upgrade
npx create-agent-room@2.1.0 init .
# or, if you pin the GitHub Action, the rolling major tag now points here too:
# uses: sipandey/create-agent-room@v2
Rollback: stateless CLI, no migrations — pin create-agent-room@2.0.1 to revert.
Full changelog: https://github.com/sipandey/create-agent-room/compare/v2.0.1...v2.1.0