Skip to content

refactor: organize runtime code into internal packages - #2

Merged
Sertaç Özercan (sozercan) merged 1 commit into
mainfrom
refactor
Sep 11, 2026
Merged

Sertaç Özercan (sozercan) merged 1 commit into
mainfrom
refactor

Conversation

@sozercan

Copy link
Copy Markdown
Member

The runtime implementation and tests were concentrated in the repository root. Move them into a thin CLI entry point at cmd/agent-runtime-foundry and focused internal packages for the HTTP adapter, ACP execution, durable broker, hosted runtime, and shared helpers. Tests stay beside their implementations, with shared store checks exercised by both runtime packages.

Preserve CLI mode selection and protocol behavior, keep lifecycle and ledger state private, and update the Makefile, CI, Docker build targets, and README for the new layout.

Validation:

  • make verify
  • docker build -t agent-runtime-foundry .
  • docker build -f Dockerfile.acp -t agent-runtime-foundry:acp-refactor .
  • Linux supervisor shutdown and cancellation tests in a network-disabled container
  • CLI mode/flag checks and ACP container initialization followed by clean EOF shutdown

All 260 original root tests remain, and all six shared store checks run against both stores.

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 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-09-11T17:04:48.461243Z bb0b749 PR opened
🔒 Security Review ✅ Completed 2026-09-11T17:05:25.944289Z bb0b749 PR opened
ℹ️ About Codex in GitHub

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

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

@sozercan
Sertaç Özercan (sozercan) merged commit 4e83f88 into main Sep 11, 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