feat: combined batch 2 — skill protocol/context/inline, automation legacy cleanup, CLI extensions #114

Closed
freemo wants to merge 16 commits from feature/jeff-combined-batch2 into master

16 Commits

Author SHA1 Message Date
freemo 291395cfff fix: resolve alembic multiple-heads and automation-level test from batch2 merge
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 19s
CI / typecheck (pull_request) Successful in 32s
CI / security (pull_request) Successful in 45s
CI / integration_tests (pull_request) Failing after 2m4s
CI / unit_tests (pull_request) Successful in 6m22s
CI / docker (pull_request) Successful in 38s
CI / coverage (pull_request) Successful in 12m54s
Two independent feature branches (A6.legacy and C3-actor-registry) both
created migrations descending from 71cd40eb661f, producing a fork that
Alembic could not resolve.  This caused every DB-touching test to fail
with MultipleHeads.

Changes:
- Add merge migration m001_merge_a6_002_c3_001 that unifies the two
  Alembic heads into a single linear history.
- Update the --automation-level deprecation test: since A6.legacy fully
  removed the CLI option, the scenario now asserts the flag is properly
  rejected (Typer already suggests --automation-profile).
2026-02-19 10:46:05 +00:00
freemo 99322e23c8 docs(plan): remove invalid C2.legacy task from implementation plan
CI / lint (pull_request) Successful in 14s
CI / quality (pull_request) Successful in 18s
CI / build (pull_request) Successful in 20s
CI / typecheck (pull_request) Successful in 31s
CI / security (pull_request) Successful in 35s
CI / integration_tests (pull_request) Failing after 1m30s
CI / unit_tests (pull_request) Failing after 3m33s
CI / docker (pull_request) Has been skipped
CI / coverage (pull_request) Failing after 10m13s
2026-02-19 09:17:41 +00:00
Jeff Merge 725ec682cc Merge remote-tracking branch 'origin/feature/m4-automation-legacy-cleanup' into feature/jeff-combined-batch2
# Conflicts:
#	src/cleveragents/cli/commands/plan.py
2026-02-19 09:16:50 +00:00
Jeff Merge 7f74596bd5 Merge remote-tracking branch 'origin/feature/m3-skill-protocol' into feature/jeff-combined-batch2 2026-02-19 09:16:12 +00:00
freemo 9361025659 feat(skill): add inline tool executor
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 22s
CI / typecheck (pull_request) Successful in 40s
CI / security (pull_request) Successful in 42s
CI / integration_tests (pull_request) Failing after 2m17s
CI / unit_tests (pull_request) Successful in 6m4s
CI / docker (pull_request) Successful in 38s
CI / coverage (pull_request) Successful in 12m10s
2026-02-19 09:03:59 +00:00
freemo 089bee4846 refactor(automation): remove automation_level legacy fields
CI / lint (pull_request) Successful in 14s
CI / quality (pull_request) Successful in 16s
CI / build (pull_request) Successful in 23s
CI / security (pull_request) Successful in 28s
CI / typecheck (pull_request) Successful in 39s
CI / integration_tests (pull_request) Failing after 3m2s
CI / unit_tests (pull_request) Successful in 3m56s
CI / docker (pull_request) Successful in 38s
CI / coverage (pull_request) Successful in 9m23s
2026-02-19 05:18:17 +00:00
freemo 94a78b3311 feat(skill): add skill context and registry
CI / lint (pull_request) Successful in 16s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 19s
CI / typecheck (pull_request) Successful in 29s
CI / security (pull_request) Successful in 29s
CI / integration_tests (pull_request) Failing after 2m8s
CI / unit_tests (pull_request) Successful in 3m39s
CI / docker (pull_request) Successful in 39s
CI / coverage (pull_request) Successful in 9m44s
2026-02-19 02:15:56 +00:00
freemo 6e440ba4db feat(skill): add skill protocol and metadata
CI / lint (pull_request) Successful in 20s
CI / build (pull_request) Successful in 19s
CI / quality (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 40s
CI / security (pull_request) Successful in 54s
CI / integration_tests (pull_request) Failing after 2m18s
CI / unit_tests (pull_request) Successful in 5m37s
CI / docker (pull_request) Successful in 1m1s
CI / coverage (pull_request) Successful in 25m1s
2026-02-19 00:38:10 +00:00
freemo b122b1ba40 fix(test): add sys.path setup to actor registry helper for merged branch
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 17s
CI / typecheck (pull_request) Successful in 28s
CI / security (pull_request) Successful in 29s
CI / integration_tests (pull_request) Failing after 2m18s
CI / unit_tests (pull_request) Successful in 6m3s
CI / docker (pull_request) Successful in 1m16s
CI / coverage (pull_request) Successful in 13m38s
The helper_actor_registry_persistence.py script was missing the
sys.path.insert() call that ensures the local src/ directory is
importable. Without it, the subprocess launched by Robot Framework
could import the Actor model from a stale editable install (which
lacks yaml_text, schema_version, compiled_metadata fields added by
the m3-actor-registry branch), causing JSONDecodeError when the
test tried to parse the crashed subprocess output as JSON.

Aligns with the pattern used by all other robot helper scripts.
2026-02-18 21:15:57 +00:00
Jeff Merge 042e0c5f27 Merge remote-tracking branch 'origin/feature/m4-automation-profiles-cli' into feature/jeff-combined-batch1 2026-02-18 19:02:10 +00:00
Jeff Merge 3ecd967088 Merge remote-tracking branch 'origin/feature/m3-tool-cli' into feature/jeff-combined-batch1 2026-02-18 19:01:32 +00:00
Jeff Merge 8a5f1d92f0 Merge remote-tracking branch 'origin/feature/m2-resource-cli-extensions' into feature/jeff-combined-batch1 2026-02-18 19:01:28 +00:00
freemo 5ec69a5421 feat(actor): align actor registry persistence
CI / lint (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 22s
CI / build (pull_request) Successful in 20s
CI / typecheck (pull_request) Successful in 39s
CI / security (pull_request) Successful in 40s
CI / integration_tests (pull_request) Failing after 3m39s
CI / unit_tests (pull_request) Successful in 8m33s
CI / docker (pull_request) Successful in 1m20s
CI / coverage (pull_request) Successful in 14m16s
2026-02-18 11:28:21 +00:00
freemo 5190108c35 feat(cli): add tool and validation commands
CI / lint (pull_request) Successful in 27s
CI / security (pull_request) Successful in 42s
CI / typecheck (pull_request) Successful in 43s
CI / quality (pull_request) Successful in 50s
CI / build (pull_request) Successful in 19s
CI / integration_tests (pull_request) Failing after 3m31s
CI / unit_tests (pull_request) Successful in 7m0s
CI / docker (pull_request) Successful in 1m3s
CI / coverage (pull_request) Failing after 20m44s
2026-02-18 10:50:13 +00:00
freemo 186d9c1113 feat(cli): add automation-profile commands
CI / lint (pull_request) Successful in 14s
CI / security (pull_request) Successful in 28s
CI / typecheck (pull_request) Successful in 30s
CI / quality (pull_request) Successful in 32s
CI / build (pull_request) Successful in 15s
CI / integration_tests (pull_request) Successful in 4m38s
CI / unit_tests (pull_request) Successful in 18m27s
CI / docker (pull_request) Successful in 41s
CI / coverage (pull_request) Successful in 1h10m6s
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-18 09:24:20 +00:00
freemo b9707ae165 feat(cli): add resource tree and inspect commands
CI / lint (pull_request) Successful in 25s
CI / quality (pull_request) Successful in 38s
CI / build (pull_request) Successful in 37s
CI / typecheck (pull_request) Successful in 44s
CI / security (pull_request) Successful in 56s
CI / integration_tests (pull_request) Failing after 3m5s
CI / unit_tests (pull_request) Successful in 8m50s
CI / docker (pull_request) Successful in 38s
CI / coverage (pull_request) Successful in 20m53s
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-18 07:23:56 +00:00