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
Owner

Integrates the current GitHub upstream into the self-hosted Gitea primary history, preserves the prior Gitea main ancestry, and includes release-blocker fixes for EPay callback retries, exact-SHA clean checkout enforcement, and the public quality-gate fixture.\n\nValidation before PR:\n- Python: 291 passed, 1 skipped\n- Frontend: 1265/1265 passed\n- ESLint: 0 errors, 4 warnings\n- Next.js production build: passed\n- Renderer isolation and public release privacy scan: passed

Integrates the current GitHub upstream into the self-hosted Gitea primary history, preserves the prior Gitea main ancestry, and includes release-blocker fixes for EPay callback retries, exact-SHA clean checkout enforcement, and the public quality-gate fixture.\n\nValidation before PR:\n- Python: 291 passed, 1 skipped\n- Frontend: 1265/1265 passed\n- ESLint: 0 errors, 4 warnings\n- Next.js production build: passed\n- Renderer isolation and public release privacy scan: passed
jesse added 84 commits 2026-08-05 11:16:54 +08:00
fix: isolate staging deployment control
Deploy staging to test server / deploy (push) Successful in 2m27s
85ae00f391
Make staging migration, deployment, and maintenance workflows use the staging branch exclusively so test delivery no longer depends on or modifies production main.
fix: parse staging image manifests safely
Deploy staging to test server / deploy (push) Successful in 2m36s
ba4142c6be
Handle ACR single-platform manifest arrays in Gitea staging migration and deployment so immutable image resolution can complete.
fix: select staging runtime image digest
Deploy staging to test server / deploy (push) Successful in 2m31s
d3cc70737d
Resolve the linux amd64 descriptor from multi-entry ACR manifests so staging migration and deployment pin the runtime image correctly.
fix: use Gitea staging run identifier
Deploy staging to test server / deploy (push) Successful in 2m33s
06e4b9d003
Build staging mutation paths from the runner-provided run ID so migration and deployment do not fail under strict shell variables.
fix: use deploy-owned staging temp paths
Deploy staging to test server / deploy (push) Successful in 2m27s
772c06c205
Create staging mutation payloads in randomized deploy-owned temporary directories so migration and deployment do not require writes under the protected application root.
fix: keep staging deployment dispatch isolated
Deploy staging to test server / deploy (push) Successful in 2m32s
4a6d9168c7
fix: run staging Docker through sudo
Deploy staging to test server / deploy (push) Successful in 4m22s
1e2efc88be
feat: add VedAstro rectification post-validation
fix: recover staging deploy tree ownership
fix: harden staging ownership recovery
fix: run staging mutations as root
Deploy staging to test server / deploy (push) Successful in 5m33s
4f72a18ea2
merge: reconcile staging deployment histories
Deploy staging to test server / deploy (push) Successful in 12m36s
1f44892a2c
docs: close staging payment incident
Deploy staging to test server / deploy (push) Successful in 5m41s
02c9c9f3d6
Record the deployed migration, runtime evidence, and administrator acceptance so the resolved payment regression remains auditable.
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
a55c69115d
Revert "merge: sync GitHub staging to Gitea"
Deploy staging to test server / deploy (push) Failing after 14m49s
f4e35974c6
This reverts commit a55c69115d, reversing
changes made to 02c9c9f3d6.
fix(rectification): guide recall with semantic event cues
fix: complete self-hosted staging identity integration
Deploy staging to test server / deploy (push) Successful in 6m34s
2f4d00c528
Align staging deployment, authentication, and admin access with the self-hosted identity boundary, including regression coverage and deployment diagnostics.
fix(deploy): verify retired staging migration
fix(deploy): verify all retired staging migrations
fix(rectification): preserve unresolved event focus
fix(rectification): preserve grounded agent responses
fix(rectification): preserve contextual date follow-ups
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>
feat(rectification): agentic birth-time rectification MVP
fix(rectification): expose agentic route and runtime trace
Fix Agentic rectification entry and profile ranges
fix(rectification): accept persisted birth dates
Fix persisted birth-date rehydration
Fix Agentic rectification PostgreSQL birth dates
Fix rectification agent empty tool stream
Fix rectification session persistence
fix(rectification): stream persisted candidate choices
Fix rectification candidate adoption flow
fix(rectification): preserve event date precision
Merge Gitea main history
Staging Backend Quality Gate / validate (pull_request) Failing after 12m24s
Staging Backend Quality Gate / publish (pull_request) Failing after 11m4s
b6fd860fb4
jesse added 1 commit 2026-08-05 11:52:59 +08:00
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
7fe29dcf01
jesse added 1 commit 2026-08-05 12:37:22 +08:00
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
0bccba89ec
jesse added 1 commit 2026-08-05 12:43:15 +08:00
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
2c511eb0ce
jesse added 1 commit 2026-08-05 12:44:57 +08:00
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
ca4417a345
jesse added 1 commit 2026-08-05 12:56:23 +08:00
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
e9800ed324
jesse added 1 commit 2026-08-05 13:05:51 +08:00
Retry Gitea quality gate
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled
e23cf15780
jesse added 1 commit 2026-08-05 13:16:24 +08:00
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
ef0f01f193
jesse added 1 commit 2026-08-05 13:26:22 +08:00
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
aa958758b7
jesse added 1 commit 2026-08-05 13:56:07 +08:00
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
54b886fce9
jesse added 1 commit 2026-08-05 14:11:25 +08:00
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
91a4da96c9
jesse added 1 commit 2026-08-05 14:12:32 +08:00
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
4c4b7751cc
jesse added 1 commit 2026-08-05 14:14:45 +08:00
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
84449e2ef3
jesse added 1 commit 2026-08-05 14:16:40 +08:00
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
2e407a0127
This reverts commit 84449e2ef3.
jesse added 1 commit 2026-08-05 14:20:33 +08:00
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
8174edc10d
jesse added 1 commit 2026-08-05 15:16:16 +08:00
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
c1543bdb5c
jesse added 1 commit 2026-08-05 15:33:03 +08:00
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
a49ab48936
jesse added 1 commit 2026-08-05 15:48:21 +08:00
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
77c663b9b7
jesse added 1 commit 2026-08-05 15:57:53 +08:00
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
a3a354e88f
jesse added 1 commit 2026-08-05 16:21:33 +08:00
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
9190b0edef
jesse added 1 commit 2026-08-05 16:41:42 +08:00
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
0127321c06
jesse added 1 commit 2026-08-05 16:53:35 +08:00
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
2e62dc15bf
jesse added 1 commit 2026-08-05 17:16:28 +08:00
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
c2949bbb50
jesse added 1 commit 2026-08-05 17:34:03 +08:00
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
3b08826752
jesse merged commit 7e44bce852 into main 2026-08-05 17:48:47 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/Jyotisha#3