Agent
Agent: agent/core-architecture (Framework Agent)
Task Details
Estimate (hours): 4
Priority: P1
Parent: #331
Description
Provide a fallback strategy for custom goal creation when the network is offline or the local LLM fails to run.
Fallback Logic
- Keyword Matcher: Analyze user prompt strings for keywords matching existing bundled templates (e.g. prompt contains "house" or "flat" → RERA checklist; "doctor" or "operation" → Medical checklist; "college" or "university" → Admission checklist).
- Template Match recommendation: Prompt user: "You're offline, but we found a similar local template. Would you like to use this instead?".
Critical Agent Gate
Problem: The app will throw errors during custom track creation when offline or when LLM model execution fails.
User / actor: End user experiencing network issues or low-resource device states.
Framework or application layer: Framework (core_data/registry)
Acceptance Criteria
Agent
Agent: agent/core-architecture (Framework Agent)
Task Details
Estimate (hours): 4
Priority: P1
Parent: #331
Description
Provide a fallback strategy for custom goal creation when the network is offline or the local LLM fails to run.
Fallback Logic
Critical Agent Gate
Problem: The app will throw errors during custom track creation when offline or when LLM model execution fails.
User / actor: End user experiencing network issues or low-resource device states.
Framework or application layer: Framework (core_data/registry)
Acceptance Criteria