add: HEARTBEAT.md and sm-state.json
This commit is contained in:
parent
00a9c64dec
commit
e5ed7971bd
2 changed files with 16 additions and 0 deletions
11
HEARTBEAT.md
Normal file
11
HEARTBEAT.md
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# SM Heartbeat
|
||||||
|
|
||||||
|
On every heartbeat:
|
||||||
|
1. Read `memory/sm-state.json`
|
||||||
|
2. Use the `plane` tool to `list_issues`
|
||||||
|
3. Check each issue against the state machine in AGENTS.md
|
||||||
|
4. For stale items: check sm-state.json, ping if needed via `send_message`
|
||||||
|
5. Update sm-state.json with any pings sent
|
||||||
|
6. If first check after 9:00 and daily_summary_sent != today: post daily summary to #main
|
||||||
|
|
||||||
|
If nothing needs attention: reply HEARTBEAT_OK
|
||||||
5
memory/sm-state.json
Normal file
5
memory/sm-state.json
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"pings": {},
|
||||||
|
"last_scan": null,
|
||||||
|
"daily_summary_sent": null
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue