Files
cleveragents-core/examples/actors/estimator.yaml
aditya 2764fcef5c fix(actor,preflight,tests): resolve PR #975 review findings and stabilize full-suite coverage runs
Address review-driven fixes across actor schema, preflight guardrails, docs/examples,
and Behave/Robot coverage: unify preflight warning behavior with shared role-warning logic,
resolve actor-name to config payloads in production preflight flow, harden response_format
validation/coercion edge cases, extract duplicated helper logic, and expand negative-path
test coverage. Also fix cross-scenario patcher leakage in step modules to eliminate
full-run-only coverage failures.
2026-03-18 06:58:39 +00:00

63 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"
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