Publish harness and TUI open-source
initial sync from the monorepo
This commit is contained in:
commit
c68e39f604
2734 changed files with 1437016 additions and 0 deletions
25
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_clean_completion.json
vendored
Normal file
25
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_clean_completion.json
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "clean_completion",
|
||||
"description": "Assistant ended its turn with no outstanding todos. The gate must NOT fire — this is the only true 'happy path' for end-of-turn.",
|
||||
"turns": [
|
||||
{
|
||||
"turn_index": 0,
|
||||
"kind": "user",
|
||||
"content": "<synthetic user prompt — content scrubbed>"
|
||||
},
|
||||
{
|
||||
"turn_index": 1,
|
||||
"kind": "assistant",
|
||||
"tool_calls_emitted": [],
|
||||
"todo_state_after_turn": [
|
||||
{
|
||||
"id": "ship-it",
|
||||
"status": "completed",
|
||||
"content": "land the PR"
|
||||
}
|
||||
],
|
||||
"backing_task_count": 0,
|
||||
"expected_gate_decision": "continue"
|
||||
}
|
||||
]
|
||||
}
|
||||
41
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_pr_babysit_partial_backing.json
vendored
Normal file
41
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_pr_babysit_partial_backing.json
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"name": "pr_babysit_partial_backing",
|
||||
"description": "Three /pr-babysit todos are in_progress but only one polling subagent is alive — the gate's tightened heuristic (PR2 partition) must classify the two unbacked items and fire with the in-flight reason. Backed items are intentionally NOT listed in the reminder body (the gate already decided not to nudge on them); negative coverage lives in the inline turn_end_guard_tests in acp_session.rs.",
|
||||
"turns": [
|
||||
{
|
||||
"turn_index": 0,
|
||||
"kind": "user",
|
||||
"content": "<synthetic user prompt — content scrubbed>"
|
||||
},
|
||||
{
|
||||
"turn_index": 1,
|
||||
"kind": "assistant",
|
||||
"tool_calls_emitted": [],
|
||||
"todo_state_after_turn": [
|
||||
{
|
||||
"id": "pr-1",
|
||||
"status": "in_progress",
|
||||
"content": "pr-1:ci-green"
|
||||
},
|
||||
{
|
||||
"id": "pr-2",
|
||||
"status": "in_progress",
|
||||
"content": "pr-2:ci-green"
|
||||
},
|
||||
{
|
||||
"id": "pr-3",
|
||||
"status": "in_progress",
|
||||
"content": "pr-3:ci-green"
|
||||
}
|
||||
],
|
||||
"backing_task_count": 1,
|
||||
"expected_gate_decision": "nudge",
|
||||
"expected_reason": "in_flight",
|
||||
"expected_reminder_contains": [
|
||||
"In-progress (no backing background task)",
|
||||
"pr-2:ci-green",
|
||||
"pr-3:ci-green"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
31
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_stranded_narration.json
vendored
Normal file
31
crates/codegen/xai-grok-shell/tests/fixtures/synthetic_stranded_narration.json
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"name": "stranded_narration",
|
||||
"description": "Assistant ended its turn with a content-only message while a pending todo remains and no backing background task exists. Canonical PR1 §B 'stranded narration' failure shape: the gate must fire with the in-flight reason.",
|
||||
"turns": [
|
||||
{
|
||||
"turn_index": 0,
|
||||
"kind": "user",
|
||||
"content": "<synthetic user prompt — content scrubbed>"
|
||||
},
|
||||
{
|
||||
"turn_index": 1,
|
||||
"kind": "assistant",
|
||||
"tool_calls_emitted": [],
|
||||
"todo_state_after_turn": [
|
||||
{
|
||||
"id": "fix-round-1",
|
||||
"status": "pending",
|
||||
"content": "fix open review issues"
|
||||
}
|
||||
],
|
||||
"backing_task_count": 0,
|
||||
"expected_gate_decision": "nudge",
|
||||
"expected_reason": "in_flight",
|
||||
"expected_reminder_contains": [
|
||||
"ended your turn",
|
||||
"Pending:",
|
||||
"fix open review issues"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue