Skip to content

refactor(runtime): consolidate ECC runtime and Studio integration - #225

Merged
Yell-walkalone merged 119 commits into
mainfrom
ekko/refactor-ecc-runtime-consolidation-studio
Sep 16, 2026
Merged

Yell-walkalone merged 119 commits into
mainfrom
ekko/refactor-ecc-runtime-consolidation-studio

Conversation

@KoEkko

@KoEkko KoEkko commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR removes Studio's duplicate runtime adapter and makes ECC the single owner of workspace execution.

  • Electron now starts the ECC executable through ecc rpc serve; workspace creation/opening, Flow execution, cancellation, recovery, snapshots, and QoR all use ECC's consolidated runtime contracts.
  • Renderer and Project Management consume committed ECC snapshot/QoR data instead of legacy renderer-side analysis and adapter IPC paths.
  • The parent ecc gitlink is pinned to 83fe68d15bc859143ce04dbbf4f4dd3bdad6c85a3, the latest published ecc/main commit after ECC #284, so Studio and ECC use the same runtime contract.
  • Desktop-launched Studio now discovers Codex CLI installations outside the session PATH, and the workspace Agent panel can be collapsed.

Closes #220
Closes #222

Scope

Select the areas touched by this PR:

  • GUI - desktop UI/runtime changes in ecos/gui, including renderer, Electron, and shared packages.
  • ECC - ECC submodule updates or ECOS Studio integration with the ECC CLI/runtime.
  • Resource management - resource registry, downloads, installation, manifests, PDKs, or tool assets.
  • Build, packaging, Nix, or release workflow - build inputs, AppImage packaging, or release metadata.
  • CI - GitHub Actions workflows, reusable actions, triggers, or path filters.
  • Documentation only - README, guides, templates, or docs with no runtime behavior change.

The documentation changes are part of the runtime consolidation, not a docs-only change.

Validation

List the commands you ran. Mark checks that are not applicable as N/A.

  • cd ecos/gui && pnpm run typecheck
  • cd ecos/gui && pnpm run test
  • cd ecos/gui && pnpm run build
  • make build
  • make demo-gcd
  • make demo-retrosoc
  • Manual GUI smoke: cd ecos/gui && pnpm run dev
  • Other: cd ecos/gui && pnpm run check
  • Other: python3 .github/scripts/check-version.py
  • Other: git diff --check

pnpm install --frozen-lockfile also completed successfully.

Skipped checks and reason:

  • pnpm run build: not run; this update changes only the ECC gitlink and PR metadata, with no packaging configuration changes.
  • make build / demos: no AppImage, version, or packaging inputs changed. Full Linux release packaging was not run locally.
  • Manual GUI smoke: not run in this session.

Screenshots or Recordings

Required for visible GUI changes.

Not attached in this session. The visible GUI changes are covered by the existing PR scope; an Electron visual check remains before merge.

Release, Packaging, and Runtime Impact

  • No release, packaging, or runtime impact
  • Version metadata changed
  • AppImage or Electron packaging changed
  • ECC CLI runtime resources changed
  • OSS CAD Suite, PDK, resource download, or installer behavior changed
  • Submodule gitlink changed

Notes:

  • ECC gitlink: 83fe68d15bc859143ce04dbbf4f4dd3bdad6c85a3 (ecc/main). This is the latest published ECC main commit and contains the merged ECC #284 runtime consolidation.
  • Studio now launches the ECC executable for runtime RPC instead of a separate adapter binary.
  • ECC's nested submodules were synchronized to the versions pinned by this commit.

Checklist

  • I kept the change scoped to the affected component.
  • I updated docs or user-facing text where behavior changed.
  • I included lockfile changes for dependency updates.
  • I documented intentional submodule updates.
  • I did not include local caches, virtual environments, or generated build outputs.
  • I explained any skipped validation and remaining risk.

@KoEkko KoEkko closed this Sep 14, 2026
…time-consolidation-studio

# Conflicts:
#	ecos/gui/apps/desktop-electron/electron/services/qorAnalysis.ts
#	ecos/gui/apps/renderer/src/composables/useHomeSnapshots.test.ts
#	ecos/gui/apps/renderer/src/composables/useHomeSnapshots.ts
#	ecos/gui/apps/renderer/src/utils/projectManagement.test.ts
#	ecos/gui/apps/renderer/src/utils/projectManagement.ts
#	ecos/gui/apps/renderer/src/utils/projectQorTrend.test.ts
#	ecos/gui/apps/renderer/src/views/project-management/ProjectAnalysisPanel.vue
#	ecos/gui/apps/renderer/src/views/project-management/projectDashboard.fixture.ts
#	ecos/gui/apps/renderer/src/views/project-management/projectDashboard.test.ts
#	ecos/gui/apps/renderer/src/views/project-management/projectDashboard.ts
#	ecos/gui/apps/renderer/src/views/project-management/projectWorkspaceAnalysisData.test.ts
#	ecos/gui/apps/renderer/src/views/project-management/projectWorkspaceAnalysisData.ts
#	ecos/gui/packages/shared/src/utils/projectManagementSummary.test.ts
#	ecos/gui/packages/shared/src/utils/projectManagementSummary.ts
@KoEkko KoEkko reopened this Sep 15, 2026
KoEkko and others added 16 commits September 15, 2026 10:34
…zard

The filelist picker filtered the dialog to extension matches only, so the
extensionless ECC convention (origin/filelist) was greyed out and the
path validator rejected it as well. Add an All Files filter entry and
accept filelist basenames without an extension.
Move process specs, ADRs, and research notes out of the published
ecos/docs tree. The root docs/ directory is gitignored, so stop
force-tracking those local working documents as well.
Move CONTEXT.md, CONTEXT-MAP.md, and the backend-architecture
diagram artifacts into the gitignored root docs/ directory so they
stay local working notes instead of published repository files.
Drop the brief product brief until it can be rewritten with enough
substance. Inline the one Agent permission-model citation that
pointed at it.
Default workspace names like ws_0001 were indistinguishable across designs.
@KoEkko KoEkko changed the title refactor(runtime): consolidate ECC runtime into Studio refactor(runtime): consolidate ECC runtime and Studio integration Sep 15, 2026
@Yell-walkalone
Yell-walkalone merged commit d851295 into main Sep 16, 2026
7 checks passed
@KoEkko
KoEkko deleted the ekko/refactor-ecc-runtime-consolidation-studio branch September 16, 2026 02:12
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.

[Feature]: Collapsible Agent panel in the workspace view [Feature]: Detect Codex CLI in well-known install locations

2 participants