Skip to content

Improve token-safe worker orchestration and observability #2

Description

@SpadesZ

Context from rickie-second-brain orchestration: Codex should be brain/orchestrator, Jules handles large implementation, Antigravity handles independent verification, and local work is only small blockers/validation. Current MCP flow made this harder and more token-expensive than needed.

Needed improvements:

  1. Filtered low-token job status API: repo/session/status filters; expose job_list consistently.
  2. Compact worker summaries: job id, session id, status, changed files, validation results, patch artifact id, blockers; no huge patch dumps unless requested.
  3. Completion-trigger semantics: monitor helpers that stay quiet until the whole project plan is verifiably complete, not each subtask.
  4. Normalized Jules + Antigravity lifecycle: queued/in_progress/completed/needs_correction/blocked/failed/verified with explicit owner roles.
  5. Output quality-gate metadata: commands run, exact test output, placeholder scan, secret scan, deferred items; easy reject/follow-up for skeleton patches.
  6. Secret hygiene: redact user-provided keys before prompts, ledgers, logs, summaries, or worker handoffs.

Acceptance:

  • One filtered call tells Codex all worker state.
  • Codex can decide local validation vs Antigravity vs Jules follow-up without reading a full diff.
  • User is notified only on full-plan completion or true blocking decision.
  • MCP never stores/displays secrets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions