Skip to content

feat(agents): Agent Designer Phase 1 — AGENTS_API_ENABLED flag plumbing + docs#593

Merged
philmerrell merged 1 commit into
developfrom
feature/agent-designer-flag-plumbing
Jul 8, 2026
Merged

feat(agents): Agent Designer Phase 1 — AGENTS_API_ENABLED flag plumbing + docs#593
philmerrell merged 1 commit into
developfrom
feature/agent-designer-flag-plumbing

Conversation

@philmerrell

Copy link
Copy Markdown
Contributor

Agent Designer — Phase 1, PR-4 (deployability + docs)

Builds on #591 + #592. Completes Phase 1 by making the /agents surface turn-on-able per environment, and documents Phase-1 status. No application-logic change; no new AWS resources.

What's here

  • CDK config plumbingAgentsConfig { enabled }, driven by CDK_AGENTS_API_ENABLED (default off, empty-string-safe) or an agents.enabled cdk.json context, mirroring memorySpaces exactly. Sets AGENTS_API_ENABLED on app-api. The flag only gates whether the /agents/* routes 404 — the assistant store they read is always present, so no table/bucket wiring is needed.
  • Infra tests — default-off / opt-on assertion in app-api-environment.test.ts; mock-config default.
  • Docsagent-designer.md Phase-1 status (marks P0/P1 done, records the two refinements: KB synth-on-read/reject-on-write, and modelConfig optional-in-storage); CHANGELOG.md [Unreleased].

Deliberately NOT here — the live Oliver dogfood

D6's payoff (Oliver reads his bound Memory Space) is gated on two things not yet in place: Phase 3 harness resolution (nothing consumes a memory_space binding at invocation yet) and Memory Spaces deployed to the target environment (per the memory-spaces app-api wiring note). Shipping a seeded Oliver now would store a binding that can't resolve. It's the headline Phase-3 deliverable instead.

Testing

npx tsc --noEmit clean; 67 infra tests pass (incl. the new AGENTS_API_ENABLED gate).

Next

Phase 2 (bindable-primitives catalog — the RBAC palette) or Phase 3 (harness resolution — the memory dogfood payoff). Recommend Phase 3 to cash in D6.

🤖 Generated with Claude Code

Phase 1 (PR-4). Completes Phase 1 deployability: the /agents surface can now
be turned on per environment. No new AWS resources — the flag only gates
whether the routes 404 (the assistant store it reads is always present).

- config.ts: AgentsConfig { enabled }; CDK_AGENTS_API_ENABLED (default off,
  empty-string-safe) or an `agents.enabled` cdk.json context, mirroring
  memorySpaces exactly
- app-api-environment.ts: AGENTS_API_ENABLED env on app-api
- infra tests: default-off / opt-on assertion; mock-config default
- docs: agent-designer.md Phase-1 status (+ the two refinements and the
  Oliver-dogfood-gated-on-Phase-3 note); CHANGELOG [Unreleased]

The live Oliver dogfood (D6) is deliberately NOT included: it needs Phase 3
harness resolution + Memory Spaces deployed to the target env before a
memory_space binding resolves at invocation. Tracked as the Phase 3 payoff.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@philmerrell philmerrell merged commit 20ded48 into develop Jul 8, 2026
4 checks passed
@philmerrell philmerrell deleted the feature/agent-designer-flag-plumbing branch July 8, 2026 02:07
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