| event_payload |
{"ref":"refs/heads/claude/zen-tharp-b0 {"ref":"refs/heads/claude/zen-tharp-b03a6f","before":"0000000000000000000000000000000000000000","after":"75c32172af80b8afc83b0c684b9d65fba5cf9d7e","compare_url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub/compare/cf8ca525a24f7e8f7f02481cf1c6e72f68c3788a...75c32172af80b8afc83b0c684b9d65fba5cf9d7e","commits":[{"id":"75c32172af80b8afc83b0c684b9d65fba5cf9d7e","message":"Add tenantCode field with quick switch to login page\n\n- Promote tenantCode from hidden form payload to visible required input as\n the first field, defaulted to `JUHI` (or `VITE_TENANT_CODE` env override).\n- Auto-uppercase and strip non `[A-Z0-9_-]` chars on input, matching the\n case-sensitive seed convention.\n- Required validation, max 50 chars, and pattern guard.\n- Dev-only quick-switch chips for the seeded tenants (`JUHI`, `E2E_A`,\n `E2E_B`) sourced from `E2E_TENANTS` so devs can flip tenants in one click\n without retyping.\n\nVerified end-to-end via Vite dev preview: default render shows the new\nfield with `JUHI` prefilled, chip switching updates the value, lowercase\ninput normalizes to uppercase, and login still succeeds against the live\nbackend.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub/commit/75c32172af80b8afc83b0c684b9d65fba5cf9d7e","author":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"committer":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"verification":null,"timestamp":"2026-05-11T17:08:23-07:00","added":[],"removed":[],"modified":["frontend/src/views/Login.vue"]},{"id":"596389b5aeb675885405569942e57d2879305d55","message":"Document required tenantCode for default admin login\n\nThe default admin login requires `tenantCode: JUHI` (case-sensitive). Without it,\ndirect `/v1/auth/login` calls return `E1001 tenant not found`, which has been\nmisdiagnosed as a database failure during fresh dev startups.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub/commit/596389b5aeb675885405569942e57d2879305d55","author":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"committer":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"verification":null,"timestamp":"2026-05-10T06:25:52-07:00","added":[],"removed":[],"modified":["CLAUDE.md"]}],"total_commits":0,"head_commit":{"id":"75c32172af80b8afc83b0c684b9d65fba5cf9d7e","message":"Add tenantCode field with quick switch to login page\n\n- Promote tenantCode from hidden form payload to visible required input as\n the first field, defaulted to `JUHI` (or `VITE_TENANT_CODE` env override).\n- Auto-uppercase and strip non `[A-Z0-9_-]` chars on input, matching the\n case-sensitive seed convention.\n- Required validation, max 50 chars, and pattern guard.\n- Dev-only quick-switch chips for the seeded tenants (`JUHI`, `E2E_A`,\n `E2E_B`) sourced from `E2E_TENANTS` so devs can flip tenants in one click\n without retyping.\n\nVerified end-to-end via Vite dev preview: default render shows the new\nfield with `JUHI` prefilled, chip switching updates the value, lowercase\ninput normalizes to uppercase, and login still succeeds against the live\nbackend.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub/commit/75c32172af80b8afc83b0c684b9d65fba5cf9d7e","author":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"committer":{"name":"luoguoguo","email":"luoguoguo@gmail.com","username":""},"verification":null,"timestamp":"2026-05-11T17:08:23-07:00","added":[],"removed":[],"modified":["frontend/src/views/Login.vue"]},"repository":{"id":6,"owner":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"law@g-hi.com","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"name":"juhi-omni-knowledge-hub","full_name":"luoanwu/juhi-omni-knowledge-hub","description":"巨嗨全域智库 - B2B RevOps 全生命周期平台","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":5301318,"language":"HTML","languages_url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/juhi-omni-knowledge-hub/languages","html_url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub","url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/juhi-omni-knowledge-hub","link":"","ssh_url":"git@gitea.g-hi.com:luoanwu/juhi-omni-knowledge-hub.git","clone_url":"https://gitea.g-hi.com/luoanwu/juhi-omni-knowledge-hub.git","original_url":"https://github.com/laoluojuhai/juhi-omni-knowledge-hub.git","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":24,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"2026-02-23T23:57:52+08:00","updated_at":"2026-05-13T06:15:47+08:00","archived_at":"1970-01-01T08:00:00+08:00","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":true,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"0001-01-01T00:00:00Z","topics":[],"licenses":[]},"pusher":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"sender":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"}}... |