• New src/new_goal_dispatch.py (find_queued_tasks() + dispatch_once(), mirroring
    task_reconciliation.py's shape but deliberately a separate module/loop --
    scheduler-task-reconciliation-design.md §7 already established the "don't
    merge into one mega scheduler loop" principle, this follows it). Wired into
    backend_server.py::main() as its own daemon thread with
    --new-goal-dispatch-interval-seconds (default 45s, shorter than
    reconciliation's 300s to satisfy the near-real-time acceptance bar) and
    --disable-new-goal-dispatch-loop.
    
    Also added the matching --disable-new-goal-dispatch-loop flag to
    supervisor/deploy_stage.py::_launch_candidate() -- same reasoning as the
    existing --disable-reconciliation-loop flag there: a health-checking deploy
    candidate runs against a copy of the production DB and must stay passive
    until Deploy Supervisor decides it's live, otherwise it would start
    autonomously dispatching real Goals off stale/copied state.
    
    User-confirmed 2026-08-13: full auto-dispatch, not a conservative
    default-disabled rollout -- this was previously flagged as a standalone
    "changes the system's own autonomy boundary" decision requiring separate
    review (docs/done/scheduler-new-goal-dispatch-requirements.md), now resolved.
    
    Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
    bboonnee authored
     
    Browse File »
  • FR-5a: a new, standalone four-stage Org meta-graph (renderOrgMetaGraph and
    friends) rather than extending the existing 3-node renderOrgGraphTopology
    (left untouched, it's pinned by test_graph_console_smoke.js). Each stage
    expands in place: planner/coder/validator reuse renderGraphVisualizerPanel
    unmodified against that stage's latest run (identified via org_nodes_involved,
    Phase 2c's replacement for the removed single-value org_node column);
    planner_reviewer has no self-planned work_graph_run, so it shows its
    planner_review_verdict execution_event history instead (new
    task_query.py::_planner_review_events_for_task(), mirroring the existing
    _loop_back_events_for_run() pattern).
    
    FR-5b: an attempt_number-ordered, click-to-reveal feedback timeline built
    from loop_back_events, which was already being fetched but never rendered.
    
    New frontend/test_org_meta_graph_smoke.js (35 assertions, same vm.Context
    sandbox convention as the existing 4 smoke tests).
    
    Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
    bboonnee authored
     
    Browse File »