Skip to content

release: iris-core 0.0.3 与 Persona 默认自动发布 - #143

Merged
leafliber merged 18 commits into
mainfrom
dev/persona-auto-publish-default
Nov 17, 2026
Merged

leafliber merged 18 commits into
mainfrom
dev/persona-auto-publish-default

Conversation

@leafliber

@leafliber leafliber commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

iris-core 0.0.3

本次发布 Persona 默认自动发布。新库和从未保存过 Persona 设置、仍使用原默认值的旧库切到 all_auto。核对通过的小、中、大变化均可自动发布。已有有效发布方式、待确认候选和冻结设置的在途任务按对应规则保留。

pyproject.toml、uv.lock 和版本测试均为 0.0.3。发布工作流只测 Python 3.13,v0.0.3 标签将触发双架构镜像、wheel、sdist 和 GitHub Release。

验收

  • fix(persona): 逐命题核对收录资格、频率强度不得升级、单句截断按焦点拆分 (PE-23) #141 固定提交 c635e9473283d17417de4ee0773ec286d31eaa16 通过隐藏集两轮独立盲判。42 个检查点中,28/28 次实际变化有依据,七类违规均为 0,手写误删和漏删均为 0,不完整检查点 2 个。初检和复查分别保留 3600 秒预算。
  • 发布候选 d526c198dfdcbe4f32be46d968309bd492119e68 的 iris --version 输出 iris 0.0.3。Python 3.13 全量 6279/6279 通过,前端 478/478 通过。wheel、sdist 和 GitHub 双架构 Docker 构建通过,本地 ARM64 容器通过版本和登录页检查。
  • 已用安装后的 wheel 验证从 0.0.2 升级。未保存过 Persona 设置的旧库切到 all_auto,保存过手动设置的旧库继续使用 all_manual。

合并和发布

#141 已按固定提交 squash 合并为 f2d928c。本分支同步了该 main 提交,解决两份文档及一份测试的冲突后,整个文件树与此前验收的候选完全一致。合并本 PR 后在 main 的对应提交推送 v0.0.3。

本次先发布 Persona 迁移 041。目标默认自动化迁移目前仍在本地,尚未进入任何发布。后续合入时将目标迁移排在 041 后。本地已验证 0.0.2 → Persona 041 → 目标 042 的升级路径。

- Claim eligibility: check v37 asks each substantive claim for its own
  eligibility; a closed class of future/intention/commitment markers
  (PLAN_MARKERS) obliges focus-level claim_checks. Code binds the verdicts:
  any ineligible claim or any plan rejects the sentence through the existing
  repair/delete path; missing or malformed verdicts count as ineligible.
- Frequency strength: FREQUENCY_STRENGTH ranks a closed class of frequency
  and universal words (偶尔<有时<经常<通常/习惯<总是/都/每次/从不) inside the
  existing quantifier_checks contract, plus source_instances. A candidate
  may not outrank its source word; instances alone support only a bounded
  experience (那两次……). Hedges never lower a rank.
- Output limits: a truncated one-sentence window is split by focus with the
  whole sentence and sources kept; an unsplittable request whose truncated
  reply is an unclosed JSON object or blank padding is retried once while
  the stage can still hold it. Truncation records note their handling; new
  focus_splits/output_retries counts reach the evaluation report.
- Prompts: persona_check_v37, persona_generate_v24; older files kept.
- Retry: an empty, blank or unclosed truncated reply of an unsplittable
  request is asked once more, without the timeout allowance and with a
  deadline that leaves a 60 s stage reserve. Any failure of the retry
  restores the original truncation (terminal / current kept), never a stage
  failure; degree and handwritten review included. A focus split needs the
  same room in the stage, else the truncation is terminal.
- Counting: truncations of a window that ends complete (retry, structure
  reask or split) are recovered; only an incomplete window counts terminal.
  Handwritten review gets its own diagnostics, summed in the report.
- Frequency: candidate and source share one reading; negated words and a
  distributive 都 (adjacent quantifier, plural pronoun, bounded set) are no
  claim or evidence. Evidence comes from utterances only. A bounded
  experience needs 这/那 + count + 次/回/场/遍/天 before the word, not opening
  a period, within source_instances. Adds 每天 天天 每晚 每周 每月 每年 全都.
- Claims: PLAN_MARKERS drop 会 要 想要 希望 但愿 愿意; only marked requested
  foci owe claim_checks; a missing or incomplete contract is asked again
  once, then rejected.
- Prompts v37/v24 edited in place (unmerged, never run formally).
- Recovery budget: a retry or focus split runs only if its estimate (one
  request, or one per focus, as long as the truncated one) plus the windows
  still to run (each as the longest seen in the stage, degree included; the
  handwritten review also counts its remaining pages and the check after it)
  plus the 60 s reserve fits. Halves end before the reserve; any failed half
  (timeouts after their retry, 429, transport, truncation) restores the
  original truncation as terminal instead of raising.
- 都: read from everything before it in its clause. Sets of times or
  occasions keep it a frequency claim; a universal phrase (每次排练, 每个人,
  任何人) takes it as its correlative; bounded sets of people or things,
  including a coordination with names or pronouns right before it, make it
  distributive; 一样 is no numeral and classifier.
- Bounded counts: 那次 counts one; any period opener between the count and the
  word unbounds it.
- source_quantifier must be one closed-class word: otherwise asked again once,
  then read as no frequency evidence.
- Evaluation: a failed output retry's own timeout is tolerated (not recovered)
  at a retained checkpoint, only as the next same-purpose call after the
  truncation and one per failed retry; retry errors are reported.
- Prompt check v37: source_quantifier names one word.
- 都/全都 is a frequency or universal claim except in three closed forms:
  a plural pronoun or group word right before it; a numeral (or 这/那 +
  numeral) with a closed person-or-thing classifier before it in its clause;
  X 和/跟/与/同 Y right before it, X and Y pronouns or names/aliases of subjects
  in this material (code-only, not sent to the checker). The occasion, set and
  text-coordination heuristics are removed.
- Only 都 can be bounded: 这/那 + count + 次/回/场/遍/趟 right before it, only a
  subject pronoun or adverb between, no period word anywhere in the clause.
  总是/每次/一直 and the rest always need a source frequency word.
- A recovery leaves room for unrun sibling sub-batches of a split; a failed
  sentence-split child restores the original truncation as terminal.
- A reask for one bad source word keeps the other items' adverse verdicts.
- Evaluation: truncation records carry their call order; only the call right
  after the truncation whose record says its retry failed by timeout is
  tolerated, records deduplicated across phases, none if counts disagree.
- Prompts v37/v24 state the narrower bounded rule.
Counted groups need two or more and no each-clause; each 都 needs its own
count; a bare source 都 is no evidence; pauses are never absorbed by a
fallback; a failed focus split's own timeouts are tolerated by record;
subject names never reach a model request.
- A counted group is one fixed shape right before 都: 这/那? + two or more (or
  几) + 个人, or a person/thing classifier with a noun of at most two
  characters (one adjective may precede it, no time, place or action
  character), then at most one pronoun and one adverb. Anything else between
  the count and 都 makes it a frequency claim.
- item_error and content_rejection of the one request are contained by a retry
  or split fallback; configuration, key, account, pause, usage limit and call
  budget errors keep their own path.
- Check prompt v37: a bare 都 of the source is no frequency evidence.
- COUNTED_GROUP: a count right after 第 or another numeral is no group, so an
  ordinal (第二本书我都) stays a frequency claim.
- A bare 每 of the source with a later 都 in its clause (每遇到新朋友我都先问)
  is explicit universal evidence; 每 is a legal source_quantifier and asks for
  no reask. A lone 都, a 每 without its 都 or a negated 每 is still none.
@leafliber leafliber changed the title feat(persona): 默认自动发布通过核对的 Persona release: iris-core 0.0.3 与 Persona 默认自动发布 Nov 17, 2026
@leafliber
leafliber marked this pull request as ready for review November 17, 2026 16:31
@leafliber
leafliber merged commit 14536f4 into main Nov 17, 2026
1 check passed
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.

1 participant