- Under the summary, the detailed analyses, the forecast and tarot: "How
tailored to you did it feel?" (1–5 stars); thumbs under answers. Only
the owner rates, once (changeable); tags, a comment, and a permission
to read the text; model and prompt version are kept with it
- /visszajelzes: bug, idea, question, other (the page and the browser go
with it, 10 a day); the state and the operator's reply show there, a
dot in the account menu marks a new reply. No e-mail, no Telegram
- One NPS question (0–10) in a bar under the header, after two finished
contents; closing it counts
- Admin → Visszajelzések: numbers by kind, week, tags, model and prompt,
buyers and others, NPS; ratings with filters, the text only if allowed;
messages with state, internal note and reply; a count in the admin menu
- Nothing is public. Deleting an account keeps the stars without a name
or comment; messages go. Privacy policy (hu, en) updated
- The admin menu no longer shows a vertical scrollbar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
Three layers for the text users write into a prompt (questions about an
analysis, tarot questions):
- analysis_prompt::guard cleans it (controls, zero-width characters,
spaces, empty lines) and refuses links, tags, code fences, chat role
labels, more than 6 lines and phrases that try to change the model's
instructions (Hungarian and English, accent-insensitive). The check runs
before any unit is spent; refusals are logged without the text.
- The prompt puts the question (and earlier ones) between <kerdes> tags,
with anything that could close the tag neutralized.
- The system prompts say the tagged text is data, not instructions, and
not to quote or summarize the rules (the tarot prompts now say it too).
The question limit drops from 600 to 300 characters (as for tarot), with a
counter always shown under the box.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
Where a finished detailed analysis can be asked about (chart, comparison,
forecast), a floating button with the silhouette icon opens a chat panel
(a side panel on desktop, full screen on phones): earlier questions and
answers as bubbles, the question box at the bottom, or a one-line package
offer when no questions are left. The end of the analysis keeps a short
line that opens the same panel; the button hides while that line is in
view. The panel stays mounted when closed, so an answer keeps arriving and
the button shows a dot for it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
The catalog stays in packages.rs: every checkout session carries the
package's name and gross price, nothing has to be kept in Stripe. The
package is granted once, when Stripe confirms the payment: by the signed
webhook, or by the return page asking Stripe when the webhook is late.
With a test key only admins can buy, so Stripe's test cards give nobody
free packages. Without the keys nothing changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
Admins make promo codes for a package (Admin → Promókódok: batch, note, copy
all), list them filtered (unused by default, used, revoked; by package; by
code, note or redeemer) and withdraw unused ones. A logged-in user redeems a
code once (header link, /bevaltas?kod=... prefilled, packages page, and the
analysis and question offers point there) and gets the package as an order
with source 'promo'. Failed redemptions are rate limited.
Production purchases are off: MOCK_PAYMENTS now defaults to false in the
deploy compose, so package cards say 'Hamarosan'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
- generation_errors: every failed attempt (model, attempt, outcome, duration); admin
Hibanapló page and GET /v1/admin/errors; kept 90 days
- The waiting page counts from when the text was asked for (requested_at), not from
the page load, so a reload no longer restarts it
- It says when an attempt failed and is retried, and when a failed text's unit was
given back; admins see the error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
- 3 questions in every package, +5 questions add-on (1 000 Ft); question units, refund on failure
- The answer sees the chart data, the analysis and earlier questions; at most 250 words
- Editable question prompt (Promptok → Kérdés-válasz); admins regenerate answers
- Package texts and FAQ updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL