Commit Graph

268 Commits

Author SHA1 Message Date
freemo 5bdca88eca feat(change): add tool router for providers 2026-02-21 10:23:31 -05:00
freemo 9f2e7e88b0 feat(plan): add diff review and apply integration
Add PlanApplyService with diff(), artifacts(), persist_apply_summary(),
handle_merge_failure(), and guard_empty_changeset() methods.

- plan diff: renders changeset in rich/plain/json/yaml formats
- plan artifacts: shows plan metadata, changeset summary, sandbox refs
- persist_apply_summary: stores files_changed/validations_run in plan metadata
- handle_merge_failure: transitions plan to error state with conflict details
- guard_empty_changeset: blocks apply on empty changeset (--allow-empty override)

CLI: plan diff and plan artifacts commands with --format flag.
Tests: 20 Behave scenarios, 8 Robot integration tests, 4 ASV benchmarks.
Docs: docs/reference/plan_apply.md with CLI reference.

Implements D0b.apply from the implementation plan.
2026-02-21 10:22:18 -05:00
freemo 1df21e6a64 feat(cli): add output rendering framework with materialization strategies 2026-02-21 10:19:45 -05:00
freemo eae18c7578 feat(skill): add directory and search skills 2026-02-21 10:18:26 -05:00
freemo 582af29a24 feat(skill): add file operation skills 2026-02-21 10:18:26 -05:00
freemo 7aa36759c6 feat(plan): execute strategize and execute via actors 2026-02-21 10:18:26 -05:00
brent.edwards 12ae59a0db Merge branch 'master' into develop-brent-3 2026-02-21 00:15:56 +00:00
brent.edwards 4d559d9691 docs(plan): mark off remaining quality and PR items for completed Brent branches
Mark as complete the post-commit quality verification and Forgejo PR
items for four commit groups whose code was already merged to master
via develop-brent-2 PR #132:

- C1.tool.domain.tests (feature/m3-tool-domain-robot): Forgejo PR
- C0.skill.domain.tests (feature/m3-skill-domain-robot): Forgejo PR
- 10C.edge (feature/m6-validation-edge): coverage, nox, Forgejo PR
- 10C.performance (feature/m6-perf-scale): coverage, nox, Forgejo PR

All quality checks were validated on develop-brent-2: lint, typecheck,
4437 behave scenarios, 515 robot tests, 97% coverage. Confirmed again
on develop-brent-3 (this branch).
2026-02-20 23:28:32 +00:00
brent.edwards 37018341e3 Merge remote-tracking branch 'origin/master' into develop-aditya 2026-02-20 23:02:06 +00:00
brent.edwards 85dc638093 Merge branch 'master' into develop-aditya
# Conflicts:
#	implementation_plan.md
2026-02-20 18:58:05 +00:00
brent.edwards d1b3c25a5e Merge branch 'master' into develop-brent-2
# Conflicts:
#	implementation_plan.md
#	src/cleveragents/cli/main.py
2026-02-20 18:25:28 +00:00
brent.edwards a181b774c9 Merge branch 'feature/m6-perf-scale' into develop-brent-2
# Conflicts:
#	docs/development/testing.md
2026-02-20 16:31:01 +00:00
brent.edwards 5c323470e2 Merge branch 'feature/m6-validation-edge' into develop-brent-2 2026-02-20 16:30:19 +00:00
brent.edwards 4d41459800 Merge branch 'feature/m6-review-playbook' into develop-brent-2 2026-02-20 16:30:15 +00:00
brent.edwards 2cfa9eafbc Merge branch 'feature/m5-subplan-tests' into develop-brent-2 2026-02-20 16:30:11 +00:00
brent.edwards 96b5704c8a Merge branch 'feature/m3-config-cli' into develop-brent-2
# Conflicts:
#	src/cleveragents/cli/main.py
2026-02-20 16:29:54 +00:00
brent.edwards 881750ad54 Merge branch 'feature/m3-session-cli' into develop-brent-2 2026-02-20 16:29:16 +00:00
brent.edwards 06c01a1d7b Merge branch 'feature/m1-persistence-tests-robot' into develop-brent-2 2026-02-20 16:29:11 +00:00
freemo 773f1b8fd7 Docs: Updated the implementation plan 2026-02-20 10:58:51 -05:00
freemo 174e117d8e refactor(automation): remove automation_level legacy fields 2026-02-20 15:57:21 +00:00
freemo 81162bfe91 feat(skill): add inline tool executor 2026-02-20 08:50:08 -05:00
freemo c0eb9d1efd feat(skill): add skill context and registry 2026-02-20 08:50:08 -05:00
freemo b18bace06b feat(skill): add skill protocol and metadata 2026-02-20 08:50:08 -05:00
freemo 3bd02a7c6e feat(cli): add automation-profile commands
Add CLI command group `agents automation-profile` with add, remove,
list, and show subcommands for managing automation profiles that
control plan execution autonomy.

Changes:
- New `automation_profile.py` CLI module with YAML config input,
  schema_version guard, namespaced name validation, --update support,
  and all output formats (json/yaml/plain/table/rich)
- Register automation-profile in main CLI app
- Add deprecation warnings for --automation-level on plan use and
  set-automation-level commands
- Update CLI reference docs with command examples, built-in profiles
  list, and deprecation notes
- 26 Behave scenarios covering all commands and error paths
- 9 Robot Framework integration smoke tests
- ASV benchmarks for CLI parsing performance
- Mark A6.cli items complete in implementation_plan.md
2026-02-20 08:50:06 -05:00
freemo 46381750ab feat(cli): add tool and validation commands 2026-02-20 08:49:30 -05:00
freemo ad91b4e89d feat(cli): add resource tree and inspect commands
Add tree, inspect, link-child, and unlink-child subcommands to the
agents resource CLI group. Extend ResourceRegistryService with
link_child, unlink_child, get_children, and get_resource_tree methods.

- tree: display resource hierarchy with --depth, --type, and format options
- inspect: show resource details with --tree and --file options
- link-child/unlink-child: manage DAG edges with cycle detection
- 24 Behave scenarios, 4 Robot integration tests, ASV benchmarks
- CLI reference documentation in docs/reference/resource_cli.md
2026-02-20 08:48:33 -05:00
freemo 0ad18d4306 feat(actor): align actor registry persistence 2026-02-20 08:48:33 -05:00
brent.edwards 0dfdc02564 test(perf): add scale test fixtures 2026-02-20 03:31:43 +00:00
brent.edwards 558bcaf586 test(validation): add edge case suites 2026-02-20 02:54:08 +00:00
brent.edwards 04c8a886db feat(cli): add session commands 2026-02-20 01:10:19 +00:00
brent.edwards f182148d82 test(persistence): add Robot persistence coverage 2026-02-20 00:28:15 +00:00
brent.edwards 69a86858a7 feat(cli): add config get/set/list commands 2026-02-19 23:48:40 +00:00
brent.edwards 4f90d7703b test(cli): add Robot lifecycle CLI coverage 2026-02-19 22:44:34 +00:00
brent.edwards 2ba753c799 test(domain): add subplan model suites 2026-02-19 22:07:56 +00:00
brent.edwards 83dcfe35dc docs(qa): add review playbook and priority matrix 2026-02-19 22:00:53 +00:00
khyari hamza 81928ce0f4 docs(plan): mark SEC7 audit logging items complete 2026-02-19 19:23:30 +00:00
khyari hamza bab4560dde feat(ops): add cleanup commands 2026-02-19 13:46:48 +00:00
khyari hamza eccaeafa64 docs(plan): mark SEC5 secrets management items complete 2026-02-19 12:46:56 +00:00
aditya 436a4af6d7 docs(plan): mark C2.loader complete 2026-02-19 12:46:18 +00:00
aditya ef4ba36779 feat(actor): add actor registry and loader 2026-02-19 11:29:34 +00:00
aditya 3ea2413b43 Merge branch 'master' into feature/m3-actor-schema-examples
# Conflicts:
#	implementation_plan.md
2026-02-19 05:58:08 +00:00
brent.edwards 2dfad7ec71 Merge branch 'master' into develop-20260217
# Conflicts:
#	implementation_plan.md
2026-02-18 23:08:48 +00:00
brent.edwards 5331608d3f Merge pull request 'feat(cli): add version/info/diagnostics [H-23, CLI0.core]' (#86) from feature/m4-cli-core into master
Reviewed-on: cleveragents/cleveragents-core#86
2026-02-18 20:18:54 +00:00
freemo ca29259a3a Docs: Updated implementation plan 2026-02-18 12:57:31 -05:00
khyari hamza 94f370af6a docs(plan): mark H-23 quality gates as complete (coverage 97.7%) 2026-02-18 12:54:24 +00:00
aditya 7a670feed2 docs(plan): update implementation_plan for completed C1.examples task
- Mark all C1.examples checklist items as complete with actual line counts
- Add comprehensive implementation notes section for C1.examples
- Document key decisions: pattern-based organization, test reuse strategy, parallel execution detection, error compatibility
- Add development log entry with commit list and test results
- Document bug fixes: max_context_tokens, missing descriptions, step conflicts

Checklist: 22/22 items complete (docs, tests, benchmarks, quality, git, PR)
Test Results: Behave 25/25, Robot 16/16, ASV 7/7 all passing
2026-02-18 12:46:46 +00:00
khyari hamza 5371cd0f80 docs(plan): mark H-23 CLI0.core as complete 2026-02-18 12:19:14 +00:00
khyari hamza c0b51c445d docs(cli): add system command reference and diagnostics check list 2026-02-18 12:18:42 +00:00
aditya af38a6bf75 docs(plan): mark actor YAML examples as complete in C1.examples checklist
Update implementation_plan.md to reflect that 5 actor YAML example files
have been created under examples/actors/ during C1.schema implementation.

These examples were completed as part of C1.schema task.
Remaining work: documentation, test scenarios, integration tests, and benchmarks.
2026-02-18 06:41:18 +00:00
brent.edwards 24866b2244 Merge branch 'master' into develop-20260217 2026-02-18 03:27:00 +00:00