specrails-hub 1.25.4 → 1.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -355,7 +355,15 @@ class QueueManager {
|
|
|
355
355
|
// Headless mode: when --yes is in the command, instruct Claude to auto-proceed
|
|
356
356
|
// (stdin is ignored in spawned processes, so no user confirmation is possible)
|
|
357
357
|
if (job.command.includes('--yes')) {
|
|
358
|
-
systemAppend += '\n\
|
|
358
|
+
systemAppend += '\n\nCRITICAL — FULLY AUTONOMOUS MODE (--yes flag):\n' +
|
|
359
|
+
'This pipeline is running headless with NO human operator. stdin is disconnected — nobody can reply.\n' +
|
|
360
|
+
'- NEVER ask for approval, confirmation, review, or feedback. There is nobody to answer.\n' +
|
|
361
|
+
'- NEVER output prompts like "Reply with approved", "Do you want to proceed?", "Please confirm", or "Ready for review".\n' +
|
|
362
|
+
'- NEVER stop between pipeline phases to wait for input. Run ALL phases end-to-end without pausing.\n' +
|
|
363
|
+
'- When there are multiple options or decisions, always choose the RECOMMENDED option and proceed.\n' +
|
|
364
|
+
'- Auto-approve all proposals, designs, and artifacts. Treat everything as "approved" by default.\n' +
|
|
365
|
+
'- Skip any instructions that say "wait for user", "present for review", or "ask the user".\n' +
|
|
366
|
+
'- The pipeline must complete fully from start to finish in a single uninterrupted run.';
|
|
359
367
|
}
|
|
360
368
|
// Local ticket store: implement/batch-implement jobs must read specs from
|
|
361
369
|
// .specrails/local-tickets.json — never from external trackers like Jira/Linear.
|