Commit Graph

409 Commits

Author SHA1 Message Date
Jesse_Chen c2949bbb50 Run integration tests on runner tooling
Staging Backend Quality Gate / validate (pull_request) Failing after 13m5s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 17:16:21 +08:00
Jesse_Chen 2e62dc15bf Skip unused Playwright setup in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Failing after 16m38s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 16:53:28 +08:00
Jesse_Chen 0127321c06 Use reachable npm registry in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 16:41:23 +08:00
Jesse_Chen 9190b0edef Use reachable Playwright mirror in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 16:21:26 +08:00
Jesse_Chen a3a354e88f Install C++ compiler for Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 15:57:46 +08:00
Jesse_Chen 77c663b9b7 Install Python headers for Gitea CI
Staging Backend Quality Gate / validate (pull_request) Failing after 5m19s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 15:48:09 +08:00
Jesse_Chen a49ab48936 Use existing PyPI mirror in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Failing after 10m0s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 15:32:56 +08:00
Jesse_Chen c1543bdb5c Bound Gitea CI dependency resolution
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 15:16:09 +08:00
Jesse_Chen 8174edc10d Install Python venv support in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 14:20:28 +08:00
Jesse_Chen 2e407a0127 Revert "Leave staging workflow contracts to coordinated update"
Staging Backend Quality Gate / validate (pull_request) Failing after 1m40s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
This reverts commit 84449e2ef3.
2026-08-05 14:16:30 +08:00
Jesse_Chen 84449e2ef3 Leave staging workflow contracts to coordinated update
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 14:14:28 +08:00
Jesse_Chen 4c4b7751cc Use pinned ECR PostgreSQL image for Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 14:12:25 +08:00
Jesse_Chen 91a4da96c9 Run staging workflows with pinned Node tooling
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 14:11:11 +08:00
Jesse_Chen 54b886fce9 Run Node tooling in a pinned CI container
Staging Backend Quality Gate / validate (pull_request) Failing after 6m42s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 13:55:52 +08:00
Jesse_Chen aa958758b7 Install missing CI toolchain packages
Staging Backend Quality Gate / validate (pull_request) Failing after 14m23s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 13:26:05 +08:00
Jesse_Chen ef0f01f193 Run quality gate on available Linux runner
Staging Backend Quality Gate / validate (pull_request) Failing after 4m39s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 13:16:06 +08:00
Jesse_Chen e9800ed324 Install Compose from runner package manager
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 12:56:14 +08:00
Jesse_Chen ca4417a345 Use existing registry mirror for PostgreSQL CI
Staging Backend Quality Gate / validate (pull_request) Failing after 8m31s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 12:44:40 +08:00
Jesse_Chen 2c511eb0ce Retry Gitea CI tool downloads
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 12:42:55 +08:00
Jesse_Chen 0bccba89ec Retry PostgreSQL image preload in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Failing after 3m18s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 12:37:15 +08:00
Jesse_Chen 7fe29dcf01 Fix Gitea quality gate portability
Staging Backend Quality Gate / validate (pull_request) Failing after 19m39s
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 11:52:38 +08:00
Jesse_Chen 5957803de4 Merge GitHub upstream into Gitea primary 2026-08-05 11:13:34 +08:00
Jesse_Chen a5bf0c64e6 fix(rectification): preserve event date precision 2026-08-05 00:58:53 +08:00
Jesse_Chen 58f6b5f821 refine web session and account UI 2026-08-04 21:59:59 +08:00
Jesse_Chen 79fe2d6c69 fix: gate rectification candidate adoption flow 2026-08-04 16:47:23 +08:00
Jesse_Chen 393f352a8d fix(rectification): stream persisted candidate choices 2026-08-04 14:32:09 +08:00
Jesse_Chen 8f6f4f511b feat: allow users to accept rectification candidates 2026-08-04 11:39:33 +08:00
Jesse_Chen b9fe6a6be3 fix rectification session persistence 2026-08-04 00:38:16 +08:00
Jesse_Chen 64a6a55868 fix rectification agent empty tool stream 2026-08-03 23:33:52 +08:00
Jesse_Chen 9523ad23e8 fix rectification PostgreSQL birth dates 2026-08-03 17:28:26 +08:00
Jesse_Chen 0b1a40a5a5 fix(rectification): rehydrate persisted birth dates 2026-08-03 16:44:49 +08:00
Jesse_Chen 21a121a6a7 fix(rectification): accept persisted birth dates 2026-08-03 16:07:18 +08:00
Jesse_Chen 1131e9eb3b fix(rectification): replace v4 entry with agent opening 2026-08-03 15:11:19 +08:00
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