Skip to content

chore(main): 同步 dev 到 main(协作规范与 CI,不发布 tag) - #44

Open
dynamder wants to merge 53 commits into
mainfrom
dev
Open

dynamder wants to merge 53 commits into
mainfrom
dev

Conversation

@dynamder

Copy link
Copy Markdown
Owner

变更描述

dev → main 的同步 PR(不是 release):仓库还没有第一个可用版本,因此不打 tag、不写 release notes。先例是 #26。

main 目前是 dev 的祖先、落后 26 个提交,本次同步把它们一并带过去:

  • 9 个依赖更新(actions/cache、checkout、github-script、upload-artifact、serde、log、tokio、flutter_rust_bridge、text-splitter);
  • docs/dev-convention.md:协作规范唯一权威(分支模型、提交信息、推进流程、发布节奏、文档规范);
  • scripts/check_commit_messages.py:提交信息门禁(接入 Quality job);
  • scripts/classify_changes.py:纯文档改动跳过三平台测试。

本 PR 的 head 是 dev,因此它自动跟随 dev:先把 #43(补上"首个版本之前用同步 PR"这条规则)合进 dev,本 PR 会一并带上,无需 rebase。

为什么不是 release

合并后

按 §5.4 立刻把 main 合回 dev(--no-ff),否则下一次同步就不再是干净的一次性合并。

测试

main 需要 1 个 approve + 5 个必需检查。本 PR 不是纯文档改动(含依赖与脚本),因此三平台 cargo test 会全量执行(约 40 分钟)——这是预期行为,:main 上的合并本来就应该跑全量。

关联 Issue

无

dynamder and others added 28 commits September 27, 2026 12:01
chore(sync): 把 main 合回 dev(rustls 修复 + dependabot target-branch=dev)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v7...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [text-splitter](https://github.com/benbrandt/text-splitter) from 0.29.3 to 0.32.0.
- [Release notes](https://github.com/benbrandt/text-splitter/releases)
- [Changelog](https://github.com/benbrandt/text-splitter/blob/main/CHANGELOG.md)
- [Commits](benbrandt/text-splitter@v0.29.3...v0.32.0)

---
updated-dependencies:
- dependency-name: text-splitter
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [flutter_rust_bridge](https://github.com/fzyzcjy/flutter_rust_bridge) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/fzyzcjy/flutter_rust_bridge/releases)
- [Changelog](https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/CHANGELOG.md)
- [Commits](fzyzcjy/flutter_rust_bridge@v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: flutter_rust_bridge
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…s/checkout-7

chore(deps): bump actions/checkout from 4 to 7
…s/cache-6

chore(deps): bump actions/cache from 4 to 6
….32.0

chore(deps): bump text-splitter from 0.29.3 to 0.32.0
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.228 to 1.0.229.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.228...v1.0.229)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.229
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.52.3 to 1.53.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.52.3...tokio-1.53.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.53.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…s/github-script-9

chore(deps): bump actions/github-script from 7 to 9
…s/upload-artifact-7

chore(deps): bump actions/upload-artifact from 4 to 7
…idge-2.13.0

chore(deps): bump flutter_rust_bridge from 2.12.0 to 2.13.0
Bumps [log](https://github.com/rust-lang/log) from 0.4.30 to 0.4.34.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](rust-lang/log@0.4.30...0.4.34)

---
updated-dependencies:
- dependency-name: log
  dependency-version: 0.4.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
- 收拢分支模型、提交格式、推进流程、发布节奏、文档规范
- 提交规范改为硬性 Conventional Commits,不追溯历史
- 发布流程定义两种触发:每两周定期、版本完成
- docs/README.md 登记索引,CONTRIBUTING.md 改为指向
- 新增 scripts/check_commit_messages.py:校验 type 白名单、`: ` 分隔符、非空描述
- 仅查首行,跳过 merge 与 Revert,不查正文、行长、scope 用词
- 接入既有 Quality job,checkout 改 fetch-depth: 0
- 仅对目标为 dev 的 PR 生效,避免 release PR 带入历史提交
- AGENTS.md 登记脚本与提交信息约定
chore(deps): bump serde from 1.0.228 to 1.0.229
chore(deps): bump tokio from 1.52.3 to 1.53.1
- 新增 scripts/classify_changes.py:判断改动是否全部落在文档白名单内
- 分类不可判定时(区间读不出、改动为空、左端不可用)一律返回 code=true
- ci.yml 在 test job 内用步骤级 if 跳过重步骤,job 本身照常运行
- 不用 paths-ignore 也不用 job 级 if:前者不创建必需检查,后者在 matrix 展开前求值
- 分类结果以显式 LF 写入 $GITHUB_OUTPUT:Windows 的 \r\n 会让 != 'false' 失效
chore(deps): bump log from 0.4.30 to 0.4.34
docs(convention): 新增协作规范总纲并加提交信息门禁
ci(test): 纯文档改动跳过三平台测试
- dev-convention §4 写明跳过范围与不可判定时的回退
- CONTRIBUTING 的 CI 说明补上纯文档例外
- AGENTS.md §2 登记 scripts/classify_changes.py
docs(convention): 补充纯文档改动跳过 Test 矩阵的说明
- §1 的 main 规则改为接受来自 dev 的 release 或同步 PR
- §5 写明首个版本之前用同步 PR(先例 #26),跳过 tag 与 release notes
docs(convention): 补上首个可用版本之前的同步路径
@dynamder
dynamder requested a review from seeelee September 27, 2026 07:09
Bumps [tokenizers](https://github.com/huggingface/tokenizers) from 0.21.4 to 0.22.2.
- [Release notes](https://github.com/huggingface/tokenizers/releases)
- [Commits](huggingface/tokenizers@v0.21.4...v0.22.2)

---
updated-dependencies:
- dependency-name: tokenizers
  dependency-version: 0.22.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot Bot and others added 18 commits September 27, 2026 18:04
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.32 to 0.3.34.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/main/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.32...0.3.34)

---
updated-dependencies:
- dependency-name: futures
  dependency-version: 0.3.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
- RetrBayesAction 返回 ActionTypeSlots(speak/think/skill 各至多一个,Option 席位)
- 删除 BayesActionConfig.top_k 与 AssociateWithActionConfig.action_top_k
- AssociateWithActionResult.action 改名 slots,DefaultPipelineResult.action 保留字段名
- 贪心取组内最高分,同分按 MemoryId tiebreak;Skill 席位恒空(SkillRecord 无标识)
- proc_none 照常竞争 Think 席,由消费侧解释为空
- playtest 不再反查节点类型,行为通道收敛为单席;benches 合成图动作类型轮换三型

BREAKING CHANGE: 动作检索不再返回 top-k 列表,改为按 ActionType 的 Option 席位结构
- 忽略本地 .gh-cache 目录,避免 GitHub CLI 缓存被误提交
- 移除 .reasonix/ 下三个 desktop-topic 状态文件(本地工具状态,不属于仓库内容)
- 该目录已从工作区删除,删除后 .reasonix 不再被跟踪
- 新增 Render trait,输出 RenderedMemoryNote 的 kind、score、content、context 四个字
  段
- kind 用单层扁平枚举区分具体与抽象情景,序列化名对齐 proto
- content 覆盖语义、具体情景、抽象情景代表字段、程序性记忆四种推导规则
- context 仅具体情景给出,为 None 时序列化保留键并输出 null
- render 契约测试 13 项,锁定键集合、kind 拼写与 context 的 proto 形状
feat(core): 新增 MemoryNote 的 render 对外契约
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.23.1 to 1.26.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](uuid-rs/uuid@v1.23.1...v1.26.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 1.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
- cargo-mutants 只要有一个 MISSED 就退 2,job 在门禁之前就被判红,--threshold 90 永远无法生效
- mutants_gate.py 新增 --cargo-mutants-exit-code:只把 0/2/3 当作结果,其余按工具故障硬失败
- 删掉 if: hashFiles(...) 守卫:if 里不含状态检查函数时会被隐式加上 success(),上一步失败即跳过
- 没有变异体可测(退出码 0 且报告缺失或为空)仍判 PASS
- 同一批源文件被 lib.rs 与 main.rs 两个 crate root 声明时,cargo-mutants 按 root 各扫一遍,engine 下每个变异体都生成并测试两遍(实测 249 报成 498)
- main.rs 改为 use soul_tune::{base, engine},不再自己 mod base; mod engine;
- 顺带删除 main.rs 的 allow(dead_code):bin 不再编译 engine 树,全量 clippy 零警告
- PR-diff job 里 soul-tune 变异体从 18 个降到 9 个(每个约 9 分钟),job 时长预计减半
- 新增 test_greedy_and_tiebreak_are_order_independent:每轮重建工作记忆采样 HashMap 迭代顺序,64 轮覆盖不同分取最高与全同分取最小 id
- test_slots_are_one_per_action_type 补非空态断言,覆盖 is_empty 的 true 分支
- mutants.toml 记录 < 到 <= 为等价变异体:HashMap 键唯一,二者仅在两侧相等时有别;手工变异实测 10 个测试全过
- 修复前这组算子变异体只能靠当次哈希种子碰运气,现由新测试稳定杀灭
- split_action_channels 与具名结构体 ActionChannels:proc_none 与 Skill 归行为通道的分派不再藏在完整管线里
- associate_with_action_config:PPR 阻尼、残差阈值、top_k 不再只是闭环里的一段字面量
- 两处抽取均为行为不变(原 match 与字面量逐行搬移),编译与 clippy 零警告
- 新增两个 hermetic 单测;手工变异验证 5 个变异体全部被杀
chore(deps): bump futures from 0.3.32 to 0.3.34
…0.22.2

chore(deps): bump tokenizers from 0.21.4 to 0.22.2
chore(deps): bump uuid from 1.23.1 to 1.26.1
Bumps [paw-rs](https://github.com/dynamder/paw-rs) from 0.2.2 to 0.3.0.
- [Changelog](https://github.com/dynamder/paw-rs/blob/main/release.toml)
- [Commits](dynamder/paw-rs@v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: paw-rs
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.44 to 0.4.45.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](chronotope/chrono@v0.4.44...v0.4.45)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.45
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tokenizers](https://github.com/huggingface/tokenizers) from 0.22.2 to 0.23.2.
- [Release notes](https://github.com/huggingface/tokenizers/releases)
- [Commits](huggingface/tokenizers@v0.22.2...v0.23.2)

---
updated-dependencies:
- dependency-name: tokenizers
  dependency-version: 0.23.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
seeelee
seeelee previously approved these changes Oct 6, 2026
dynamder and others added 2 commits October 6, 2026 22:31
- write_one 只删不在本次 payload 里的旧出边,payload 内的边就地 upsert 覆盖
- 先全删再按同一 record id 重建会撞上 SurrealDB 3.2.4 同事务内删后重建静默丢行,
  使 fetch → 改 → upsert 这条 read-modify-write 路径每写一次丢一批边
- 语义不变:payload 的 links 仍是该节点出边的完整真相源,空 links 即清空出边
- 补 4 条回归测试:同 id 边重声明、部分字段更新、差分删除、空出边只清自己
fix(storage): 出边同步改为差分删除,避免全量重建丢边
feat(algo): 动作检索改为按 ActionType 每类贪心取一席
…0.23.2

chore(deps): bump tokenizers from 0.22.2 to 0.23.2
chore(deps): bump paw-rs from 0.2.2 to 0.3.0
chore(deps): bump chrono from 0.4.44 to 0.4.45
@dynamder

dynamder commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner Author

新增了依赖更新,检索结果数据结构的改动,数据库upsert_notes静默丢边的bug修复

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants