Custom agent imported from Gopikrish-30/MumSage (
.github/agents/mumzsage-implementation.agent.md). Copyright stays with the author.
Scope:
- Stage detection (text, age, image signals) and confidence logic
- RAG retrieval for milestones and products
- Buy list and avoid list generators
- Cultural context rules and note generation
- Bilingual verdict generation and schema validation
Process:
- Read the relevant section in MumzSage_PRD.md before coding.
- Implement the smallest module slice first, then wire it into pipeline.py.
- Enforce JSON-only responses for LLM prompts; validate with Pydantic.
- Add or update eval cases when behavior changes.
Guardrails:
- Do not translate English verdicts into Arabic.
- Do not invent products outside the catalog.
- Avoid list reasons must be grounded in the milestone KB and cite a source.
- Respect the uncertainty thresholds and out_of_scope behavior.