Files
fusion/packages/dashboard/app/api/_layout.ts
gsxdsm cb57093d03 refactor: domain folder layout (types, API, core, engine) (#2398)
## Summary

Wave 17 organizes Fusion into **domain folders** (stacks on #2397).

### Layout
- **core/types/** — board, task, agents, settings, merge, workflow,
mesh, …
- **core/src/** — agents, ai, async-stores, workflows, tasks, config,
db, …
- **dashboard/app/api/** — client, tasks, agents, git, missions,
planning, …
- **engine/src/** — agents, auth, execution, merge, missions, overseer,
worktree, …

Root keepers retained for large entrypoints (`store.ts`, `executor.ts`,
`merger.ts`, …).

Public barrels (`@fusion/core`, `@fusion/engine`, `app/api.ts` → legacy)
stay stable.

## Test plan
- [x] `@fusion/core` typecheck
- [x] `@fusion/engine` typecheck (pre-existing playwright-core noise
only)
- [ ] CI merge gate

**Stack:** #2394 → #2397 → **this PR**
2026-08-03 00:20:53 -07:00

19 lines
831 B
TypeScript

/**
* FNXC:CodeOrganization 2026-07-22-16:00:
* Domain folder layout for dashboard client API modules.
*
* client/ — fetch wrapper, health, dedupe, SSE
* tasks/ — task CRUD, lifecycle, content, diff, steer
* agents/ — agents, import/generation, run-audit/org
* git/ — git remotes/PRs, github/gitlab import
* missions/ — missions + interview streams
* planning/ — planning mode, AI text/sessions, models, dev-server
* projects/ — projects, remote, workspace files, board workflows
* settings/ — settings, global/pi, provider status
* chat/ — chat + messaging
* system/ — system panel, insights, research, memory, todo, scheduling, workflows, plugins, report
*
* Stable public paths: app/api.ts → legacy.ts barrel; thin shims at old paths where needed.
*/
export {};