Skip to content

feat: route Chat orchestration by capabilities - #411

Merged
Jammy2211 merged 14 commits into
mainfrom
feature/chatgpt-orchestrator-routing
Sep 20, 2026
Merged

Jammy2211 merged 14 commits into
mainfrom
feature/chatgpt-orchestrator-routing

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Implements PyAutoBrain#410: ordinary ChatGPT Chat can remain the scientist-facing orchestrator while the existing organism stays authoritative.

  • Mind remains the sole task/lifecycle state.
  • Brain reasons phase-by-phase about available capabilities and required evidence, not provider names.
  • A GitHub-control-only Chat can inspect/edit branches and PR state without pretending it owns a clone or worktree.
  • Existing exact-head Actions may provide applicable test/smoke evidence; CI never becomes Heart.
  • Missing runtime/review/Heart capability is delegated as the smallest coherent phase and returns to the same Mind task.
  • Independent review cannot be self-certified by the authoring conversation.
  • Lane: keeps its intrinsic any | local-dev meaning; no Chat/Codex/Claude lane is introduced.
  • Hard invariant: no OpenAI API billing path — no OpenAI SDK, Responses API, API Platform key, OPENAI_API_KEY fallback, browser/session automation, or local process that starts ChatGPT programmatically.

Key changes

  • skills/WORKFLOW.md: canonical orchestration-capability / execution-evidence model.
  • skills/GITHUB_ACCESS.md: GitHub operations first, client/tool names as adapters.
  • skills/MODEL_DELEGATION.md: bounded cross-environment execution/review handoff.
  • start_dev, start_library, start_workspace: real GitHub-only no-worktree route with Mind repo claims preserved.
  • ship_library, ship_workspace: exact-head CI evidence support without weakening Heart/review/runtime requirements.
  • tests/test_chat_orchestration_contract.py: pins the architecture and no-API invariant.

Companions:

Validation

Runtime validation was deliberately supplied by the repository's existing exact-head CI rather than by a new execution workflow:

  • Python 3.12: 998 passed in 65.05s.
  • Python 3.13: 998 passed in 93.61s (1577 warnings).
  • generated Claude/Codex skill discovery: green.
  • tenant firewall: check tenant firewall (organ code): OK.
  • first CI pass found only two new doctrine-test wording mismatches (996 passed / 2 failed); the wording was corrected and the final head is fully green.

Static review from the ordinary Chat/GitHub surface also confirmed that runtime routing code under agents/ and bin/ contains no new ChatGPT provider branch.

Heart observed before source edits: STALE · 65, not RED. STALE is not being called GREEN here. A genuinely independent review is still pending, so this PR remains draft.

No release or merge is authorized by this PR.

@Jammy2211
Jammy2211 marked this pull request as ready for review September 20, 2026 16:11
@Jammy2211
Jammy2211 merged commit 029bcfa into main Sep 20, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/chatgpt-orchestrator-routing branch September 20, 2026 16:23
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