Repository navigation
release: iris-core 0.0.3 与 Persona 默认自动发布 - #143
Merged
Merged
Conversation
- 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.
…退、拆分失败超时按记录容忍 Tests follow in the next commit.
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
marked this pull request as ready for review
November 17, 2026 16:31
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.
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。验收
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 容器通过版本和登录页检查。all_auto,保存过手动设置的旧库继续使用all_manual。合并和发布
#141 已按固定提交 squash 合并为
f2d928c。本分支同步了该 main 提交,解决两份文档及一份测试的冲突后,整个文件树与此前验收的候选完全一致。合并本 PR 后在 main 的对应提交推送v0.0.3。本次先发布 Persona 迁移 041。目标默认自动化迁移目前仍在本地,尚未进入任何发布。后续合入时将目标迁移排在 041 后。本地已验证 0.0.2 → Persona 041 → 目标 042 的升级路径。