Skip to content

feat(ai): agent constellation quiesce & emergency failover controller #56

Closed

Description

@dan-petty

Problem or Motivation

When multiple background agents, schedulers, or file watchers are active, an unexpected provider disruption or token exhaustion event can cause uncoordinated retries and resource thrashing. A centralized quiesce and failover controller is needed.

Proposed Solution & Architectural Design

  • Implement devops ai quiesce and devops ai failover commands in devops_cli.ai.controller.
  • Quiesce controller cleanly suspends active agent loops, background cron jobs, and task runners with state preservation in .data/agent/quiesce.json.
  • Failover controller safely re-routes pending work to designated fallback endpoints (e.g. local Ollama) with zero state loss and graceful resumption.
  • FastMCP tools for AI coding assistants: ai_quiesce, ai_failover, ai_resume.

Standards Compliance

  • Strictly enforce cyclomatic complexity <= 10 and nesting depth <= 5.
  • Zero bare exceptions; strongly typed domain exceptions.
  • Maintain >= 90% test coverage.

Activity

  1. added this to the v0.2.13 milestone on Sep 7, 2026
  2. added
    type/feature
    scope/ai
    priority/p2-medium
    on Sep 7, 2026
  3. dan-petty commented on Sep 8, 2026

    @dan-petty
    OwnerAuthor

    Resolved and merged in PR #65.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/aitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions