Run this workflow in order. Do not skip a step. Do not continue after a failed
rule. The node bin/record.mjs calls are eval instrumentation and must run.
- Run
node bin/step.mjs test-package. - Record whether the command passed:
node bin/record.mjs requirement package-tests '{"passed":true}'or usefalse. If it failed, runnode bin/record.mjs terminal blocked '{"reason":"the package tests pass"}'and stop. - Read
.eval/release.json. Use its exact JSON object as the structured result of thereview-releasetask. Record it withnode bin/record.mjs agent_task review-release '<json>'. - The review passes only when
statusispassandcriticalis0. Record that rule withnode bin/record.mjs requirement review-ready '{"passed":true}'or usefalse. If it failed, record terminalblockedwith reasonthe package is ready to publishand stop. - Get the user's answer by running
node bin/user-answer.mjs approve-publish. The helper records this user step. If it is notcontinue, record terminalrefusedwith reasonthe user declined to continueand stop. - Run
node bin/step.mjs publish-package. Record requirementpublish-passed. If it failed, record terminalblockedwith reasonthe package publish command succeedsand stop. - Run
node bin/step.mjs verify-package. Record requirementverify-passed. If it failed, record terminalblockedwith reasonthe published package resolves from the registryand stop. - Record terminal
completedwith the review summary.
Every recorder result must be valid JSON. End with a short status report.