refactor(paper): separate safety enforcement from readiness projection (CL32)
This commit is contained in:
parent
366a6054bf
commit
2165a2efa8
9 changed files with 324 additions and 90 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue