- charts.kind own/person; a new person uses a 'person' unit (not refunded
on delete); person packages and an unlimited entitlement; admins unlimited
- a person's birth data can be corrected within an hour (admins any time)
- /kepletek list with tiles, /kepletek/uj, correction page, mock person
packages, chart page title switches between charts keeping the tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
Backend:
- own birth data: three corrections within an hour of the first save,
then one change per 24 hours (birth_data_changes); 429
birth_data_change_limit with the user-facing message; /v1/me
birth_change shows the notice; admins are not limited
- admins get detailed analyses free (no unit spent)
- POST /v1/payments/mock (MOCK_PAYMENTS): stand-in payment that adds a
unit, until Stripe is connected; on in the compose files for now
Frontend:
- detailed analysis offer: admin starts it free, users with units
confirm, others go through the (stand-in) payment step
- turning wheel with elapsed time while the summary or the analysis is
being written
- no "adatok javítása" on the chart page (only in the profile), limit
notice there; wheel hover highlighting removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
- Credits become analysis units (migration 0006): a natal analysis uses
one 'natal' unit, a synastry analysis one 'synastry' unit. No monthly
free credits, no model tiers: ANALYSIS_MODEL (default Opus 5.5) writes
every paid analysis. Admins grant units per kind; the worker refunds
the right unit on failure.
- Chart page: the detailed analysis card (offer with units left and a
confirmation, progress while writing, the finished six sections).
- Public /pelda page: a full Opus analysis of a made-up chart, with the
free summary and a login call to action.
- The worker sends the JSON schema with properties in 'required' order.
serde_json sorted them, so the title came after ~9000 tokens of text
and Opus sometimes left it empty (3 failed attempts in a live test);
with the order fixed the same analysis succeeded at the first try.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
- New /kepletek/[id] page: chart wheel (SVG), big three, elements,
modalities, moon phase, positions and an aspects table. /keplet opens
the user's own chart; the home page goes there after login.
- The profile only shows the birth data, with a link to the chart.
- Saving the same birth data again returns the stored chart (200)
instead of calculating a new one.
- Charts without a birth time (angles null) render without houses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
services/frontend (Next.js 16, App Router) runs on port 3001 in compose. The
browser only talks to the frontend: /api/v1/* is proxied to the backend, so
the session cookie lives on the frontend's host, and /api/geo/* exposes the
country list and place search of the horoscope-api.
- /belepes: Google Identity Services button, client id from /v1/config
- /profil: account facts, display name and language, own birth data with
place search, DST ambiguity prompt and the chart's positions
- /admin: user search, role toggles, credit grants (admins only, 404 otherwise)
Services now tolerate migrations newer than their binary, so they can be
rebuilt one at a time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL