Remove page number and document name references from agent feedback

Add explicit no-citations instructions to all 5 agent prompts to prevent
Gemini from including page numbers, document names, or source citations
in analysis feedback. These references were unhelpful since the system
doesn't use RAG and users cannot action them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
michael 2026-02-16 08:39:41 -06:00
parent 60ac3ab22e
commit 6bd8a03a15
5 changed files with 11 additions and 3 deletions

View file

@ -129,7 +129,9 @@ Analyze the uploaded proof against the {brand} brand specification above, checki
7. **Accessibility**: Check for legible font sizes, proper contrast, and appropriate use of special typography elements per guidelines.
Provide your analysis as a JSON object. Be specific about any issues found and reference the relevant guideline sections.
Provide your analysis as a JSON object. Be specific about any issues found.
IMPORTANT: Do NOT include page numbers, document names, or source citations in your feedback (e.g., no "Page 10", "per Page 12", "Social Media Guidelines Page 8"). All feedback must be self-contained and directly actionable without requiring users to look up external references.
RAG Status Guidelines:
- **Green**: Fully compliant with brand guidelines, no issues

View file

@ -122,7 +122,9 @@ Analyze the uploaded proof for adherence to channel best practices, checking:
- Are touch targets appropriately sized?
- Does it account for thumb-zone navigation?
Provide your analysis as a JSON object. Be specific about any issues found and reference the relevant guideline sections.
Provide your analysis as a JSON object. Be specific about any issues found.
IMPORTANT: Do NOT include page numbers, document names, or source citations in your feedback (e.g., no "Page 10", "per Page 12", "Social Media Guidelines Page 8"). All feedback must be self-contained and directly actionable without requiring users to look up external references.
RAG Status Guidelines:
- **Green**: Fully aligned with best practices, optimized for the channel

View file

@ -128,7 +128,9 @@ Analyze the uploaded proof for technical specification compliance, checking:
- Video/animation format requirements (if applicable)
- Frame rate and duration limits (if applicable)
Provide your analysis as a JSON object. Be specific about any technical issues and reference the relevant specification.
Provide your analysis as a JSON object. Be specific about any technical issues found.
IMPORTANT: Do NOT include page numbers, document names, or source citations in your feedback (e.g., no "Page 10", "per Page 12", "Digital Guidelines Page 8"). All feedback must be self-contained and directly actionable without requiring users to look up external references.
RAG Status Guidelines:
- **Green**: Fully compliant with all technical specifications

View file

@ -145,6 +145,7 @@ Your summary should:
- Start with a one-line verdict statement
- List key issues as bullet points (max 3-5 bullets)
- Each bullet: one sentence, actionable
- Do NOT include page numbers, document names, or source citations. Keep all feedback self-contained and actionable.
- For 'Passed': briefly note any amber items in 1-2 bullets
{revision_context}
Here are the specialist reviews:

View file

@ -146,6 +146,7 @@ If the proof is nonsensical, not a marketing material, or cannot be analyzed, se
- Keep feedback brief and scannable
- Use bullet points for each finding
- Each bullet should be one actionable sentence
- Do NOT include page numbers, document names, or source citations (e.g., no "Page 10", "per the Legal Guidelines"). Feedback must be self-contained and actionable.
- Start with the issue, then the requirement
- Example: "Missing APR disclaimer - add representative APR per FCA requirements"
"""