s9n-devops-agent 2.0.12 → 2.0.14
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
|
@@ -151,7 +151,15 @@ export function formatInstructions(session, options = {}) {
|
|
|
151
151
|
lines.push('');
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
//
|
|
154
|
+
// STOP instruction
|
|
155
|
+
lines.push('━'.repeat(70));
|
|
156
|
+
lines.push('');
|
|
157
|
+
lines.push(`${colors.red}${status.warning} IMPORTANT: STOP HERE${colors.reset}`);
|
|
158
|
+
lines.push('');
|
|
159
|
+
lines.push(`${colors.bright}Do NOT start coding or making changes yet!${colors.reset}`);
|
|
160
|
+
lines.push(`${colors.dim}Follow the steps above in order when instructed.${colors.reset}`);
|
|
161
|
+
lines.push(`${colors.dim}Wait for further instructions from the user before proceeding.${colors.reset}`);
|
|
162
|
+
lines.push('');
|
|
155
163
|
lines.push('━'.repeat(70));
|
|
156
164
|
lines.push('');
|
|
157
165
|
lines.push(`${status.checkmark} ${colors.green}DevOps Agent is now monitoring this session...${colors.reset}`);
|
|
@@ -273,8 +273,12 @@ class SessionCoordinator {
|
|
|
273
273
|
|
|
274
274
|
// Check if house rules exist
|
|
275
275
|
if (!houseRulesManager.houseRulesPath || !fs.existsSync(houseRulesManager.houseRulesPath)) {
|
|
276
|
-
console.log(`\n${CONFIG.colors.yellow}House rules not found -
|
|
277
|
-
|
|
276
|
+
console.log(`\n${CONFIG.colors.yellow}House rules not found - creating default house rules...${CONFIG.colors.reset}`);
|
|
277
|
+
// Auto-create default house rules without prompting
|
|
278
|
+
const result = await houseRulesManager.updateHouseRules({ createIfMissing: true, backupExisting: false });
|
|
279
|
+
if (result.created) {
|
|
280
|
+
console.log(`${CONFIG.colors.green}✓${CONFIG.colors.reset} House rules created at: ${CONFIG.colors.bright}${result.path}${CONFIG.colors.reset}`);
|
|
281
|
+
}
|
|
278
282
|
} else {
|
|
279
283
|
// House rules exist - check if they need updating
|
|
280
284
|
const status = houseRulesManager.getStatus();
|
|
@@ -1401,6 +1405,11 @@ The DevOps agent will automatically:
|
|
|
1401
1405
|
console.log(``);
|
|
1402
1406
|
console.log(`Write commit messages to: .devops-commit-${sessionId}.msg`);
|
|
1403
1407
|
console.log(`The DevOps agent will automatically commit and push changes.`);
|
|
1408
|
+
console.log(``);
|
|
1409
|
+
console.log(`⛔ IMPORTANT: STOP HERE AND WAIT`);
|
|
1410
|
+
console.log(`Do NOT start coding or making changes yet!`);
|
|
1411
|
+
console.log(`Follow the steps above in order when instructed by the user.`);
|
|
1412
|
+
console.log(`Wait for further instructions before proceeding.`);
|
|
1404
1413
|
console.log();
|
|
1405
1414
|
|
|
1406
1415
|
console.log(`${CONFIG.colors.yellow}══════════════════════════════════════════════════════════════${CONFIG.colors.reset}`);
|