O3: Task sources and result sinks (host-agnostic) #4

Closed
opened 2026-11-12 23:12:58 +00:00 by hermes · 0 comments
Collaborator

orch is an orchestrator that runs many hx coding agents (Rust harness, one-shot via hx -p TEXT --mode json = NDJSON events on stdout, or --mode rpc = JSON-RPC over stdio; flags --sandbox, --session FILE, --provider, --yolo; hx stats shows token usage). It must work for work and private use, so it is not tied to any git host. Define two small traits. Source: list tasks, claim task, report status. Sink: publish result (branch, patch, PR/MR, comment).

Built-in: source dir (Markdown files in a folder) and source/sink cmd (external command speaks JSON on stdin/stdout, so any host - Gitea, GitHub, Jira, Linear - is a script, no host code in the core). Sink local-branch as fallback.

Acceptance: example cmd adapter for Gitea in examples/, documented JSON contract with a schema.

orch is an orchestrator that runs many `hx` coding agents (Rust harness, one-shot via `hx -p TEXT --mode json` = NDJSON events on stdout, or `--mode rpc` = JSON-RPC over stdio; flags `--sandbox`, `--session FILE`, `--provider`, `--yolo`; `hx stats` shows token usage). It must work for work and private use, so it is not tied to any git host. Define two small traits. Source: list tasks, claim task, report status. Sink: publish result (branch, patch, PR/MR, comment). Built-in: source `dir` (Markdown files in a folder) and source/sink `cmd` (external command speaks JSON on stdin/stdout, so any host - Gitea, GitHub, Jira, Linear - is a script, no host code in the core). Sink `local-branch` as fallback. Acceptance: example `cmd` adapter for Gitea in `examples/`, documented JSON contract with a schema.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/orch#4