cial/scripts
Eliot M 9c1f551ed6 phase(6c): self-edit/build/restart endpoints + --unrestricted dev mode
Adds POST /api/v1/self/deploy and /api/v1/self/restart on cial-core for
agent-initiated builds and restarts. Introduces CIAL_UNRESTRICTED=1
(opt-in via `pnpm dev:tenant --unrestricted`) which widens the trust
boundary so the agent can rebuild and restart core+sdk+protocol+edge
in addition to platform.

Trust boundary enforced at three layers:
- BuildRunner pnpm filter (platform vs all)
- Supervisor IPC RESTARTABLE_SERVICES set
- localhost-only middleware on /api/v1/self/*

Edge restart uses 50ms-deferred process.exit so Docker restart-policy
bounces the container. Dev supervisor gained the IPC server it was
silently missing.

Ships docs/ tree (architecture, self-edit, ui, ops) and the
cial:self-edit Claude skill, both copied into the dev+prod images so
the in-container agent can read them before editing.
2026-04-29 10:46:13 +00:00
..
dev-tenant.mjs phase(6c): self-edit/build/restart endpoints + --unrestricted dev mode 2026-04-29 10:46:13 +00:00
local-down.mjs phase(L6): pnpm local:up / local:down / smoke:local 2026-04-26 12:36:53 +00:00
local-up.mjs feat(local:up): --logs/-f flag tails compose + tenant container logs 2026-04-26 13:23:07 +00:00
smoke-local.mjs feat(3c.2/3c.3): magic links + passkeys via Better-Auth plugins 2026-04-26 14:27:32 +00:00
smoke-process.mjs phase(5c): AI process engine + HarnessProvider + tenant claude install 2026-04-26 17:27:54 +00:00
smoke-tenant.mjs phase(L0): tenant container runs full Core + Platform stack 2026-04-26 10:46:16 +00:00
smoke.mjs phase(1): add pnpm smoke E2E harness 2026-04-26 09:48:48 +00:00