song
song
这个问题可以用 RFC 里的形式模型回答,但公式的作用不是让 Agent 做形式证明,而是让它在造新词之前先完成一套可检查的分类和反例测试。 ## 1. Agent 如何意识到自己可能在造新词 Agent 不需要把所有字符串都当成语义词。只有当一个新字符串满足下面至少一个条件时,才进入“新词候选”流程: - 被写入跨函数、跨模块或跨运行时传递的字段; - 被写入 journal、receipt、数据库或其他持久化载体; - 被 `if`、`match`、`switch`、映射表或路由函数解释; - 出现在一个已经登记的闭集字段或协议槽位中; - 需要被另一个模块、另一个运行时或后续 Turn 读取。 局部变量、日志文本、界面文案和只用于测试说明的字符串,不自动进入词表治理。 可以把候选写成一个带上下文的对象: ```text candidate =...
## 归一化视角:缺的不是理论,是一个键 有人问这个项目是否需要引入"归一化"的概念。核对下来结论是:**它已经有了,而且是规范的**;真正缺的是一个键。以下测量都基于 main `9060ddc91`。 ### 1. `formal_model` 已经是一份词表的范式理论 它的结构与关系模型逐项对应: | 关系模型 | `formal_model` | | --- | --- | | 论域 | `universes: {vocabularies, values, sites, scopes, roles}` |...
## Status 2026-09-17 (late) — four merges landed, #4643 regression caught and fixed, pool state **Merged today:** #4606, #4608, #4614, #4617. Post-merge measurements matched the terminal-state predictions recorded earlier in...
**B3 — retirement metric: opened as [#4651](https://github.com/huangruiteng/loopx/pull/4651).** This was the last "Not started" Track B item and it gates every M3 field. The checklist asked to replace substring matching with...
## Tracker updated and scoped down — 2026-09-18, measured on `092a28c4e` The body was materially out of date in five places, each of which would have misled someone picking this...
## Status 2026-10-14 — source evidence merged, candidate Stage 3 readback **Merged since the last update.** [#6270](https://github.com/loopx-project/loopx/pull/6270) merged as `1c2542df730e51fd50c892a1236e1b7166768a7b` on 2026-10-14; [#6285](https://github.com/loopx-project/loopx/pull/6285) merged as `5ea7497b52f4b094ee2e4528f92bf69b934a25ee` on 2026-10-13 after an...
Thanks for splitting this out. I support the direction: **the decision prompt should arrive when a developer or agent introduces new semantics, not only at the commit-time full-tree scan.** My...
> 中文版,与上一条英文回复为同一内容的镜像。 感谢把这个问题从 #4447 里独立出来。我支持这个方向:**应当在开发者或 Agent 引入新语义的那一刻给出复用或新建的决策提示,而不只是等到提交期的全树检查。** 我的建议是:第一版围绕**一个真正被调用的开发期提示闭环**来做,registry 新字段暂时不作为起点。按你提的三个问题依次回答,并附上我核对过的代码。 --- ### 1. `admitted_as` 不宜作为独立的第一个 PR `candidate_decision` 描述的是**某一次具体变更中做出的选择**,不是词表的永久属性。 同一个词表在首次引入时是 `create_vocabulary`,后来加值时是 `extend_vocabulary`,第三个模块采用它时是 `reuse_existing`。这是针对三次不同变更的三个不同决定;条目上的单个静态字段装不下,而且会丢掉"它指的是哪一次变更"。 还有第二个理由,来自我在 #4447 来源闭合那一侧的工作。**七个 `candidate_decisions` 值实际上在做两件事:** ``` external_input · compatibility_only...
I will try to fix it.
如果合适的话,我尝试实现这个,并给出相应的benchmark