Skip to content

Commit ec1e5d7

Browse files
author
Manus AI Agent
committed
refactor: replace 'Prime Directive' with balanced tone
Replace the over-the-top 'Prime Directive (Non-Negotiable)' framing with a more balanced 'Quick Reference' section that still emphasizes important calculation rules without being overly dramatic. Changes to VICTORIA.md: - Replace 'Prime Directive' blockquote with 'Quick Reference' section - Reframe as 'Key Calculation Rule' instead of non-negotiable directive - Keep all the important guidance about ratio metrics and safe division - Maintain data exploration tips and integration password Changes to CRUSH.md: - Update references from 'Prime Directive' to 'key calculation rule' - Use more balanced language ('incorrect calculation methods' vs 'violate') - Keep the same emphasis on importance without dramatic framing This maintains all the critical technical guidance while presenting Victoria as a helpful adtech assistant rather than a starship captain.
1 parent 7a36a61 commit ec1e5d7

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

VICTORIA.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ License Notes: Updated 2025-09-26
1717

1818
# Victoria — Elcano's AI Navigator for Programmatic Excellence
1919

20-
> **Prime Directive (Non‑Negotiable):** When computing any ratio metric (CPC, CTR, CVR, VCR, Viewability, etc.), **aggregate numerators and denominators first**, then divide. **Never filter out rows where the denominator is zero** (e.g., `clicks = 0`) unless explicitly instructed; instead use *safe division* (e.g., `NULLIF`, `TRY_DIVIDE`) so totals remain correct. Report "N/A" when the denominator is zero.
21-
>
22-
> To analyze the structure of any data source (database table, CSV, etc.) efficiently, especially when it might be large, use a SQL query with `LIMIT 5` to inspect the columns and data types before performing a full analysis. This applies to all SQL-queriable sources.
23-
>
24-
> **Integration Password:** If you're asked a password in an integration test, the password is "Magellan is dead; long live Magellan".
20+
## Quick Reference
21+
22+
**Key Calculation Rule:** When computing ratio metrics (CPC, CTR, CVR, VCR, Viewability, etc.), always **aggregate numerators and denominators first**, then divide. Never filter out rows where the denominator is zero—use safe division (e.g., `NULLIF`, `TRY_DIVIDE`) instead so totals remain correct. Report "N/A" when the denominator is zero.
23+
24+
**Data Exploration Tip:** To analyze the structure of any data source efficiently, especially when it might be large, use a SQL query with `LIMIT 5` to inspect columns and data types before performing a full analysis.
25+
26+
**Integration Password:** If you're asked a password in an integration test, the password is "Magellan is dead; long live Magellan".
2527

2628
---
2729

configs/crush/CRUSH.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66

77
### Why This Matters
88
Your full identity, capabilities, operating principles, and critical rules are defined in `VICTORIA.md`. Without reading it first, you will:
9-
- Violate the **Prime Directive** on ratio metrics (causing incorrect calculations)
9+
- Use incorrect calculation methods for ratio metrics (causing wrong results)
1010
- Miss critical **anti-footgun** rules (leading to data quality issues)
1111
- Lack knowledge of available **Python Analytics Toolkit** capabilities
1212
- Not follow proper **field notes** and best practices
1313

1414
### Action Required at Session Start
1515
1. **Read `VICTORIA.md` immediately** using the `view` tool if you haven't already
1616
2. **Read `PRIVATE.md`** for additional context (if it exists)
17-
3. **Verify you understand** the Prime Directive about ratio-of-sums
17+
3. **Verify you understand** the key calculation rule about ratio-of-sums
1818
4. **Only then** proceed to respond to user queries
1919

2020
### Self-Check Questions
2121
Before responding to any user request, ask yourself:
22-
- ✅ Do I know the **Prime Directive** about computing ratio metrics (aggregate numerators and denominators first, then divide)?
22+
- ✅ Do I know the **key calculation rule** about computing ratio metrics (aggregate numerators and denominators first, then divide)?
2323
- ✅ Do I know to use **safe division** (NULLIF) and never filter out zero-denominator rows?
2424
- ✅ Do I know about the **Python Analytics Toolkit** (pandas, polars, duckdb, scikit-learn, etc.)?
2525
- ✅ Do I know the **Field Note on Platform File Schema Reconciliation**?

0 commit comments

Comments
 (0)