0xdhx
2a98b6b0b1
fix( #2665 ): keep the dot-home type guarantee #2755 chose
...
The rebase resolution annotated both hoisted descriptors and the local in
resolveKimiHooksTomlDir as ConfigHomeDescriptor. #2755 used DotHomeDescriptor
there deliberately: the union permits xdg / dot-home-nested / generic-agents-root
shapes, so the broader annotation drops the compile-time guarantee that this
resolver selects a dot-home descriptor and nothing else.
Runtime behaviour was already correct — all eleven paths resolve identically —
so this restores a type-level property, not a behavioural one. Both exported
constants are now pinned to DotHomeDescriptor as well, which is stricter than
the ConfigHomeDescriptor they carried since round 3; the interface stays
unexported and NON_REGISTRY_CONFIG_HOME_DESCRIPTORS keeps its
ConfigHomeDescriptor[] type, which the narrower constants satisfy as subtypes.
Found by the pre-push adversarial review of this round, which is the one claim
of six it refuted.
2026-08-08 05:50:49 -05:00
..
2026-07-09 19:38:27 -04:00
2026-08-07 13:41:21 -04:00
2026-07-28 18:02:17 -04:00
2026-08-02 21:44:04 -04:00
2026-06-28 02:12:06 -04:00
2026-07-17 06:50:06 -04:00
2026-06-21 22:55:22 -04:00
2026-07-20 14:59:30 -04:00
2026-07-31 21:20:46 -04:00
2026-08-06 23:57:05 -04:00
2026-06-02 11:45:01 -04:00
2026-06-27 08:43:47 -04:00
2026-06-23 23:21:06 -04:00
2026-08-08 01:20:55 -04:00
2026-08-07 03:14:40 -04:00
2026-06-16 02:38:47 -04:00
2026-07-30 12:48:06 -04:00
2026-06-20 01:59:03 -04:00
2026-07-30 12:48:06 -04:00
2026-07-29 10:55:45 -04:00
2026-06-25 23:55:58 -04:00
2026-07-02 20:34:30 -04:00
2026-07-07 00:19:08 -04:00
2026-07-29 16:58:02 -04:00
2026-07-17 06:50:06 -04:00
2026-08-08 01:20:55 -04:00
2026-07-28 18:02:17 -04:00
2026-07-27 16:24:21 -04:00
2026-07-27 16:24:21 -04:00
2026-06-10 10:40:12 -04:00
2026-06-26 12:19:39 -04:00
2026-07-12 15:34:59 -04:00
2026-07-05 19:16:06 +00:00
2026-06-02 11:45:01 -04:00
2026-08-07 09:30:27 -04:00
2026-06-02 11:45:01 -04:00
2026-06-13 10:27:12 -04:00
2026-06-23 22:47:57 -04:00
2026-08-08 01:20:55 -04:00
2026-08-01 21:00:23 -04:00
2026-08-05 21:26:38 -04:00
2026-06-23 16:10:34 -04:00
2026-06-15 18:50:46 -04:00
2026-08-03 10:46:22 -04:00
2026-06-08 22:51:43 -04:00
2026-07-31 23:03:13 -04:00
2026-07-31 15:44:19 -04:00
2026-06-02 11:45:01 -04:00
2026-08-08 01:20:55 -04:00
2026-06-22 23:43:22 -04:00
2026-07-17 16:25:13 -04:00
2026-08-03 19:59:58 -04:00
2026-07-13 15:36:17 -04:00
2026-06-14 21:44:21 -04:00
2026-06-28 02:12:06 -04:00
2026-07-26 21:42:50 -04:00
2026-06-24 17:16:13 -04:00
2026-06-24 17:16:13 -04:00
2026-07-17 06:50:06 -04:00
2026-08-05 16:00:52 -04:00
2026-06-11 11:36:50 -04:00
2026-06-08 23:37:41 -04:00
2026-08-05 02:18:25 -04:00
2026-08-08 01:20:55 -04:00
2026-08-03 12:16:56 -04:00
2026-08-06 00:32:28 -04:00
2026-06-23 23:21:06 -04:00
2026-08-06 02:56:07 -04:00
2026-08-08 01:20:55 -04:00
2026-07-02 18:08:42 -04:00
2026-06-28 11:44:36 -04:00
2026-07-02 21:45:35 -04:00
2026-08-04 20:33:50 -04:00
2026-08-07 09:30:27 -04:00
2026-08-07 09:30:27 -04:00
2026-07-07 22:21:45 -04:00
2026-08-04 14:31:07 -04:00
2026-08-04 18:10:31 -04:00
2026-08-07 13:41:21 -04:00
2026-08-07 13:41:21 -04:00
2026-08-07 13:41:21 -04:00
2026-06-23 23:21:06 -04:00
2026-06-16 00:12:54 -04:00
2026-08-05 16:00:52 -04:00
2026-06-15 16:18:54 -04:00
2026-07-07 19:38:01 -04:00
2026-07-31 13:17:01 -04:00
2026-07-14 14:25:44 -04:00
2026-08-05 13:30:55 -04:00
2026-08-05 13:30:55 -04:00
2026-08-08 01:20:55 -04:00
2026-06-28 11:27:44 -04:00
2026-07-21 19:10:22 -04:00
2026-06-02 11:45:01 -04:00
2026-07-20 14:59:30 -04:00
2026-07-07 12:14:43 -04:00
2026-07-19 15:43:48 -04:00
2026-06-02 11:45:01 -04:00
2026-06-05 17:58:48 -04:00
2026-07-28 18:02:17 -04:00
2026-07-26 21:42:50 -04:00
2026-08-01 23:06:43 -04:00
2026-07-13 20:39:58 -04:00
2026-08-08 01:20:55 -04:00
2026-08-08 01:20:55 -04:00
2026-07-02 11:14:01 -04:00
2026-08-04 06:47:46 -04:00
2026-07-28 18:02:11 -04:00
2026-08-08 01:20:55 -04:00
2026-08-08 01:20:55 -04:00
2026-08-07 09:30:27 -04:00
2026-07-02 11:55:53 -04:00
2026-07-26 01:06:35 -04:00
2026-06-08 14:04:26 -04:00
2026-07-03 23:21:55 -04:00
2026-07-31 02:30:50 -04:00
2026-08-04 22:41:01 -04:00
2026-06-06 11:24:48 -04:00
2026-06-05 17:58:48 -04:00
2026-06-18 07:44:52 -04:00
2026-08-03 12:05:45 -04:00
2026-08-04 18:59:19 -04:00
2026-07-30 12:48:06 -04:00
2026-08-07 07:43:14 -04:00
2026-07-29 16:58:02 -04:00
2026-08-05 18:22:14 -04:00
2026-08-05 13:10:52 -04:00
2026-07-10 09:44:49 -04:00
2026-08-06 08:07:24 -04:00
2026-08-06 10:20:22 -04:00
2026-07-13 15:36:17 -04:00
2026-08-04 18:10:31 -04:00
2026-07-11 23:24:42 -04:00
2026-08-08 05:50:49 -05:00
2026-08-04 23:42:16 -04:00
2026-07-22 00:27:35 -04:00
2026-06-11 12:37:25 -04:00
2026-07-13 15:36:17 -04:00
2026-06-02 11:45:01 -04:00
2026-08-03 19:59:58 -04:00
2026-07-14 14:25:44 -04:00
2026-06-18 14:41:20 -04:00
2026-08-06 23:57:05 -04:00
2026-08-07 05:32:49 -04:00
2026-07-06 14:40:38 -04:00
2026-06-29 16:15:55 -04:00
2026-07-30 19:55:03 -04:00
2026-06-28 11:44:36 -04:00
2026-08-06 23:57:05 -04:00
2026-08-08 01:20:55 -04:00
2026-08-04 14:31:07 -04:00
2026-06-15 16:18:54 -04:00
2026-06-17 08:52:23 -04:00
2026-07-12 15:34:59 -04:00
2026-08-05 16:00:52 -04:00
2026-08-05 11:19:17 -04:00
2026-07-28 18:31:47 -04:00
2026-07-12 16:22:47 -04:00
2026-08-07 05:32:49 -04:00
2026-07-04 13:32:51 -04:00
2026-06-02 11:45:01 -04:00
2026-07-29 12:29:45 -04:00
2026-06-07 01:26:56 -04:00
2026-08-05 16:00:52 -04:00
2026-06-02 11:45:01 -04:00
2026-08-08 01:20:55 -04:00
2026-08-03 19:59:58 -04:00
2026-08-02 23:43:32 -04:00
2026-08-05 16:00:52 -04:00
2026-06-02 11:45:01 -04:00
2026-08-01 23:06:43 -04:00
2026-08-05 16:00:52 -04:00
2026-08-06 04:26:59 -04:00
2026-07-13 20:39:58 -04:00