refactor(framework): 移除 resolveBootstrap 下游兜底,立第二准则
- CLAUDE.md 新增「第二准则:数据源权威、唯一,下游不兜底」 - bootstrap 删除 fallbackServers 选项与 ?? DEFAULT_GAMESERVER 猜默认 - 无 server/gameserver、远程失败、解析不出地址 → 一律抛 ConfigFetchError 显式暴露 - 同步 guide + 两篇 spec(删 fallback/降级措辞) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,6 @@ export interface BootstrapOptions {
|
||||
search: string;
|
||||
fetcher: ConfigFetcher;
|
||||
isNative: boolean;
|
||||
fallbackServers?: string[];
|
||||
cacheBust?: () => string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user