Skip to content

feat(runtime): close deploy integration contract gaps - #26

Merged
zhanghanduo merged 13 commits into
mainfrom
codex/tool-result-metadata-hooks
Sep 3, 2026
Merged

zhanghanduo merged 13 commits into
mainfrom
codex/tool-result-metadata-hooks

Conversation

@zhanghanduo

Copy link
Copy Markdown
Collaborator

Summary

  • add structured ToolResult failure/recovery/repeat metadata through product-neutral hooks
  • expose LLM call identity and pre-provider input to observers
  • report rollback/context-discard events while history is still reachable
  • support dynamic per-turn tool constraints and user-role/callable addenda
  • add product tool-history and context-overflow recovery hooks
  • preserve original tasks, recoverability, pairing, and recovery-index ordering during compaction
  • bump AgentCore to 0.2.1 with changelog coverage

Why

The deploy-1.2 × refactor/agent-core canary merge exposed these as shared-runtime contract gaps. Keeping them in AgentCore avoids product-side monkeypatches and lets ApodexHarness retain its deployed policies through explicit hooks.

Verification

  • uv run pytest -q: 1137 passed
  • uv run ruff check agent_core tests scripts
  • uv run pyright agent_core
  • uv build

@zhanghanduo
zhanghanduo force-pushed the codex/tool-result-metadata-hooks branch from 1620b53 to b511941 Compare September 3, 2026 11:56
@zhanghanduo
zhanghanduo merged commit 380a791 into main Sep 3, 2026
5 checks passed
@zhanghanduo
zhanghanduo deleted the codex/tool-result-metadata-hooks branch September 3, 2026 14:40
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