Commit Graph

1442 Commits

Author SHA1 Message Date
freemo be4d32d550 feat(tool): add tool registry persistence 2026-02-17 20:18:04 -05:00
brent.edwards 4a200faf11 feat: merge branch 'master' into feature/m3-skill-cli 2026-02-18 01:08:52 +00:00
freemo 5480cd36fd feat(project): add context policy model 2026-02-17 20:07:38 -05:00
freemo 9464ec6285 feat(domain): add automation profile model and built-ins 2026-02-17 20:07:34 -05:00
freemo 093204a703 feat(resource): add fs-mount and fs-directory types 2026-02-17 20:07:31 -05:00
freemo 02d384d209 fix(lint): narrow docstring tables to 88-char line limit
Fix 25 E501 line-too-long violations in RST/markdown docstring tables
across resource.py, tool.py, models.py, and lifecycle.py. Also fix
invalid test expectation in project_commands_coverage.feature where
project list with no database was expected to abort but now succeeds
with an empty list after the redesign.
2026-02-17 20:07:26 -05:00
brent.edwards 3598924d6f test(cov): add skill CLI and service coverage scenarios
Add 19 behave scenarios covering uncovered paths in skill_service.py
and cli/commands/skill.py to bring coverage above the 97% threshold:
- show with includes, MCP servers, agent_skills, inline tools, Referenced By
- tools with mixed MCP/inline sources
- list with non-local namespaces
- remove without --yes (abort path)
- update with dependent skills (Affected Actors panel)
- service edge cases: skill_count, empty names, source filtering, no config_path
- add with missing-description YAML (validation failure)
2026-02-18 01:03:11 +00:00
brent.edwards 686c834602 feat: merge branch 'master' into feature/m3-tool-domain-robot 2026-02-17 17:02:27 -08:00
brent.edwards c985b3435e feat: merge branch 'master' into feature/m3-skill-schema 2026-02-18 00:46:23 +00:00
brent.edwards 066e3c248c feat: merge branch 'master' into feature/m3-session-persistence 2026-02-18 00:45:19 +00:00
brent.edwards b528cde8e7 feat: merge branch 'master' into feature/m1-persistence-tests 2026-02-18 00:43:28 +00:00
brent.edwards 60d10cef7c Merge branch 'master' into feature/m1-cli-tests 2026-02-18 00:42:19 +00:00
brent.edwards c8fa6f716d style(ruff-format): ruff format run
One file repaired.
2026-02-18 00:39:41 +00:00
brent.edwards 1fbc062b48 style(format): 1 file reformatted 2026-02-18 00:34:44 +00:00
freemo 740e08b2a4 Docs: Updated ADRs and specification to include details about standards 2026-02-17 19:31:27 -05:00
brent.edwards 8416962bea feat: merge branch 'master' into feature/m3-skill-schema 2026-02-18 00:31:14 +00:00
brent.edwards 9e9f229b3a fix(test): commit edge row so delete step sees it in its own session
The "Deleting a resource with edges is rejected" scenario was failing
because the ResourceEdgeModel row was flushed but never committed.
Since ResourceRepository.delete() obtains its own session from the
factory, the uncommitted edge was invisible and ResourceHasEdgesError
was never raised.
2026-02-18 00:28:29 +00:00
brent.edwards b1c011702f feat: merge branch 'master' into feature/m3-skill-domain-robot 2026-02-18 00:21:04 +00:00
CoreRasurae 47cad3c77b feat(session): add session persistence and repositories 2026-02-18 00:10:15 +00:00
brent.edwards ea7fcc0ba0 fix(test): resolve AmbiguousStep collision, invalid ULIDs, and edge commit
Three issues prevented the behave suite from running:

1. plan_persistence_steps.py and plan_repository_steps.py both defined
   @then('the retrieved plan description should be "..."'), causing an
   AmbiguousStep error that broke all ~50 feature files. Renamed the
   persistence step to "the persisted plan description should be".

2. The three-level hierarchy scenario used plan IDs containing O, I,
   and L which are excluded from the ULID charset. Replaced with valid
   characters (O->0, I->0, L->K).

3. resource_repository_steps.py flushed but never committed the edge
   row, so the delete method's separate session could not see it.
2026-02-18 00:09:56 +00:00
brent.edwards bd647d58cf fix(resource_repository_steps.py): add missing commit() statement 2026-02-18 00:04:09 +00:00
brent.edwards d950d48aa9 fix(resource_repository_steps.py): add missing commit() statement 2026-02-18 00:00:22 +00:00
brent.edwards 2840514729 feat: Merge branch 'master' into feature/m1-resource-db-robot-tests 2026-02-17 15:59:22 -08:00
brent.edwards d24079f129 fix(resource_repository_steps.py): add missing commit() statement 2026-02-17 23:58:10 +00:00
brent.edwards 6c7bcab01e feat: merge branch 'master' into feature/m3-session-domain-robot 2026-02-17 15:56:13 -08:00
brent.edwards 9db88a9541 fix(test): commit edge row so delete step sees it in its own session
The "Deleting a resource with edges is rejected" scenario was failing
because the ResourceEdgeModel row was flushed but never committed.
Since ResourceRepository.delete() obtains its own session from the
factory, the uncommitted edge was invisible and ResourceHasEdgesError
was never raised.
2026-02-17 23:38:45 +00:00
brent.edwards cdbd0bdd23 feat: merge branch 'master' into feature/m3-skill-cli 2026-02-17 22:45:44 +00:00
brent.edwards 08c911a41d Merge pull request 'feature/m3-actor-schema-examples' (#93) from feature/m3-actor-schema-examples into master
Reviewed-on: cleveragents/cleveragents-core#93
2026-02-17 22:31:32 +00:00
brent.edwards da40bff33d fix(test): commit edge row so delete step sees it in its own session
The "Deleting a resource with edges is rejected" scenario was failing
because the ResourceEdgeModel row was flushed but never committed.
Since ResourceRepository.delete() obtains its own session from the
factory, the uncommitted edge was invisible and ResourceHasEdgesError
was never raised.
2026-02-17 22:26:38 +00:00
brent.edwards a7ed08a4f3 fix(test): commit edge row so delete step sees it in its own session
The "Deleting a resource with edges is rejected" scenario was failing
because the ResourceEdgeModel row was flushed but never committed.
Since ResourceRepository.delete() obtains its own session from the
factory, the uncommitted edge was invisible and ResourceHasEdgesError
was never raised.
2026-02-17 22:20:06 +00:00
brent.edwards 3d2cd05f56 test(tool): add robot tool model smoke tests 2026-02-17 21:14:46 +00:00
brent.edwards 5d2e70cff0 test(db): add resource registry robot smoke test 2026-02-17 21:07:54 +00:00
mngrif 642f757d02 testing airspeedvelocity 2026-02-17 15:59:21 -05:00
brent.edwards b9984cac57 Merge branch 'master' into feature/m3-actor-schema-examples 2026-02-17 12:58:19 -08:00
brent.edwards 5f77dd92cd build(merge): merge with master 2026-02-17 20:57:37 +00:00
brent.edwards 81e4ffe92a build(merge): merge with master 2026-02-17 20:54:52 +00:00
brent.edwards 8386ce0f76 Merge pull request 'feat(tool): add tool registry persistence' (#80) from feature/m3-tool-registry into master
Reviewed-on: cleveragents/cleveragents-core#80
2026-02-17 20:50:32 +00:00
mngrif fb055193c5 testing airspeedvelocity 2026-02-17 15:43:46 -05:00
brent.edwards bc5fa83d06 Merge branch 'master' into feature/m3-actor-schema-examples 2026-02-17 12:41:17 -08:00
brent.edwards 49362381bd Merge branch 'master' into feature/m3-skill-cli 2026-02-17 12:37:17 -08:00
brent.edwards 4f32daa740 test(session): add robot session model smoke tests 2026-02-17 20:33:53 +00:00
mngrif 033bfd04a7 testing airspeedvelocity 2026-02-17 15:30:07 -05:00
brent.edwards 53c41f904f Merge branch 'master' into feature/m3-skill-schema 2026-02-17 12:28:28 -08:00
CoreRasurae 798db9088e feat(tool): add tool registry persistence 2026-02-17 20:28:20 +00:00
brent.edwards f912a136b7 test(persistence): add plan/action persistence suites 2026-02-17 20:25:12 +00:00
brent.edwards b8d2bfe252 test(cli): expand lifecycle command coverage 2026-02-17 20:01:18 +00:00
brent.edwards f0815dd126 test(skill): add robot skill resolver smoke tests 2026-02-17 19:58:15 +00:00
mngrif 1f0db6e43a testing airspeedvelocity 2026-02-17 14:36:07 -05:00
mngrif f07afb23c7 testing airspeedvelocity 2026-02-17 14:15:04 -05:00
mngrif 8e2cd0f2e8 testing airspeedvelocity 2026-02-17 14:12:52 -05:00