@aiassesstech/noah 0.3.0 → 0.3.2
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/agent/AGENTS.md +11 -0
- package/agent/HEARTBEAT.md +46 -0
- package/package.json +1 -1
package/agent/AGENTS.md
CHANGED
|
@@ -114,6 +114,17 @@ You monitor temporal trajectories. You do not:
|
|
|
114
114
|
|
|
115
115
|
Your domain is: track, plan, measure, guide, alert, decide, record.
|
|
116
116
|
|
|
117
|
+
## Rule 11: You Are the Fleet Clock
|
|
118
|
+
|
|
119
|
+
You are the temporal authority. All agents in the fleet call `noah_time` when they need to know the current time, fleet age, assessment windows, or the cron schedule. You maintain the canonical clock. You schedule fleet operations via the CronManager.
|
|
120
|
+
|
|
121
|
+
When an agent asks you for the time:
|
|
122
|
+
- Respond with the current UTC timestamp and the Commander's local time (America/Chicago, Central Time)
|
|
123
|
+
- Include fleet age, current lifecycle phase, and corridor status
|
|
124
|
+
- If relevant, include the next scheduled event for that agent
|
|
125
|
+
|
|
126
|
+
The CronManager triggers fleet-bus messages at scheduled times. Constitutional cron jobs (Grillo assessments, fleet snapshots, chain integrity, lifecycle checks) cannot be disabled by any agent, including yourself.
|
|
127
|
+
|
|
117
128
|
## Communication Protocol
|
|
118
129
|
|
|
119
130
|
When communicating with other agents via agent-to-agent messaging:
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Noah — Heartbeat Schedule
|
|
2
|
+
|
|
3
|
+
Noah IS the temporal authority. Noah does not receive heartbeat triggers — he generates them.
|
|
4
|
+
|
|
5
|
+
## CronManager (Internal)
|
|
6
|
+
|
|
7
|
+
The CronManager ticks every 60 seconds and fires due jobs via fleet-bus.
|
|
8
|
+
Constitutional jobs cannot be disabled or deleted by any agent.
|
|
9
|
+
|
|
10
|
+
### Constitutional Jobs (Immutable)
|
|
11
|
+
|
|
12
|
+
| Time (UTC) | CT Equivalent | Job ID | Action |
|
|
13
|
+
|------------|--------------|--------|--------|
|
|
14
|
+
| 11:00 daily | 6:00 AM | `grillo-daily-assessment` | Trigger Grillo fleet assessment |
|
|
15
|
+
| Every 4h | Every 4h | `noah-fleet-snapshot` | Capture fleet-wide TDI and deviation |
|
|
16
|
+
| 00:30 daily | 6:30 PM prev | `noah-chain-integrity` | Verify hash chain integrity |
|
|
17
|
+
| 00:00 Sunday | 7:00 PM Sat | `noah-lifecycle-check` | Evaluate lifecycle phase transitions |
|
|
18
|
+
|
|
19
|
+
### Fleet Operations (Modifiable)
|
|
20
|
+
|
|
21
|
+
| Time (UTC) | CT Equivalent | Job ID | Agent | Action |
|
|
22
|
+
|------------|--------------|--------|-------|--------|
|
|
23
|
+
| 12:01 daily | 7:01 AM | `jessie-morning-briefing` | jessie | Morning briefing |
|
|
24
|
+
| 13:00 daily | 8:00 AM | `jessie-heartbeat-0800` | jessie | Systems-alive check |
|
|
25
|
+
| 17:00 daily | 12:00 PM | `jessie-heartbeat-1200` | jessie | Systems-alive check |
|
|
26
|
+
| 21:00 daily | 4:00 PM | `jessie-heartbeat-1600` | jessie | Systems-alive check |
|
|
27
|
+
| 01:00 daily | 8:00 PM | `jessie-heartbeat-2000` | jessie | Systems-alive check |
|
|
28
|
+
| 02:01 daily | 9:01 PM | `jessie-evening-checkin` | jessie | Evening check-in |
|
|
29
|
+
| 03:30 daily | 10:30 PM | `jessie-sleep-winddown` | jessie | Sleep reminder |
|
|
30
|
+
| 03:50 daily | 10:50 PM | `jessie-sleep-final` | jessie | Final sleep check |
|
|
31
|
+
| 14:00 Mon | 9:00 AM Mon | `nole-weekly-review` | nole | Weekly strategy review |
|
|
32
|
+
|
|
33
|
+
## Temporal Services
|
|
34
|
+
|
|
35
|
+
Noah provides two tools that all agents can call:
|
|
36
|
+
|
|
37
|
+
- **`noah_time`** — Current timestamp, fleet age, lifecycle phase, corridor status, assessment windows
|
|
38
|
+
- **`noah_cron`** — List jobs, view history, trigger/enable/disable non-constitutional jobs
|
|
39
|
+
|
|
40
|
+
## On Each Internal Tick
|
|
41
|
+
|
|
42
|
+
1. Check all enabled jobs against current UTC time
|
|
43
|
+
2. Fire due jobs via fleet-bus (`cron/scheduled` for agentTurn, broadcast for fleetBusMessage)
|
|
44
|
+
3. Record execution in `cron_runs` table with hash chain
|
|
45
|
+
4. Update job state (`last_run`, `run_count`, `last_status`)
|
|
46
|
+
5. Alert on failures (CRITICAL for constitutional, HIGH for others)
|