Epic: Cost Budgets, Safety Profiles & Plugin Architecture (v3.6.0) #8569

Open
opened 2026-04-13 20:50:11 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit message: feat(governance): implement cost/session budgets, safety profiles, and plugin architecture extensions
  • Branch name: feat/v3.6.0-cost-budgets-safety-profiles-plugins

Background and Context

As part of the v3.6.0 milestone (M7: Advanced Concepts & Deferred Features) and Legendary #8504 (Advanced Concepts & Platform Extensions), this Epic delivers governance, safety, and extensibility features.

This Epic covers:

  • Cost/session budgets: tracking and enforcing cost and session-level budget limits
  • Safety profiles: configurable safety behaviors that can be applied to plans and actors
  • Plugin architecture extensions: documented extension points for third-party integrations
  • E2E workflow specification tests: end-to-end tests that validate the full system
  • Code review tool examples: example tools demonstrating extensibility
  • ACP → A2A module rename: completing the symbol standardization

This Epic blocks the parent Legendary issue #8504.

Expected Behavior

When this Epic is complete:

  • Cost and session budgets are tracked and enforced at the plan and session level
  • Safety profiles are configurable and enforced during plan execution
  • Plugin architecture has documented extension points with at least one example plugin
  • E2E workflow specification tests validate the full system
  • Code review tool examples are included in the repository
  • ACP → A2A module rename is complete with no breaking changes

Acceptance Criteria

  • Cost budget tracking is implemented (per-plan and per-session)
  • Session budget enforcement halts execution when budget is exceeded
  • Safety profiles are configurable via YAML/TOML config
  • Safety profiles are enforced during plan execution
  • Plugin architecture has at least 3 documented extension points
  • At least one example plugin is included in the repository
  • E2E workflow specification tests pass
  • Code review tool examples are included
  • ACP → A2A module rename is complete (no breaking changes)
  • nox passes with coverage >= 97%

Subtasks

  • Implement cost/session budget tracking
  • Implement session budget enforcement
  • Design and implement safety profile schema
  • Implement safety profile enforcement in plan execution
  • Document plugin architecture extension points
  • Create example plugin implementation
  • Write E2E workflow specification tests
  • Create code review tool examples
  • Execute ACP → A2A module rename and symbol standardization
  • Update all documentation

Child Issues / Child Epics

Child implementation issues will be linked here as they are created.

  • Implement cost/session budget tracking and enforcement — TBD
  • Implement safety profile configuration and enforcement — TBD
  • Implement plugin architecture extension points — TBD
  • Write E2E workflow specification tests — TBD
  • Execute ACP → A2A module rename — TBD

Definition of Done

This Epic should be closed when:

  1. All acceptance criteria above are verified and checked off
  2. All child implementation issues are closed
  3. Test coverage >= 97% is confirmed by CI for all new code
  4. Code has passed peer review and been merged to the main branch
  5. The parent Legendary issue #8504 has been updated to reflect this Epic's completion

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Metadata - **Commit message**: `feat(governance): implement cost/session budgets, safety profiles, and plugin architecture extensions` - **Branch name**: `feat/v3.6.0-cost-budgets-safety-profiles-plugins` ## Background and Context As part of the v3.6.0 milestone (M7: Advanced Concepts & Deferred Features) and Legendary #8504 (Advanced Concepts & Platform Extensions), this Epic delivers governance, safety, and extensibility features. This Epic covers: - **Cost/session budgets**: tracking and enforcing cost and session-level budget limits - **Safety profiles**: configurable safety behaviors that can be applied to plans and actors - **Plugin architecture extensions**: documented extension points for third-party integrations - **E2E workflow specification tests**: end-to-end tests that validate the full system - **Code review tool examples**: example tools demonstrating extensibility - **ACP → A2A module rename**: completing the symbol standardization This Epic blocks the parent Legendary issue #8504. ## Expected Behavior When this Epic is complete: - Cost and session budgets are tracked and enforced at the plan and session level - Safety profiles are configurable and enforced during plan execution - Plugin architecture has documented extension points with at least one example plugin - E2E workflow specification tests validate the full system - Code review tool examples are included in the repository - ACP → A2A module rename is complete with no breaking changes ## Acceptance Criteria - [ ] Cost budget tracking is implemented (per-plan and per-session) - [ ] Session budget enforcement halts execution when budget is exceeded - [ ] Safety profiles are configurable via YAML/TOML config - [ ] Safety profiles are enforced during plan execution - [ ] Plugin architecture has at least 3 documented extension points - [ ] At least one example plugin is included in the repository - [ ] E2E workflow specification tests pass - [ ] Code review tool examples are included - [ ] ACP → A2A module rename is complete (no breaking changes) - [ ] `nox` passes with coverage >= 97% ## Subtasks - [ ] Implement cost/session budget tracking - [ ] Implement session budget enforcement - [ ] Design and implement safety profile schema - [ ] Implement safety profile enforcement in plan execution - [ ] Document plugin architecture extension points - [ ] Create example plugin implementation - [ ] Write E2E workflow specification tests - [ ] Create code review tool examples - [ ] Execute ACP → A2A module rename and symbol standardization - [ ] Update all documentation ## Child Issues / Child Epics > Child implementation issues will be linked here as they are created. - [ ] Implement cost/session budget tracking and enforcement — _TBD_ - [ ] Implement safety profile configuration and enforcement — _TBD_ - [ ] Implement plugin architecture extension points — _TBD_ - [ ] Write E2E workflow specification tests — _TBD_ - [ ] Execute ACP → A2A module rename — _TBD_ ## Definition of Done This Epic should be closed when: 1. All acceptance criteria above are verified and checked off 2. All child implementation issues are closed 3. Test coverage >= 97% is confirmed by CI for all new code 4. Code has passed peer review and been merged to the main branch 5. The parent Legendary issue #8504 has been updated to reflect this Epic's completion --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.6.0 milestone 2026-04-13 20:51:19 +00:00
Author
Owner

🤖 Child Implementation Issues Created for Epic #8569

The following 5 child implementation issues have been created for this Epic as part of the v3.6.0 milestone. Each child issue blocks this Epic.

# Issue Branch Prefix Labels
#8609 feat(governance): implement cost and session budget tracking and enforcement feat/v3.6.0-cost-session-budget-tracking Type/Feature, Priority/High, MoSCoW/Must have, State/Verified
#8611 feat(governance): implement safety profile configuration and enforcement feat/v3.6.0-safety-profile-enforcement Type/Feature, Priority/High, MoSCoW/Must have, State/Verified
#8613 feat(plugins): implement plugin architecture extension points with documentation feat/v3.6.0-plugin-architecture-extension-points Type/Feature, Priority/High, MoSCoW/Must have, State/Verified
#8614 test(e2e): write E2E workflow specification tests for v3.6.0 features test/v3.6.0-e2e-workflow-specification Type/Feature, Priority/High, MoSCoW/Must have, State/Verified
#8615 refactor(a2a): execute ACP to A2A module rename and symbol standardization refactor/v3.6.0-acp-to-a2a-rename Type/Feature, Priority/High, MoSCoW/Must have, State/Verified

Milestone: v3.6.0 (ID: 109) — assigned to all child issues.


Automated by CleverAgents Bot
Agent: new-issue-creator

## 🤖 Child Implementation Issues Created for Epic #8569 The following 5 child implementation issues have been created for this Epic as part of the v3.6.0 milestone. Each child issue **blocks** this Epic. | # | Issue | Branch Prefix | Labels | |---|-------|---------------|--------| | #8609 | [feat(governance): implement cost and session budget tracking and enforcement](https://git.cleverthis.com/cleveragents/cleveragents-core/issues/8609) | `feat/v3.6.0-cost-session-budget-tracking` | Type/Feature, Priority/High, MoSCoW/Must have, State/Verified | | #8611 | [feat(governance): implement safety profile configuration and enforcement](https://git.cleverthis.com/cleveragents/cleveragents-core/issues/8611) | `feat/v3.6.0-safety-profile-enforcement` | Type/Feature, Priority/High, MoSCoW/Must have, State/Verified | | #8613 | [feat(plugins): implement plugin architecture extension points with documentation](https://git.cleverthis.com/cleveragents/cleveragents-core/issues/8613) | `feat/v3.6.0-plugin-architecture-extension-points` | Type/Feature, Priority/High, MoSCoW/Must have, State/Verified | | #8614 | [test(e2e): write E2E workflow specification tests for v3.6.0 features](https://git.cleverthis.com/cleveragents/cleveragents-core/issues/8614) | `test/v3.6.0-e2e-workflow-specification` | Type/Feature, Priority/High, MoSCoW/Must have, State/Verified | | #8615 | [refactor(a2a): execute ACP to A2A module rename and symbol standardization](https://git.cleverthis.com/cleveragents/cleveragents-core/issues/8615) | `refactor/v3.6.0-acp-to-a2a-rename` | Type/Feature, Priority/High, MoSCoW/Must have, State/Verified | **Milestone**: v3.6.0 (ID: 109) — assigned to all child issues. --- **Automated by CleverAgents Bot** Agent: new-issue-creator
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#8569
No description provided.