Land Epiphany planning state projection

This commit is contained in:
Meta Vens 2026-05-01 07:34:09 +01:00
commit 9d47885de2
40 changed files with 9487 additions and 225 deletions

View file

@ -742,6 +742,97 @@
],
"type": "object"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -1276,6 +1367,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -1311,6 +1527,324 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -4070,6 +4604,16 @@
},
"type": "array"
},
"planning": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyPlanningState"
},
{
"type": "null"
}
]
},
"scratch": {
"anyOf": [
{

View file

@ -1002,6 +1002,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -1536,6 +1627,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -1571,6 +1787,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1688,6 +2175,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1833,6 +2367,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"
@ -4083,7 +4620,8 @@
"observations",
"evidence",
"churn",
"mode"
"mode",
"planning"
],
"type": "string"
},
@ -4125,7 +4663,8 @@
"promote",
"jobLaunch",
"jobInterrupt",
"reorientAccept"
"reorientAccept",
"roleAccept"
],
"type": "string"
},

View file

@ -7871,6 +7871,97 @@
],
"type": "object"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/v2/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/v2/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -8405,6 +8496,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/v2/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/v2/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -8440,6 +8656,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/v2/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/v2/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/v2/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/v2/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/v2/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -8557,6 +9044,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -8702,6 +9236,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/v2/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/v2/EpiphanyEvidenceRecord"
@ -15678,6 +16215,71 @@
],
"type": "string"
},
"ThreadEpiphanyPlanningSummary": {
"properties": {
"activeObjective": {
"type": [
"string",
"null"
]
},
"backlogItemCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"captureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"draftObjectiveCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"githubIssueCaptureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"note": {
"type": "string"
},
"objectiveDraftCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"pendingCaptureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"readyBacklogItemCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"roadmapStreamCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
}
},
"required": [
"backlogItemCount",
"captureCount",
"draftObjectiveCount",
"githubIssueCaptureCount",
"note",
"objectiveDraftCount",
"pendingCaptureCount",
"readyBacklogItemCount",
"roadmapStreamCount"
],
"type": "object"
},
"ThreadEpiphanyPressure": {
"properties": {
"basis": {
@ -16184,6 +16786,12 @@
"null"
]
},
"evidenceGaps": {
"items": {
"type": "string"
},
"type": "array"
},
"evidenceIds": {
"items": {
"type": "string"
@ -16220,7 +16828,19 @@
"null"
]
},
"openQuestions": {
"items": {
"type": "string"
},
"type": "array"
},
"rawResult": true,
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"roleId": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleId"
},
@ -16230,6 +16850,16 @@
"null"
]
},
"statePatch": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyUpdatePatch"
},
{
"type": "null"
}
]
},
"summary": {
"type": [
"string",
@ -16446,12 +17076,14 @@
"retrieve",
"distill",
"context",
"planning",
"graphQuery",
"jobs",
"roles",
"coordinator",
"roleLaunch",
"roleResult",
"roleAccept",
"jobLaunch",
"jobInterrupt",
"freshness",
@ -16816,7 +17448,8 @@
"observations",
"evidence",
"churn",
"mode"
"mode",
"planning"
],
"type": "string"
},
@ -16860,7 +17493,8 @@
"promote",
"jobLaunch",
"jobInterrupt",
"reorientAccept"
"reorientAccept",
"roleAccept"
],
"type": "string"
},
@ -16968,6 +17602,16 @@
},
"type": "array"
},
"planning": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyPlanningState"
},
{
"type": "null"
}
]
},
"scratch": {
"anyOf": [
{

View file

@ -4411,6 +4411,97 @@
],
"type": "object"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -4945,6 +5036,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -4980,6 +5196,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -5097,6 +5584,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -5242,6 +5776,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"
@ -13565,6 +14102,71 @@
],
"type": "string"
},
"ThreadEpiphanyPlanningSummary": {
"properties": {
"activeObjective": {
"type": [
"string",
"null"
]
},
"backlogItemCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"captureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"draftObjectiveCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"githubIssueCaptureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"note": {
"type": "string"
},
"objectiveDraftCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"pendingCaptureCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"readyBacklogItemCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"roadmapStreamCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
}
},
"required": [
"backlogItemCount",
"captureCount",
"draftObjectiveCount",
"githubIssueCaptureCount",
"note",
"objectiveDraftCount",
"pendingCaptureCount",
"readyBacklogItemCount",
"roadmapStreamCount"
],
"type": "object"
},
"ThreadEpiphanyPressure": {
"properties": {
"basis": {
@ -14071,6 +14673,12 @@
"null"
]
},
"evidenceGaps": {
"items": {
"type": "string"
},
"type": "array"
},
"evidenceIds": {
"items": {
"type": "string"
@ -14107,7 +14715,19 @@
"null"
]
},
"openQuestions": {
"items": {
"type": "string"
},
"type": "array"
},
"rawResult": true,
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"roleId": {
"$ref": "#/definitions/ThreadEpiphanyRoleId"
},
@ -14117,6 +14737,16 @@
"null"
]
},
"statePatch": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyUpdatePatch"
},
{
"type": "null"
}
]
},
"summary": {
"type": [
"string",
@ -14333,12 +14963,14 @@
"retrieve",
"distill",
"context",
"planning",
"graphQuery",
"jobs",
"roles",
"coordinator",
"roleLaunch",
"roleResult",
"roleAccept",
"jobLaunch",
"jobInterrupt",
"freshness",
@ -14703,7 +15335,8 @@
"observations",
"evidence",
"churn",
"mode"
"mode",
"planning"
],
"type": "string"
},
@ -14747,7 +15380,8 @@
"promote",
"jobLaunch",
"jobInterrupt",
"reorientAccept"
"reorientAccept",
"roleAccept"
],
"type": "string"
},
@ -14855,6 +15489,16 @@
},
"type": "array"
},
"planning": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyPlanningState"
},
{
"type": "null"
}
]
},
"scratch": {
"anyOf": [
{

View file

@ -1,6 +1,97 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -535,6 +626,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -570,6 +786,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -687,6 +1174,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -832,6 +1366,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"
@ -898,7 +1435,8 @@
"observations",
"evidence",
"churn",
"mode"
"mode",
"planning"
],
"type": "string"
},
@ -908,7 +1446,8 @@
"promote",
"jobLaunch",
"jobInterrupt",
"reorientAccept"
"reorientAccept",
"roleAccept"
],
"type": "string"
}

View file

@ -449,6 +449,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -983,6 +1074,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -1018,6 +1234,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1135,6 +1622,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1280,6 +1814,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -449,6 +449,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -983,6 +1074,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -1018,6 +1234,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1135,6 +1622,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1280,6 +1814,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -449,6 +449,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -983,6 +1074,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -1018,6 +1234,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1135,6 +1622,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1280,6 +1814,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/EpiphanyEvidenceRecord"

View file

@ -390,6 +390,97 @@
],
"type": "string"
},
"EpiphanyBacklogItem": {
"properties": {
"acceptance_sketch": {
"items": {
"type": "string"
},
"type": "array"
},
"blockers": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"duplicate_of": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"horizon": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"lane_hints": {
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"$ref": "#/definitions/EpiphanyPlanningPriority"
},
"product_area": {
"type": "string"
},
"source_refs": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"horizon",
"id",
"kind",
"priority",
"product_area",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyChurnState": {
"properties": {
"diff_pressure": {
@ -924,6 +1015,131 @@
],
"type": "object"
},
"EpiphanyObjectiveDraft": {
"properties": {
"acceptance_criteria": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"evidence_required": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"lane_plan": {
"$ref": "#/definitions/EpiphanyObjectiveDraftLanePlan"
},
"review_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risks": {
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"$ref": "#/definitions/EpiphanyObjectiveDraftScope"
},
"source_item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"lane_plan",
"scope",
"status",
"summary",
"title"
],
"type": "object"
},
"EpiphanyObjectiveDraftLanePlan": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"eyes": {
"type": [
"string",
"null"
]
},
"hands": {
"type": [
"string",
"null"
]
},
"imagination": {
"type": [
"string",
"null"
]
},
"life": {
"type": [
"string",
"null"
]
},
"soul": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyObjectiveDraftScope": {
"properties": {
"excludes": {
"items": {
"type": "string"
},
"type": "array"
},
"includes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EpiphanyObservation": {
"properties": {
"code_refs": {
@ -959,6 +1175,277 @@
],
"type": "object"
},
"EpiphanyPlanningCapture": {
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/EpiphanyPlanningSourceRef"
},
"speaker": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"confidence",
"id",
"source",
"status",
"title"
],
"type": "object"
},
"EpiphanyPlanningPriority": {
"properties": {
"blocks": {
"items": {
"type": "string"
},
"type": "array"
},
"confidence": {
"type": [
"string",
"null"
]
},
"effort": {
"type": [
"string",
"null"
]
},
"impact": {
"type": [
"string",
"null"
]
},
"rationale": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"unblocks": {
"items": {
"type": "string"
},
"type": "array"
},
"urgency": {
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"rationale",
"value"
],
"type": "object"
},
"EpiphanyPlanningSourceRef": {
"properties": {
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"author": {
"type": [
"string",
"null"
]
},
"closed_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"database_id": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
},
"imported_at": {
"type": [
"string",
"null"
]
},
"is_pull_request": {
"type": [
"boolean",
"null"
]
},
"issue_number": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"kind": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"type": [
"string",
"null"
]
},
"node_id": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"repo": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"uri": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind"
],
"type": "object"
},
"EpiphanyPlanningState": {
"properties": {
"backlog_items": {
"items": {
"$ref": "#/definitions/EpiphanyBacklogItem"
},
"type": "array"
},
"captures": {
"items": {
"$ref": "#/definitions/EpiphanyPlanningCapture"
},
"type": "array"
},
"objective_drafts": {
"items": {
"$ref": "#/definitions/EpiphanyObjectiveDraft"
},
"type": "array"
},
"roadmap_streams": {
"items": {
"$ref": "#/definitions/EpiphanyRoadmapStream"
},
"type": "array"
},
"workspace_root": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"EpiphanyRetrievalShardSummary": {
"properties": {
"exact_available": {
@ -1076,6 +1563,53 @@
],
"type": "string"
},
"EpiphanyRoadmapStream": {
"properties": {
"blocked_by": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"item_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"near_term_focus": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"review_cadence": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"purpose",
"status",
"title"
],
"type": "object"
},
"EpiphanyScratchPad": {
"properties": {
"hypothesis": {
@ -1221,6 +1755,9 @@
},
"type": "array"
},
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"recent_evidence": {
"items": {
"$ref": "#/definitions/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 EpiphanyPlanningState = { workspace_root?: string | null, captures?: Array<EpiphanyPlanningCapture>, backlog_items?: Array<EpiphanyBacklogItem>, roadmap_streams?: Array<EpiphanyRoadmapStream>, objective_drafts?: Array<EpiphanyObjectiveDraft>, };

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, investigation_checkpoint?: EpiphanyInvestigationCheckpoint | null, job_bindings?: Array<EpiphanyJobBinding>, 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, job_bindings?: Array<EpiphanyJobBinding>, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, planning?: EpiphanyPlanningState, last_updated_turn_id?: string | null, };

View file

@ -29,6 +29,7 @@ export type { EpiphanyJobBinding } from "./EpiphanyJobBinding";
export type { EpiphanyJobKind } from "./EpiphanyJobKind";
export type { EpiphanyModeState } from "./EpiphanyModeState";
export type { EpiphanyObservation } from "./EpiphanyObservation";
export type { EpiphanyPlanningState } from "./EpiphanyPlanningState";
export type { EpiphanyRetrievalStatus } from "./EpiphanyRetrievalStatus";
export type { EpiphanyScratchPad } from "./EpiphanyScratchPad";
export type { EpiphanySubgoal } from "./EpiphanySubgoal";

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 ThreadEpiphanyPlanningSummary = { captureCount: number, pendingCaptureCount: number, githubIssueCaptureCount: number, backlogItemCount: number, readyBacklogItemCount: number, roadmapStreamCount: number, objectiveDraftCount: number, draftObjectiveCount: number, activeObjective?: string | null, note: string, };

View file

@ -2,5 +2,6 @@
// 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 { 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>, 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, jobError?: string | null, itemError?: string | null, rawResult: unknown, };

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" | "graphQuery" | "jobs" | "roles" | "coordinator" | "roleLaunch" | "roleResult" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "planning" | "graphQuery" | "jobs" | "roles" | "coordinator" | "roleLaunch" | "roleResult" | "roleAccept" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";

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" | "investigationCheckpoint" | "jobBindings" | "observations" | "evidence" | "churn" | "mode";
export type ThreadEpiphanyStateUpdatedField = "objective" | "activeSubgoalId" | "subgoals" | "invariants" | "graphs" | "graphFrontier" | "graphCheckpoint" | "scratch" | "investigationCheckpoint" | "jobBindings" | "observations" | "evidence" | "churn" | "mode" | "planning";

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 ThreadEpiphanyStateUpdatedSource = "update" | "promote" | "jobLaunch" | "jobInterrupt" | "reorientAccept";
export type ThreadEpiphanyStateUpdatedSource = "update" | "promote" | "jobLaunch" | "jobInterrupt" | "reorientAccept" | "roleAccept";

View file

@ -11,7 +11,8 @@ import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCh
import type { EpiphanyJobBinding } from "../EpiphanyJobBinding";
import type { EpiphanyModeState } from "../EpiphanyModeState";
import type { EpiphanyObservation } from "../EpiphanyObservation";
import type { EpiphanyPlanningState } from "../EpiphanyPlanningState";
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, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, jobBindings?: Array<EpiphanyJobBinding> | 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, jobBindings?: Array<EpiphanyJobBinding> | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, planning?: EpiphanyPlanningState | null, };

View file

@ -343,6 +343,7 @@ export type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
export type { ThreadEpiphanyJobsSource } from "./ThreadEpiphanyJobsSource";
export type { ThreadEpiphanyJobsUpdatedNotification } from "./ThreadEpiphanyJobsUpdatedNotification";
export type { ThreadEpiphanyJobsUpdatedSource } from "./ThreadEpiphanyJobsUpdatedSource";
export type { ThreadEpiphanyPlanningSummary } from "./ThreadEpiphanyPlanningSummary";
export type { ThreadEpiphanyPressure } from "./ThreadEpiphanyPressure";
export type { ThreadEpiphanyPressureBasis } from "./ThreadEpiphanyPressureBasis";
export type { ThreadEpiphanyPressureLevel } from "./ThreadEpiphanyPressureLevel";

View file

@ -381,6 +381,11 @@ client_request_definitions! {
params: v2::ThreadEpiphanyContextParams,
response: v2::ThreadEpiphanyContextResponse,
},
#[experimental("thread/epiphany/planning")]
ThreadEpiphanyPlanning => "thread/epiphany/planning" {
params: v2::ThreadEpiphanyPlanningParams,
response: v2::ThreadEpiphanyPlanningResponse,
},
#[experimental("thread/epiphany/graphQuery")]
ThreadEpiphanyGraphQuery => "thread/epiphany/graphQuery" {
params: v2::ThreadEpiphanyGraphQueryParams,
@ -1755,6 +1760,7 @@ mod tests {
v2::ThreadEpiphanySceneAction::Retrieve,
v2::ThreadEpiphanySceneAction::Distill,
v2::ThreadEpiphanySceneAction::Context,
v2::ThreadEpiphanySceneAction::Planning,
v2::ThreadEpiphanySceneAction::Jobs,
v2::ThreadEpiphanySceneAction::Roles,
v2::ThreadEpiphanySceneAction::Coordinator,
@ -2663,6 +2669,178 @@ mod tests {
Ok(())
}
#[test]
fn serialize_thread_epiphany_planning_response() -> Result<()> {
let github_source = codex_protocol::protocol::EpiphanyPlanningSourceRef {
kind: "github_issue".to_string(),
provider: Some("github".to_string()),
repo: Some("GameCult/Epiphany".to_string()),
issue_number: Some(42),
url: Some("https://github.com/GameCult/Epiphany/issues/42".to_string()),
labels: vec!["gui".to_string()],
imported_at: Some("2026-05-01T05:00:00Z".to_string()),
..Default::default()
};
let response = ClientResponse::ThreadEpiphanyPlanning {
request_id: RequestId::Integer(9),
response: v2::ThreadEpiphanyPlanningResponse {
thread_id: "thr_123".to_string(),
source: v2::ThreadEpiphanyContextSource::Live,
state_status: v2::ThreadEpiphanyContextStateStatus::Ready,
state_revision: Some(5),
planning: codex_protocol::protocol::EpiphanyPlanningState {
captures: vec![codex_protocol::protocol::EpiphanyPlanningCapture {
id: "capture-github-42".to_string(),
title: "Import issue backlog".to_string(),
confidence: "medium".to_string(),
status: "new".to_string(),
source: github_source.clone(),
..Default::default()
}],
backlog_items: vec![codex_protocol::protocol::EpiphanyBacklogItem {
id: "backlog-planning-api".to_string(),
title: "Expose planning projection".to_string(),
kind: "feature".to_string(),
summary: "Make planning state queryable by the GUI.".to_string(),
status: "ready".to_string(),
horizon: "now".to_string(),
priority: codex_protocol::protocol::EpiphanyPlanningPriority {
value: "p1".to_string(),
rationale: "Unblocks the planning GUI.".to_string(),
..Default::default()
},
confidence: "high".to_string(),
product_area: "gui".to_string(),
lane_hints: vec!["imagination".to_string()],
source_refs: vec![github_source],
..Default::default()
}],
objective_drafts: vec![codex_protocol::protocol::EpiphanyObjectiveDraft {
id: "objdraft-planning-api".to_string(),
title: "Build planning API slice".to_string(),
summary: "Land typed planning state and read-only projection.".to_string(),
source_item_ids: vec!["backlog-planning-api".to_string()],
scope: codex_protocol::protocol::EpiphanyObjectiveDraftScope {
includes: vec!["thread/epiphany/planning".to_string()],
excludes: vec!["GUI planning table".to_string()],
},
acceptance_criteria: vec![
"Projection returns planning counts.".to_string(),
],
lane_plan: codex_protocol::protocol::EpiphanyObjectiveDraftLanePlan {
imagination: Some("Shape backlog and objective draft.".to_string()),
hands: Some("Wire protocol and app-server read.".to_string()),
..Default::default()
},
review_gates: vec!["Human adoption required".to_string()],
status: "draft".to_string(),
..Default::default()
}],
..Default::default()
},
summary: v2::ThreadEpiphanyPlanningSummary {
capture_count: 1,
pending_capture_count: 1,
github_issue_capture_count: 1,
backlog_item_count: 1,
ready_backlog_item_count: 1,
roadmap_stream_count: 0,
objective_draft_count: 1,
draft_objective_count: 1,
active_objective: Some("Current adopted work".to_string()),
note: "Planning substrate is available.".to_string(),
},
},
};
assert_eq!(response.id(), &RequestId::Integer(9));
assert_eq!(response.method(), "thread/epiphany/planning");
assert_eq!(
json!({
"method": "thread/epiphany/planning",
"id": 9,
"response": {
"threadId": "thr_123",
"source": "live",
"stateStatus": "ready",
"stateRevision": 5,
"planning": {
"captures": [{
"id": "capture-github-42",
"title": "Import issue backlog",
"confidence": "medium",
"status": "new",
"source": {
"kind": "github_issue",
"provider": "github",
"repo": "GameCult/Epiphany",
"issue_number": 42,
"url": "https://github.com/GameCult/Epiphany/issues/42",
"labels": ["gui"],
"imported_at": "2026-05-01T05:00:00Z"
}
}],
"backlog_items": [{
"id": "backlog-planning-api",
"title": "Expose planning projection",
"kind": "feature",
"summary": "Make planning state queryable by the GUI.",
"status": "ready",
"horizon": "now",
"priority": {
"value": "p1",
"rationale": "Unblocks the planning GUI."
},
"confidence": "high",
"product_area": "gui",
"lane_hints": ["imagination"],
"source_refs": [{
"kind": "github_issue",
"provider": "github",
"repo": "GameCult/Epiphany",
"issue_number": 42,
"url": "https://github.com/GameCult/Epiphany/issues/42",
"labels": ["gui"],
"imported_at": "2026-05-01T05:00:00Z"
}]
}],
"objective_drafts": [{
"id": "objdraft-planning-api",
"title": "Build planning API slice",
"summary": "Land typed planning state and read-only projection.",
"source_item_ids": ["backlog-planning-api"],
"scope": {
"includes": ["thread/epiphany/planning"],
"excludes": ["GUI planning table"]
},
"acceptance_criteria": ["Projection returns planning counts."],
"lane_plan": {
"imagination": "Shape backlog and objective draft.",
"hands": "Wire protocol and app-server read."
},
"review_gates": ["Human adoption required"],
"status": "draft"
}]
},
"summary": {
"captureCount": 1,
"pendingCaptureCount": 1,
"githubIssueCaptureCount": 1,
"backlogItemCount": 1,
"readyBacklogItemCount": 1,
"roadmapStreamCount": 0,
"objectiveDraftCount": 1,
"draftObjectiveCount": 1,
"activeObjective": "Current adopted work",
"note": "Planning substrate is available."
}
}
}),
serde_json::to_value(&response)?,
);
Ok(())
}
#[test]
fn serialize_thread_epiphany_graph_query_request_and_response() -> Result<()> {
let request = ClientRequest::ThreadEpiphanyGraphQuery {
@ -4608,6 +4786,18 @@ mod tests {
assert_eq!(reason, Some("thread/epiphany/context"));
}
#[test]
fn thread_epiphany_planning_is_marked_experimental() {
let request = ClientRequest::ThreadEpiphanyPlanning {
request_id: RequestId::Integer(1),
params: v2::ThreadEpiphanyPlanningParams {
thread_id: "thr_123".to_string(),
},
};
let reason = crate::experimental_api::ExperimentalApi::experimental_reason(&request);
assert_eq!(reason, Some("thread/epiphany/planning"));
}
#[test]
fn thread_epiphany_pressure_is_marked_experimental() {
let request = ClientRequest::ThreadEpiphanyPressure {

View file

@ -73,6 +73,7 @@ use codex_protocol::protocol::EpiphanyJobBinding as CoreEpiphanyJobBinding;
use codex_protocol::protocol::EpiphanyJobKind as CoreEpiphanyJobKind;
use codex_protocol::protocol::EpiphanyModeState as CoreEpiphanyModeState;
use codex_protocol::protocol::EpiphanyObservation as CoreEpiphanyObservation;
use codex_protocol::protocol::EpiphanyPlanningState as CoreEpiphanyPlanningState;
use codex_protocol::protocol::EpiphanyRetrievalStatus as CoreEpiphanyRetrievalStatus;
use codex_protocol::protocol::EpiphanyScratchPad as CoreEpiphanyScratchPad;
use codex_protocol::protocol::EpiphanySubgoal as CoreEpiphanySubgoal;
@ -3996,6 +3997,7 @@ pub enum ThreadEpiphanySceneAction {
Retrieve,
Distill,
Context,
Planning,
GraphQuery,
Jobs,
Roles,
@ -4673,6 +4675,45 @@ pub struct ThreadEpiphanyContextParams {
pub include_linked_evidence: Option<bool>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadEpiphanyPlanningParams {
pub thread_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadEpiphanyPlanningResponse {
pub thread_id: String,
pub source: ThreadEpiphanyContextSource,
pub state_status: ThreadEpiphanyContextStateStatus,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub state_revision: Option<u64>,
pub planning: CoreEpiphanyPlanningState,
pub summary: ThreadEpiphanyPlanningSummary,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadEpiphanyPlanningSummary {
pub capture_count: u32,
pub pending_capture_count: u32,
pub github_issue_capture_count: u32,
pub backlog_item_count: u32,
pub ready_backlog_item_count: u32,
pub roadmap_stream_count: u32,
pub objective_draft_count: u32,
pub draft_objective_count: u32,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub active_objective: Option<String>,
pub note: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
@ -5361,6 +5402,9 @@ pub struct ThreadEpiphanyUpdatePatch {
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub mode: Option<CoreEpiphanyModeState>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub planning: Option<CoreEpiphanyPlanningState>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
@ -5413,6 +5457,7 @@ pub enum ThreadEpiphanyStateUpdatedField {
Evidence,
Churn,
Mode,
Planning,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]