Pick an open auto-report issue, dispatch Codex via background script, report dispatch status.
Pick an open issue and dispatch development to Codex in the background.
Governed by CONSTITUTION.md — Articles 1, 2, 3, 4.
gh issue list --repo l1veIn/nanobot-auto --label auto-report --state open --json number,title --limit 1
If no issues found, stop and report "No open issues".
Launch the background development script. Do NOT wait for it to finish.
cd ~/nanobot
SESSION_NAME="codex-issue-<NUMBER>"
tmux new-session -d -s "$SESSION_NAME" "bash nanobot/skills/auto-dev/scripts/dev-dispatch.sh <NUMBER>"
tmux set-option -t "$SESSION_NAME" remain-on-exit on
cd - # Return to original directory
echo "Dispatched issue #<NUMBER> to Codex (tmux session: $SESSION_NAME)"
This script will independently:
/tmpReport to the user:
DO NOT:
You are done. The dispatch script handles everything else.