Files
cleveragents-core/examples/actors/estimator.yaml
T
freemo e03fd2956d
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 18s
CI / lint (pull_request) Failing after 18s
CI / helm (pull_request) Successful in 24s
CI / typecheck (pull_request) Failing after 52s
CI / security (pull_request) Failing after 53s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / unit_tests (pull_request) Failing after 1m48s
CI / docker (pull_request) Has been skipped
CI / quality (pull_request) Successful in 3m42s
CI / e2e_tests (pull_request) Failing after 13m56s
CI / integration_tests (pull_request) Failing after 21m12s
CI / status-check (pull_request) Failing after 2s
test(actors): fix actor examples missing provider fields and incorrect name
Add missing provider: field to all actor examples in examples/actors/.
Fix llm_with_tools.yaml actor name from assistants/file_analyzer to
local/assistants-file_analyzer (custom actors must use local/ namespace
and cannot contain two slashes).

Add validate-all command to helper_actor_examples.py that uses ActorLoader
to validate all examples via business logic checks. Add integration test
Validate All Actor Examples Import Without Errors to actor_examples.robot
that confirms every example in examples/actors/ can be imported without
errors.

ISSUES CLOSED: #1504
2026-04-02 23:31:25 +00:00

64 lines
1.4 KiB
YAML

# Estimation Actor Example
# Produces structured cost/risk/duration estimates prior to execution.
name: local/estimator
type: llm
description: Generates pre-execution effort, duration, and risk estimates for implementation planning
version: "1.0"
provider: openai
model: gpt-4
role_hint: estimation
context_view: strategist
system_prompt: |
You are an estimation specialist.
Assess the requested work and produce:
- Effort estimate (hours and confidence)
- Duration estimate (best/likely/worst case)
- Risk assessment with severity and mitigation suggestions
- Key assumptions and unknowns
Return JSON-shaped output suitable for machine parsing.
response_format:
"$schema": "https://json-schema.org/draft/2020-12/schema"
title: EstimationReport
type: object
required:
- cost_hours
- duration_days
- risk_level
- confidence
- assumptions
properties:
cost_hours:
type: number
minimum: 0
duration_days:
type: number
minimum: 0
risk_level:
type: string
enum: [low, medium, high]
confidence:
type: number
minimum: 0
maximum: 1
assumptions:
type: array
items:
type: string
mitigation_suggestions:
type: array
items:
type: string
additionalProperties: false
tools:
- files/read_file
- files/list_directory
skills:
- local/file-ops