Jesse_Chen
e7c877c413
fix(rectification): start agent opening on mount
2026-08-02 23:57:30 +08:00
Jesse_Chen
7abc053278
fix(rectification): expose agentic route and runtime trace
2026-08-01 18:18:43 +08:00
Jesse_Chen
9417148b0a
feat(rectification): add agentic birth-time rectification MVP
...
Add a new agentic rectification flow that lets an LLM drive the full
jyotish-vedic-astrology methodology on the web, with the Python engine as
its computation layer (mirroring local Claude Code):
- mastra/rectification-tools.ts: 7 engine tools (gate/scan/score/diagnostics/
candidate-features/confirm/save-birth-time)
- mastra/agentic-rectification.ts: agent mounting the full skill + tools
- lib/rectification-agentic/session.ts: server-owned profile + confirmation
gate; the LLM can only persist the exact minute the engine's high-rigor
gate confirmed
- app/api/rectification/agent/route.ts: NDJSON streaming endpoint with
credit reserve/settle
- components/rectification-agentic-chat.tsx + entry switch: new sessions use
the agentic chat; in-progress v4 cases still resume on the v4 panel
- migration 20260801000000: service-role RPC writing profiles.active_birth_time
with baseline concurrency guard
- tests for tools + session (12 cases); full suite passes 1076
Co-Authored-By: Claude <noreply@anthropic.com >
2026-08-01 02:20:00 +08:00
Jesse_Chen
daea700820
fix(rectification): preserve agent-led public responses
2026-08-01 01:32:06 +08:00
Jesse_Chen
b5232e7903
fix(rectification): inherit target year for partial dates
2026-08-01 01:04:33 +08:00
Jesse_Chen
32aa0ecbac
fix(rectification): enforce grounded public responses
2026-07-31 22:46:38 +08:00
Jesse_Chen
9e7431ea19
fix(rectification): keep evidence explanations non-conclusive
2026-07-31 21:00:51 +08:00
Jesse_Chen
6faa0a6be3
fix(rectification): require grounded candidate claims
2026-07-31 20:56:31 +08:00
Jesse_Chen
b0dab214b6
fix(rectification): harden fallback response boundaries
2026-07-31 20:54:10 +08:00
Jesse_Chen
a8ca7f24bc
fix(rectification): validate public agent grounding
2026-07-31 20:29:07 +08:00
Jesse_Chen
8397a39977
fix(rectification): preserve grounded agent responses
2026-07-31 19:50:49 +08:00
Jesse_Chen
fa4b83e962
fix(rectification): preserve unresolved event focus
2026-07-31 17:15:27 +08:00
Jesse_Chen
453eacf3e2
feat(rectification): add adaptive director tool loop
2026-07-31 15:09:03 +08:00
Jesse_Chen
a7a11a1a7a
feat(rectification): drive questions from candidate contrast
2026-07-31 13:17:00 +08:00
Jesse_Chen
fdf791953e
fix(rectification): generate opening with agent
2026-07-31 09:17:49 +08:00
Jesse_Chen
bab5647afc
fix(rectification): enforce director evidence boundaries
2026-07-31 06:13:47 +08:00
Jesse_Chen
77b0079653
fix(rectification): preserve director context and revision identity
2026-07-30 23:51:09 +08:00
Jesse_Chen
0e3ce47678
refactor(rectification): let director agent own interview flow
2026-07-30 17:56:10 +08:00
Jesse_Chen
bbdef0e363
fix(rectification): guide recall with semantic event cues
2026-07-30 14:25:58 +08:00
Jesse_Chen
31e5709f33
feat: add VedAstro rectification post-validation
2026-07-30 11:48:02 +08:00
Jesse_Chen
2384faf367
feat: harden rectification candidate validation
2026-07-30 10:55:39 +08:00
Jesse_Chen
e9d20382d9
fix: keep rectification questions context-aware
2026-07-30 07:58:06 +08:00
Jesse_Chen
eb303c7089
fix: resolve timezone for postgres birth dates
2026-07-30 04:09:51 +08:00
Jesse_Chen
ee10fb4d8a
feat: persist rectification analysis traces
2026-07-30 03:15:06 +08:00
Jesse_Chen
29374ded2a
fix: deduplicate rectification question regeneration
2026-07-30 00:52:40 +08:00
Jesse_Chen
0a5b8cd239
fix: restore rectification agent message actions
2026-07-30 00:41:48 +08:00
Jesse_Chen
555e7d9bef
fix: stop rectification question template fallback
2026-07-29 20:30:23 +08:00
Jesse_Chen
163d3fd1be
fix: stabilize rectification staging release
2026-07-29 18:17:46 +08:00
Jesse_Chen
ee9d432762
feat: make rectification agent conversational
2026-07-29 17:49:19 +08:00
Jesse_Chen
8ade6ed5c8
refactor: rebuild birth time rectification agent
2026-07-28 13:04:30 +08:00
Jesse
5206fb2323
fix(admin): keep root redirect on public host
2026-07-28 11:10:24 +08:00
Jesse
f950bfd8da
docs: record staging controller blocker
2026-07-28 10:24:31 +08:00
Jesse
218cee579e
fix(admin): preserve capability route contract
2026-07-28 10:04:36 +08:00
Jesse
02ec5db361
feat(admin): add audited Refine staging console
2026-07-28 09:47:13 +08:00
jesse-ux
43581ac0f7
Keep rectification follow-ups on the current event ( #36 )
...
Co-authored-by: Jesse_Chen <chen.yue@mevixaga.com >
2026-07-28 00:45:09 +08:00
Jesse_Chen
c42a976657
fix: anchor rectification composer to session footer
2026-07-27 23:27:56 +08:00
Jesse_Chen
a550b98da7
refactor: make birth time rectification conversational
2026-07-27 22:33:12 +08:00
Jesse_Chen
b569cf7825
fix(onboarding): normalize postgres birth dates
2026-07-27 22:01:48 +08:00
Jesse_Chen
ee166ab5d3
feat(auth): use password-only admin login
2026-07-27 20:40:55 +08:00
Jesse_Chen
88060f20d7
fix(auth): simplify registration navigation
2026-07-27 17:41:03 +08:00
Jesse_Chen
ab2944f7fa
feat(auth): add staging email password flows
2026-07-27 17:02:16 +08:00
Jesse_Chen
f402e6f79c
fix: use same-origin data APIs on homepage
2026-07-27 15:47:18 +08:00
Jesse_Chen
80b25f8ec5
fix: support neq filters in local postgres client
2026-07-27 12:50:16 +08:00
Jesse_Chen
ce9f8fe1da
fix: normalize postgres birth dates
2026-07-27 11:29:12 +08:00
Jesse_Chen
2ca245d643
feat: rebuild birth time rectification workflow
2026-07-27 09:57:14 +08:00
Jesse_Chen
380aba4628
fix: keep rectification narratives moving
2026-07-26 20:11:53 +08:00
Jesse_Chen
6320afbf5d
fix: decouple rectification narrative from scoring state
2026-07-26 19:55:38 +08:00
Jesse_Chen
2f1d90963d
fix(rectification): persist narration without routing domains
2026-07-26 15:02:21 +08:00
Jesse_Chen
f8576a01e0
fix(rectification): fall back when narrative models fail
2026-07-26 14:27:17 +08:00
Jesse_Chen
68c1bdba46
fix: accept diagnostic rectification gates
2026-07-26 14:05:03 +08:00