Skip to content

feat: support Foundry hosted Harness v2 agents - #1

Merged
Sertaç Özercan (sozercan) merged 2 commits into
mainfrom
feat/harness-v2
Sep 11, 2026
Merged

Sertaç Özercan (sozercan) merged 2 commits into
mainfrom
feat/harness-v2

Conversation

@sozercan

@sozercan Sertaç Özercan (sozercan) commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Add optional ACP, lifecycle broker, hosted supervisor and gateway modes for Orka's Harness v2 contract. Keep the existing Harness v1 adapter and provider-static schema mode. Tools and artifact access remain governed by Orka; Azure credentials and provider session identities stay within the adapter deployment.

Persist remote ownership before submission, validate exact lease and runtime fences, and retain uncertain acknowledgments without replay. Durable storage failures close admission and take precedence over successful-looking responses. Reject conflicting JSON aliases before accepting ownership evidence or executing provider tool output, while preserving case-sensitive tool arguments. Confirm original-owner settlement and retirement before replacing a hosted lifetime.

The final source passed make verify and the full native Linux/amd64 suite, go test -race -count=1 -timeout=8m -v ./...: 269 top-level tests and 776 subtests, with no skips or race reports.

The current hosted images passed Orka conformance, governed write cancellation before effect, ordinary Task/Session cleanup, authenticated empty drain, and original hosted-runtime retirement. The cancellation case recorded zero fixture writes and retained the original one-attempt OutcomeUnknown effect. Real-model Task cancellation, real-model timeout, cancellation after effect, and model stream loss are still pending.

Earlier hosted deployments exercised text, same-Session continuation, governed read/write tools, authorization and fence rejection, lease renewal, and original-owner retirement. Those results retain their original image and runtime scope. Earlier failed or inconclusive cases and unresolved owners remain recorded. A fresh hosted lifetime passed ordinary AgentRuntime deletion and cleanup-Secret removal while its original endpoint remained live. Its warm-up model Task succeeded, but an exact-text assertion failed before cancellation was attempted. That scenario remains failed.

This remains an experimental single-lifetime package with an approximately 30-minute hosted connection limit. It does not reconnect or resume across boots. Interactive approvals and ACP filesystem, terminal, session-load and media methods are unsupported. The tested composition does not support positive repository editing/publication; generic stateful or SSE MCP transports are outside the supported Orka loopback proxy contract. Task cancellation and socket closure do not prove that Azure inference stopped.

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

chatgpt-codex-connector Bot commented Sep 7, 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-07T03:35:27.367987Z 57988db PR opened
🔒 Security Review ✅ Completed 2026-09-07T03:31:14.816406Z 57988db 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.

@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: 57988dbe9d

ℹ️ 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 (@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 (@codex) address that feedback".

Comment thread acp_responses.go
@sozercan
Sertaç Özercan (sozercan) merged commit 7bab44a into main Sep 11, 2026
4 checks passed
@sozercan
Sertaç Özercan (sozercan) deleted the feat/harness-v2 branch September 11, 2026 07:33
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