Commit graph

2 commits

Author SHA1 Message Date
Eliot M
d5cc3f320e phase(1): add pnpm smoke E2E harness
scripts/smoke.mjs boots all 5 services on isolated high ports (18000-18100),
polls each for readiness, runs an HTTP probe matrix, then tears everything
down. Exits 0 on success.

Probe matrix:
- @cial/back            healthz → 200; /vault → 501 with NOT_IMPLEMENTED envelope
- @cial/platform-back   /health → 200
- @cial/app-api         /api/health → 200
- @cial/front           /.cial → 200
- @cial/platform-front  / → 200

All five services boot and pass on a fresh checkout. Verifies wiring (process
boots, listens, routes, error envelope shape) — domain behavior comes online
phase-by-phase via PLAN.md.

Side effect: Next regenerated next-env.d.ts in the three Next apps to add
the .next/types/routes.d.ts reference (typedRoutes); committed as-is.
2026-04-26 09:48:48 +00:00
Eliot M
d032f76c62 phase(1): scaffold all 10 workspace packages
Empty but well-organized monorepo skeleton:

- cial-core/protocol  : zod schemas (chat, deploy, triggers, vault, errors)
- cial-core/sdk       : @cial/sdk facade (vault/db/triggers/chat stubs)
- cial-core/back      : Express clean-arch (modules: health, auth, sessions,
                        deploy, vault, db-proxy, git, triggers — all 501 stubs)
- cial-core/front     : Next.js 16 rescue UI under /.cial/* (placeholder)
- cial-core/docker    : multi-stage image with two Linux users (cial + agent)
- cial-platform/back  : Node Express clean-arch starter
- cial-platform/front : Next.js 16 starter
- cial-app/api        : Next.js 16 control plane (health route + placeholder)
- cial-app/orchestrator, router, scheduler : Node lib stubs
- cial-app/docker     : control-plane image

Tooling: pnpm 9.15 workspaces, turbo 2.9, TS 5.7 strict NodeNext, ESLint 9
flat config, Prettier, EditorConfig. No CI by design (per Eliot).

Verification: pnpm install + pnpm turbo run typecheck + pnpm turbo run build
all green across 10 packages.
2026-04-26 09:33:57 +00:00