ECHO-743 fix dembrane with uppercase 'D' in chat, report, ECHO #547
Conversation
…emplates and documentation. Update system prompts to ensure consistent branding and improve clarity in user instructions.
WalkthroughThe PR standardizes platform branding across the codebase by updating "Dembrane Echo" references to lowercase "dembrane" in system prompts, templates, and user-facing text, with explicit style guardrails enforcing consistent lowercase capitalization regardless of sentence position. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
LGTM 🔥 Solid branding consistency pass across the board. The repetitive pattern (same lowercase guardrail applied systematically across 16+ language variants) keeps complexity down nicely. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
echo/tools/usage-tracker/src/usage_tracker/pdf_export.py (1)
1012-1012:⚠️ Potential issue | 🟡 MinorUpdate footer casing to match brand style.
Line 1012 uses "ECHO Usage Tracker" but the title above (line 450) is "dembrane Usage Report". Per STYLE_GUIDE.md, "dembrane" is always lowercase. Change footer to "dembrane Usage Tracker" for consistency.
Current line 1012
f"Generated by ECHO Usage Tracker · {date.today().strftime('%Y-%m-%d')}",🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@echo/tools/usage-tracker/src/usage_tracker/pdf_export.py` at line 1012, Update the footer string in pdf_export.py that currently reads f"Generated by ECHO Usage Tracker · {date.today().strftime('%Y-%m-%d')}" to use the brand's lowercase name; replace "ECHO Usage Tracker" with "dembrane Usage Tracker" (keep the existing f-string and date formatting intact) so the footer matches the title/casing used elsewhere.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@echo/server/prompt_templates/system_report.de.jinja`:
- Line 62: The German template contains mismatched curly quotes around the brand
occurrences `„dembrane"` and `„Dembrane"`; update those instances in
system_report.de.jinja to use matching German quotation marks (`„dembrane“` /
`„Dembrane“`) or switch both to straight ASCII quotes (`"dembrane"` /
`"Dembrane"`) to match the other language templates and keep punctuation
consistent across the file.
---
Outside diff comments:
In `@echo/tools/usage-tracker/src/usage_tracker/pdf_export.py`:
- Line 1012: Update the footer string in pdf_export.py that currently reads
f"Generated by ECHO Usage Tracker · {date.today().strftime('%Y-%m-%d')}" to use
the brand's lowercase name; replace "ECHO Usage Tracker" with "dembrane Usage
Tracker" (keep the existing f-string and date formatting intact) so the footer
matches the title/casing used elsewhere.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 21c60026-6ad0-49ee-ae54-7c9f44376abc
📒 Files selected for processing (27)
echo/agent/agent.pyecho/server/prompt_templates/generate_artifact.en.jinjaecho/server/prompt_templates/get_reply_system.de.jinjaecho/server/prompt_templates/get_reply_system.en.jinjaecho/server/prompt_templates/get_reply_system.es.jinjaecho/server/prompt_templates/get_reply_system.fr.jinjaecho/server/prompt_templates/get_reply_system.it.jinjaecho/server/prompt_templates/get_reply_system.nl.jinjaecho/server/prompt_templates/get_reply_system.uk.jinjaecho/server/prompt_templates/suggestions_system.en.jinjaecho/server/prompt_templates/system_chat.de.jinjaecho/server/prompt_templates/system_chat.en.jinjaecho/server/prompt_templates/system_chat.es.jinjaecho/server/prompt_templates/system_chat.fr.jinjaecho/server/prompt_templates/system_chat.it.jinjaecho/server/prompt_templates/system_chat.nl.jinjaecho/server/prompt_templates/system_chat.uk.jinjaecho/server/prompt_templates/system_report.de.jinjaecho/server/prompt_templates/system_report.en.jinjaecho/server/prompt_templates/system_report.es.jinjaecho/server/prompt_templates/system_report.fr.jinjaecho/server/prompt_templates/system_report.it.jinjaecho/server/prompt_templates/system_report.nl.jinjaecho/server/prompt_templates/system_report.uk.jinjaecho/tools/usage-tracker/src/usage_tracker/pdf_export.pyecho/tools/usage-tracker/src/usage_tracker/prompts/__init__.pyecho/tools/usage-tracker/src/usage_tracker/prompts/insights_system.j2
|
|
||
| Behalten Sie während des gesamten Artikels einen professionellen, journalistischen Ton bei. Die Sprache sollte klar, präzise und für ein allgemeines Publikum leicht verständlich sein. Vermeiden Sie umgangssprachliche Ausdrücke, Fachjargon oder übermäßig technische Begriffe, es sei denn, sie sind wesentlich und werden erklärt. | ||
|
|
||
| Wenn Sie auf die Plattform namentlich verweisen, schreiben Sie immer „dembrane" in Kleinbuchstaben, auch am Satzanfang. Schreiben Sie es nie als „Dembrane". |
There was a problem hiding this comment.
Nit: curly-quote mismatch around the brand name.
Using German opening „ with ASCII closing " — e.g. „dembrane" and „Dembrane". Should be „dembrane" / „Dembrane" (or just stick to straight "..." like the English/ES/NL siblings) for consistency. Harmless to the LLM, but the template reads cleaner with matched quotes.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@echo/server/prompt_templates/system_report.de.jinja` at line 62, The German
template contains mismatched curly quotes around the brand occurrences
`„dembrane"` and `„Dembrane"`; update those instances in system_report.de.jinja
to use matching German quotation marks (`„dembrane“` / `„Dembrane“`) or switch
both to straight ASCII quotes (`"dembrane"` / `"Dembrane"`) to match the other
language templates and keep punctuation consistent across the file.
Summary by CodeRabbit