Skip to content

Integrate coordinator updates and localized READMEs - #10

Merged
alanhoff merged 1 commit into
mainfrom
codex/consolidate-all-20260831
Aug 31, 2026
Merged

alanhoff merged 1 commit into
mainfrom
codex/consolidate-all-20260831

Conversation

@alanhoff

Copy link
Copy Markdown
Owner

Summary

  • integrate all tracked and ordinary untracked workspace changes
  • add Brazilian Portuguese, Spanish, and Simplified Chinese README translations
  • link every README language version to the others
  • update coordinator routing, state, documentation, and tests

Validation

  • python3 -m unittest discover -s tests (85 tests passed)
  • git diff --check

Copilot AI lite review requested due to automatic review settings August 31, 2026 23:53
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-31T23:55:56.641909Z 7d0db7a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@alanhoff
alanhoff merged commit 3fbe1cf into main Aug 31, 2026
5 checks passed
@alanhoff
alanhoff deleted the codex/consolidate-all-20260831 branch August 31, 2026 23:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

next_action() returns required fields that omit node_id for actions whose commands need it, making the API contract ambiguous for callers that rely on next.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR expands the coordinator’s high-level workflow lifecycle (atomic plan application, automatic routing, claim/start/complete, and next-action guidance), tightens structured JSON input handling, and updates documentation/tests accordingly, alongside adding localized README translations.

Changes:

  • Add new state-owner commands and state-machine transitions: plan-apply, node-route-auto, node-claim, node-start, node-complete, workflow-complete, and read-only next.
  • Harden JSON/command input parsing (duplicate keys, non-standard numeric constants, and size bounds) in both state and routing CLIs.
  • Add README translations (pt-BR, es, zh-CN) and cross-link all README language variants; update skill protocol documentation to the new command path.
File summaries
File Description
tests/test_state.py Adds coverage for plan-apply atomicity, stage validation, next-action selection, and full lifecycle commands.
tests/test_routing.py Adds regression tests for strict JSON parsing (duplicate keys/constants) and oversized routing inputs.
tests/test_contract.py Enforces CLI contract presence for new high-level orchestration commands and docs mentions.
src/coordinator/state/store.py Implements plan-apply, node-route-auto, claim/start/complete lifecycle, workflow-complete, next_action oracle, and stricter decoding/bounded inputs.
src/coordinator/cli/state.py Exposes new state CLI subcommands and validates --stage against supported stages.
src/coordinator/cli/routing.py Adds bounded, strict JSON parsing for routing CLI inputs.
skill/SKILL.md Updates operator protocol to prefer plan-apply/next/node-route-auto/.../workflow-complete and documents review convergence.
skill/references/workflow-protocol.md Aligns the workflow protocol reference with the new lifecycle commands and next-action oracle.
skill/references/state-schema.md Updates schema guidance to prefer node-route-auto and recognizes read-only next.
skill/references/model-routing.md Updates routing reference to emphasize node-route-auto over manual node-route.
skill/references/complexity-accounting.md Aligns complexity lifecycle guidance with node-route-auto and retry behavior.
skill/README.md Updates skill entry-point docs and links to translated project READMEs.
README.md Adds language links and documents the durable command path including next and workflow-complete.
README.es.md Adds Spanish README translation and links.
README.pt-BR.md Adds Brazilian Portuguese README translation and links.
README.zh-CN.md Adds Simplified Chinese README translation and links.
Review details

Suppressed comments (1)

src/coordinator/state/store.py:3316

  • next_action() returns command="node-update" for the start action, but required omits node_id even though the command needs --node-id (and node_ids may list multiple nodes). Include node_id in required so callers can build a complete invocation consistently.
            "start",
            "bound work must transition to running",
            command="node-update",
            node_ids=bound,
            required=["status=running"],
  • Files reviewed: 16/16 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +3299 to +3303
"spawn_and_start",
"claimed work must be delegated and bound before execution",
command="node-start",
node_ids=claimed,
required=["child_id"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants