mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-09 03:20:56 +00:00
parent
8203f66576
commit
a67a60f79d
4 changed files with 295 additions and 40 deletions
278
run.json
278
run.json
|
|
@ -404,43 +404,46 @@
|
|||
"base_sha": "50032d0f66f59e3d22f2b59125cd0dc9497ba3cb"
|
||||
},
|
||||
"status": {
|
||||
"kind": "blocked",
|
||||
"blocked_reason": "human_input_required"
|
||||
"kind": "running"
|
||||
},
|
||||
"status_updated_at": "2026-05-08T18:42:43.925250Z",
|
||||
"last_event_at": "2026-05-08T18:42:43.925250Z",
|
||||
"status_updated_at": "2026-05-08T18:42:54.228039Z",
|
||||
"last_event_at": "2026-05-08T18:43:02.472333Z",
|
||||
"pending_control": null,
|
||||
"checkpoint": {
|
||||
"timestamp": "2026-05-08T18:42:54.228551Z",
|
||||
"current_node": "freeform",
|
||||
"timestamp": "2026-05-08T18:43:13.501261Z",
|
||||
"current_node": "summarize",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"yes_no",
|
||||
"confirmation",
|
||||
"multiple_choice",
|
||||
"multi_select",
|
||||
"freeform"
|
||||
"freeform",
|
||||
"summarize"
|
||||
],
|
||||
"node_retries": {},
|
||||
"context_values": {
|
||||
"internal.fidelity": "compact",
|
||||
"last_response": "# Interview Summary\n\n## Questions & Answers (in order)\n\n| # | Stage | Question | Answer |\n|---|-------|----------|--------|\n| 1 | **yes_no** | Is this interview workflow easy to follow so far? | **Yes",
|
||||
"internal.fidelity": "summary:high",
|
||||
"human.gate.label": "Explain the moon landing",
|
||||
"human.gate.multiple_choice.label": "[G] Goals",
|
||||
"thread.multi_select.current_node": "freeform",
|
||||
"thread.freeform.current_node": "summarize",
|
||||
"human.gate.yes_no.label": "[Y] Yes",
|
||||
"thread.confirmation.current_node": "multiple_choice",
|
||||
"current_node": "freeform",
|
||||
"current_node": "summarize",
|
||||
"thread.start.current_node": "yes_no",
|
||||
"thread.multiple_choice.current_node": "multi_select",
|
||||
"human.gate.selected": "freeform",
|
||||
"preferred_label": "[S] Success criteria, [B] Blockers",
|
||||
"last_stage": "summarize",
|
||||
"internal.retry_count.freeform": 0,
|
||||
"thread.yes_no.current_node": "confirmation",
|
||||
"human.gate.multiple_choice.answer": "G",
|
||||
"internal.retry_count.confirmation": 0,
|
||||
"failure_signature": "",
|
||||
"internal.run_id": "01KR4E6RHFVXY0CT4QEGET0Z93",
|
||||
"internal.thread_id": "multi_select",
|
||||
"internal.thread_id": "freeform",
|
||||
"internal.work_dir": "/home/daytona/workspace",
|
||||
"internal.node_visit_count": 1,
|
||||
"graph.rankdir": "LR",
|
||||
|
|
@ -460,11 +463,60 @@
|
|||
"graph.goal": "Run a progressive human interview and summarize the answers",
|
||||
"outcome": "succeeded",
|
||||
"human.gate.freeform.answer": "Explain the moon landing",
|
||||
"response.summarize": "# Interview Summary\n\n## Questions & Answers (in order)\n\n| # | Stage | Question | Answer |\n|---|-------|----------|--------|\n| 1 | **yes_no** | Is this interview workflow easy to follow so far? | **Yes** |\n| 2 | **confirmation** | Confirm that you want to continue into more structured questions. | **Yes – Continue** |\n| 3 | **multiple_choice** | Which theme should be the center of the final summary? | **Goals** |\n| 4 | **multi_select** | Which supporting areas should the final summary emphasize? | **Success Criteria, Blockers** |\n| 5 | **freeform** | Add any final context, constraints, or nuance for the summary. | **\"Explain the moon landing\"** |\n\n---\n\n## Synthesis\n\n### Primary Focus\nThe user wants the summary centered on **Goals** — what the subject is trying to achieve, not background or process.\n\n### Supporting Emphasis\nTwo complementary lenses were selected to frame the summary:\n- **Success Criteria** — what \"done well\" looks like\n- **Blockers** — what obstacles, risks, or dependencies stand in the way\n\n### Constraints & Nuance\nThe freeform prompt indicates the **subject matter is the moon landing**. The user wants it explained — implying clarity and accessibility are valued over technical depth or exhaustive detail.\n\n### Open Questions\n- No explicit audience was specified (general public vs. technical readers).\n- No length or format constraint was provided.\n- \"Explain\" is open-ended — it's unclear whether historical narrative, scientific mechanics, or political significance should dominate.\n\n---\n\n## Recommended Summary Approach\n\nProduce a **goal-oriented explanation of the moon landing** that:\n1. States the **goal** clearly (land humans on the moon and return them safely)\n2. Defines **success criteria** (Apollo 11, July 1969; safe crew return; scientific objectives met)\n3. Acknowledges **blockers** overcome along the way (technical unknowns, the Apollo 1 tragedy, Soviet competition, computational limits)\n4. Remains concise and accessible given no contrary constraints were stated",
|
||||
"human.gate.multi_select.question": "Which supporting areas should the final summary emphasize?",
|
||||
"internal.retry_count.summarize": 0,
|
||||
"human.gate.confirmation.answer": "yes",
|
||||
"human.gate.freeform.question": "Add any final context, constraints, or nuance for the summary."
|
||||
},
|
||||
"node_outcomes": {
|
||||
"yes_no": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[Y] Yes",
|
||||
"suggested_next_ids": [
|
||||
"confirmation"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.selected": "Y",
|
||||
"human.gate.label": "[Y] Yes",
|
||||
"human.gate.yes_no.question": "Is this interview workflow easy to follow so far?",
|
||||
"human.gate.yes_no.answer": "yes",
|
||||
"human.gate.yes_no.label": "[Y] Yes"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"summarize": {
|
||||
"status": "succeeded",
|
||||
"context_updates": {
|
||||
"response.summarize": "# Interview Summary\n\n## Questions & Answers (in order)\n\n| # | Stage | Question | Answer |\n|---|-------|----------|--------|\n| 1 | **yes_no** | Is this interview workflow easy to follow so far? | **Yes** |\n| 2 | **confirmation** | Confirm that you want to continue into more structured questions. | **Yes – Continue** |\n| 3 | **multiple_choice** | Which theme should be the center of the final summary? | **Goals** |\n| 4 | **multi_select** | Which supporting areas should the final summary emphasize? | **Success Criteria, Blockers** |\n| 5 | **freeform** | Add any final context, constraints, or nuance for the summary. | **\"Explain the moon landing\"** |\n\n---\n\n## Synthesis\n\n### Primary Focus\nThe user wants the summary centered on **Goals** — what the subject is trying to achieve, not background or process.\n\n### Supporting Emphasis\nTwo complementary lenses were selected to frame the summary:\n- **Success Criteria** — what \"done well\" looks like\n- **Blockers** — what obstacles, risks, or dependencies stand in the way\n\n### Constraints & Nuance\nThe freeform prompt indicates the **subject matter is the moon landing**. The user wants it explained — implying clarity and accessibility are valued over technical depth or exhaustive detail.\n\n### Open Questions\n- No explicit audience was specified (general public vs. technical readers).\n- No length or format constraint was provided.\n- \"Explain\" is open-ended — it's unclear whether historical narrative, scientific mechanics, or political significance should dominate.\n\n---\n\n## Recommended Summary Approach\n\nProduce a **goal-oriented explanation of the moon landing** that:\n1. States the **goal** clearly (land humans on the moon and return them safely)\n2. Defines **success criteria** (Apollo 11, July 1969; safe crew return; scientific objectives met)\n3. Acknowledges **blockers** overcome along the way (technical unknowns, the Apollo 1 tragedy, Soviet competition, computational limits)\n4. Remains concise and accessible given no contrary constraints were stated",
|
||||
"last_response": "# Interview Summary\n\n## Questions & Answers (in order)\n\n| # | Stage | Question | Answer |\n|---|-------|----------|--------|\n| 1 | **yes_no** | Is this interview workflow easy to follow so far? | **Yes",
|
||||
"last_stage": "summarize"
|
||||
},
|
||||
"notes": "Stage completed: summarize",
|
||||
"usage": {
|
||||
"input": {
|
||||
"usage": {
|
||||
"model": {
|
||||
"provider": "anthropic",
|
||||
"model_id": "claude-sonnet-4-6"
|
||||
},
|
||||
"tokens": {
|
||||
"input_tokens": 523,
|
||||
"output_tokens": 499,
|
||||
"reasoning_tokens": 0,
|
||||
"cache_read_tokens": 0,
|
||||
"cache_write_tokens": 5376
|
||||
}
|
||||
},
|
||||
"facts": {
|
||||
"provider": "anthropic",
|
||||
"cache_write_5m_tokens": 5376,
|
||||
"cache_write_1h_tokens": 0
|
||||
}
|
||||
},
|
||||
"total_usd_micros": 29214
|
||||
}
|
||||
},
|
||||
"start": {
|
||||
"status": "succeeded",
|
||||
"usage": null
|
||||
|
|
@ -499,21 +551,6 @@
|
|||
},
|
||||
"usage": null
|
||||
},
|
||||
"yes_no": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[Y] Yes",
|
||||
"suggested_next_ids": [
|
||||
"confirmation"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.selected": "Y",
|
||||
"human.gate.label": "[Y] Yes",
|
||||
"human.gate.yes_no.question": "Is this interview workflow easy to follow so far?",
|
||||
"human.gate.yes_no.answer": "yes",
|
||||
"human.gate.yes_no.label": "[Y] Yes"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"multi_select": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[S] Success criteria, [B] Blockers",
|
||||
|
|
@ -544,10 +581,11 @@
|
|||
"usage": null
|
||||
}
|
||||
},
|
||||
"next_node_id": "summarize",
|
||||
"next_node_id": "exit",
|
||||
"node_visits": {
|
||||
"start": 1,
|
||||
"multiple_choice": 1,
|
||||
"summarize": 1,
|
||||
"yes_no": 1,
|
||||
"confirmation": 1,
|
||||
"multi_select": 1,
|
||||
|
|
@ -965,6 +1003,154 @@
|
|||
"confirmation": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
76,
|
||||
{
|
||||
"timestamp": "2026-05-08T18:43:01.991522Z",
|
||||
"current_node": "freeform",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"yes_no",
|
||||
"confirmation",
|
||||
"multiple_choice",
|
||||
"multi_select",
|
||||
"freeform"
|
||||
],
|
||||
"node_retries": {},
|
||||
"context_values": {
|
||||
"human.gate.multi_select.answer": "S, B",
|
||||
"internal.retry_count.yes_no": 0,
|
||||
"internal.work_dir": "/home/daytona/workspace",
|
||||
"human.gate.yes_no.answer": "yes",
|
||||
"thread.start.current_node": "yes_no",
|
||||
"human.gate.freeform.question": "Add any final context, constraints, or nuance for the summary.",
|
||||
"internal.retry_count.confirmation": 0,
|
||||
"internal.retry_count.multi_select": 0,
|
||||
"human.gate.multi_select.label": "[S] Success criteria, [B] Blockers",
|
||||
"human.gate.confirmation.question": "Confirm that you want to continue into more structured questions.",
|
||||
"thread.yes_no.current_node": "confirmation",
|
||||
"internal.retry_count.freeform": 0,
|
||||
"internal.retry_count.multiple_choice": 0,
|
||||
"human.gate.label": "Explain the moon landing",
|
||||
"internal.retry_count.start": 0,
|
||||
"preferred_label": "[S] Success criteria, [B] Blockers",
|
||||
"human.gate.selected": "freeform",
|
||||
"internal.thread_id": "multi_select",
|
||||
"graph.goal": "Run a progressive human interview and summarize the answers",
|
||||
"human.gate.confirmation.answer": "yes",
|
||||
"outcome": "succeeded",
|
||||
"internal.run_id": "01KR4E6RHFVXY0CT4QEGET0Z93",
|
||||
"failure_class": "",
|
||||
"thread.multi_select.current_node": "freeform",
|
||||
"current_node": "freeform",
|
||||
"human.gate.yes_no.question": "Is this interview workflow easy to follow so far?",
|
||||
"thread.multiple_choice.current_node": "multi_select",
|
||||
"human.gate.yes_no.label": "[Y] Yes",
|
||||
"failure_signature": "",
|
||||
"human.gate.text": "Explain the moon landing",
|
||||
"internal.fidelity": "compact",
|
||||
"human.gate.multiple_choice.label": "[G] Goals",
|
||||
"internal.node_visit_count": 1,
|
||||
"thread.confirmation.current_node": "multiple_choice",
|
||||
"human.gate.confirmation.label": "[Y] Continue",
|
||||
"human.gate.multiple_choice.question": "Which theme should be the center of the final summary?",
|
||||
"human.gate.freeform.answer": "Explain the moon landing",
|
||||
"human.gate.multi_select.question": "Which supporting areas should the final summary emphasize?",
|
||||
"human.gate.multiple_choice.answer": "G",
|
||||
"graph.rankdir": "LR"
|
||||
},
|
||||
"node_outcomes": {
|
||||
"multi_select": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[S] Success criteria, [B] Blockers",
|
||||
"suggested_next_ids": [
|
||||
"freeform"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.multi_select.answer": "S, B",
|
||||
"human.gate.multi_select.label": "[S] Success criteria, [B] Blockers",
|
||||
"human.gate.label": "[S] Success criteria, [B] Blockers",
|
||||
"human.gate.multi_select.question": "Which supporting areas should the final summary emphasize?",
|
||||
"human.gate.selected": "S,B"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"yes_no": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[Y] Yes",
|
||||
"suggested_next_ids": [
|
||||
"confirmation"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.selected": "Y",
|
||||
"human.gate.label": "[Y] Yes",
|
||||
"human.gate.yes_no.question": "Is this interview workflow easy to follow so far?",
|
||||
"human.gate.yes_no.answer": "yes",
|
||||
"human.gate.yes_no.label": "[Y] Yes"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"freeform": {
|
||||
"status": "succeeded",
|
||||
"suggested_next_ids": [
|
||||
"summarize"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.selected": "freeform",
|
||||
"human.gate.text": "Explain the moon landing",
|
||||
"human.gate.freeform.question": "Add any final context, constraints, or nuance for the summary.",
|
||||
"human.gate.label": "Explain the moon landing",
|
||||
"human.gate.freeform.answer": "Explain the moon landing"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"multiple_choice": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[G] Goals",
|
||||
"suggested_next_ids": [
|
||||
"multi_select"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.multiple_choice.question": "Which theme should be the center of the final summary?",
|
||||
"human.gate.selected": "G",
|
||||
"human.gate.multiple_choice.label": "[G] Goals",
|
||||
"human.gate.multiple_choice.answer": "G",
|
||||
"human.gate.label": "[G] Goals"
|
||||
},
|
||||
"usage": null
|
||||
},
|
||||
"start": {
|
||||
"status": "succeeded",
|
||||
"usage": null
|
||||
},
|
||||
"confirmation": {
|
||||
"status": "succeeded",
|
||||
"preferred_label": "[Y] Continue",
|
||||
"suggested_next_ids": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"context_updates": {
|
||||
"human.gate.confirmation.question": "Confirm that you want to continue into more structured questions.",
|
||||
"human.gate.confirmation.label": "[Y] Continue",
|
||||
"human.gate.label": "[Y] Continue",
|
||||
"human.gate.confirmation.answer": "yes",
|
||||
"human.gate.selected": "Y"
|
||||
},
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
"next_node_id": "summarize",
|
||||
"git_commit_sha": "1b2e21b3d3d244470c8842c92ee26711565c181d",
|
||||
"node_visits": {
|
||||
"freeform": 1,
|
||||
"multiple_choice": 1,
|
||||
"multi_select": 1,
|
||||
"yes_no": 1,
|
||||
"confirmation": 1,
|
||||
"start": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"conclusion": null,
|
||||
|
|
@ -987,18 +1173,7 @@
|
|||
},
|
||||
"pull_request": null,
|
||||
"superseded_by": null,
|
||||
"pending_interviews": {
|
||||
"01KR4ECC2NYEQB3G36NV3Q3JAA": {
|
||||
"question": {
|
||||
"id": "01KR4ECC2NYEQB3G36NV3Q3JAA",
|
||||
"text": "Add any final context, constraints, or nuance for the summary.",
|
||||
"stage": "freeform",
|
||||
"question_type": "freeform",
|
||||
"allow_freeform": true
|
||||
},
|
||||
"started_at": "2026-05-08T18:42:43.925219Z"
|
||||
}
|
||||
},
|
||||
"pending_interviews": {},
|
||||
"stages": {
|
||||
"multi_select@1": {
|
||||
"first_event_seq": 55,
|
||||
|
|
@ -1024,7 +1199,12 @@
|
|||
"first_event_seq": 67,
|
||||
"prompt": null,
|
||||
"response": null,
|
||||
"completion": null,
|
||||
"completion": {
|
||||
"outcome": "succeeded",
|
||||
"notes": null,
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-05-08T18:42:54.228343Z"
|
||||
},
|
||||
"provider_used": null,
|
||||
"diff": null,
|
||||
"script_invocation": null,
|
||||
|
|
@ -1032,7 +1212,8 @@
|
|||
"parallel_results": null,
|
||||
"output": null,
|
||||
"started_at": "2026-05-08T18:42:43.925144Z",
|
||||
"state": "running"
|
||||
"duration_ms": 10303,
|
||||
"state": "succeeded"
|
||||
},
|
||||
"confirmation@1": {
|
||||
"first_event_seq": 31,
|
||||
|
|
@ -1054,6 +1235,23 @@
|
|||
"duration_ms": 13721,
|
||||
"state": "succeeded"
|
||||
},
|
||||
"summarize@1": {
|
||||
"first_event_seq": 79,
|
||||
"prompt": null,
|
||||
"response": null,
|
||||
"completion": null,
|
||||
"provider_used": {
|
||||
"mode": "prompt",
|
||||
"provider": "anthropic"
|
||||
},
|
||||
"diff": null,
|
||||
"script_invocation": null,
|
||||
"script_timing": null,
|
||||
"parallel_results": null,
|
||||
"output": null,
|
||||
"started_at": "2026-05-08T18:43:01.991714Z",
|
||||
"state": "running"
|
||||
},
|
||||
"multiple_choice@1": {
|
||||
"first_event_seq": 43,
|
||||
"prompt": null,
|
||||
|
|
|
|||
6
stages/006-freeform@1/status.json
Normal file
6
stages/006-freeform@1/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"outcome": "succeeded",
|
||||
"notes": null,
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-05-08T18:42:54.228343Z"
|
||||
}
|
||||
47
stages/007-summarize@1/prompt.md
Normal file
47
stages/007-summarize@1/prompt.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
Goal: Run a progressive human interview and summarize the answers
|
||||
Run ID: 01KR4E6RHFVXY0CT4QEGET0Z93
|
||||
Pipeline progress: 5 of 6 stages completed
|
||||
|
||||
## Stage: yes_no
|
||||
- Status: succeeded
|
||||
- Handler: human
|
||||
|
||||
## Stage: confirmation
|
||||
- Status: succeeded
|
||||
- Handler: human
|
||||
|
||||
## Stage: multiple_choice
|
||||
- Status: succeeded
|
||||
- Handler: human
|
||||
|
||||
## Stage: multi_select
|
||||
- Status: succeeded
|
||||
- Handler: human
|
||||
|
||||
## Stage: freeform
|
||||
- Status: succeeded
|
||||
- Handler: human
|
||||
|
||||
## Current context
|
||||
| Key | Value |
|
||||
|-----|-------|
|
||||
| human.gate.confirmation.answer | yes |
|
||||
| human.gate.confirmation.label | [Y] Continue |
|
||||
| human.gate.confirmation.question | Confirm that you want to continue into more structured questions. |
|
||||
| human.gate.freeform.answer | Explain the moon landing |
|
||||
| human.gate.freeform.question | Add any final context, constraints, or nuance for the summary. |
|
||||
| human.gate.label | Explain the moon landing |
|
||||
| human.gate.multi_select.answer | S, B |
|
||||
| human.gate.multi_select.label | [S] Success criteria, [B] Blockers |
|
||||
| human.gate.multi_select.question | Which supporting areas should the final summary emphasize? |
|
||||
| human.gate.multiple_choice.answer | G |
|
||||
| human.gate.multiple_choice.label | [G] Goals |
|
||||
| human.gate.multiple_choice.question | Which theme should be the center of the final summary? |
|
||||
| human.gate.selected | freeform |
|
||||
| human.gate.text | Explain the moon landing |
|
||||
| human.gate.yes_no.answer | yes |
|
||||
| human.gate.yes_no.label | [Y] Yes |
|
||||
| human.gate.yes_no.question | Is this interview workflow easy to follow so far? |
|
||||
|
||||
|
||||
Summarize the full human interview. Include each question and answer in order, then synthesize the user's priorities, constraints, and open questions. Use the human.gate.<node>.question and human.gate.<node>.answer context keys when present. Do not invent missing answers.
|
||||
4
stages/007-summarize@1/provider_used.json
Normal file
4
stages/007-summarize@1/provider_used.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"mode": "prompt",
|
||||
"provider": "anthropic"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue