Skip to content

Rename feature ecs/ layer to services/main-service/ - #161

Merged
krisnye merged 2 commits into
mainfrom
knye/services-main-service
Jul 29, 2026
Merged

Rename feature ecs/ layer to services/main-service/#161
krisnye merged 2 commits into
mainfrom
knye/services-main-service

Conversation

@krisnye

@krisnye krisnye commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Renames the feature-folder ecs/ layer to services/main-service/. The feature structure is now three layers — data/ · services/ · ui/ — where services/ holds the main-service/ (the ECS-backed reactive state service, and the sole entrypoint the UI binds to) alongside any async capability-contract services. The ECS is now an implementation detail behind that service rather than a top-level layer.

Changes

  • AI guidance (@adobe/data-ai): moved features/ecs/** rules → features/services/main-service/**; rewrote features/index.md (3-layer model, dependency + imports path); reframed features/services/index.md as a two-kind overview (main-service + capability contracts); demoted "ecs" from a layer label in the build-* skill descriptions. @adobe/data/ecs library imports left untouched throughout.
  • Samples: restructured data-lit-tictactoe, data-lit-todo, data-lit-space-rock-game, data-gpu-hopper (ecs/services/main-service/; capability services now sit beside main-service/; imports fixed via git mv, history preserved). data-p2p-tictactoe unaffected (imports via the package barrel).
  • References: added data-lit-todo to the shipped references/ (copy-references.js + AGENTS.md) and documented node_modules/@adobe/data/references/<sample>/src/ in the feature rule.

Verification

Workspace typecheck green (all projects). Affected packages test green: tictactoe 34, todo 79, space-rock 148, gpu-hopper 84, p2p 7.

🤖 Generated with Claude Code

krisnye and others added 2 commits July 28, 2026 23:08
Feature structure is now data/ · services/ · ui/. The former ecs/ layer
becomes services/main-service/ — the ECS is an implementation detail behind
the feature's sole entrypoint service — with capability services beside it
under services/. Updates the data-ai AI rules/skills, restructures the
Lit/GPU samples (imports fixed, all packages green), and adds data-lit-todo
to the shipped references/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@krisnye
krisnye merged commit 6abcf26 into main Jul 29, 2026
3 checks passed
@krisnye
krisnye deleted the knye/services-main-service branch July 29, 2026 18:15
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