mirror of
https://github.com/techforces-ai/Cial.git
synced 2026-05-15 20:14:11 +00:00
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. |
||
|---|---|---|
| .. | ||
| dev-tenant.mjs | ||
| local-down.mjs | ||
| local-up.mjs | ||
| smoke-local.mjs | ||
| smoke-process.mjs | ||
| smoke-tenant.mjs | ||
| smoke.mjs | ||