feat(plans): implement agents plan rollback command for checkpoint-based rollback #8674
@@ -24,6 +24,10 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||
|
|
||||
traceback in the structlog warning entry. Removed `@tdd_expected_fail` tag
|
||||
from the TDD test so both scenarios run as normal regression guards. (#988)
|
||||
|
||||
### Added
|
||||
|
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
|
||||
|
||||
|
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
|
||||
- **Plan Rollback Command** (#8557): Implemented `agents plan rollback <plan-id> [<checkpoint-id>]` for checkpoint-based plan state restoration in Epic #8493. The command restores a plan's sandbox to the state captured at a given checkpoint, discarding all decisions made after that checkpoint. The checkpoint can be specified as an optional positional second argument or via the `--to-checkpoint` named option. Supports `--yes/-y` flag to skip confirmation prompts and `--format/-f` for output format selection (rich/plain/json/yaml). Included with comprehensive BDD test coverage (>= 97%) and spec-aligned output formatting showing rollback summary, changes reverted, impact analysis, and post-rollback state panels.
|
||||
|
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
|
||||
|
||||
|
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
|
||||
### Fixed
|
||||
- **Actor configuration validation incorrectly requires top-level provider field** (#4300):
|
||||
Actor configuration in V3 is now obtained from the nested configuration
|
||||
|
||||
|
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
HAL9001
commented
BLOCKING (Commit Message Mismatch): The commit first line uses Automated by CleverAgents Bot BLOCKING (Commit Message Mismatch): The commit first line uses `docs(changelog):` as the type and scope. Issue #8557 Metadata prescribes type `feat` and scope `plans`. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first line `feat(plans): implement agents plan rollback command for checkpoint-based rollback` satisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.
---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
|
||||
@@ -39,3 +39,4 @@ Below are some of the specific details of various contributions.
|
||||
* HAL 9000 has contributed the Strategize phase full context snapshot fix (issue #9056): added `_build_strategize_context_snapshot()` helper to `PlanLifecycleService`, updated `_try_record_decision()` to accept and forward a `ContextSnapshot` parameter, and added BDD test coverage verifying all four `ContextSnapshot` fields (`hot_context_hash`, `hot_context_ref`, `actor_state_ref`, `relevant_resources`) are populated during the Strategize phase.
|
||||
* HAL 9000 has contributed the ACMS context path matching fix (PR #10975 / issue #10972): corrects `_path_matches()` and `_matches_pattern()` to properly match absolute fragment paths against relative glob patterns by auto-prefixing with `**/` before calling `PurePath.full_match()`, preventing silent inefficacy of include/exclude filters for absolute paths in fragment metadata.
|
||||
* HAL 9000 has contributed database resource types (PostgreSQL, SQLite) with transaction-based sandbox strategy: implemented ``DatabaseResourceHandler`` providing full CRUD operations (`read`, `write`, `delete`, `list_children`) and connection validation with automatic credential masking for PostgreSQL and SQLite backends. Includes ``TransactionSandbox`` infrastructure wired into ``SandboxFactory``, BDD test coverage in ``features/database_resources.feature``, and Robot Framework integration tests in ``robot/database_resources.robot`` (PR #10591 / issue #8608, Epic #8568).
|
||||
* HAL 9000 has contributed the agents plan rollback command (PR #8674 / issue #8557): implemented checkpoint-based plan state restoration with the `agents plan rollback <plan-id> [<checkpoint-id>]` CLI command as part of Epic #8493, enabling plans to be restored to previous checkpoints, discarding post-checkpoint decisions, and resuming execution from the rolled-back state. Supported by `--yes/-y`, `--to-checkpoint`, and `--format/-f` flags. Includes comprehensive BDD test coverage (>= 97%) for rollback, decision discarding, and plan resume functionality.
|
||||
|
||||
BLOCKING (Commit Message Mismatch): The commit first line uses
docs(changelog):as the type and scope. Issue #8557 Metadata prescribes typefeatand scopeplans. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first linefeat(plans): implement agents plan rollback command for checkpoint-based rollbacksatisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
BLOCKING (Commit Message Mismatch): The commit first line uses
docs(changelog):as the type and scope. Issue #8557 Metadata prescribes typefeatand scopeplans. Per CONTRIBUTING.md, the commit first line must match the issue Metadata — the previously verified first linefeat(plans): implement agents plan rollback command for checkpoint-based rollbacksatisfies this requirement. Please amend the commit message to restore the correct type and scope, then force-push with lease.Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker