You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Daemon: memory extractions started early by new messages now record their exit code in daemon-health.json, like scheduled runs.
Daemon: a cron job that exits non-zero now raises error_count and sets last_error in daemon-health.json, and /ops:daemon check fails it. Successful runs set last_success. (#1085)
Daemon: self-upgrade on version drift no longer crashes on the undefined LOG_FILE. (#1085)
inbox-digest no longer aborts on hosts without a WhatsApp bridge. (#1085)
Account rotation: daemon.mjs loads again. #698 had deleted isLoopSession from bg-respawn.mjs. It is restored, along with the deferral of /loop sessions after rotation and in the deferred sweep: they respawn once no longer looping, or after 90 minutes. A host with this service installed starts rotating once updated. (#982)
Added
ops-rules Rule 18 — "Steer every project toward profit". A standing rule for every ops skill: name the profit link (revenue up, cost down, revenue protected, or demand evidence gained) before picking or proposing work, read revenue and cost from the ops-revenue sources, run the ops-pmf gate at milestone start, prefer the shortest path to the first payment, and report outcomes in money terms. Placed in a new precedence tier, "Direction", below gates, truth and form: it selects among permitted work and never loosens the send, spend or no-fabrication rules.
SubagentStart hook: every subagent, including the agents in agents/ (which do not load ops-rules), now starts with the same one-paragraph rules pointer the main session gets, including the Rule 18 profit line. hooks/ops-rules-context.sh takes the event name as its first argument and defaults to SessionStart.
Every agent file in agents/ ends with the same short Rule 18 section; tests/test-agents-lint.sh fails when one is missing or differs.
Changed
Plugin-root CLAUDE.md pointer now reads "Rules 0–18" (it still said 0–10).
Daemon: on Linux hosts without a reachable systemd user manager (containers, SSH without lingering), ops-daemon.sh no longer exits at startup.
Account rotation: restored the default-off post-respawn continuation turn (CLAUDE_ROTATION_INJECT_CONTINUATION=1) that #698 deleted, and run its test.