@kbediako/codex-orchestrator 0.1.35 → 0.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +48 -25
  2. package/codex.orchestrator.json +39 -0
  3. package/dist/bin/codex-orchestrator.js +257 -29
  4. package/dist/orchestrator/src/cli/codexDefaultsSetup.js +274 -0
  5. package/dist/orchestrator/src/cli/config/userConfig.js +17 -1
  6. package/dist/orchestrator/src/cli/doctor.js +132 -1
  7. package/dist/orchestrator/src/cli/doctorIssueLog.js +42 -16
  8. package/dist/orchestrator/src/cli/frontendTestingRunner.js +24 -6
  9. package/dist/orchestrator/src/cli/orchestrator.js +119 -16
  10. package/dist/orchestrator/src/cli/rlmRunner.js +27 -3
  11. package/dist/orchestrator/src/cli/run/manifest.js +19 -0
  12. package/dist/orchestrator/src/cli/runtime/codexCommand.js +39 -0
  13. package/dist/orchestrator/src/cli/runtime/index.js +3 -0
  14. package/dist/orchestrator/src/cli/runtime/mode.js +53 -0
  15. package/dist/orchestrator/src/cli/runtime/provider.js +205 -0
  16. package/dist/orchestrator/src/cli/runtime/types.js +1 -0
  17. package/dist/orchestrator/src/cli/services/commandRunner.js +19 -5
  18. package/dist/orchestrator/src/cli/services/runPreparation.js +2 -0
  19. package/dist/orchestrator/src/cli/services/runSummaryWriter.js +12 -0
  20. package/dist/scripts/lib/pr-watch-merge.js +170 -9
  21. package/dist/scripts/run-review.js +2029 -0
  22. package/docs/README.md +12 -10
  23. package/package.json +4 -1
  24. package/schemas/manifest.json +20 -0
  25. package/skills/agent-first-adoption-steering/SKILL.md +116 -0
  26. package/skills/chrome-devtools/SKILL.md +6 -0
  27. package/skills/collab-deliberation/SKILL.md +6 -0
  28. package/skills/collab-evals/SKILL.md +15 -0
  29. package/skills/collab-subagents-first/SKILL.md +7 -1
  30. package/skills/delegate-early/SKILL.md +6 -0
  31. package/skills/delegation-usage/DELEGATION_GUIDE.md +7 -4
  32. package/skills/delegation-usage/SKILL.md +14 -4
  33. package/skills/docs-first/SKILL.md +6 -0
  34. package/skills/elegance-review/SKILL.md +4 -0
  35. package/skills/long-poll-wait/SKILL.md +82 -0
  36. package/skills/release/SKILL.md +6 -2
  37. package/skills/standalone-review/SKILL.md +9 -3
  38. package/templates/README.md +5 -0
  39. package/templates/codex/.codex/agents/awaiter-high.toml +38 -0
  40. package/templates/codex/.codex/agents/explorer-fast.toml +2 -0
  41. package/templates/codex/.codex/agents/worker-complex.toml +2 -0
  42. package/templates/codex/.codex/config.toml +19 -0
  43. package/templates/codex/AGENTS.md +10 -4
@@ -1,9 +1,10 @@
1
- <!-- codex:instruction-stamp 4f9803271a8209cf58746c0a71d87421952a402c884cc0262a8765fa5c456128 -->
1
+ <!-- codex:instruction-stamp 3599cb54f155d730dfc088b0ee6792ebe91e701cc288930064d73eae562b829a -->
2
2
  # Agent Instructions (Template)
3
3
 
4
4
  ## Orchestrator-first workflow
5
5
  - Use `codex-orchestrator` pipelines for planning, implementation, validation, and review.
6
6
  - Default to `docs-review` before implementation and `implementation-gate` after code changes.
7
+ - Use `docs-relevance-advisory` when you need semantic docs relevance signal without hard-gate behavior.
7
8
  - Prefer cloud mode when runs are long-running/parallel and cloud prerequisites are ready.
8
9
  - Before cloud mode, verify branch availability, non-interactive setup commands, and required secrets/variables; if missing, run in local `mcp` mode and record why.
9
10
  - Before implementation, run a standalone review of the task/spec against the user’s intent and record the approval in the spec + checklist notes.
@@ -49,19 +50,24 @@
49
50
  - `P2/P3` findings are tracked follow-ups.
50
51
 
51
52
  ## Agent role baseline
52
- - Built-in roles are `default`, `explorer`, and `worker`; `researcher` is user-defined.
53
+ - Built-in roles are `default`, `explorer`, `worker`, and `awaiter`; `researcher` is user-defined.
53
54
  - `spawn_agent` defaults to `default` when `agent_type` is omitted; always set `agent_type` explicitly.
54
55
  - For symbolic collab runs, prefix spawned prompts with `[agent_type:<role>]` on line one so role intent is auditable from JSONL/manifests.
55
56
  - Keep top-level defaults on latest codex by setting `model = "gpt-5.3-codex"` in `~/.codex/config.toml`.
56
- - Define a user `agents.explorer` role without `config_file` so built-in explorer inherits top-level model defaults.
57
+ - Set `model_reasoning_effort` to at least `high` (CO default: `xhigh`) so spawned agents inherit high reasoning unless role overrides change it.
58
+ - Built-in `explorer` inherits top-level model defaults unless you attach a `config_file`.
57
59
  - Spark caveat: `gpt-5.3-codex-spark` is text-only.
58
- - Use `[agents] max_threads = 8` as the default baseline; raise to `12` only after proving stable tool/runtime behavior.
60
+ - Keep RLM/collab built-ins-first by default; add custom specialist roles only when there is measured value, clear ownership, and validation evidence.
61
+ - Use `[agents] max_threads = 12` with `max_depth = 4` and `max_spawn_depth = 4` as the default multi-agent baseline.
62
+ - Keep fallback usage explicit and rare: `8/2/2` for constrained/high-risk lanes, `6/1/1` only as break-glass.
59
63
  - Add an explicit `worker_complex` role (`gpt-5.3-codex`, `xhigh`) for high-risk implementation streams.
64
+ - Use `codex-orchestrator doctor` as an advisory drift check for Codex defaults; remediate additively via `codex-orchestrator codex defaults --yes`.
60
65
 
61
66
  ## Completion discipline (patience-first)
62
67
  - Wait/poll for terminal state on long-running operations (CI checks, reviews, cloud jobs, orchestrator runs) before reporting completion.
63
68
  - Reset waiting windows when checks restart or new feedback appears.
64
69
  - Do not hand off mid-flight work unless the user explicitly asks to stop.
70
+ - Awaiter triage: treat long waits as expected unless progress is flat across multiple polling windows; increase timeouts before declaring a stall.
65
71
 
66
72
  ## Instruction stamp
67
73
  - If you edit this file, refresh the instruction stamp.