.bin/agent --client codex
Project-local workflow for research tasks (writing, literature scouting, computation, review) with the user in control.
cdinto this repo and open Codex UI (recommended).- In Codex UI, run shell commands with
!. - Route requests with quotes:
!bart "<free text request>". !bartis suggest-only by default: it prints ranked candidates and requires an explicit pick.- One-step start+run:
!bart "<request>" --pick 1 --run. - Successful runs always stage to
GATE/staged/<task_id>/<skill>/.... - Default mode (
AGENT_MODE=off) never auto-promotes; promotion requires explicit confirmation:PROMOTE_TO_USER? [y/N]. - Canonical promote command is
./AGENTS/runtime/promote_to_user.sh --task <task_id>. - Global mode can be enabled explicitly with
./bin/agenthub run ... --agent-mode --auto-promote-user. - In non-interactive runs, promotion requires
--yes --allow-user-write-noninteractive; otherwise promotion is skipped. USER/is canonical and is never auto-written unless explicitly promoted.- Optional dangerous routing mode:
!./bart --full-agent "<request>"(auto-picks and executes). - If you want zero agent flow, do not run
./bartor./bin/agenthub; use your tools directly.
Example flow:
!bart "update metadata" --pick 1 --start!bin/agenthub run --task <task_id> --yes- respond to
PROMOTE_TO_USER? [y/N]or run./bin/agenthub promote --task <task_id>later.