Willie
e51134af24
feat(git-root): surface scope mismatch in UI and document git_root field
...
Add Config.GitRootMismatch() as the single source of truth for detecting
when the git repo lives at a different scope than git_root configures, and
reuse it across the CLI guidance, the server status response (scopeMismatch
/mismatchScope/mismatchDir), and a new warning banner on the Git Sync page.
Document git_root in the config structure-view field docs (fieldDocs) and the
GitStatus client type, and add the gitSync.scope.* / gitSync.mismatch.* i18n
keys across all locales to keep dictionary parity.
Cover the behavior with config, server handler, and CLI integration tests:
push/pull honor the root scope (agents files reach the remote, config.yaml
stays untracked), POST /git/root inits+persists the scope and rejects invalid
scopes and project mode, and git status reports scope mismatches.
2026-05-30 19:23:12 +08:00
..
2026-04-07 18:27:08 +08:00
2026-04-10 02:05:23 +08:00
2026-04-10 23:27:26 +08:00
2026-04-08 21:31:41 +08:00
2026-04-09 00:36:39 +08:00
2026-04-09 00:36:39 +08:00
2026-04-08 21:31:41 +08:00
2026-03-26 23:47:28 +08:00
2026-04-13 18:23:10 +08:00
2026-02-25 07:02:54 +08:00
2026-04-09 14:37:53 +08:00
2026-03-02 02:23:50 +08:00
2026-02-21 06:07:35 +08:00
2026-02-25 07:02:54 +08:00
2026-02-26 22:27:23 +08:00
2026-04-08 14:28:57 +08:00
2026-02-16 00:08:59 +08:00
2026-03-29 04:59:23 +08:00
2026-05-27 15:10:00 +08:00
2026-05-27 15:10:00 +08:00
2026-05-20 18:34:45 +08:00
2026-02-25 07:02:54 +08:00
2026-03-02 02:23:50 +08:00
2026-04-10 23:27:26 +08:00
2026-03-29 04:59:23 +08:00
2026-03-18 22:35:02 +08:00
2026-05-21 14:54:24 +08:00
2026-05-30 19:23:12 +08:00
2026-04-08 17:43:46 +08:00
2026-02-11 03:40:54 +08:00
2026-02-13 14:21:37 +08:00
2026-02-13 14:21:37 +08:00
2026-05-05 12:11:06 +08:00
2026-03-17 04:48:42 +08:00
2026-05-17 22:25:58 +08:00
2026-02-23 04:18:01 +08:00
2026-02-21 06:07:35 +08:00
2026-04-08 14:28:57 +08:00
2026-04-08 14:28:57 +08:00
2026-02-18 22:23:50 +08:00
2026-03-18 00:19:30 +08:00
2026-04-08 14:28:57 +08:00
2026-04-08 16:35:40 +08:00
2026-02-18 22:23:50 +08:00
2026-04-08 14:28:57 +08:00
2026-04-11 03:53:38 +08:00
2026-05-14 23:43:43 +08:00
2026-02-24 01:47:38 +08:00
2026-02-25 07:02:54 +08:00
2026-02-24 01:47:38 +08:00
2026-05-23 01:18:38 +08:00
2026-04-14 20:51:43 +08:00
2026-04-08 17:43:46 +08:00
2026-04-08 14:28:57 +08:00
2026-02-25 07:02:54 +08:00
2026-04-07 18:05:40 +08:00
2026-02-16 00:08:59 +08:00
2026-02-24 01:47:38 +08:00
2026-03-18 22:35:02 +08:00
2026-02-22 15:13:10 +08:00
2026-02-21 21:12:51 +08:00
2026-03-26 22:44:44 +08:00
2026-03-02 02:23:50 +08:00
2026-04-08 15:00:22 +08:00
2026-04-13 16:00:18 +08:00
2026-04-23 16:46:53 +08:00
2026-04-29 18:47:05 +08:00
2026-02-16 00:08:59 +08:00
2026-03-18 00:19:30 +08:00
2026-04-09 14:14:05 +08:00
2026-03-19 04:16:36 +08:00
2026-05-11 21:34:38 +08:00
2026-02-27 05:39:49 +08:00
2026-04-08 18:35:36 +08:00
2026-05-05 12:11:06 +08:00
2026-02-26 22:27:23 +08:00
2026-04-08 17:43:46 +08:00
2026-04-01 00:32:49 +08:00
2026-02-20 13:45:52 +08:00
2026-04-06 17:28:10 +08:00
2026-04-09 03:50:28 +08:00
2026-02-21 06:07:35 +08:00
2026-04-10 23:27:26 +08:00
2026-04-10 23:27:26 +08:00
2026-03-02 02:23:50 +08:00
2026-03-04 12:16:32 +08:00
2026-02-16 00:08:59 +08:00
2026-03-18 22:35:02 +08:00
2026-04-08 17:43:46 +08:00
2026-05-20 18:34:45 +08:00
2026-04-08 17:43:46 +08:00
2026-02-21 06:07:35 +08:00
2026-02-23 04:18:01 +08:00
2026-04-08 14:28:57 +08:00
2026-04-08 14:28:57 +08:00
2026-05-12 21:10:08 +08:00
2026-03-25 21:14:16 +08:00
2026-02-11 03:40:54 +08:00
2026-02-16 10:41:14 +08:00