Add Epiphany watcher invalidation inputs

This commit is contained in:
Meta Vens 2026-04-26 07:51:25 +01:00
commit 52732cb2dc
45 changed files with 2613 additions and 50 deletions

View file

@ -1093,6 +1093,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -3773,6 +3839,16 @@
"null"
]
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{

View file

@ -1353,6 +1353,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1627,6 +1693,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",
@ -3722,6 +3798,7 @@
"graphFrontier",
"graphCheckpoint",
"scratch",
"investigationCheckpoint",
"observations",
"evidence",
"churn",

View file

@ -8202,6 +8202,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/v2/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/v2/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -8476,6 +8542,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",
@ -14842,6 +14918,16 @@
"graph": {
"$ref": "#/definitions/v2/ThreadEpiphanyGraphContext"
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"observations": {
"items": {
"$ref": "#/definitions/v2/EpiphanyObservation"
@ -14897,6 +14983,13 @@
],
"type": "string"
},
"ThreadEpiphanyFreshnessSource": {
"enum": [
"stored",
"live"
],
"type": "string"
},
"ThreadEpiphanyGraphContext": {
"properties": {
"architectureEdges": {
@ -14932,6 +15025,125 @@
},
"type": "object"
},
"ThreadEpiphanyGraphFreshness": {
"properties": {
"checkpointId": {
"type": [
"string",
"null"
]
},
"dirtyPathCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"dirtyPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"graphFreshness": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
},
"openGapCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"openQuestionCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"status": {
"$ref": "#/definitions/v2/ThreadEpiphanyGraphFreshnessStatus"
}
},
"required": [
"dirtyPathCount",
"note",
"openGapCount",
"openQuestionCount",
"status"
],
"type": "object"
},
"ThreadEpiphanyGraphFreshnessStatus": {
"enum": [
"missing",
"ready",
"stale"
],
"type": "string"
},
"ThreadEpiphanyInvalidationInput": {
"properties": {
"activeFrontierNodeIds": {
"items": {
"type": "string"
},
"type": "array"
},
"changedPathCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"changedPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"graphNodeIds": {
"items": {
"type": "string"
},
"type": "array"
},
"note": {
"type": "string"
},
"observedAtUnixSeconds": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/v2/ThreadEpiphanyInvalidationStatus"
},
"watchedRoot": {
"type": [
"string",
"null"
]
}
},
"required": [
"changedPathCount",
"note",
"status"
],
"type": "object"
},
"ThreadEpiphanyInvalidationStatus": {
"enum": [
"unavailable",
"clean",
"changed"
],
"type": "string"
},
"ThreadEpiphanyJob": {
"properties": {
"blockingReason": {
@ -15127,6 +15339,66 @@
],
"type": "string"
},
"ThreadEpiphanyRetrievalFreshness": {
"properties": {
"dirtyPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"indexedChunkCount": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"indexedFileCount": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"lastIndexedAtUnixSeconds": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"note": {
"type": "string"
},
"semanticAvailable": {
"type": [
"boolean",
"null"
]
},
"status": {
"$ref": "#/definitions/v2/ThreadEpiphanyRetrievalFreshnessStatus"
}
},
"required": [
"note",
"status"
],
"type": "object"
},
"ThreadEpiphanyRetrievalFreshnessStatus": {
"enum": [
"missing",
"ready",
"stale",
"indexing",
"unavailable"
],
"type": "string"
},
"ThreadEpiphanyRetrieveIndexSummary": {
"properties": {
"dirtyPaths": {
@ -15322,6 +15594,16 @@
},
"type": "array"
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanySceneInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"objective": {
"type": [
"string",
@ -15378,6 +15660,7 @@
"distill",
"context",
"jobs",
"freshness",
"pressure",
"propose",
"promote",
@ -15499,6 +15782,65 @@
],
"type": "object"
},
"ThreadEpiphanySceneInvestigationCheckpoint": {
"properties": {
"capturedAtTurnId": {
"type": [
"string",
"null"
]
},
"checkpointId": {
"type": "string"
},
"codeRefCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"disposition": {
"$ref": "#/definitions/v2/EpiphanyInvestigationDisposition"
},
"evidenceCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"nextAction": {
"type": [
"string",
"null"
]
},
"openQuestionCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpointId",
"codeRefCount",
"disposition",
"evidenceCount",
"focus",
"kind",
"openQuestionCount"
],
"type": "object"
},
"ThreadEpiphanySceneRecord": {
"properties": {
"codeRefCount": {
@ -15670,6 +16012,7 @@
"graphFrontier",
"graphCheckpoint",
"scratch",
"investigationCheckpoint",
"observations",
"evidence",
"churn",
@ -15781,6 +16124,16 @@
"null"
]
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{

View file

@ -4762,6 +4762,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -5036,6 +5102,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",
@ -12729,6 +12805,16 @@
"graph": {
"$ref": "#/definitions/ThreadEpiphanyGraphContext"
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"observations": {
"items": {
"$ref": "#/definitions/EpiphanyObservation"
@ -12784,6 +12870,13 @@
],
"type": "string"
},
"ThreadEpiphanyFreshnessSource": {
"enum": [
"stored",
"live"
],
"type": "string"
},
"ThreadEpiphanyGraphContext": {
"properties": {
"architectureEdges": {
@ -12819,6 +12912,125 @@
},
"type": "object"
},
"ThreadEpiphanyGraphFreshness": {
"properties": {
"checkpointId": {
"type": [
"string",
"null"
]
},
"dirtyPathCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"dirtyPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"graphFreshness": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
},
"openGapCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"openQuestionCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"status": {
"$ref": "#/definitions/ThreadEpiphanyGraphFreshnessStatus"
}
},
"required": [
"dirtyPathCount",
"note",
"openGapCount",
"openQuestionCount",
"status"
],
"type": "object"
},
"ThreadEpiphanyGraphFreshnessStatus": {
"enum": [
"missing",
"ready",
"stale"
],
"type": "string"
},
"ThreadEpiphanyInvalidationInput": {
"properties": {
"activeFrontierNodeIds": {
"items": {
"type": "string"
},
"type": "array"
},
"changedPathCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"changedPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"graphNodeIds": {
"items": {
"type": "string"
},
"type": "array"
},
"note": {
"type": "string"
},
"observedAtUnixSeconds": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/ThreadEpiphanyInvalidationStatus"
},
"watchedRoot": {
"type": [
"string",
"null"
]
}
},
"required": [
"changedPathCount",
"note",
"status"
],
"type": "object"
},
"ThreadEpiphanyInvalidationStatus": {
"enum": [
"unavailable",
"clean",
"changed"
],
"type": "string"
},
"ThreadEpiphanyJob": {
"properties": {
"blockingReason": {
@ -13014,6 +13226,66 @@
],
"type": "string"
},
"ThreadEpiphanyRetrievalFreshness": {
"properties": {
"dirtyPaths": {
"items": {
"type": "string"
},
"type": "array"
},
"indexedChunkCount": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"indexedFileCount": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"lastIndexedAtUnixSeconds": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"note": {
"type": "string"
},
"semanticAvailable": {
"type": [
"boolean",
"null"
]
},
"status": {
"$ref": "#/definitions/ThreadEpiphanyRetrievalFreshnessStatus"
}
},
"required": [
"note",
"status"
],
"type": "object"
},
"ThreadEpiphanyRetrievalFreshnessStatus": {
"enum": [
"missing",
"ready",
"stale",
"indexing",
"unavailable"
],
"type": "string"
},
"ThreadEpiphanyRetrieveIndexSummary": {
"properties": {
"dirtyPaths": {
@ -13209,6 +13481,16 @@
},
"type": "array"
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanySceneInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"objective": {
"type": [
"string",
@ -13265,6 +13547,7 @@
"distill",
"context",
"jobs",
"freshness",
"pressure",
"propose",
"promote",
@ -13386,6 +13669,65 @@
],
"type": "object"
},
"ThreadEpiphanySceneInvestigationCheckpoint": {
"properties": {
"capturedAtTurnId": {
"type": [
"string",
"null"
]
},
"checkpointId": {
"type": "string"
},
"codeRefCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidenceCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"nextAction": {
"type": [
"string",
"null"
]
},
"openQuestionCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpointId",
"codeRefCount",
"disposition",
"evidenceCount",
"focus",
"kind",
"openQuestionCount"
],
"type": "object"
},
"ThreadEpiphanySceneRecord": {
"properties": {
"codeRefCount": {
@ -13557,6 +13899,7 @@
"graphFrontier",
"graphCheckpoint",
"scratch",
"investigationCheckpoint",
"observations",
"evidence",
"churn",
@ -13668,6 +14011,16 @@
"null"
]
},
"investigationCheckpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{

View file

@ -352,6 +352,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -626,6 +692,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",
@ -715,6 +791,7 @@
"graphFrontier",
"graphCheckpoint",
"scratch",
"investigationCheckpoint",
"observations",
"evidence",
"churn",

View file

@ -800,6 +800,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1074,6 +1140,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -800,6 +800,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1074,6 +1140,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -800,6 +800,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1074,6 +1140,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

View file

@ -741,6 +741,72 @@
],
"type": "object"
},
"EpiphanyInvestigationCheckpoint": {
"properties": {
"captured_at_turn_id": {
"type": [
"string",
"null"
]
},
"checkpoint_id": {
"type": "string"
},
"code_refs": {
"items": {
"$ref": "#/definitions/EpiphanyCodeRef"
},
"type": "array"
},
"disposition": {
"$ref": "#/definitions/EpiphanyInvestigationDisposition"
},
"evidence_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"type": "string"
},
"kind": {
"type": "string"
},
"next_action": {
"type": [
"string",
"null"
]
},
"open_questions": {
"items": {
"type": "string"
},
"type": "array"
},
"summary": {
"type": [
"string",
"null"
]
}
},
"required": [
"checkpoint_id",
"disposition",
"focus",
"kind"
],
"type": "object"
},
"EpiphanyInvestigationDisposition": {
"enum": [
"resume_ready",
"regather_required"
],
"type": "string"
},
"EpiphanyModeState": {
"properties": {
"kind": {
@ -1015,6 +1081,16 @@
},
"type": "array"
},
"investigation_checkpoint": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyInvestigationCheckpoint"
},
{
"type": "null"
}
]
},
"last_updated_turn_id": {
"type": [
"string",

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 { EpiphanyInvestigationDisposition } from "./EpiphanyInvestigationDisposition";
export type EpiphanyInvestigationCheckpoint = { checkpoint_id: string, kind: string, disposition: EpiphanyInvestigationDisposition, focus: string, summary?: string | null, next_action?: string | null, captured_at_turn_id?: string | null, open_questions?: Array<string>, code_refs?: Array<EpiphanyCodeRef>, evidence_ids?: 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 EpiphanyInvestigationDisposition = "resume_ready" | "regather_required";

View file

@ -2,4 +2,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type EpiphanyThreadState = { revision: bigint, objective?: string | null, active_subgoal_id?: string | null, subgoals?: Array<EpiphanySubgoal>, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs, graph_frontier?: EpiphanyGraphFrontier | null, graph_checkpoint?: EpiphanyGraphCheckpoint | null, retrieval?: EpiphanyRetrievalState | null, scratch?: EpiphanyScratchPad | null, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, last_updated_turn_id?: string | null, };
export type EpiphanyThreadState = { revision: bigint, objective?: string | null, active_subgoal_id?: string | null, subgoals?: Array<EpiphanySubgoal>, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs, graph_frontier?: EpiphanyGraphFrontier | null, graph_checkpoint?: EpiphanyGraphCheckpoint | null, retrieval?: EpiphanyRetrievalState | null, scratch?: EpiphanyScratchPad | null, investigation_checkpoint?: EpiphanyInvestigationCheckpoint | null, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, last_updated_turn_id?: string | null, };

View file

@ -23,6 +23,8 @@ export type { EpiphanyGraphLink } from "./EpiphanyGraphLink";
export type { EpiphanyGraphNode } from "./EpiphanyGraphNode";
export type { EpiphanyGraphs } from "./EpiphanyGraphs";
export type { EpiphanyInvariant } from "./EpiphanyInvariant";
export type { EpiphanyInvestigationCheckpoint } from "./EpiphanyInvestigationCheckpoint";
export type { EpiphanyInvestigationDisposition } from "./EpiphanyInvestigationDisposition";
export type { EpiphanyModeState } from "./EpiphanyModeState";
export type { EpiphanyObservation } from "./EpiphanyObservation";
export type { EpiphanyRetrievalStatus } from "./EpiphanyRetrievalStatus";

View file

@ -4,7 +4,8 @@
import type { EpiphanyEvidenceRecord } from "../EpiphanyEvidenceRecord";
import type { EpiphanyGraphCheckpoint } from "../EpiphanyGraphCheckpoint";
import type { EpiphanyGraphFrontier } from "../EpiphanyGraphFrontier";
import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCheckpoint";
import type { EpiphanyObservation } from "../EpiphanyObservation";
import type { ThreadEpiphanyGraphContext } from "./ThreadEpiphanyGraphContext";
export type ThreadEpiphanyContext = { graph: ThreadEpiphanyGraphContext, frontier?: EpiphanyGraphFrontier | null, checkpoint?: EpiphanyGraphCheckpoint | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, };
export type ThreadEpiphanyContext = { graph: ThreadEpiphanyGraphContext, frontier?: EpiphanyGraphFrontier | null, checkpoint?: EpiphanyGraphCheckpoint | null, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, };

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 ThreadEpiphanyFreshnessSource = "stored" | "live";

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 { ThreadEpiphanyGraphFreshnessStatus } from "./ThreadEpiphanyGraphFreshnessStatus";
export type ThreadEpiphanyGraphFreshness = { status: ThreadEpiphanyGraphFreshnessStatus, graphFreshness?: string | null, checkpointId?: string | null, dirtyPathCount: number, dirtyPaths?: Array<string>, openQuestionCount: number, openGapCount: number, note: 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 ThreadEpiphanyGraphFreshnessStatus = "missing" | "ready" | "stale";

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 { ThreadEpiphanyInvalidationStatus } from "./ThreadEpiphanyInvalidationStatus";
export type ThreadEpiphanyInvalidationInput = { status: ThreadEpiphanyInvalidationStatus, watchedRoot?: string | null, observedAtUnixSeconds?: bigint | null, changedPathCount: number, changedPaths?: Array<string>, graphNodeIds?: Array<string>, activeFrontierNodeIds?: Array<string>, note: 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 ThreadEpiphanyInvalidationStatus = "unavailable" | "clean" | "changed";

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 { ThreadEpiphanyRetrievalFreshnessStatus } from "./ThreadEpiphanyRetrievalFreshnessStatus";
export type ThreadEpiphanyRetrievalFreshness = { status: ThreadEpiphanyRetrievalFreshnessStatus, semanticAvailable?: boolean | null, lastIndexedAtUnixSeconds?: bigint | null, indexedFileCount?: number | null, indexedChunkCount?: number | null, dirtyPaths?: Array<string>, note: 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 ThreadEpiphanyRetrievalFreshnessStatus = "missing" | "ready" | "stale" | "indexing" | "unavailable";

View file

@ -4,6 +4,7 @@
import type { ThreadEpiphanySceneAction } from "./ThreadEpiphanySceneAction";
import type { ThreadEpiphanySceneChurn } from "./ThreadEpiphanySceneChurn";
import type { ThreadEpiphanySceneGraph } from "./ThreadEpiphanySceneGraph";
import type { ThreadEpiphanySceneInvestigationCheckpoint } from "./ThreadEpiphanySceneInvestigationCheckpoint";
import type { ThreadEpiphanySceneRecords } from "./ThreadEpiphanySceneRecords";
import type { ThreadEpiphanySceneRetrieval } from "./ThreadEpiphanySceneRetrieval";
import type { ThreadEpiphanySceneSource } from "./ThreadEpiphanySceneSource";
@ -11,4 +12,4 @@ import type { ThreadEpiphanySceneStateStatus } from "./ThreadEpiphanySceneStateS
import type { ThreadEpiphanySceneStatusCount } from "./ThreadEpiphanySceneStatusCount";
import type { ThreadEpiphanySceneSubgoal } from "./ThreadEpiphanySceneSubgoal";
export type ThreadEpiphanyScene = { stateStatus: ThreadEpiphanySceneStateStatus, source: ThreadEpiphanySceneSource, revision?: bigint | null, objective?: string | null, activeSubgoal?: ThreadEpiphanySceneSubgoal | null, subgoals?: Array<ThreadEpiphanySceneSubgoal>, invariantStatusCounts?: Array<ThreadEpiphanySceneStatusCount>, graph: ThreadEpiphanySceneGraph, retrieval?: ThreadEpiphanySceneRetrieval | null, observations: ThreadEpiphanySceneRecords, evidence: ThreadEpiphanySceneRecords, churn?: ThreadEpiphanySceneChurn | null, availableActions?: Array<ThreadEpiphanySceneAction>, };
export type ThreadEpiphanyScene = { stateStatus: ThreadEpiphanySceneStateStatus, source: ThreadEpiphanySceneSource, revision?: bigint | null, objective?: string | null, activeSubgoal?: ThreadEpiphanySceneSubgoal | null, subgoals?: Array<ThreadEpiphanySceneSubgoal>, invariantStatusCounts?: Array<ThreadEpiphanySceneStatusCount>, graph: ThreadEpiphanySceneGraph, retrieval?: ThreadEpiphanySceneRetrieval | null, investigationCheckpoint?: ThreadEpiphanySceneInvestigationCheckpoint | null, observations: ThreadEpiphanySceneRecords, evidence: ThreadEpiphanySceneRecords, churn?: ThreadEpiphanySceneChurn | null, availableActions?: Array<ThreadEpiphanySceneAction>, };

View file

@ -2,4 +2,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "pressure" | "propose" | "promote" | "update";
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "freshness" | "pressure" | "propose" | "promote" | "update";

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 { EpiphanyInvestigationDisposition } from "../EpiphanyInvestigationDisposition";
export type ThreadEpiphanySceneInvestigationCheckpoint = { checkpointId: string, kind: string, disposition: EpiphanyInvestigationDisposition, focus: string, summary?: string | null, nextAction?: string | null, capturedAtTurnId?: string | null, openQuestionCount: number, codeRefCount: number, evidenceCount: number, };

View file

@ -2,4 +2,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanyStateUpdatedField = "objective" | "activeSubgoalId" | "subgoals" | "invariants" | "graphs" | "graphFrontier" | "graphCheckpoint" | "scratch" | "observations" | "evidence" | "churn" | "mode";
export type ThreadEpiphanyStateUpdatedField = "objective" | "activeSubgoalId" | "subgoals" | "invariants" | "graphs" | "graphFrontier" | "graphCheckpoint" | "scratch" | "investigationCheckpoint" | "observations" | "evidence" | "churn" | "mode";

View file

@ -7,9 +7,10 @@ import type { EpiphanyGraphCheckpoint } from "../EpiphanyGraphCheckpoint";
import type { EpiphanyGraphFrontier } from "../EpiphanyGraphFrontier";
import type { EpiphanyGraphs } from "../EpiphanyGraphs";
import type { EpiphanyInvariant } from "../EpiphanyInvariant";
import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCheckpoint";
import type { EpiphanyModeState } from "../EpiphanyModeState";
import type { EpiphanyObservation } from "../EpiphanyObservation";
import type { EpiphanyScratchPad } from "../EpiphanyScratchPad";
import type { EpiphanySubgoal } from "../EpiphanySubgoal";
export type ThreadEpiphanyUpdatePatch = { objective?: string | null, activeSubgoalId?: string | null, subgoals?: Array<EpiphanySubgoal> | null, invariants?: Array<EpiphanyInvariant> | null, graphs?: EpiphanyGraphs | null, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, scratch?: EpiphanyScratchPad | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, };
export type ThreadEpiphanyUpdatePatch = { objective?: string | null, activeSubgoalId?: string | null, subgoals?: Array<EpiphanySubgoal> | null, invariants?: Array<EpiphanyInvariant> | null, graphs?: EpiphanyGraphs | null, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, scratch?: EpiphanyScratchPad | null, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, };

View file

@ -321,7 +321,12 @@ export type { ThreadEpiphanyContext } from "./ThreadEpiphanyContext";
export type { ThreadEpiphanyContextMissing } from "./ThreadEpiphanyContextMissing";
export type { ThreadEpiphanyContextSource } from "./ThreadEpiphanyContextSource";
export type { ThreadEpiphanyContextStateStatus } from "./ThreadEpiphanyContextStateStatus";
export type { ThreadEpiphanyFreshnessSource } from "./ThreadEpiphanyFreshnessSource";
export type { ThreadEpiphanyGraphContext } from "./ThreadEpiphanyGraphContext";
export type { ThreadEpiphanyGraphFreshness } from "./ThreadEpiphanyGraphFreshness";
export type { ThreadEpiphanyGraphFreshnessStatus } from "./ThreadEpiphanyGraphFreshnessStatus";
export type { ThreadEpiphanyInvalidationInput } from "./ThreadEpiphanyInvalidationInput";
export type { ThreadEpiphanyInvalidationStatus } from "./ThreadEpiphanyInvalidationStatus";
export type { ThreadEpiphanyJob } from "./ThreadEpiphanyJob";
export type { ThreadEpiphanyJobKind } from "./ThreadEpiphanyJobKind";
export type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
@ -331,6 +336,8 @@ export type { ThreadEpiphanyPressureBasis } from "./ThreadEpiphanyPressureBasis"
export type { ThreadEpiphanyPressureLevel } from "./ThreadEpiphanyPressureLevel";
export type { ThreadEpiphanyPressureSource } from "./ThreadEpiphanyPressureSource";
export type { ThreadEpiphanyPressureStatus } from "./ThreadEpiphanyPressureStatus";
export type { ThreadEpiphanyRetrievalFreshness } from "./ThreadEpiphanyRetrievalFreshness";
export type { ThreadEpiphanyRetrievalFreshnessStatus } from "./ThreadEpiphanyRetrievalFreshnessStatus";
export type { ThreadEpiphanyRetrieveIndexSummary } from "./ThreadEpiphanyRetrieveIndexSummary";
export type { ThreadEpiphanyRetrieveResult } from "./ThreadEpiphanyRetrieveResult";
export type { ThreadEpiphanyRetrieveResultKind } from "./ThreadEpiphanyRetrieveResultKind";
@ -339,6 +346,7 @@ export type { ThreadEpiphanyScene } from "./ThreadEpiphanyScene";
export type { ThreadEpiphanySceneAction } from "./ThreadEpiphanySceneAction";
export type { ThreadEpiphanySceneChurn } from "./ThreadEpiphanySceneChurn";
export type { ThreadEpiphanySceneGraph } from "./ThreadEpiphanySceneGraph";
export type { ThreadEpiphanySceneInvestigationCheckpoint } from "./ThreadEpiphanySceneInvestigationCheckpoint";
export type { ThreadEpiphanySceneRecord } from "./ThreadEpiphanySceneRecord";
export type { ThreadEpiphanySceneRecords } from "./ThreadEpiphanySceneRecords";
export type { ThreadEpiphanySceneRetrieval } from "./ThreadEpiphanySceneRetrieval";