[object Object]

← back to Wallco Ai

drunk-animals: drop overnight gate, fire 24/7 like stoned

7e452f13943450544df824eed9793b081208af9f · 2026-05-13 11:25:49 -0700 · SteveStudio2

Steve said 'cancel overnight and start now'. Removed both window checks:
  - drunk_animals_tick.js — was bailing 06:00→17:59 PT
  - drunk_animals_daemon.js — same window
Daemon restarted, manual tick fired (design #3333). Now firing every
90s 24/7. To re-enable the gate later, replace inWindow() body with
the 18:00→STOP_HOUR check.

Files touched

Diff

commit 7e452f13943450544df824eed9793b081208af9f
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Wed May 13 11:25:49 2026 -0700

    drunk-animals: drop overnight gate, fire 24/7 like stoned
    
    Steve said 'cancel overnight and start now'. Removed both window checks:
      - drunk_animals_tick.js — was bailing 06:00→17:59 PT
      - drunk_animals_daemon.js — same window
    Daemon restarted, manual tick fired (design #3333). Now firing every
    90s 24/7. To re-enable the gate later, replace inWindow() body with
    the 18:00→STOP_HOUR check.
---
 scripts/drunk_animals_daemon.js | 14 ++++----------
 scripts/drunk_animals_tick.js   | 16 ++--------------
 2 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/scripts/drunk_animals_daemon.js b/scripts/drunk_animals_daemon.js
index 443127d..56c9fc5 100644
--- a/scripts/drunk_animals_daemon.js
+++ b/scripts/drunk_animals_daemon.js
@@ -42,16 +42,10 @@ function preflight() {
   }
 }
 
-function nowPT() {
-  return new Date(new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angeles' }));
-}
-
-function inWindow() {
-  const t = nowPT();
-  const h = t.getHours();
-  // Active window: 18:00 → 05:59 PT next day. Quiet 06:00 → 17:59.
-  return h >= 18 || h < STOP_HOUR;
-}
+// Overnight gate removed 2026-05-13 — drunk-animals now fires 24/7 to
+// match stoned-animals. Kept the STOP_HOUR / nowPT scaffolding inert
+// so re-enabling is one diff if Steve wants the gate back.
+function inWindow() { return true; }
 
 let running = false;
 
diff --git a/scripts/drunk_animals_tick.js b/scripts/drunk_animals_tick.js
index 631c7fa..88890ad 100644
--- a/scripts/drunk_animals_tick.js
+++ b/scripts/drunk_animals_tick.js
@@ -56,20 +56,8 @@ function freshPrompt() {
   return buildPrompt();
 }
 
-const STOP_HOUR = parseInt(process.env.STOP_HOUR || '6', 10);  // 6 AM
-const STOP_MIN  = parseInt(process.env.STOP_MIN  || '0', 10);
-
-// Bail past the cutoff. We use America/Los_Angeles regardless of system TZ.
-const nowPT = new Date(new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angeles' }));
-const h = nowPT.getHours(), m = nowPT.getMinutes();
-const afterCutoff = (h > STOP_HOUR) || (h === STOP_HOUR && m >= STOP_MIN);
-// Only the (likely 18:00→23:59 + 00:00→06:00) overnight window should fire.
-// Hours 06:00-17:59 are outside the run.
-const inRunWindow = (h >= 18) || (h < STOP_HOUR) || (h === STOP_HOUR && m < STOP_MIN);
-if (!inRunWindow) {
-  console.log(`[tick] skip — outside run window (PT ${h.toString().padStart(2,'0')}:${m.toString().padStart(2,'0')}, cutoff ${STOP_HOUR}:${STOP_MIN.toString().padStart(2,'0')})`);
-  process.exit(0);
-}
+// Overnight gate removed — drunk-animals now fires 24/7 alongside stoned.
+// Steve killed the 18:00→05:59 window on 2026-05-13.
 
 const ROOT = path.join(__dirname, '..');
 const prompt = freshPrompt();

← 96a4bc0 designs: NEW badge on cards created in last 72h  ·  back to Wallco Ai  ·  Design Coordinate on /design/:id — palette-mode call to pair 769ab6c →