Commit Graph

3 Commits

Author SHA1 Message Date
Dash
6ca0cfc0a6 feat(region): 将 Global 设为默认区域 (#475)
* feat: 将 Global 设为默认区域

Signed-off-by: Dash <dashhuang@gmail.com>

* fix(region): 让本地入口与测试显式使用区域

Signed-off-by: Dash <dashhuang@gmail.com>

* fix(region): 同步本地构建身份并改进清单错误

Signed-off-by: Dash <dashhuang@gmail.com>

---------

Signed-off-by: Dash <dashhuang@gmail.com>
2026-07-26 09:21:10 +08:00
Lizi
3c9627f7fb chore(mobile): 落地冷更审查标准并让 fingerprint guard 结论机器可读
## 这次改了什么

- `docs/dev-rules/mobile-development.md`「冷更边界」新增硬性规则:除非必要,不得提交
  会改变 runtime fingerprint 的改动;确需冷更时 PR Description 必须写清为什么冷更
  不可避免、存量装机影响范围与发版节奏;审查上与技术框架变动同级,必须由仓库指定的
  把关人针对冷更明确确认后才能合并,提交者身份不构成例外。同时补全指纹输入清单
  (eas.json production 段、plugins/、modules/、依赖版本含 lockfile 传递依赖),并修掉
  「PR 有 fingerprint guard 自动比对」这句与当前公开 workflow 不符的描述。
- `AGENTS.md` 规则索引新增触发条件(改 app.json / app.config.js / eas.json /
  apps/mobile/package.json / plugins/ / modules/ 前必须先读冷更边界)。
- PR 模板风险段补上冷更需额外说明的三项与合并条件。
- `apps/mobile/scripts/ci-fingerprint.mjs` 的 guard sticky comment 增加机器可读结论行
  `<!-- fingerprint-changed: true|false -->`,让审查侧读这一行而不是匹配标题文案;
  step summary 同步剥掉两行 marker,并加单测钉住格式,防止改文案把下游判定弄瞎。

## 怎么验证的

- `pnpm --filter mobile typecheck` 通过
- `pnpm --filter mobile test`:249 files / 2348 tests 全通过
- 定向 `src/__tests__/ciFingerprintScript.test.ts` 8 passed
- `node scripts/check-pr-template-rules.mjs` 通过;`dev-docs-contract` 5 passed
- 用 renderGuardComment 的真实产物验证机器可读行可被下游解析(changed / unchanged 两态)

## 风险

- 无已知运行时风险:改动集中在规则文档与 CI 辅助脚本的评论渲染,不进入 app 运行时,
  也不影响 fingerprint 本身(apps/mobile/scripts/ 不是指纹输入)。
- 未执行:根 `pnpm test:unit` 仍有 3 个既有失败(dev-migration-policy ×2、
  restart-desktop-remote ×1),在未改动的干净 HEAD 上同样失败(跨平台测试基础设施问题,
  PR #449 正在修),与本次改动无关。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-07-25 22:30:44 +08:00
Lizi
bb3f71d084 chore: Cindy 首次开源提交 / initial open-source release
Cindy 是心动网络 (X.D. Network Inc.) 的跨端 AI Agent 客户端。
本次提交包含 Desktop(Electron)、Mobile(Expo)及全部共享 packages
的完整源码,以 Apache-2.0 协议开源。

This is the first public release of Cindy, X.D. Network's cross-platform
AI agent client: the Electron desktop app, the Expo mobile app, and all
shared workspace packages, licensed under Apache-2.0.

- 许可与合规:根 LICENSE(Apache-2.0)+ NOTICE;第三方组件归属声明与
  SPDX SBOM 收口在 docs/legal/notices/,由 pnpm licenses:generate 生成。
- 社区文件:README / CONTRIBUTING / CODE_OF_CONDUCT / SECURITY / SUPPORT
  中英双语;issue / PR 模板与 CI workflow 在 .github/。
- 协议层以公开 submodule 引入:github.com/makecindy/cindy-protocol。
- 提交前已通过仓库门禁:全量 pnpm test:unit 与涉及 package 的 typecheck。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 08:30:44 +08:00