Commit Graph

1524 Commits

Author SHA1 Message Date
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 0265b8c712 Docs: Added JINJA2 details to docs 2026-02-20 15:57:21 +00: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 e8704249d0 Merge pull request 'ci(CI.yml): code changes against develop will run CI' (#124) from develop-brent-1 into master
Reviewed-on: cleveragents/cleveragents-core#124
2026-02-19 23:10:33 +00:00
brent.edwards 53902ba718 ci(CI.yml): code changes against develop will run CI
Added `develop-*` to the list of things that run CI
2026-02-19 22:50:30 +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
brent.edwards 4243ac8cff Merge pull request 'develop-hamza-1' (#123) from develop-hamza-1 into master
Reviewed-on: cleveragents/cleveragents-core#123
2026-02-19 20:27:15 +00:00
khyari hamza eeb0d49377 test(security): add coverage for audit CLI, logging, and redaction edge cases
Add 22 new Behave scenarios covering:
- audit CLI commands (list, show, prune, count)
- audit service context manager and owned-session paths
- corrupt JSON details fallback in _row_to_entry
- configure_structlog dev/prod/invalid and get_logger
- redaction edge cases (empty key, empty URL, empty pattern,
  show_secrets bypass, nested dict processor)
2026-02-19 20:10:56 +00:00
khyari hamza 201be39632 fix(security): address review findings for audit logging 2026-02-19 19:23:30 +00:00
khyari hamza 81928ce0f4 docs(plan): mark SEC7 audit logging items complete 2026-02-19 19:23:30 +00:00
khyari hamza ae41167a1d feat(security): add audit logging for apply 2026-02-19 19:23:30 +00:00
khyari hamza abe3d43bea chore: WIP branch for feat(security): add audit logging for apply
Refs: H-22, SEC7.audit
Planned: Day 14
2026-02-19 19:23:30 +00:00
brent.edwards 4c4d87f11e Merge pull request 'testing airspeedvelocity' (#122) from mngrif-asv-test into master
Reviewed-on: cleveragents/cleveragents-core#122
2026-02-19 19:16:06 +00:00
mngrif f727baf5ea testing airspeedvelocity 2026-02-19 13:24:00 -05:00
mngrif 9a4e55cab0 testing airspeedvelocity 2026-02-19 12:48:31 -05:00
mngrif b19ac44573 testing airspeedvelocity 2026-02-19 12:28:49 -05:00
mngrif 65efa4bc9e testing airspeedvelocity 2026-02-19 12:17:03 -05:00
hamza.khyari 9244b96190 Merge pull request 'develop-hamza-1' (#120) from develop-hamza-1 into master
Reviewed-on: cleveragents/cleveragents-core#120
2026-02-19 15:40:44 +00:00
hamza.khyari 708574912e Merge pull request 'feat(ops): add cleanup commands [H-24, CONC3]' (#117) from feature/m4-concurrency-cleanup into develop-hamza-1
Reviewed-on: cleveragents/cleveragents-core#117
2026-02-19 14:22:23 +00:00
khyari hamza cea3bad758 refactor(ops): address re-review findings for cleanup commands
- Use model_copy(update=...) in test helpers so Pydantic ge=
  validators are enforced during tests, not just env vars (NEW-1)
- Promote _extract_plan_id_from_sandbox to public staticmethod
  and reuse in CLI active-plan detection to eliminate duplicate
  plan-ID parsing logic (NEW-2)
- Cache _get_sandbox_dirs result for service instance lifetime
  and have CLI active-plan detection use the cached listing so
  /tmp is iterated only once per invocation (NEW-3)
2026-02-19 14:20:16 +00:00
khyari hamza f4c088bae8 fix(ops): address review findings for cleanup commands
- Add best-effort active plan detection from sandbox mtimes to
  protect running plans from cleanup (B1)
- Add ge= validators on all retention settings to prevent unsafe
  negative/zero values; checkpoint max requires ge=2 (B3, NB6)
- Handle CoW sandbox plan_id extraction (ca-cow-sandbox- prefix)
  so copy-on-write sandboxes are also protected (NB4)
- Add OSError guards in sandbox dir iteration for race safety (NB7)
- Add TODO markers and CLI notice for unimplemented session cleanup (NB1)
- Rebase onto develop-hamza-1 to incorporate SEC5 changes (B2)
2026-02-19 13:58:39 +00:00
khyari hamza bab4560dde feat(ops): add cleanup commands 2026-02-19 13:46:48 +00:00
khyari hamza bd38a00cf0 chore: WIP branch for feat(ops): add cleanup commands
Refs: H-24, CONC3.gc
Planned: Day 13
2026-02-19 13:46:48 +00:00
hamza.khyari 4eda3b6453 Merge pull request 'feat(security): add secrets masking and validation (H-21/SEC5)' (#116) from feature/m4-security-secrets into develop-hamza-1
Reviewed-on: cleveragents/cleveragents-core#116
2026-02-19 13:45:28 +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
khyari hamza 064939185b fix(security): whitelist structlog processor method_name for vulture 2026-02-19 12:45:59 +00:00
aditya ef4ba36779 feat(actor): add actor registry and loader 2026-02-19 11:29:34 +00:00
khyari hamza d815339c52 feat(security): add secrets masking and validation (H-21/SEC5)
Implement centralized redaction utility that masks API keys, tokens,
and credentials across CLI output, structlog logs, and error messages.

- Add shared/redaction.py with pattern-based secret detection (sk-*,
  sk-ant-*, tok_*, Bearer tokens), sensitive key name detection,
  database URL masking, custom pattern registration, and thread-safe
  global show_secrets flag
- Add config/logging.py with structlog configuration integrating the
  secrets_masking_processor into the processor chain
- Add --show-secrets global CLI option to reveal secrets when needed
- Redact error details in main.py, project.py, and auto_debug.py
  error handlers before printing
- Wrap format_output() in formatting.py with automatic dict redaction
- Add show_secrets field and safe __repr__ to Settings model
- Add 43-scenario Behave feature (features/security_secrets.feature)
- Add 10 Robot Framework smoke tests (robot/security_secrets.robot)
- Add ASV benchmarks (benchmarks/security_secrets_bench.py)
- Add reference docs (docs/reference/secrets_handling.md)
2026-02-19 11:15:18 +00:00
khyari hamza 359e3c4af2 chore: WIP branch for feat(security): add secrets masking and validation
Refs: H-21, SEC5.secrets
Planned: Day 13
2026-02-19 11:14:43 +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 93f96a074e Merge pull request 'A merge of nine sets of code.' (#101) from develop-20260217 into master
Reviewed-on: cleveragents/cleveragents-core#101
2026-02-19 01:59:57 +00:00