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
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
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
53e04da7db
fix(deploy): verify all retired staging migrations
2026-07-30 15:45:23 +08:00
Jesse_Chen
08c39cf949
fix(deploy): verify retired staging migration
2026-07-30 15:16:06 +08:00
linmeng
f4e35974c6
Revert "merge: sync GitHub staging to Gitea"
...
Deploy staging to test server / deploy (push) Failing after 14m49s
This reverts commit a55c69115d , reversing
changes made to 02c9c9f3d6 .
2026-07-30 14:38:17 +08:00
Jesse_Chen
bbdef0e363
fix(rectification): guide recall with semantic event cues
2026-07-30 14:25:58 +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
0a5b8cd239
fix: restore rectification agent message actions
2026-07-30 00:41:48 +08:00
Jesse_Chen
a5f409a500
fix: align rectification spec hashes across runtimes
2026-07-29 22:49:17 +08:00
Jesse_Chen
555e7d9bef
fix: stop rectification question template fallback
2026-07-29 20:30:23 +08:00
Jesse_Chen
f0f7c27382
fix: verify semantic rollout runtime
2026-07-29 19:26:51 +08:00
Jesse_Chen
6ed9f2dd0a
fix: enable semantic rectification rollout
2026-07-29 19:18:09 +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
2da848a1d9
docs: configure agent engineering workflows
2026-07-28 14:40:24 +08:00
Jesse_Chen
8ade6ed5c8
refactor: rebuild birth time rectification agent
2026-07-28 13:04:30 +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
a550b98da7
refactor: make birth time rectification conversational
2026-07-27 22:33:12 +08:00
Jesse_Chen
f402e6f79c
fix: use same-origin data APIs on homepage
2026-07-27 15:47:18 +08:00
Jesse_Chen
dc1aa9e239
fix: connect staging rectification worker to api
2026-07-27 12:01:31 +08:00
Jesse_Chen
f619407dc2
fix: use sandboxed Chrome in staging gate
2026-07-27 10:29:19 +08:00
Jesse_Chen
e52cee8368
fix: provision Chromium in staging quality gate
2026-07-27 10:21:07 +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
Jesse_Chen
cdf7a76766
fix: repair missing reported birth-time status
2026-07-26 13:14:14 +08:00
Jesse_Chen
5f492be1b9
fix: open rectification narrative flow
2026-07-26 11:00:20 +08:00
Jesse_Chen
7837f6abd8
fix: show rectification range in opening
2026-07-26 01:44:05 +08:00
Jesse_Chen
96917a3e59
fix: reconcile consultation mode with saved birth time
2026-07-26 00:02:11 +08:00
Jesse_Chen
031c275324
fix: speed up rectification start
2026-07-25 22:11:13 +08:00
Jesse_Chen
3e56389aeb
fix: repair structured date validator migration
2026-07-25 13:51:54 +08:00
Jesse_Chen
e41fae1e05
fix: close rectification convergence gaps
2026-07-25 12:59:13 +08:00
Jesse_Chen
0e6ed6ba79
fix: make conversational rectification converge
2026-07-25 11:50:41 +08:00
Jesse_Chen
58579cade4
fix: preserve rectification conversation context
2026-07-25 10:25:48 +08:00
Jesse_Chen
8150df8942
fix: preserve rectification streaming and history
2026-07-25 02:08:10 +08:00