Skip to content

improve earnings-reviewer agent configs#152

Open
Lesego6 wants to merge 4 commits intoanthropics:mainfrom
Lesego6:main
Open

improve earnings-reviewer agent configs#152
Lesego6 wants to merge 4 commits intoanthropics:mainfrom
Lesego6:main

Conversation

@Lesego6
Copy link
Copy Markdown

@Lesego6 Lesego6 commented May 9, 2026

What changed

  • Switch transcript-reader model from claude-opus-4-7 to claude-sonnet-4-6 (sufficient for JSON extraction, ~5x cheaper)
  • Add temperature, max_tokens, and timeout_seconds to both agents
  • Inline orchestrator system prompt (replaces fragile system.file + append pattern)
  • Scope FactSet/Daloopa MCP toolsets to named read-only tools only
  • Disable write/edit on orchestrator — only note-writer holds Write
  • Fix guidance_notes regex to allow ~, +, = characters common in earnings language
  • Replace relative skills path (../../../) with ${WORKSPACE_ROOT}-anchored path
  • Add explicit note that subagents/model-updater.yaml needs to be created

Why

The original configs had no token budgets, a prompt-injection risk via external system prompt file, and overly broad MCP tool access. See inline YAML comments for details.

Testing

  • Deploy to staging with a test ticker
  • Confirm transcript-reader schema validation rejects bad output
  • Confirm orchestrator cannot call Daloopa write tools

Lesego6 added 4 commits May 9, 2026 03:53
Updated the note-writer configuration to enhance clarity on tasks and inputs, including detailed instructions for writing notes and populating models.
Updated model name and configuration for earnings extraction.
Updated the earnings-reviewer agent configuration with detailed comments and structured the orchestration process for subagents, including security and output handling.
Updated model to claude-sonnet-4-6 for cost efficiency and improved extraction quality. Adjusted output schema requirements and guidance notes for better clarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant