Merge GitHub upstream into Gitea primary #3

Merged
jesse merged 107 commits from codex/integrate-github-main-gitea-20260805 into main 2026-08-05 17:48:47 +08:00

107 Commits

Author SHA1 Message Date
Jesse_Chen 3b08826752 Run pinned Node integration tests on host
Staging Backend Quality Gate / validate (pull_request) Successful in 12m18s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-05 17:33:55 +08:00
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 e23cf15780 Retry Gitea quality gate
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
2026-08-05 13:05:42 +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 b6fd860fb4 Merge Gitea main history
Staging Backend Quality Gate / validate (pull_request) Failing after 12m24s
Staging Backend Quality Gate / publish (pull_request) Failing after 11m4s
2026-08-05 11:13:53 +08:00
Jesse_Chen 5957803de4 Merge GitHub upstream into Gitea primary 2026-08-05 11:13:34 +08:00
jesse-ux 5c7402bdd6 Merge pull request #87 from jesse-ux/codex/rectification-date-precision-20260804
fix(rectification): preserve event date precision
2026-08-05 01:07:47 +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-ux dd2958913b Merge pull request #86 from jesse-ux/codex/rectification-profile-ui-20260804
Fix rectification candidate adoption flow
2026-08-04 16:56:08 +08:00
Jesse_Chen 79fe2d6c69 fix: gate rectification candidate adoption flow 2026-08-04 16:47:23 +08:00
jesse-ux 7ba3abe92d Merge pull request #85 from jesse-ux/codex/rectification-candidate-card-fix
fix(rectification): stream persisted candidate choices
2026-08-04 14:43:24 +08:00
Jesse_Chen 393f352a8d fix(rectification): stream persisted candidate choices 2026-08-04 14:32:09 +08:00
jesse-ux a2a5e7d96f feat: allow users to accept rectification candidates (#84) 2026-08-04 13:20:54 +08:00
Jesse_Chen 8f6f4f511b feat: allow users to accept rectification candidates 2026-08-04 11:39:33 +08:00
jesse-ux 297bd4f4f9 Merge pull request #83 from jesse-ux/codex/rectification-session-persistence
Fix rectification session persistence
2026-08-04 00:47:10 +08:00
Jesse_Chen b9fe6a6be3 fix rectification session persistence 2026-08-04 00:38:16 +08:00
jesse-ux e65c8eeda2 Merge pull request #82 from jesse-ux/codex/rectification-tool-stream-followup
Fix rectification agent empty tool stream
2026-08-03 23:42:21 +08:00
Jesse_Chen 64a6a55868 fix rectification agent empty tool stream 2026-08-03 23:33:52 +08:00
jesse-ux ad656d3280 Merge pull request #81 from jesse-ux/codex/rectification-postgres-date
Fix Agentic rectification PostgreSQL birth dates
2026-08-03 17:36:49 +08:00
Jesse_Chen 9523ad23e8 fix rectification PostgreSQL birth dates 2026-08-03 17:28:26 +08:00
jesse-ux dc574eb11a Merge pull request #80 from jesse-ux/codex/rectification-profile-rehydrate
Fix persisted birth-date rehydration
2026-08-03 16:54:26 +08:00
Jesse_Chen 0b1a40a5a5 fix(rectification): rehydrate persisted birth dates 2026-08-03 16:44:49 +08:00
jesse-ux 2bcd1a8aeb Merge pull request #79 from jesse-ux/codex/rectification-profile-completeness
fix(rectification): accept persisted birth dates
2026-08-03 16:16:04 +08:00
Jesse_Chen 21a121a6a7 fix(rectification): accept persisted birth dates 2026-08-03 16:07:18 +08:00
jesse-ux b2d3869e6f Merge pull request #78 from jesse-ux/codex/rectification-latest-entry
Fix Agentic rectification entry and profile ranges
2026-08-03 15:20:51 +08:00
Jesse_Chen 1131e9eb3b fix(rectification): replace v4 entry with agent opening 2026-08-03 15:11:19 +08:00
jesse-ux 36e72c9267 fix(rectification): start agent opening on mount (#77) 2026-08-03 00:05:58 +08:00
Jesse_Chen e7c877c413 fix(rectification): start agent opening on mount 2026-08-02 23:57:30 +08:00
jesse-ux 8612cfee4d Merge pull request #76 from jesse-ux/staging
fix(rectification): expose agentic route and runtime trace
2026-08-02 22:55:03 +08:00
Jesse_Chen 7abc053278 fix(rectification): expose agentic route and runtime trace 2026-08-01 18:18:43 +08:00
jesse-ux 24ab4284b7 Merge pull request #75 from jesse-ux/codex/agentic-rectification
feat(rectification): agentic birth-time rectification MVP
2026-08-01 08:08:33 +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-ux e30e0f7320 Merge pull request #74 from jesse-ux/codex/rectification-context-date-20260731
fix(rectification): preserve contextual date follow-ups
2026-08-01 01:41:24 +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-ux 67fc18b341 Merge pull request #73 from jesse-ux/staging
fix(rectification): preserve grounded agent responses
2026-07-31 23:00:50 +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-ux 58c93088c5 Merge pull request #72 from jesse-ux/staging
fix(rectification): preserve unresolved event focus
2026-07-31 17:53:56 +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-ux 4db774f02b Merge pull request #71 from jesse-ux/codex/staging-ledger-retired-set
fix(deploy): verify all retired staging migrations
2026-07-30 15:57:04 +08:00
Jesse_Chen 53e04da7db fix(deploy): verify all retired staging migrations 2026-07-30 15:45:23 +08:00
jesse-ux d0debc29d1 Merge pull request #70 from jesse-ux/codex/staging-ledger-audit
fix(deploy): verify retired staging migration
2026-07-30 15:25:13 +08:00
Jesse_Chen 08c39cf949 fix(deploy): verify retired staging migration 2026-07-30 15:16:06 +08:00
linmeng 2f4d00c528 fix: complete self-hosted staging identity integration
Deploy staging to test server / deploy (push) Successful in 6m34s
Align staging deployment, authentication, and admin access with the self-hosted identity boundary, including regression coverage and deployment diagnostics.
2026-07-30 14:54:46 +08:00
jesse-ux 74e612c56b Merge pull request #69 from jesse-ux/staging
fix(rectification): guide recall with semantic event cues
2026-07-30 14:43:57 +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
linmeng a55c69115d merge: sync GitHub staging to Gitea
Staging Backend Quality Gate / validate (push) Has been cancelled
Jyotish Skill CI / validate (push) Has been cancelled
Staging Backend Quality Gate / publish (push) Has been cancelled
2026-07-30 14:30:08 +08:00
linmeng 02c9c9f3d6 docs: close staging payment incident
Deploy staging to test server / deploy (push) Successful in 5m41s
Record the deployed migration, runtime evidence, and administrator acceptance so the resolved payment regression remains auditable.
2026-07-30 14:27:17 +08:00
Jesse_Chen bbdef0e363 fix(rectification): guide recall with semantic event cues 2026-07-30 14:25:58 +08:00
linmeng 1f44892a2c merge: reconcile staging deployment histories
Deploy staging to test server / deploy (push) Successful in 12m36s
2026-07-30 13:26:44 +08:00
linmeng 4f72a18ea2 fix: run staging mutations as root
Deploy staging to test server / deploy (push) Successful in 5m33s
2026-07-30 12:31:52 +08:00
jesse-ux 534c65bdde Merge pull request #68 from jesse-ux/staging
fix: harden staging ownership recovery
2026-07-30 12:22:18 +08:00
Jesse_Chen 3d8c3ce6a3 fix: harden staging ownership recovery 2026-07-30 12:21:37 +08:00
jesse-ux 0f8dfc8793 Merge pull request #67 from jesse-ux/staging
fix: recover staging deploy tree ownership
2026-07-30 12:18:47 +08:00
Jesse_Chen 2be454dfcf fix: recover staging deploy tree ownership 2026-07-30 12:18:24 +08:00
jesse-ux 1246e0a963 Merge pull request #66 from jesse-ux/staging
feat: add VedAstro rectification post-validation
2026-07-30 12:04:05 +08:00
linmeng 1e2efc88be fix: run staging Docker through sudo
Deploy staging to test server / deploy (push) Successful in 4m22s
2026-07-30 12:02:44 +08:00
Jesse_Chen 31e5709f33 feat: add VedAstro rectification post-validation 2026-07-30 11:48:02 +08:00
linmeng 4a6d9168c7 fix: keep staging deployment dispatch isolated
Deploy staging to test server / deploy (push) Successful in 2m32s
2026-07-30 11:32:35 +08:00
linmeng 772c06c205 fix: use deploy-owned staging temp paths
Deploy staging to test server / deploy (push) Successful in 2m27s
Create staging mutation payloads in randomized deploy-owned temporary directories so migration and deployment do not require writes under the protected application root.
2026-07-30 11:11:58 +08:00
linmeng 06e4b9d003 fix: use Gitea staging run identifier
Deploy staging to test server / deploy (push) Successful in 2m33s
Build staging mutation paths from the runner-provided run ID so migration and deployment do not fail under strict shell variables.
2026-07-30 11:00:05 +08:00
Jesse_Chen 2384faf367 feat: harden rectification candidate validation 2026-07-30 10:55:39 +08:00
linmeng d3cc70737d fix: select staging runtime image digest
Deploy staging to test server / deploy (push) Successful in 2m31s
Resolve the linux amd64 descriptor from multi-entry ACR manifests so staging migration and deployment pin the runtime image correctly.
2026-07-30 10:49:29 +08:00
linmeng ba4142c6be fix: parse staging image manifests safely
Deploy staging to test server / deploy (push) Successful in 2m36s
Handle ACR single-platform manifest arrays in Gitea staging migration and deployment so immutable image resolution can complete.
2026-07-30 10:32:45 +08:00
linmeng 85ae00f391 fix: isolate staging deployment control
Deploy staging to test server / deploy (push) Successful in 2m27s
Make staging migration, deployment, and maintenance workflows use the staging branch exclusively so test delivery no longer depends on or modifies production main.
2026-07-30 10:17:50 +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 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