feat(research): isolate candidates and add reviewed paper promotion
This commit is contained in:
parent
26b97265c6
commit
25b5cbf481
128 changed files with 13038 additions and 1388 deletions
|
|
@ -98,12 +98,14 @@ export class PostgresCanonicalExecutionRepository implements CanonicalExecutionR
|
|||
config: account.checkpoint.config,
|
||||
definitions: account.definitions,
|
||||
hostConfiguration: account.host?.configuration ?? null,
|
||||
deployment: account.host?.deployment ?? null,
|
||||
}) !==
|
||||
canonicalJson({
|
||||
identity: expected.identity,
|
||||
config: expected.checkpoint.config,
|
||||
definitions: expected.definitions,
|
||||
hostConfiguration: expected.host?.configuration ?? null,
|
||||
deployment: expected.host?.deployment ?? null,
|
||||
})
|
||||
) {
|
||||
throw new ExecutionConflictError(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/** Durable custody contracts. Financial values and transitions belong to Rust. */
|
||||
import { z } from 'zod';
|
||||
import type { PostgresClient } from '@stock-bot/services';
|
||||
import { paperDeploymentBindingSchema } from '@stock-bot/stock-config/paper-deployments';
|
||||
import {
|
||||
canonicalExecutionCheckpointSchema,
|
||||
financialTransactionResultSchema,
|
||||
|
|
@ -29,6 +30,7 @@ export const canonicalPaperHostSchema = z
|
|||
.object({
|
||||
version: z.literal(1),
|
||||
configuration: paperConfigurationSchema,
|
||||
deployment: paperDeploymentBindingSchema.optional(),
|
||||
generation: z.string().min(1),
|
||||
active: z.boolean(),
|
||||
operatorHalted: z.boolean(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue