Skip to content

Commit 1138435

Browse files
refactor(arch2): prune final migration leftovers
Reduce stale package surface and low-signal migration artifacts now that the Arch2 layout has been verified end to end. Co-Authored-By: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
1 parent 3883cb5 commit 1138435

19 files changed

Lines changed: 75 additions & 161 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Use the root workspace scripts that match the runtime you want to exercise:
115115
- [docs/architecture.md](docs/architecture.md) - runtime/package architecture
116116
- [docs/components.md](docs/components.md) - UI layers and wrapper composition
117117
- [docs/testing.md](docs/testing.md) - test setup and verification workflow
118-
- [docs/arch2/VISION.md](docs/arch2/VISION.md) - canonical Arch2 target state
118+
- [docs/ARCH2-VISION.md](docs/ARCH2-VISION.md) - canonical Arch2 target state
119119
- [CONTENT_TYPES.md](CONTENT_TYPES.md) - JSONL content type catalog
120120

121121
## Contributing

apps/package/src/cli.test.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

apps/package/src/http-app.test.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/package/src/static-handler.test.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/ARCH2-VISION.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ Source: `packages/server/src/effect/platform-bun.ts`, `packages/server/src/effec
181181

182182
The core Arch2 source architecture is implemented. The single-package npm publish path is fully wired and verified.
183183

184+
Re-validated on March 9, 2026 with:
185+
`bun run check`, `bun run typecheck`, `bun test`, `bun run test:node-smoke`, `bun run stage:npm`, `bun run verify:packed-artifact`.
186+
184187
- `packages/server` (`@cookielab.io/klovi-server`) exists as a pure internal backend with Effect-based services, dual runtime adapters (Bun + Node via `@effect/platform`), and `startKloviServer()`. It has no static file serving or CLI responsibilities in source.
185188
- `packages/ui` exists as the shared React application with `mountKloviApp()`, `KloviClient`, `KloviHostBridge`, and capability gating.
186189
- `apps/package` exists as the composition layer for the browser-served variant and as the npm package source for `@cookielab.io/klovi`.
File renamed without changes.

docs/plans/2026-03-08-move-web-server-to-packages-design.md renamed to docs/plans/archive/2026-03-08/2026-03-08-move-web-server-to-packages-design.md

File renamed without changes.

docs/plans/2026-03-08-move-web-server-to-packages.md renamed to docs/plans/archive/2026-03-08/2026-03-08-move-web-server-to-packages.md

File renamed without changes.

docs/plans/archive/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Archived plans are historical snapshots kept for reference.
2+
3+
They may contain obsolete paths and package names from earlier architecture stages, including:
4+
- `apps/web`
5+
- `apps/server`
6+
- `docs/arch2/*`

packages/server/package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,11 @@
1616
"exports": {
1717
"./server": "./src/server.ts",
1818
"./effect/bootstrap": "./src/effect/bootstrap.ts",
19-
"./effect/server-config": "./src/effect/server-config.ts",
20-
"./effect/server-services": "./src/effect/server-services.ts",
2119
"./effect/http-app": "./src/effect/http-app.ts",
22-
"./effect/platform-bun": "./src/effect/platform-bun.ts",
23-
"./effect/platform-node": "./src/effect/platform-node.ts",
24-
"./effect/plugin-runtime": "./src/effect/plugin-runtime.ts",
2520
"./services/app-services": "./src/services/app-services.ts",
2621
"./services/auto-discover": "./src/services/auto-discover.ts",
27-
"./services/catalog": "./src/services/catalog.ts",
2822
"./services/registry": "./src/services/registry.ts",
29-
"./services/settings": "./src/services/settings.ts",
30-
"./services/stats": "./src/services/stats.ts"
23+
"./services/settings": "./src/services/settings.ts"
3124
},
3225
"scripts": {
3326
"typecheck": "tsc --noEmit -p tsconfig.json"

0 commit comments

Comments
 (0)