Skip to content

Simplify session outcomes and add bounded Executions - #86

Merged
areshand merged 7 commits into
mainfrom
codex/simplify-terminal-state-machine
Sep 5, 2026
Merged

Simplify session outcomes and add bounded Executions#86
areshand merged 7 commits into
mainfrom
codex/simplify-terminal-state-machine

Conversation

@areshand

@areshand areshand commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • make deployed runbook bytes authoritative and derive operation versions from live prod-mcp capabilities
  • seal Sessions as succeeded, failed, or review_requested; failed sub-agent and operation attempts are terminal until the orchestrator explicitly chooses a distinct retry
  • introduce Execution as a runtime-local authority step inside the existing Session loop, without adding a Session Manager entity, Pod, Job, or second supervisor
  • keep the durable Thread lifecycle as an internal Control Server module rather than a standalone package or service
  • start authenticated user Sessions read-only; let the Supervisor activate one bounded Execution for exact source paths and/or reviewed-ops while the orchestrator itself remains read-only
  • let mechanically read-only work complete directly without an independent model reviewer
  • keep Slack Sessions permanently observe-only; approval creates a fresh user Session with only the fixed reviewed effects, while rejection closes the Thread
  • default gateway-created Sessions to user/read-only and choose the headless fallback route from the current Execution at exit time

Validation

  • cargo test --locked --package multiagent --no-fail-fast (93 passed)
  • npm test in control-server (60 passed)
  • npm test in client (24 passed)
  • npm test in slack-ingress (5 passed)
  • system-Bash tests/lifecycle.sh, including read-only completion, bounded activation, no widening, and external observe denial
  • system-Bash tests/run.sh, including mock orchestration E2E
  • cargo fmt --all and git diff --check
  • latest GitHub Framework contract checks pass on Python 3.8/3.13, Ubuntu, and macOS

@areshand areshand changed the title Simplify execution terminal outcomes and disable retries Simplify terminal outcomes and require explicit subagent retries Sep 5, 2026
@areshand areshand changed the title Simplify terminal outcomes and require explicit subagent retries Simplify session outcomes and add bounded Executions Sep 5, 2026
@areshand
areshand merged commit 4a337c6 into main Sep 5, 2026
4 checks passed
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.

1 participant