superlab 0.1.49 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/i18n.cjs CHANGED
@@ -207,7 +207,7 @@ const ZH_SKILL_FILES = {
207
207
  - 本轮假设
208
208
  - 具体代码或配置改动
209
209
  - 标准化评估摘要
210
- - 书面 iteration report
210
+ - 写入 \`.lab/iterations/\` 的书面 iteration report
211
211
  - 写入 \`results_root\` 的持久 run 输出
212
212
  - continue 或 stop 决策
213
213
  - 风险连续两轮升高时触发 diagnostic mode
@@ -235,6 +235,7 @@ const ZH_SKILL_FILES = {
235
235
  - 不要修改指标定义、baseline 语义或对比方法实现,除非评估协议已经记录了来源和与原始实现的偏差。
236
236
  - 如果要调整 ladder、样本量或升格 gate,必须继续锚定到带来源的评估协议,而不是靠聊天临时判断。
237
237
  - durable findings 和证据边界变化应写回 canonical context,再刷新派生的 \`state.md\` 快照;当前执行进度只写 \`workflow-state.md\`。
238
+ - \`.lab/iterations/*.md\` 属于对外可读的 workflow artifact。如果 workflow language 是中文,iteration report、本轮摘要、阻塞点和 continue-or-stop 决策都应使用中文,除非文件路径、代码标识符或字面指标名必须保持原样。
238
239
 
239
240
  ## 交互约束
240
241
 
@@ -887,13 +888,13 @@ const ZH_SKILL_FILES = {
887
888
  - [ ] 产出 final report。
888
889
  `,
889
890
  [path.join(".lab", ".managed", "templates", "iteration-report.md")]:
890
- `# Iteration Report
891
+ `# 迭代报告
891
892
 
892
893
  ## 轮次
893
894
 
894
- - Iteration number:
895
- - Run id:
896
- - Completion Promise:
895
+ - 迭代编号:
896
+ - 运行 id:
897
+ - 完成承诺:
897
898
 
898
899
  ## 假设
899
900
 
@@ -905,27 +906,27 @@ const ZH_SKILL_FILES = {
905
906
 
906
907
  ## 评估摘要
907
908
 
908
- - Dataset:
909
- - Split:
910
- - Baseline:
911
- - Variant:
912
- - Primary metric:
913
- - Secondary metrics:
914
- - Failure count:
909
+ - 数据集:
910
+ - 划分:
911
+ - 基线:
912
+ - 变体:
913
+ - 主指标:
914
+ - 次级指标:
915
+ - 失败次数:
915
916
 
916
917
  ## 专家批评
917
918
 
918
- - Main concerns:
919
- - Methodology concerns:
920
- - Interpretation concerns:
919
+ - 主要关注点:
920
+ - 方法论关注点:
921
+ - 解释风险:
921
922
  - 是否进入 diagnostic mode:
922
923
 
923
924
  ## 决策
924
925
 
925
- - Continue or stop:
926
- - Next action:
927
- - Top blockers:
928
- - Next best actions:
926
+ - 继续还是停止:
927
+ - 下一步动作:
928
+ - 主要阻塞点:
929
+ - 次优后续动作:
929
930
  `,
930
931
  [path.join(".lab", ".managed", "templates", "review-checklist.md")]:
931
932
  `# Review Checklist
@@ -2854,6 +2855,7 @@ ZH_CONTENT[path.join(".codex", "skills", "lab", "stages", "auto.md")] = `# \`/la
2854
2855
  - 如果用户显式调用 \`/lab:auto\` 或 \`/lab-auto\`,就保持在 auto 执行路径里;只要请求仍在已批准 execution envelope 内,即使目标听起来像 feature selection、baseline selection、离散化或 candidate sweep,也不要重新路由到 brainstorming 或 spec review。
2855
2856
  - 如果用户同时提了论文层、实验 phase 和自治级别,先用一句话重述:objective、自治级别、terminal goal、scope、allowed modifications。
2856
2857
  - 如果 workflow language 是中文,摘要、清单条目、任务标签和进度更新都应使用中文,除非文件路径、代码标识符或字面指标名必须保持原样。
2858
+ - 对 auto 写出的 \`.lab/iterations/*.md\` 也应用同样的 workflow-language 规则,包括本轮摘要、阻塞点、diagnostic notes 和 continue-or-stop 决策。
2857
2859
  - 当循环进入 \`report\` 时,要主动给出用户可读的白话总结,解释主指标、次级指标和主表作用;不要等用户额外发一句“解释这些指标”。
2858
2860
  - 当循环即将进入 \`write\`,且 \`paper_template_root\` 为空时:
2859
2861
  - 如果 \`paper_template_decision\` 是 \`unconfirmed\`,必须先追问一次:继续使用默认 scaffold,还是先接入模板目录
@@ -28,6 +28,7 @@ Use this skill when the user invokes `/lab:*` or asks for the structured researc
28
28
  - Use `.lab/context/eval-protocol.md` as the shared evaluation contract for run, iterate, auto, and report stages, including metric glossary and experiment ladder semantics.
29
29
  - Treat evaluation semantics as source-backed once evaluation planning starts: metrics, benchmark gates, baseline behavior, comparison implementations, and deviations should come from recorded sources, not memory.
30
30
  - Workflow artifacts should follow the installed workflow language.
31
+ - Iteration artifacts under `.lab/iterations/` are workflow artifacts and should follow the installed workflow language.
31
32
  - Final paper output should default to LaTeX, and its manuscript language should be decided separately from the workflow language.
32
33
  - Separate sourced facts from model-generated hypotheses.
33
34
  - Preserve failed runs, failed ideas, and limitations.
@@ -174,6 +175,7 @@ Use this skill when the user invokes `/lab:*` or asks for the structured researc
174
175
  - Keep metric definitions, baseline behavior, and comparison implementations anchored to the source-backed evaluation protocol before changing thresholds, gates, or ladder transitions.
175
176
  - Switch to diagnostic mode if risk increases for two consecutive rounds.
176
177
  - Write round reports with `.lab/.managed/templates/iteration-report.md`.
178
+ - Write round reports under `.lab/iterations/` with `.lab/.managed/templates/iteration-report.md`, and keep those iteration artifacts in the workflow language.
177
179
  - Update `.lab/context/workflow-state.md`, `.lab/context/decisions.md`, `.lab/context/evidence-index.md`, `.lab/context/open-questions.md`, and `.lab/context/eval-protocol.md` each round as needed, then refresh derived views.
178
180
  - Keep `.lab/context/eval-protocol.md` synchronized with accepted ladder changes, benchmark scope, and source-backed implementation deviations.
179
181
  - Stop at threshold success or iteration cap, and record blockers plus next-best actions when the campaign ends without success.
@@ -166,6 +166,7 @@
166
166
  - allowed modifications
167
167
  - Then ask at most one clarifying question if a blocking field is still missing.
168
168
  - If `.lab/config/workflow.json` sets the workflow language to Chinese, write summaries, options, checklist items, task labels, and progress updates in Chinese unless a file path, code identifier, or literal metric name must remain unchanged.
169
+ - Apply the same workflow-language rule to auto-written iteration artifacts under `.lab/iterations/`, including round summaries, blocker lists, diagnostic notes, and continue-or-stop decisions.
169
170
  - When the loop reaches `report`, apply the same workflow-language rule to `report.md` and the managed `main-tables.md` artifact.
170
171
  - When the loop reaches `report`, proactively deliver a user-facing plain-language summary of the selected metrics, what they mean, what the tables prove, and what remains unproven. Do not wait for a separate user request asking for interpretation.
171
172
  - When the loop is about to enter `write` and `paper_template_root` is empty:
@@ -37,7 +37,7 @@ Declare and keep fixed:
37
37
  - round hypothesis
38
38
  - concrete code or config changes
39
39
  - normalized evaluation summary
40
- - written iteration report
40
+ - written iteration report under `.lab/iterations/`
41
41
  - durable run outputs under `results_root`
42
42
  - continue or stop decision
43
43
  - diagnostic mode trigger when risk increases for two consecutive rounds
@@ -70,6 +70,7 @@ If the loop stops without success, record:
70
70
  - Re-run the `Sanity and Alternative-Explanation Checks` whenever a round produces anomaly signals, suspiciously unchanged results, impl/result mismatches, or other outcomes that could still have simpler explanations.
71
71
  - If a round reveals leakage risk, invalid scale comparisons, unsupported metric semantics, or overstated claim boundaries, treat that as a fatal methodological flaw instead of a normal failed iteration.
72
72
  - If anomaly signals remain unresolved after implementation reality checks and at least one cross-check, switch to diagnostic mode instead of continuing as if the interpretation were settled.
73
+ - Keep `.lab/iterations/*.md` as reader-facing workflow artifacts. If `.lab/config/workflow.json` sets the workflow language to Chinese, write the iteration report, round summary, blocker list, and continue-or-stop decision in Chinese unless a file path, code identifier, or literal metric name must remain unchanged.
73
74
 
74
75
  ## Interaction Contract
75
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlab",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "Strict /lab research workflow installer for Codex and Claude",
5
5
  "keywords": [
6
6
  "codex",