Skip to content

promote: moderation carve-out for ભાવફેર / PD / dividend explainers#73

Merged
KDwevedi merged 1 commit into
amul-prodfrom
main
May 20, 2026
Merged

promote: moderation carve-out for ભાવફેર / PD / dividend explainers#73
KDwevedi merged 1 commit into
amul-prodfrom
main

Conversation

@KDwevedi
Copy link
Copy Markdown
Collaborator

Promotes main (dev) → amul-prod.

What's in this promotion (1 commit)

  • b0977be fix(moderation): allow conceptual ભાવફેર / PD / dividend queries (fix(moderation): allow conceptual ભાવફેર / PD / dividend queries #72) — Tightens the moderation prompt so conceptual queries about Amul cooperative payment terms (ભાવફેર / PD / બોનસ / ડિવિડન્ડ) are classified valid_agricultural while personal balance lookups (મારી ... બાકી બતાવો) remain blocked.

Dev validation (already done)

  • Direct moderation harness in dev container: 15/15 representative queries → valid_agricultural.
  • E2E chat smoke (anonymous JWT, stream=false): 15/15 returned substantive grounded answers; no moderation blocks.

Divergence note

amul-prod is 4 commits "behind" main but those are all prior dev→prod merge commits (PRs #53, #67, #69, #71) — zero file drift. Safe straight merge.

Pairs with

  • voice-oan-api (paired moderation carve-out promotion).

🤖 Generated with Claude Code

"ભાવફેર શું છે?" was being blocked because the moderator
over-generalised the existing "મારી પેમેન્ટ/PD બાકી બતાવો"
hard-block to any payment-adjacent term, including the concept
ભાવફેર (Amul price-differential / rate-adjustment payment).

This is a legitimate cooperative-service explainer query. The
hard-block is supposed to stop personal-balance lookups (which
the agent can't fulfil), not conceptual questions.

Three surgical edits to moderation_system.md:
- Core policy bullet 5: add cooperative payment concepts
  (ભાવફેર, PD, બોનસ, ડિવિડન્ડ, rate adjustment) to the
  pass-through list.
- valid_agricultural category guide: explicitly call out
  explainer/conceptual questions about these terms as valid.
- Hard examples: scope the block to *personal balance lookups*
  ("મારી ... બાકી બતાવો") and explicitly carve out conceptual
  questions like "ભાવફેર શું છે?" as valid_agricultural.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
@KDwevedi KDwevedi merged commit f03f58d into amul-prod May 20, 2026
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