read.markets/app
Giorgio Gilestro d47b310898 portfolio: drop rational/irrational + system-temperature from prompt
The base build_system_prompt() bakes in two artefacts that read fine
in the daily strategic log but cause repeated reviewer rejections on
the portfolio surface:

- The "Rational vs irrational" framework, which the model translates
  into IT/ES/FR/DE variants ("Razionalmente / Irrazionalmente",
  "Razionale se / Irrazionale se", etc.). Haiku reads the parallel
  contrast lists as the author working through their reasoning on
  the page and rejects as scratchpad.
- The mandatory "System temperature: [label] — …" closing line,
  which Haiku correctly flags as meta-commentary on this surface
  (it has no narrative anchor in a portfolio read).

Both are wired into the base prompt and don't add value here. Drop
them explicitly via an "# DO NOT include in this surface" override
block in _SYSTEM_OVERRIDES. The portfolio read is just plain
declarative commentary on the holdings now — opening posture
sentence, 3-5 paragraphs on concentration / tilt / currency /
winners-losers / what would invalidate, end of story.

Reviewer's rational-vs-irrational structural-device carve-out (added
in de3a9bf) stays — strategic log, indicator summaries, and digest
emails still legitimately use that framing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 16:27:54 +02:00
..
jobs review: gate strategic-log, portfolio, chat, and digest on reviewer 2026-05-29 14:40:04 +02:00
routers analyze: send the live toggle lang from the frontend, log resolution 2026-05-29 15:32:58 +02:00
services portfolio: drop rational/irrational + system-temperature from prompt 2026-05-29 16:27:54 +02:00
static analyze: send the live toggle lang from the frontend, log resolution 2026-05-29 15:32:58 +02:00
templates settings: drop the broker-list line from the import lede 2026-05-29 15:58:47 +02:00
__init__.py initial commit — cassandra v0.1 2026-05-15 21:56:10 +01:00
auth.py public: landing + pricing + legal pages, apex-ready, lawyer-reviewed 2026-05-24 00:08:02 +02:00
branding.py css: split cassandra.css into per-section files 2026-05-28 12:31:29 +02:00
cli.py docs: drop Phase D.x markers now that the referral loop is closed 2026-05-26 23:09:39 +02:00
config.py cleanup: drop stale tombstones and dead config fields 2026-05-27 19:25:33 +02:00
db.py sync: encrypted cloud backup for portfolios + settings UX rework 2026-05-23 16:15:54 +02:00
logging.py initial commit — cassandra v0.1 2026-05-15 21:56:10 +01:00
main.py routers: extract chat + ops from api.py 2026-05-27 21:43:17 +02:00
models.py models: align translation column naming + add token counts 2026-05-27 21:18:29 +02:00
redis_client.py phase G: data minimisation + passwordless auth + DeepSeek-first LLM 2026-05-18 14:16:57 +01:00
scheduler_main.py scheduler: register email_digest_job at 06:30 UTC 2026-05-25 23:20:06 +02:00
schemas.py news: auto-tag headlines + market-aware cadence + filter UI 2026-05-21 23:25:03 +01:00
templates_env.py mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00