[BUG] Built-in 'trusted' automation profile description does not match specification #9156

Closed
opened 2026-04-14 08:47:16 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit message: fix: correct trusted automation profile description to match spec
  • Branch name: fix/trusted-profile-description-spec-mismatch

Background and Context

The trusted built-in automation profile has a description that does not match the specification. The spec defines the description in two places:

  • Line 17197 (automation-profile show example output): "Auto-exec, manual apply. Day-to-day development"
  • Line 28578 (profile narrative): "Strategize and Execute thresholds set to 0.0 (always automatic)... The system pauses only before Apply (threshold 1.0) for human review of the final diffs. Use for: day-to-day feature development, routine refactoring, test generation."

However, in src/cleveragents/domain/models/core/automation_profile.py (line 519), the trusted profile is defined with a different description:

"trusted": AutomationProfile(
    name="trusted",
    description=("Auto for most, human for apply and revert"),
    ...
)

The description "Auto for most, human for apply and revert" does not match the spec-required "Auto-exec, manual apply. Day-to-day development". This causes the agents automation-profile show trusted command to display incorrect output that diverges from the specification.

Expected Behavior

The trusted built-in profile has description = "Auto-exec, manual apply. Day-to-day development", matching the spec's example output at line 17197. Running agents automation-profile show trusted displays:

Description: Auto-exec, manual apply. Day-to-day development

And agents automation-profile show trusted --format json returns:

"description": "Auto-exec, manual apply. Day-to-day development"

Acceptance Criteria

  • agents automation-profile show trusted displays Description: Auto-exec, manual apply. Day-to-day development
  • agents automation-profile show trusted --format json returns "description": "Auto-exec, manual apply. Day-to-day development"
  • The trusted profile description in BUILTIN_PROFILES matches the spec (line 17197)
  • All BDD tests pass with no regressions in other automation-profile commands

Subtasks

  • Update the trusted profile description in BUILTIN_PROFILES dict in src/cleveragents/domain/models/core/automation_profile.py from "Auto for most, human for apply and revert" to "Auto-exec, manual apply. Day-to-day development"
  • Update any BDD tests that assert the trusted profile description
  • Verify agents automation-profile show trusted output matches spec

Definition of Done

  • agents automation-profile show trusted displays Description: Auto-exec, manual apply. Day-to-day development
  • agents automation-profile show trusted --format json returns "description": "Auto-exec, manual apply. Day-to-day development"
  • All BDD tests pass
  • No regressions in other automation-profile commands

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor

## Metadata - **Commit message:** `fix: correct trusted automation profile description to match spec` - **Branch name:** `fix/trusted-profile-description-spec-mismatch` ## Background and Context The `trusted` built-in automation profile has a description that does not match the specification. The spec defines the description in two places: - **Line 17197** (`automation-profile show` example output): `"Auto-exec, manual apply. Day-to-day development"` - **Line 28578** (profile narrative): `"Strategize and Execute thresholds set to 0.0 (always automatic)... The system pauses only before Apply (threshold 1.0) for human review of the final diffs. Use for: day-to-day feature development, routine refactoring, test generation."` However, in `src/cleveragents/domain/models/core/automation_profile.py` (line 519), the `trusted` profile is defined with a different description: ```python "trusted": AutomationProfile( name="trusted", description=("Auto for most, human for apply and revert"), ... ) ``` The description `"Auto for most, human for apply and revert"` does not match the spec-required `"Auto-exec, manual apply. Day-to-day development"`. This causes the `agents automation-profile show trusted` command to display incorrect output that diverges from the specification. ## Expected Behavior The `trusted` built-in profile has `description = "Auto-exec, manual apply. Day-to-day development"`, matching the spec's example output at line 17197. Running `agents automation-profile show trusted` displays: ``` Description: Auto-exec, manual apply. Day-to-day development ``` And `agents automation-profile show trusted --format json` returns: ```json "description": "Auto-exec, manual apply. Day-to-day development" ``` ## Acceptance Criteria - [ ] `agents automation-profile show trusted` displays `Description: Auto-exec, manual apply. Day-to-day development` - [ ] `agents automation-profile show trusted --format json` returns `"description": "Auto-exec, manual apply. Day-to-day development"` - [ ] The `trusted` profile description in `BUILTIN_PROFILES` matches the spec (line 17197) - [ ] All BDD tests pass with no regressions in other automation-profile commands ## Subtasks - [ ] Update the `trusted` profile `description` in `BUILTIN_PROFILES` dict in `src/cleveragents/domain/models/core/automation_profile.py` from `"Auto for most, human for apply and revert"` to `"Auto-exec, manual apply. Day-to-day development"` - [ ] Update any BDD tests that assert the `trusted` profile description - [ ] Verify `agents automation-profile show trusted` output matches spec ## Definition of Done - `agents automation-profile show trusted` displays `Description: Auto-exec, manual apply. Day-to-day development` - `agents automation-profile show trusted --format json` returns `"description": "Auto-exec, manual apply. Day-to-day development"` - All BDD tests pass - No regressions in other automation-profile commands --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor
HAL9000 added this to the v3.5.0 milestone 2026-04-14 09:05:05 +00:00
Author
Owner

Triage: Verified [AUTO-OWNR-1]

Valid bug: The built-in 'trusted' automation profile description does not match the specification. This is a documentation/metadata inconsistency.

Assigning to v3.5.0 (Autonomy Hardening) as automation profiles are a core M6 feature. Priority Low — description mismatch, no functional impact.

MoSCoW: Should Have — spec compliance for built-in profiles is important for user trust.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

✅ **Triage: Verified** [AUTO-OWNR-1] Valid bug: The built-in 'trusted' automation profile description does not match the specification. This is a documentation/metadata inconsistency. Assigning to **v3.5.0** (Autonomy Hardening) as automation profiles are a core M6 feature. Priority **Low** — description mismatch, no functional impact. MoSCoW: **Should Have** — spec compliance for built-in profiles is important for user trust. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#9156
No description provided.