PIL codebase reader tool

t-265.4·WorkTask·
·
·
Parent:t-265·Created2 months ago·Updated2 months ago

Description

Edit

Enable Ava to read PodcastItLater source code for context.

Context

Ava needs to understand PodcastItLater's codebase to provide accurate context when doing customer acquisition - understanding features, pricing, how it works, etc.

Requirements

The existing read_file tool in Omni/Agent/Tools.hs can already read files. This task is about: 1. Adding read_file to Ava's tool list if not present 2. Documenting which PIL files are most relevant for Ava

Key PIL Files for Ava

  • Biz/PodcastItLater.md - Main README with features
  • Biz/PodcastItLater/DESIGN.md - Architecture overview
  • Biz/PodcastItLater/Web.py - Web interface code
  • Biz/PodcastItLater/Core.py - Core logic
  • Biz/PodcastItLater/Billing.py - Pricing/billing logic

Implementation

1. Check if read_file tool is in Telegram agent's tool list 2. If not, add it to the tools list in Omni/Agent/Telegram.hs 3. Update Ava's system prompt to mention PIL codebase access

System Prompt Addition

Add to telegramSystemPrompt in Omni/Agent/Telegram.hs:

## podcastitlater context

you can read the PodcastItLater codebase to understand the product:
- Biz/PodcastItLater.md - product overview
- Biz/PodcastItLater/DESIGN.md - architecture
- Biz/PodcastItLater/Web.py - web interface
- Biz/PodcastItLater/Billing.py - pricing

use read_file tool to access these when discussing PIL features.

Files to Modify

  • Omni/Agent/Telegram.hs (add tool + prompt section)

Verification

  • bild Omni/Agent/Telegram.hs
  • Manual test: Ask Ava about PIL features, verify it reads files

Timeline (2)

🔄[human]Open → InProgress2 months ago
🔄[human]InProgress → Done2 months ago