refactor(paper): separate safety enforcement from readiness projection (CL32)

This commit is contained in:
Boki 2026-10-28 14:01:18 -04:00
parent 366a6054bf
commit 2165a2efa8
9 changed files with 324 additions and 90 deletions

View file

@ -66,6 +66,7 @@ export function createPaperRoutes(
services.logger.error('Canonical paper request failed', { error });
return c.json({ error: 'Canonical paper runtime unavailable' }, 503);
});
// The status transaction may revoke expired activation; it never activates or recovers.
app.get('/readiness', async c => {
if (options.deploymentHost) {
return c.json(await options.deploymentHost.readiness());