Skip to content

[DRAFT] feat(harness): reconcile execution role policies - #1991

Closed
aidandaly24 wants to merge 1 commit into
feat/gateway-iam-completefrom
feat/harness-iam-reconciliation
Closed

[DRAFT] feat(harness): reconcile execution role policies#1991
aidandaly24 wants to merge 1 commit into
feat/gateway-iam-completefrom
feat/harness-iam-reconciliation

Conversation

@aidandaly24

Copy link
Copy Markdown
Contributor

Summary

  • replace the static Harness execution-role policy with capability-driven planning and shared IAM reconciliation
  • stage current and desired permissions around updates, wait for the exact returned Harness version, finalize managed Memory ARNs, restore on failure, and clean up only the generated policy on delete
  • support exact Browser, Code Interpreter, Gateway auth, model, credential-provider, private ECR, S3, EFS, and S3 Files permissions
  • preserve external IAM behavior for --execution-role-arn, unknown roles, deterministic cross-resource ownership, and --skip-role-policy-update
  • surface external-IAM warnings in both CLI and TUI update flows

Stack

Depends on #1990.

Verification

  • bun run format:check
  • bun run lint:check
  • bun run typecheck
  • focused Harness/IAM and Gateway regression suites
  • bun test: 1238 passed, 0 failed
  • bun run build
  • live AWS_PROFILE=deploy create/update/invoke/delete coverage for managed Memory, Browser, Code Interpreter, AWS IAM and no-auth Gateways, API-key-backed remote MCP, explicit roles, skipped IAM, unknown roles, failed-update rollback, and generated-policy cleanup
  • all disposable Harnesses, Memories, roles, policies, and log groups confirmed removed

@github-actions github-actions Bot added the size/xl PR size: XL label Aug 13, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label Aug 13, 2026
@aidandaly24 aidandaly24 changed the title feat(harness): reconcile execution role policies [DRAFT] feat(harness): reconcile execution role policies Aug 13, 2026
@github-actions github-actions Bot added size/xl PR size: XL and removed size/xl PR size: XL labels Aug 13, 2026
@aidandaly24

Copy link
Copy Markdown
Contributor Author

Withdrawing this draft stack for scope and architecture reduction before review.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant