From 4b80e940b81bcbe45f8595df73a8d1e47ec88ecf Mon Sep 17 00:00:00 2001 From: "Orca (ecs-claude)" Date: Thu, 20 Aug 2026 18:08:10 +0800 Subject: [PATCH] remove(console): drop the standalone Compose panel + MANAGING identity panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Brett: hard to understand how to use the Compose panel, let's remove it first — then also remove the MANAGING oab panel. Compose: it was always a duplicate surface — the ADR itself flagged this at slice 6 ("where template/overlay authoring moves to once this standing section goes away isn't decided"). The `[+ New fleet]`/`[+ Add instance]` deploy panel (`deploy.ts`) already reaches the identical compose→preview→ deploy engine as an action, with its own template/overlay pickers, preview, and deploy-to-ECS step — removing the standalone one loses no capability, just the redundant standing "Library" JSON-authoring surface. Identity: `#identity`'s content (which AWS principal is managing this cluster) is gone along with `.mgmt-combo` (the shared box PR #93 built for it) — `#remote` is back to its own full-radius box, standalone. ## What - Dropped `#compose-standalone` + its init (`initComposeTab`, `compose.ts`) and the now-Fleets-screen-only `updateScreen()` toggle for it. Trimmed `compose.ts` to the pure helpers `deploy.ts` still imports (`renderPreviewHtml`, `libraryNames`, the `Library`/`BundlePreview` types); `compose.test.ts` already only covered those, so no test changes there. - Dropped `#identity`, `identityHtml`/`renderIdentity`/`kindBadge` (render.ts), and every `refreshIdentity()` call site (main.ts). Kept `field()` — shared with `agentConsoleHeaderHtml`'s `.ac-fields` — and `Source.runtimeContext()`/`RuntimeContext`/its fixture (backend contract, not UI surface — same call as leaving `Source.fsList` alone when the Files panel came out). - CSS: removed both panels' exclusive rules; kept everything still shared with `deploy.ts`'s compose step or the agent console header. ## Verification - `tsc --noEmit` — clean - `vitest run` — 97/97 passing - `vite build` — clean; `dist/index.html` 17.27kB → 12.34kB - Playwright: confirmed both panels are gone from the DOM, `[+ New fleet]` still reaches Compose normally, and the agent console header (which reuses `field()`) still renders. 🤖 Generated by Orca ('ecs-claude'). --- console/index.html | 94 +---------------- console/src/compose.ts | 205 ++----------------------------------- console/src/main.ts | 35 +------ console/src/render.test.ts | 62 +---------- console/src/render.ts | 54 +--------- console/src/styles.css | 145 ++------------------------ 6 files changed, 23 insertions(+), 572 deletions(-) diff --git a/console/index.html b/console/index.html index b6cadc2..5274b90 100644 --- a/console/index.html +++ b/console/index.html @@ -147,16 +147,7 @@
- -
-
-
-
+
Agent chat @@ -184,89 +175,6 @@
- -
-
- Compose - template ⊕ overlay authoring — golden bundle library -
-
-
-
-
- Library - template ⊕ overlay + skills - - -
- -
-
-
- - -
- - -
-
-
- -
-
-

- Author a reusable template (golden bundle + default - image tag) and per-agent overlays; skills are shared - by reference. Compose is deterministic, last-writer-wins per path - (overlay > skills > template), and produces a - {path → bytes} bundle. Preview is local — no deploy. The - provider drivers that land a bundle on a runtime are a later slice. -

-
-