Skip to content

[Phase A · Foundation] ext-api/i-foundation — declarations + service rename + scope registry#12102

Draft
christian-byrne wants to merge 3 commits intoecs-vue-hoisted-client-state-hook-apifrom
ext-api/i-foundation
Draft

[Phase A · Foundation] ext-api/i-foundation — declarations + service rename + scope registry#12102
christian-byrne wants to merge 3 commits intoecs-vue-hoisted-client-state-hook-apifrom
ext-api/i-foundation

Conversation

@christian-byrne
Copy link
Copy Markdown
Contributor

@christian-byrne christian-byrne commented May 9, 2026

Stack root for Phase A child PRs. Coworkers converting core extensions should branch off this branch.

Stacks on: #12101 (Phase A base — research bundle + first-pass surface)

Three foundation commits (in order)

  1. refactor(extension-api): polish public declaration files (D5/D6/D7/D10)src/extension-api/{index,lifecycle,node,widget}.ts, names appendix (DOC1.E6), AGENTS.md
  2. feat(extension-api): rename to extension-api-service.ts + boot wiring (MIG1.E5) — canonical extension-api-service.ts, app boot wiring, sample *.v2.ts extensions aligned to refreshed surface
  3. feat(extension-api): scope registry + ECS world skeleton (I-SR.2)src/world/ (entities/components/NodeEntityId), scope-registry.test.ts per D10 + D12

What stacks on this

  • ext-api/i-tf — test framework reorg + harness + content fill (I-TF.2/3/6)
  • ext-api/i-ext — three new core extension conversions (I-EXT)
  • future — coworker (Simon/Austin) extension-conversion PRs

Known minor

The deletion of the old src/services/extensionV2Service.ts ended up in the i-tf child PR rather than alongside the rename here. Final merged state is correct; flagging for reviewer awareness.

Refs

D5 events typing · D6 parallel paths · D7 widget shape · D10 lifecycle · D12 scope clone-on-copy · MIG1.E4/E5 boot wiring

Draft for review collaboration via inline comments.

┆Issue is synchronized with this Notion page by Unito

Connor Byrne added 3 commits May 8, 2026 21:33
- src/extension-api/{index,lifecycle,node,widget}.ts polish (D5/D6/D7/D10)
- docs/architecture/extension-api-v2/names-appendix.md (DOC1.E6)
- AGENTS.md: cross-repo ownership note

Foundation step 1/3 of ext-api/i-foundation.
… (MIG1.E5)

- src/services/extension-api-service.ts (canonical name; replaces extensionV2Service.ts)
- src/scripts/app.ts: invoke v2 lifecycle alongside v1 at init+setup
- src/services/extensionService.ts: invokeV2AppExtensions helper
- src/types/extensionV2.ts: NodeEntityId/WidgetEntityId surface
- src/extensions/core/index.ts: register v2 sample extensions
- *.v2.ts samples: align to refreshed surface

Foundation step 2/3 of ext-api/i-foundation.
- src/world/: ECS World skeleton (entities, components, NodeEntityId)
- src/services/__tests__/scope-registry.test.ts: registry semantics
  per D10 (lifecycle context+ordering) and D12 (clone-on-copy)

Foundation step 3/3 of ext-api/i-foundation. Coworker fork point:
child PRs i-tf and i-ext stack on top of this branch.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e29e50e2-ce18-422b-a3f9-6a8433d9f5fc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ext-api/i-foundation

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

🎨 Storybook: ❌ Failed

Details

⏰ Completed at: 05/09/2026, 04:43:06 AM UTC

Links

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

🎭 Playwright: 🕵🏻 0 passed, 0 failed

📊 Browser Reports
  • chromium: ❌ Deployment failed
  • chromium-2x: ❌ Deployment failed
  • chromium-0.5x: ❌ Deployment failed
  • mobile-chrome: ❌ Deployment failed

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance

⚠️ Performance tests failed. Check the CI workflow logs.

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