Keep G006 packet regressions aligned with shipped schema

Constraint: G006 worker auto-checkpoints added useful regression coverage after the pushed leader schema.\nRejected: Reapply later worker policy/lane merges | they produced duplicate definitions and syntax failures during shutdown integration.\nConfidence: high\nScope-risk: narrow\nDirective: Preserve the shipped G006 packet schema shape unless a future migration updates callers and tests together.\nTested: cargo fmt --manifest-path rust/Cargo.toml --all -- --check; cargo check --manifest-path rust/Cargo.toml -p runtime -p tools -p rusty-claude-cli; cargo test --manifest-path rust/Cargo.toml -p runtime task_packet -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p tools run_task_packet -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p runtime task_registry -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p runtime session_heartbeat -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p runtime policy_engine -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p rusty-claude-cli status_json_surfaces -- --nocapture; git diff --check\nNot-tested: full workspace test suite\n\nCo-authored-by: OmX <omx@oh-my-codex.dev>
This commit is contained in:
bellman
2026-05-15 09:41:38 +09:00
parent 6d809cb278
commit 65a144c3f7
2 changed files with 26 additions and 31 deletions

View File

@@ -10170,26 +10170,26 @@ printf 'pwsh:%s' "$1"
assert_eq!(output["prompt"], "Ship packetized runtime task");
assert_eq!(output["description"], "runtime/task system");
assert_eq!(output["task_packet"]["repo"], "claw-code-parity");
assert_eq!(output["task_packet"]["resources"][0]["kind"], "module");
assert_eq!(
output["task_packet"]["files"][0],
"rust/crates/runtime/src/task_packet.rs"
output["task_packet"]["resources"][0]["value"],
"runtime/task system"
);
assert_eq!(output["task_packet"]["resources"][0], "ROADMAP.md#phase-4");
assert_eq!(
output["task_packet"]["acceptance_criteria"][0],
"packet-backed task is created"
"task packet is accepted"
);
assert_eq!(output["task_packet"]["model"], "gpt-5.5");
assert_eq!(output["task_packet"]["provider"], "openai");
assert_eq!(
output["task_packet"]["permission_profile"],
"workspace_write"
"workspace-write"
);
assert_eq!(
output["task_packet"]["verification_plan"][0],
"cargo test -p tools run_task_packet"
"cargo test --workspace"
);
assert_eq!(output["task_packet"]["reporting_targets"][0], "stdout json");
assert_eq!(output["task_packet"]["reporting_targets"][0], "leader");
assert_eq!(
output["task_packet"]["acceptance_tests"][1],
"cargo test --workspace"