Skip to content

Navigation Menu

Sign in
Sign up

feat(orchestrator): LangGraph orchestrator package — P1a (3/3) - #1119

Draft
najmuzzaman-mohammad wants to merge 1 commit into
deepagents/02-spikes from
deepagents/03-orchestrator
Draft

feat(orchestrator): LangGraph orchestrator package — P1a (3/3) #1119
najmuzzaman-mohammad wants to merge 1 commit into
deepagents/02-spikes from
deepagents/03-orchestrator

Conversation

@najmuzzaman-mohammad

@najmuzzaman-mohammad najmuzzaman-mohammad commented Jun 20, 2026

Copy link
Copy Markdown
Owner

orchestrator package — P1a (3/3 in stack)

First real implementation increment: a tested LangGraph orchestrator that owns
task lifecycle on top of Claude Code/Codex. 25 tests green, no model key.

  • lifecycle.py — real lifecycle model (faithful to broker_lifecycle_transition.go) + P1 policy.
  • runstate.py — re-hydrate from the Go record + one-way projection back.
  • graph.py — route -> dispatch_turn -> (human_gate | continue); HITL via interrupt().
  • harness.py — Harness protocol; FakeHarness + ClaudeAgentHarness (P2 stub).
  • wire.py — Go<->Python contract (secrets cross as env-var names only).
  • service.py — FastAPI /run, /resume, /health.

Run: cd orchestrator && uv venv .venv && uv pip install langgraph langgraph-checkpoint-sqlite fastapi sse-starlette uvicorn pydantic pytest httpx && .venv/bin/pytest -q

Deferred (next stacked PRs): P1b Go dispatch client + projection + flag; P2 real
Claude Agent SDK harness; SSE streaming; CI. Base: deepagents/02-spikes.

🤖 Generated with Claude Code

...rate + HITL (P1a)
First real increment: a tested Python LangGraph orchestrator that owns task
lifecycle on top of Claude Code/Codex (inner harness untouched), re-hydrating
run-state from the Go record. 25 tests green, no model key required.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0842dcdb-efa7-4319-b174-a241286f290d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deepagents/03-orchestrator

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /