Repository navigation
Conversation
This was referenced Nov 4, 2026
This was referenced Nov 4, 2026
This was referenced Nov 4, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
各实现此前将可复用领域能力与应用配置、启动和 UI 混在一起,外部程序难以独立消费。本 PR 确立跨语言 Core/App 合同:Core 是可独立消费的 SDK/lib,App 拥有运行环境、装配和交互,Extension 保留具体业务;不预设统一平台适配层或 DI 容器。
范围与下一步
新增 Core/App Product TDD,定义独立消费、依赖方向、显式实例与资源生命周期、兼容演进及可观察的验收条件;更新 topology、合同索引和导航。只含本任务的 4 个文件,不携带原 Hub 工作树其他任务的修改。发布项目:无软件包版本变化。
跨仓跟踪:https://github.com/InKCre/docs/issues/50。对应 Python、TypeScript、Swift 实现由跟踪项关联;未来 Rust/Kotlin 等按同一合同声明自己的能力范围。
下一响应方:维护者。请审阅独立库的责任边界、平台支持与兼容约束。保持 draft;实现的父 PR、共享引用、后续检查与发布次序见跟踪项。
验证
风险、回滚与交付
风险在于把责任图误读成统一目录/包结构,或把独立消费误读成所有语言能力、平台完全相同;文档明确两者均不要求。回滚可整体撤销本 PR 的 4 文件改动,并协调已采用此合同的消费者。
仅修改共享设计文档;没有数据库迁移、凭据、软件包发布或生产部署操作。既有文档 PR 工作流可自行验证/预览。源提交先推送,Python/TypeScript 再分别提交子模块引用;合并后仍须核对最终引用。
依赖
直接父 PR:无,基于当前 main。
同仓子 PR:无;跨仓消费者见跟踪项。
后续统一可观测性
直接子 PR:https://github.com/InKCre/docs/pull/53(draft,基于本 PR 的 Core/App 边界)。先合并本 PR,再将子 PR 重排到最新 main;跨仓交付由 #52 跟踪。