Skip to content

add loop-start/stop/status to operations-center.sh#164

Merged
ProtocolWarden merged 1 commit into
mainfrom
feat/loop-cli
May 21, 2026
Merged

add loop-start/stop/status to operations-center.sh#164
ProtocolWarden merged 1 commit into
mainfrom
feat/loop-cli

Conversation

@ProtocolWarden
Copy link
Copy Markdown
Owner

Summary

Usage

scripts/operations-center.sh loop-start   # start controller in background
scripts/operations-center.sh loop-stop    # graceful stop (current session finishes)
scripts/operations-center.sh loop-status  # show lock state + last schedule

Test plan

  • loop-status → "No lock file" when controller not running
  • loop-start → shows ACTIVE status after 1s delay
  • loop-stop → prints stop flag message
  • loop-start while already running → shows existing ACTIVE pid (controller handles the lock conflict)

🤖 Generated with Claude Code

Wraps tools/loop/controller.py with three subcommands:
  loop-start   start controller in background, show status after 1s
  loop-stop    write stop flag (current session finishes cleanly)
  loop-status  show controller lock state and last schedule

All three skip the janitor. Mirrors existing watchdog-loop-* pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ProtocolWarden ProtocolWarden merged commit 3dacd61 into main May 21, 2026
0 of 11 checks passed
@ProtocolWarden ProtocolWarden deleted the feat/loop-cli branch May 21, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant