docs: add bash exclamation mark pitfall to steering file
This commit is contained in:
@@ -93,6 +93,7 @@ Ingestion jobs MUST include `source_id`, `source_type`, `ticker`, `company_id`,
|
|||||||
- The `competitor_relationships` table uses UUID company IDs — queries must join through `companies` to match by ticker
|
- The `competitor_relationships` table uses UUID company IDs — queries must join through `companies` to match by ticker
|
||||||
- The dashboard Docker build uses TypeScript strict mode — unused imports that pass local diagnostics will fail in CI
|
- The dashboard Docker build uses TypeScript strict mode — unused imports that pass local diagnostics will fail in CI
|
||||||
- Ingestion jobs require `source_id` from the `sources` table — don't just pass `ticker`
|
- Ingestion jobs require `source_id` from the `sources` table — don't just pass `ticker`
|
||||||
|
- **Bash `!` in passwords/strings**: Bash interprets `!` inside double quotes as history expansion. NEVER use double quotes around strings containing `!`. Use single quotes instead: `'St0nks0racl3!'`. For kubectl exec with psql, use: `kubectl exec ... -- psql -U postgres -c "ALTER USER x WITH PASSWORD '"'"'password!'"'"';"` (single-quote escaping trick)
|
||||||
|
|
||||||
## No Premature Simplification
|
## No Premature Simplification
|
||||||
Do NOT "simplify" code on impulse. When the urge arises to simplify a section, STOP and do this instead:
|
Do NOT "simplify" code on impulse. When the urge arises to simplify a section, STOP and do this instead:
|
||||||
|
|||||||
Reference in New Issue
Block a user