Skip to content

feat: ungate AWS skills, managed memory, and read-only harness Version#1620

Open
aidandaly24 wants to merge 1 commit into
mainfrom
feat/ungate-aws-skills-managed-memory-version
Open

feat: ungate AWS skills, managed memory, and read-only harness Version#1620
aidandaly24 wants to merge 1 commit into
mainfrom
feat/ungate-aws-skills-managed-memory-version

Conversation

@aidandaly24

Copy link
Copy Markdown
Contributor

Description

The NY-Summit AWS::BedrockAgentCore::Harness CFN type is now public in all regions, so the harness summit-preview features can be ungated. This removes the ENABLE_GATED_FEATURES gate at the in-scope call sites only — knowledge-base, gateway passthrough, and config-bundle branch intentionally stay gated (not part of this ungating; verified still hidden without the flag).

Ungated

  • AWS Skills--aws-skills source on add skill and the TUI skill-source picker (no longer "Coming soon").
  • Managed memory — the managed/existing/disabled memory-mode union and the managed-tuning flags. The legacy "No persistent memory" enabled/disabled TUI screen is removed, and the auto-created ${name}Memory sibling is gone. "No memory" (--no-memory / --memory-mode disabled) now writes { mode: 'disabled' } → CFN Memory: { Disabled: {} } (a true opt-out, instead of silently getting a service-auto-created memory).
  • Harness Versionstatus and the deploy drift note show the config version unconditionally.

Fixes found while testing (in-scope)

  • Reject --no-memory combined with managed-only flags (--memory-strategies / --memory-event-expiry-days / --memory-encryption-key-arn) instead of silently dropping them.
  • TUI existing-memory retrieval tuning (messages count / topK / relevance) was silently dropped — the wizard setters now write into the memory union and the add/create flows share one toMemoryAddOptions() translation helper.
  • deploy --json no longer emits the managed-memory heads-up notice to stdout (it corrupted the JSON output); the notice is suppressed under --json and still recorded in the deploy log.

Related Issue

Closes #

Documentation PR

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint
  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots — N/A (no asset changes)

Added/updated: corrected the integ memory-mode coverage (removed legacy auto-memory assertions, ungated the memory-modes describe); added unit coverage for memory-mode resolution (HarnessPrimitive.add.memory.test.ts) and the TUI translation helper (memory-options.test.ts); added harness-managed-memory and harness-aws-skills e2e suites (deploy → invoke → memory round-trip / skills-loaded → teardown), verified against a real account. 5425 unit tests pass; typecheck + lint clean.

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published — depends on aws/agentcore-l3-cdk-constructs#289 (merge + publish CDK first)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The NY-Summit AgentCore Harness CFN type is now public in all regions, so the
harness summit-preview features can be ungated. This removes the
ENABLE_GATED_FEATURES gate at the in-scope call sites only — knowledge-base,
gateway passthrough, and config-bundle branch stay gated (they were not part of
this ungating).

Ungated:
- AWS Skills: --aws-skills source on `add skill` and the TUI skill-source picker
  (no longer "Coming soon").
- Managed memory: the managed/existing/disabled memory-mode union and the
  managed-tuning flags. The legacy "No persistent memory" enabled/disabled TUI
  screen is removed; the auto-created `${name}Memory` sibling is gone. "No memory"
  (--no-memory / --memory-mode disabled) now writes { mode: 'disabled' }, which
  maps to CFN Memory: { Disabled: {} } — a true opt-out instead of silently
  getting a service-auto-created memory.
- Harness Version: `status` and the deploy drift note show the config version
  unconditionally.

Fixes found while testing (in-scope):
- Reject --no-memory combined with managed-only flags (--memory-strategies /
  --memory-event-expiry-days / --memory-encryption-key-arn) instead of silently
  dropping them.
- TUI existing-memory retrieval tuning (messages count / topK / relevance) was
  silently dropped; the wizard setters now write into the memory union and the
  add/create flows share one toMemoryAddOptions() translation helper.
- `deploy --json` no longer emits the managed-memory heads-up notice to stdout
  (it corrupted the JSON output); the notice is suppressed under --json and still
  recorded in the deploy log.

Tests: ungated and corrected the integ memory-mode coverage (removed the legacy
auto-memory assertions); added unit coverage for memory-mode resolution and the
TUI translation helper; added harness-managed-memory and harness-aws-skills e2e
suites (deploy -> invoke -> memory round-trip / skills-loaded -> teardown),
verified against a real account. 5425 unit tests pass; typecheck + lint clean.

Depends on aws/agentcore-l3-cdk-constructs#289.
@aidandaly24 aidandaly24 requested a review from a team June 23, 2026 17:55
@github-actions github-actions Bot added the size/xl PR size: XL label Jun 23, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label Jun 23, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jun 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.20.2.tgz

How to install

gh release download pr-1620-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.20.2.tgz

@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Jun 23, 2026
@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Jun 23, 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