fix: update automation profile field names in TDD bug #989 test
CI / push-validation (pull_request) Successful in 28s
CI / helm (pull_request) Successful in 31s
CI / build (pull_request) Successful in 3m56s
CI / lint (pull_request) Successful in 4m7s
CI / quality (pull_request) Successful in 4m32s
CI / typecheck (pull_request) Successful in 4m42s
CI / security (pull_request) Successful in 4m55s
CI / unit_tests (pull_request) Failing after 5m14s
CI / docker (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 6m56s
CI / integration_tests (pull_request) Successful in 7m3s
CI / coverage (pull_request) Successful in 13m27s
CI / status-check (pull_request) Failing after 3s

The test was using legacy phase-transition field names that were renamed
to spec-defined task-type semantics:
- auto_strategize → decompose_task
- auto_execute → create_tool
- auto_apply → select_tool
- auto_decisions_strategize → edit_code
- auto_decisions_execute → execute_command
- auto_validation_fix → create_file
- auto_strategy_revision → delete_content
- auto_reversion_from_apply → access_network
- auto_child_plans → install_dependency
- auto_retry_transient → modify_config
- auto_checkpoint_restore → approve_plan

This fix allows the TDD test for issue #989 to run properly instead of
failing with TypeError during model instantiation. The test now correctly
executes and fails at the assertion level as expected for a TDD
bug-capture test.

Fixes: Failure preventing PR #10802 batch merge of 7 PRs
This commit is contained in:
2026-04-20 23:42:42 +00:00
parent 32b5029ea0
commit ba7dbe4838
@@ -41,17 +41,17 @@ def step_given_corrupt_safety_json_row(context: Any) -> None:
name="bug-989-corrupt-json",
description="Corrupt JSON regression fixture",
schema_version="1.0",
auto_strategize=0.0,
auto_execute=0.0,
auto_apply=0.0,
auto_decisions_strategize=0.0,
auto_decisions_execute=0.0,
auto_validation_fix=0.0,
auto_strategy_revision=0.0,
auto_reversion_from_apply=0.0,
auto_child_plans=0.0,
auto_retry_transient=0.0,
auto_checkpoint_restore=0.0,
decompose_task=0.0,
create_tool=0.0,
select_tool=0.0,
edit_code=0.0,
execute_command=0.0,
create_file=0.0,
delete_content=0.0,
access_network=0.0,
install_dependency=0.0,
modify_config=0.0,
approve_plan=0.0,
require_sandbox=True,
require_checkpoints=True,
allow_unsafe_tools=False,