Willie
2f6f6bd052
fix(git): enforce root-scope safety on commit/push instead of warning
...
Root-scope git operations detected hazards but proceeded anyway, letting
preventable mistakes reach the remote:
- Nested git repos were only warned about, then committed/pushed as empty
submodules (silent data loss). Now commit/push abort (CLI non-zero exit,
server 400) until the nested repos are disabled, and the web UI disables
the commit/push buttons while any are present.
- The pre-stage safety sweep ran before the dry-run check, so `--dry-run`
wrote .gitignore and ran `git rm --cached config.yaml`. The sweep/guard is
now strictly read-only on dry-run and only reports what would change.
- Server git endpoints used EffectiveGitRoot() without validating git_root,
so a hand-edited invalid scope silently fell back to skills. They now share
a gitSource() guard that rejects invalid scopes with 400, mirroring the
CLI's resolveGitRoot.
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-30 19:23:12 +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-30 19:23:12 +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