Skip to content

[Important] Proactive Environment Monitoring #128

@gromdimon

Description

@gromdimon

Summary

Product spec promises Luca detects situation changes and conflicts proactively. Currently, Luca is purely reactive - only responds to NEW messages.

Priority: 🟡 Important | Phase: 2 | Effort: 4 weeks


Problem

Missing capabilities:

  1. Deadline Monitoring - No warning about approaching/overdue tasks
  2. Conflict Detection - No scheduling conflict alerts
  3. Situation Change Detection - No re-analysis when context shifts
  4. Proactive Suggestions - No "you might want to..." alerts

Proposed Solution

Phase 1: Deadline Monitoring (Week 1)

  • Track upcoming task deadlines (24-48h)
  • Warn about approaching/overdue tasks
  • Detect deadline mentions that contradict existing tasks

Phase 2: Conflict Detection (Week 2)

  • Two tasks at same time
  • Contradictory agreements ("told John 3pm, told Sarah 3pm")
  • Resource conflicts (can't be in two places)

Phase 3: Situation Change Detection (Week 3)

  • Re-analyze recent conversations every 6h
  • Detect "actually, let's meet Thursday not Friday"
  • Parse new deadlines affecting existing plans

Phase 4: Proactive Suggestions (Week 4)

  • "Deadline approaching: 2 days left"
  • "Conflict: Mike wants Thursday 2pm, you have Client call"
  • "Sarah hasn't replied in 48h - chase?"

Example Alert

### ⏰ DEADLINE ALERTS

**OVERDUE**:
- Task #123: Send contract to Sarah (was due yesterday 5pm)

**DEADLINE CHANGED**:
- John asked for proposal "by tomorrow" (was Friday)
  Action: Update task deadline?

Success Metrics

  • 95%+ deadline shifts correctly identified
  • 100% scheduling conflicts detected
  • 0 missed deadlines due to lack of reminders

References

  • Product Spec: docs/PRODUCT.md - Lines 63-66, 146-152
  • Implementation: luca/agents/secretary-monitor.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions