docs(actor): update schema.py module docstring #286

Closed
opened 2026-02-22 23:40:55 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit: docs(actor): update schema.py module docstring
  • Branch: feature/m3-actor-schema

Subtasks

  • Author docs/schema/actor.schema.yaml with graph nodes, tool nodes, and skill references.
  • Add hierarchical actor examples under examples/actors/ (single LLM, graph with tool nodes, nested actor).
  • Add schema loader in src/cleveragents/actor/schema.py with validation and clear errors.
  • Tests (Behave): Add features/actor_schema.feature scenarios for valid/invalid YAML.
  • Tests (Robot): Add robot/actor_schema.robot to load and validate examples.
  • Tests (ASV): Add benchmarks/actor_schema_bench.py for schema validation throughput.
  • Run nox (all default sessions, including benchmark), fix any errors if needed ensuring nox passes.
  • Verify coverage >=97% via nox -s coverage_report. If coverage is <97% then review the current unit test coverage report at build/coverage.xml and use it to write new Behave based unit tests to improve code coverage. Specifically, write Behave style unit tests that are descriptively named and specifically improves coverage on whichever file has the most uncovered lines by writing tests that will target the uncovered lines in the report. Once that is done rerun nox -s coverage_report to verify all tests pass and coverage is above >=97%. Only mark this as complete once coverage is >=97%, if not repeat this task as many times as is needed until coverage reaches >=97%.

Section: ### Section 5: Actors, Skills & Tool Execution [WORKSTREAM C - Aditya Lead]
Status: Completed

## Metadata - **Commit**: `docs(actor): update schema.py module docstring` - **Branch**: `feature/m3-actor-schema` ## Subtasks - [x] Author `docs/schema/actor.schema.yaml` with graph nodes, tool nodes, and skill references. - [x] Add hierarchical actor examples under `examples/actors/` (single LLM, graph with tool nodes, nested actor). - [x] Add schema loader in `src/cleveragents/actor/schema.py` with validation and clear errors. - [x] Tests (Behave): Add `features/actor_schema.feature` scenarios for valid/invalid YAML. - [x] Tests (Robot): Add `robot/actor_schema.robot` to load and validate examples. - [x] Tests (ASV): Add `benchmarks/actor_schema_bench.py` for schema validation throughput. - [x] Run `nox` (all default sessions, including benchmark), fix any errors if needed ensuring nox passes. - [x] Verify coverage >=97% via `nox -s coverage_report`. If coverage is <97% then review the current unit test coverage report at `build/coverage.xml` and use it to write new Behave based unit tests to improve code coverage. Specifically, write Behave style unit tests that are descriptively named and specifically improves coverage on whichever file has the most uncovered lines by writing tests that will target the uncovered lines in the report. Once that is done rerun `nox -s coverage_report` to verify all tests pass and coverage is above >=97%. Only mark this as complete once coverage is >=97%, if not repeat this task as many times as is needed until coverage reaches >=97%. **Section**: ### Section 5: Actors, Skills & Tool Execution [WORKSTREAM C - Aditya Lead] **Status**: Completed
freemo added this to the v3.1.0 milestone 2026-02-22 23:40:55 +00:00
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.

Blocks
#354 Epic: Actor & Skill Schema + CLI (C0)
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core#286
No description provided.