Add specialist self-memory persistence

This commit is contained in:
Meta Vens 2026-05-05 00:00:42 +01:00
commit c37da10946
30 changed files with 2269 additions and 8 deletions

View file

@ -16850,6 +16850,17 @@
"null"
]
},
"selfPatch": true,
"selfPersistence": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyRoleSelfPersistenceReview"
},
{
"type": "null"
}
]
},
"statePatch": {
"anyOf": [
{
@ -16952,6 +16963,43 @@
],
"type": "string"
},
"ThreadEpiphanyRoleSelfPersistenceReview": {
"properties": {
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleSelfPersistenceStatus"
},
"targetAgentId": {
"type": [
"string",
"null"
]
},
"targetPath": {
"type": [
"string",
"null"
]
}
},
"required": [
"status"
],
"type": "object"
},
"ThreadEpiphanyRoleSelfPersistenceStatus": {
"enum": [
"missing",
"accepted",
"rejected"
],
"type": "string"
},
"ThreadEpiphanyRoleStatus": {
"enum": [
"ready",

View file

@ -14737,6 +14737,17 @@
"null"
]
},
"selfPatch": true,
"selfPersistence": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyRoleSelfPersistenceReview"
},
{
"type": "null"
}
]
},
"statePatch": {
"anyOf": [
{
@ -14839,6 +14850,43 @@
],
"type": "string"
},
"ThreadEpiphanyRoleSelfPersistenceReview": {
"properties": {
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"$ref": "#/definitions/ThreadEpiphanyRoleSelfPersistenceStatus"
},
"targetAgentId": {
"type": [
"string",
"null"
]
},
"targetPath": {
"type": [
"string",
"null"
]
}
},
"required": [
"status"
],
"type": "object"
},
"ThreadEpiphanyRoleSelfPersistenceStatus": {
"enum": [
"missing",
"accepted",
"rejected"
],
"type": "string"
},
"ThreadEpiphanyRoleStatus": {
"enum": [
"ready",

View file

@ -2,6 +2,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThreadEpiphanyRoleId } from "./ThreadEpiphanyRoleId";
import type { ThreadEpiphanyRoleSelfPersistenceReview } from "./ThreadEpiphanyRoleSelfPersistenceReview";
import type { ThreadEpiphanyUpdatePatch } from "./ThreadEpiphanyUpdatePatch";
export type ThreadEpiphanyRoleFinding = { roleId: ThreadEpiphanyRoleId, verdict?: string | null, summary?: string | null, nextSafeMove?: string | null, checkpointSummary?: string | null, scratchSummary?: string | null, filesInspected?: Array<string>, frontierNodeIds?: Array<string>, evidenceIds?: Array<string>, openQuestions?: Array<string>, evidenceGaps?: Array<string>, risks?: Array<string>, statePatch?: ThreadEpiphanyUpdatePatch | null, jobError?: string | null, itemError?: string | null, rawResult: unknown, };
export type ThreadEpiphanyRoleFinding = { roleId: ThreadEpiphanyRoleId, verdict?: string | null, summary?: string | null, nextSafeMove?: string | null, checkpointSummary?: string | null, scratchSummary?: string | null, filesInspected?: Array<string>, frontierNodeIds?: Array<string>, evidenceIds?: Array<string>, openQuestions?: Array<string>, evidenceGaps?: Array<string>, risks?: Array<string>, statePatch?: ThreadEpiphanyUpdatePatch | null, selfPatch?: unknown, selfPersistence?: ThreadEpiphanyRoleSelfPersistenceReview | null, jobError?: string | null, itemError?: string | null, rawResult: unknown, };

View file

@ -0,0 +1,6 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThreadEpiphanyRoleSelfPersistenceStatus } from "./ThreadEpiphanyRoleSelfPersistenceStatus";
export type ThreadEpiphanyRoleSelfPersistenceReview = { status: ThreadEpiphanyRoleSelfPersistenceStatus, targetAgentId?: string | null, targetPath?: string | null, reasons?: Array<string>, };

View file

@ -0,0 +1,5 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanyRoleSelfPersistenceStatus = "missing" | "accepted" | "rejected";

View file

@ -367,6 +367,8 @@ export type { ThreadEpiphanyRoleFinding } from "./ThreadEpiphanyRoleFinding";
export type { ThreadEpiphanyRoleId } from "./ThreadEpiphanyRoleId";
export type { ThreadEpiphanyRoleLane } from "./ThreadEpiphanyRoleLane";
export type { ThreadEpiphanyRoleResultStatus } from "./ThreadEpiphanyRoleResultStatus";
export type { ThreadEpiphanyRoleSelfPersistenceReview } from "./ThreadEpiphanyRoleSelfPersistenceReview";
export type { ThreadEpiphanyRoleSelfPersistenceStatus } from "./ThreadEpiphanyRoleSelfPersistenceStatus";
export type { ThreadEpiphanyRoleStatus } from "./ThreadEpiphanyRoleStatus";
export type { ThreadEpiphanyRolesSource } from "./ThreadEpiphanyRolesSource";
export type { ThreadEpiphanyScene } from "./ThreadEpiphanyScene";