Skip to content

Freeze OmegaFlow controlled-session integration contract - #48

Open
omry wants to merge 1 commit into
pr47from
pr48
Open

Freeze OmegaFlow controlled-session integration contract#48
omry wants to merge 1 commit into
pr47from
pr48

Conversation

@omry

@omry omry commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Define the Reploy-owned public boundary for OmegaFlow-controlled workloads, including the embedded controller broker, terminal-only attachment, unmodified asciinema integration, and strict versioned JSON stream.

Specify attachment security and lifecycle ordering, host CLI arguments and structured results, timeout and cancellation behavior, controller-output finalization, Linux-only controller support, and compatibility expectations. Split implementation into independently reviewed broker, attachment, packaging, host invocation, and conformance slices.


Stack created with Sapling. Best reviewed with ReviewStack.

@omry
omry changed the base branch from main to pr47 August 12, 2026 10:36
@omry
omry marked this pull request as ready for review August 12, 2026 10:37
Copilot AI lite review requested due to automatic review settings August 12, 2026 10:37

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d70a031b50

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/CONTROLLED_SESSION_DESIGN.md

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.

Pull request overview

This PR updates the controlled-session design documentation to “freeze” the OmegaFlow-facing integration contract for controller-controlled workloads, with an explicit broker + terminal-attachment split and a versioned JSON-lines public stream boundary.

Changes:

  • Refines the output-dir/output-file section to align with the planned reploy controlled-session run host command surface.
  • Replaces the prior “asciinema ↔ session client” topology with a broker + terminal attachment contract (including lifecycle ordering and security expectations).
  • Adds a detailed Slice 5 breakdown describing how the integration boundary will be implemented and proven in later reviewable steps.
Suppressed comments (1)

docs/CONTROLLED_SESSION_DESIGN.md:1155

  • This paragraph mixes the terms “broker” and the client subcommand when describing stdin/stdout/stderr, which makes it unclear whether reploy controlled-session client is the broker process. Using one term consistently here would reduce ambiguity in the integration contract.
The broker's stdin and stdout carry only the versioned structured OmegaFlow
control stream; its stderr carries human diagnostics. The attachment's stdin
and stdout carry only terminal bytes. `REPLOY_SESSION_SOCKET` is consumed
implicitly by `client` and has no command-line override. The broker creates the
terminal socket itself and reports its path to OmegaFlow before OmegaFlow

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

Comment thread docs/CONTROLLED_SESSION_DESIGN.md Outdated
Comment thread docs/CONTROLLED_SESSION_DESIGN.md
@omry

omry commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review d6c6047

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: d6c6047b0a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Define the Reploy-owned public boundary for OmegaFlow-controlled workloads, including the embedded controller broker, terminal-only attachment, unmodified asciinema integration, and strict versioned JSON stream.

Specify attachment security and lifecycle ordering, host CLI arguments and structured results, timeout and cancellation behavior, controller-output finalization, Linux-only controller support, and compatibility expectations. Split implementation into independently reviewed broker, attachment, packaging, host invocation, and conformance slices.
@omry

omry commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review 67f4c14

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 67f4c14b27

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved PR reviewed and approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants