superlab 0.1.37 → 0.1.39
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 +60 -0
- package/lib/lab_write_contract.json +4 -4
- package/package-assets/claude/commands/lab-write.md +1 -1
- package/package-assets/codex/prompts/lab-write.md +1 -1
- package/package-assets/shared/lab/.managed/templates/terminology-glossary.md +29 -0
- package/package-assets/shared/lab/.managed/templates/write-iteration.md +11 -0
- package/package-assets/shared/lab/system/core.md +1 -0
- package/package-assets/shared/skills/lab/SKILL.md +7 -0
- package/package-assets/shared/skills/lab/stages/write.md +13 -0
- package/package.json +1 -1
package/lib/i18n.cjs
CHANGED
|
@@ -1320,11 +1320,61 @@ const ZH_SKILL_FILES = {
|
|
|
1320
1320
|
- Terminology consistency:
|
|
1321
1321
|
- Five-dimension self-review outcome:
|
|
1322
1322
|
|
|
1323
|
+
## Terminology Clarity
|
|
1324
|
+
|
|
1325
|
+
- Key terms introduced or revised this round:
|
|
1326
|
+
- Was \`.lab/writing/terminology-glossary.md\` updated:
|
|
1327
|
+
- Did first mention use the full form, with an approved short form only after that:
|
|
1328
|
+
- For each term, what it is and why it matters here:
|
|
1329
|
+
- Did any internal identifier leak into reader-facing prose:
|
|
1330
|
+
- Did any newly coined label joined by hyphens remain in reader-facing prose:
|
|
1331
|
+
- Were the first mentions explained in the prose:
|
|
1332
|
+
- Remaining reader-facing jargon risk:
|
|
1333
|
+
|
|
1334
|
+
## Language Decision
|
|
1335
|
+
|
|
1336
|
+
- Workflow language:
|
|
1337
|
+
- Paper language:
|
|
1338
|
+
- Finalization decision:
|
|
1339
|
+
- Why this decision was chosen:
|
|
1340
|
+
- Workflow-language deliverable path:
|
|
1341
|
+
|
|
1323
1342
|
## 决策
|
|
1324
1343
|
|
|
1325
1344
|
- Continue or stop:
|
|
1326
1345
|
- Next writing target:
|
|
1327
1346
|
- 是否需要回退到 \`review\` 或 \`iterate\`:
|
|
1347
|
+
`,
|
|
1348
|
+
[path.join(".lab", ".managed", "templates", "terminology-glossary.md")]:
|
|
1349
|
+
`# 术语表
|
|
1350
|
+
|
|
1351
|
+
在 \`/lab:write\` 期间用这份 glossary 固定 reader-facing 命名。
|
|
1352
|
+
|
|
1353
|
+
## 命名规则
|
|
1354
|
+
|
|
1355
|
+
- 第一次出现先写全称;如果后面要复用简称或缩写,就在第一次出现时写成 \`全称(简称)\`。
|
|
1356
|
+
- 同一个概念只能有一个 canonical paper-facing name。
|
|
1357
|
+
- 内部标识符、配置键和实验包标签默认不要进正文;若必须出现,也只能先给读者做一次映射。
|
|
1358
|
+
- 尽量使用自然短语,不要新造连字符拼接标签。
|
|
1359
|
+
|
|
1360
|
+
## Entries
|
|
1361
|
+
|
|
1362
|
+
### Entry
|
|
1363
|
+
|
|
1364
|
+
- Canonical paper-facing term:
|
|
1365
|
+
- Full form at first mention:
|
|
1366
|
+
- Approved short form or acronym:
|
|
1367
|
+
- Reader-facing explanation:
|
|
1368
|
+
- Why this term matters here:
|
|
1369
|
+
- First-use section:
|
|
1370
|
+
- Allowed aliases:
|
|
1371
|
+
- Internal identifiers to avoid in prose:
|
|
1372
|
+
|
|
1373
|
+
## Audit
|
|
1374
|
+
|
|
1375
|
+
- Naming drift found this round:
|
|
1376
|
+
- Terms that still need a clearer explanation:
|
|
1377
|
+
- Terms that should move to appendix, tables, or implementation details:
|
|
1328
1378
|
`,
|
|
1329
1379
|
[path.join(".lab", "config", "workflow.json")]:
|
|
1330
1380
|
`{
|
|
@@ -1899,6 +1949,12 @@ ZH_CONTENT[path.join(".codex", "skills", "lab", "stages", "write.md")] = `# \`/l
|
|
|
1899
1949
|
- 如果 \`workflow_language\` 与 \`paper_language\` 不一致,就不要在确认前先把最终论文正文改写成 \`paper_language\`;必须先追问、再持久化、再改稿。
|
|
1900
1950
|
- 如果 \`workflow_language\` 与 \`paper_language\` 不一致,就要在最新 write iteration artifact 里记录工作流语言、论文语言、最终语言决定、为什么这样决定,以及 workflow-language 交付稿路径。
|
|
1901
1951
|
- 如果 \`paper_language_finalization_decision\` 是 \`convert-to-paper-language\`,在接受最终定稿前必须保留 workflow-language 交付稿,并把 canonical manuscript 转换到 \`paper_language\`。
|
|
1952
|
+
- 把 \`.lab/writing/terminology-glossary.md\` 当成写作期 glossary,用来沉淀全称、批准缩写、对外解释和可接受别名;它和 \`.lab/context/terminology-lock.md\` 的职责不同,不能混用。
|
|
1953
|
+
- 无论当前语言是什么,都要满足同一套学术可读性标准;如果本轮引入或改写了关键术语、缩写、指标名、机制名或系统标签,就在首次出现时顺手说明它是什么、为什么在这里重要。
|
|
1954
|
+
- 第一次出现先写全称;如果后面要复用简称或缩写,就在首次出现时定义。
|
|
1955
|
+
- 同一个概念只能保留一个 paper-facing 名称;内部标识符、配置键和实验包标签默认不要进入 reader-facing prose。
|
|
1956
|
+
- 尽量使用自然短语,不要新造连字符拼接标签。
|
|
1957
|
+
- 不要靠堆术语来制造学术感;如果本轮引入或改写了关键术语,就在用户可见的轮次总结里补一段简短术语说明,并把 terminology-clarity 自检写进 write iteration artifact。
|
|
1902
1958
|
- 只加载当前 section guide,不要一次加载全部章节参考。
|
|
1903
1959
|
- 如果当前 section 是 \`abstract\`、\`introduction\` 或 \`method\`,还必须继续读取本地 example bank:\`references/paper-writing/examples/index.md\`、对应的 examples index,以及 1-2 个具体 example 文件。
|
|
1904
1960
|
- 如果当前 section 是 \`related work\`、\`experiments\` 或 \`conclusion\`,也要读取对应的本地 example bank:\`references/paper-writing/examples/index.md\`、对应的 examples index,以及 1-2 个具体 example 文件。
|
|
@@ -2647,6 +2703,10 @@ ZH_CONTENT[path.join(".codex", "skills", "lab", "stages", "auto.md")] = `# \`/la
|
|
|
2647
2703
|
- 如果用户选择转换,就持久化 \`paper_language_finalization_decision: convert-to-paper-language\`
|
|
2648
2704
|
- 如果当前写作目标是最终导出,且语言不一致,就不要在追问前先把最终论文正文改成 \`paper_language\`;先问、先持久化,再改稿
|
|
2649
2705
|
- 如果当前写作目标是最终导出,且语言不一致,就在最新 write iteration 里记录语言决策审计:工作流语言、论文语言、最终语言决定、为什么这样决定,以及 workflow-language 交付稿路径
|
|
2706
|
+
- 把 \`.lab/writing/terminology-glossary.md\` 当成写作期 glossary,用来沉淀全称、批准缩写、对外解释和可接受别名
|
|
2707
|
+
- 当循环推进 \`write\` 时,无论 workflow language 还是 paper language,都要满足同一套学术可读性标准;如果本轮引入或改写了关键术语、缩写、指标名、机制名或系统标签,就在首次出现时说明它是什么、为什么在这里重要
|
|
2708
|
+
- 当循环推进 \`write\` 时,第一次出现先写全称;如果后面要复用简称或缩写,就在首次出现时定义;一个概念只保留一个 paper-facing 名称,并尽量避免新造的连字符拼接标签
|
|
2709
|
+
- 不要靠术语堆积来制造学术感;如果本轮引入或改写了关键术语,就在用户可见的总结里补一段简短术语说明,并把 terminology-clarity 自检写进最新 write iteration
|
|
2650
2710
|
- 不要把 \`sleep 30\`、单次 \`pgrep\` 或一次性的 \`metrics.json\` 探针当成 rung 主命令;这些只能算进度检查。
|
|
2651
2711
|
- 当真实实验进程还活着时,只允许发进度更新并继续等待,不能把这一 rung 当作已经完成。
|
|
2652
2712
|
`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"stage_prompt": {
|
|
3
|
-
"codex_en": "This command runs the `/lab:write` stage. Use `.codex/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.",
|
|
4
|
-
"claude_en": "This command runs the `write` stage of the lab workflow. Use `.claude/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.",
|
|
5
|
-
"codex_zh": "本命令运行 `/lab:write` 阶段。把 `.codex/skills/lab/stages/write.md` 当成模板选择、paper-plan、section 参考、校验 gate、资产覆盖和最终 manuscript 规则的单一来源。读取与当前 section 对应的 paper-writing reference 和 bundled example-bank 文件,一次只修改一个 section;普通草稿轮次把写作校验当 warning,最终定稿或导出轮次必须满足 write-stage 的接受 gate。普通起草轮次先跟随 `workflow_language`,普通 `.tex` section 草稿也必须先停留在 `workflow_language`,不能把 `paper_language` 当成默认草稿语言,并把可阅读的 workflow-language 交付稿当成正式持久化产物,而不是 review
|
|
6
|
-
"claude_zh": "本命令运行 lab workflow 的 `write` 阶段。把 `.claude/skills/lab/stages/write.md` 当成模板选择、paper-plan、section 参考、校验 gate、资产覆盖和最终 manuscript 规则的单一来源。读取与当前 section 对应的 paper-writing reference 和 bundled example-bank 文件,一次只修改一个 section;普通草稿轮次把写作校验当 warning,最终定稿或导出轮次必须满足 write-stage 的接受 gate。普通起草轮次先跟随 `workflow_language`,普通 `.tex` section 草稿也必须先停留在 `workflow_language`,不能把 `paper_language` 当成默认草稿语言,并把可阅读的 workflow-language 交付稿当成正式持久化产物,而不是 review
|
|
3
|
+
"codex_en": "This command runs the `/lab:write` stage. Use `.codex/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. Maintain `.lab/writing/terminology-glossary.md` as the write-stage glossary for full forms, approved short forms, reader-facing explanations, and aliases. Apply the same academic readability standard in every language: when the round introduces or revises key terms, abbreviations, metrics, mechanism names, or system labels, use the full form first, define any short form at first mention, explain what the term is and why it matters here, keep one paper-facing name per concept, and avoid newly coined labels joined by hyphens. Keep internal identifiers out of reader-facing prose unless they are mapped once for the reader, and record the terminology-clarity self-check in the write iteration artifact. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.",
|
|
4
|
+
"claude_en": "This command runs the `write` stage of the lab workflow. Use `.claude/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. Maintain `.lab/writing/terminology-glossary.md` as the write-stage glossary for full forms, approved short forms, reader-facing explanations, and aliases. Apply the same academic readability standard in every language: when the round introduces or revises key terms, abbreviations, metrics, mechanism names, or system labels, use the full form first, define any short form at first mention, explain what the term is and why it matters here, keep one paper-facing name per concept, and avoid newly coined labels joined by hyphens. Keep internal identifiers out of reader-facing prose unless they are mapped once for the reader, and record the terminology-clarity self-check in the write iteration artifact. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.",
|
|
5
|
+
"codex_zh": "本命令运行 `/lab:write` 阶段。把 `.codex/skills/lab/stages/write.md` 当成模板选择、paper-plan、section 参考、校验 gate、资产覆盖和最终 manuscript 规则的单一来源。读取与当前 section 对应的 paper-writing reference 和 bundled example-bank 文件,一次只修改一个 section;普通草稿轮次把写作校验当 warning,最终定稿或导出轮次必须满足 write-stage 的接受 gate。普通起草轮次先跟随 `workflow_language`,普通 `.tex` section 草稿也必须先停留在 `workflow_language`,不能把 `paper_language` 当成默认草稿语言,并把可阅读的 workflow-language 交付稿当成正式持久化产物,而不是 review 层。把 `.lab/writing/terminology-glossary.md` 作为写作期 glossary,用来沉淀全称、批准缩写、对外解释和可接受别名。无论当前语言是什么,都要满足同一套学术可读性标准:如果本轮引入或改写了关键术语、缩写、指标名、机制名或系统标签,就先写全称;如果后面要复用短写,就在首次出现时定义;同时说明它是什么、为什么在这里重要,保持一个概念只有一个 paper-facing 名称,并尽量避免新造的连字符拼接标签。内部标识符默认不要进入 reader-facing prose;若必须出现,只能在完成一次读者映射后使用,并把 terminology-clarity 自检写进 write iteration artifact。如果当前稿件将从托管默认 scaffold 开始,且还没有模板决定,就先追问一次:继续使用默认 scaffold,还是先接入模板目录。如果进入最终定稿时 `workflow_language` 与 `paper_language` 不一致,就先完成并保留 workflow-language 交付稿,再追问一次:保持当前语言,还是把 canonical manuscript 转成 `paper_language`;先持久化这个决定,再在最新 write iteration 里记录语言决策和 workflow-language 交付稿路径,最后才允许按该语言修改最终稿。",
|
|
6
|
+
"claude_zh": "本命令运行 lab workflow 的 `write` 阶段。把 `.claude/skills/lab/stages/write.md` 当成模板选择、paper-plan、section 参考、校验 gate、资产覆盖和最终 manuscript 规则的单一来源。读取与当前 section 对应的 paper-writing reference 和 bundled example-bank 文件,一次只修改一个 section;普通草稿轮次把写作校验当 warning,最终定稿或导出轮次必须满足 write-stage 的接受 gate。普通起草轮次先跟随 `workflow_language`,普通 `.tex` section 草稿也必须先停留在 `workflow_language`,不能把 `paper_language` 当成默认草稿语言,并把可阅读的 workflow-language 交付稿当成正式持久化产物,而不是 review 层。把 `.lab/writing/terminology-glossary.md` 作为写作期 glossary,用来沉淀全称、批准缩写、对外解释和可接受别名。无论当前语言是什么,都要满足同一套学术可读性标准:如果本轮引入或改写了关键术语、缩写、指标名、机制名或系统标签,就先写全称;如果后面要复用短写,就在首次出现时定义;同时说明它是什么、为什么在这里重要,保持一个概念只有一个 paper-facing 名称,并尽量避免新造的连字符拼接标签。内部标识符默认不要进入 reader-facing prose;若必须出现,只能在完成一次读者映射后使用,并把 terminology-clarity 自检写进 write iteration artifact。如果当前稿件将从托管默认 scaffold 开始,且还没有模板决定,就先追问一次:继续使用默认 scaffold,还是先接入模板目录。如果进入最终定稿时 `workflow_language` 与 `paper_language` 不一致,就先完成并保留 workflow-language 交付稿,再追问一次:保持当前语言,还是把 canonical manuscript 转成 `paper_language`;先持久化这个决定,再在最新 write iteration 里记录语言决策和 workflow-language 交付稿路径,最后才允许按该语言修改最终稿。"
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -7,4 +7,4 @@ argument-hint: section or writing target
|
|
|
7
7
|
Use the installed `lab` skill at `.claude/skills/lab/SKILL.md`.
|
|
8
8
|
|
|
9
9
|
Execute the requested `/lab-write` command against the user's argument now. Do not only recommend another lab stage. If a blocking prerequisite is missing, say exactly what is missing and ask at most one clarifying question.
|
|
10
|
-
This command runs the `write` stage of the lab workflow. Use `.claude/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.
|
|
10
|
+
This command runs the `write` stage of the lab workflow. Use `.claude/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. Maintain `.lab/writing/terminology-glossary.md` as the write-stage glossary for full forms, approved short forms, reader-facing explanations, and aliases. Apply the same academic readability standard in every language: when the round introduces or revises key terms, abbreviations, metrics, mechanism names, or system labels, use the full form first, define any short form at first mention, explain what the term is and why it matters here, keep one paper-facing name per concept, and avoid newly coined labels joined by hyphens. Keep internal identifiers out of reader-facing prose unless they are mapped once for the reader, and record the terminology-clarity self-check in the write iteration artifact. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.
|
|
@@ -6,4 +6,4 @@ argument-hint: section or writing target
|
|
|
6
6
|
Use the installed `lab` skill at `.codex/skills/lab/SKILL.md`.
|
|
7
7
|
|
|
8
8
|
Execute the requested `/lab:write` stage against the user's argument now. Do not only recommend another lab stage. If a blocking prerequisite is missing, say exactly what is missing and ask at most one clarifying question.
|
|
9
|
-
This command runs the `/lab:write` stage. Use `.codex/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.
|
|
9
|
+
This command runs the `/lab:write` stage. Use `.codex/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section references, validator gates, asset coverage, and final manuscript rules. Read the matching paper-writing reference and any bundled example-bank files for the requested section, revise only one section, and keep draft rounds warning-only while final-draft or export rounds must satisfy the write-stage acceptance gates. Draft ordinary manuscript rounds in `workflow_language`, and ordinary `.tex` section drafts must stay in `workflow_language` instead of treating `paper_language` as the default draft language. Treat a readable workflow-language deliverable as a real persisted artifact rather than a review layer. Maintain `.lab/writing/terminology-glossary.md` as the write-stage glossary for full forms, approved short forms, reader-facing explanations, and aliases. Apply the same academic readability standard in every language: when the round introduces or revises key terms, abbreviations, metrics, mechanism names, or system labels, use the full form first, define any short form at first mention, explain what the term is and why it matters here, keep one paper-facing name per concept, and avoid newly coined labels joined by hyphens. Keep internal identifiers out of reader-facing prose unless they are mapped once for the reader, and record the terminology-clarity self-check in the write iteration artifact. If the manuscript would start from the managed scaffold and no template decision is recorded yet, ask once whether to keep the default scaffold or attach a template directory first. If finalization reaches a round where `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`, persist that answer, record both the language decision and the workflow-language deliverable path in the latest write iteration, and only then edit the final manuscript in the chosen language.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Terminology Glossary
|
|
2
|
+
|
|
3
|
+
Use this glossary during `/lab:write` to keep reader-facing naming stable.
|
|
4
|
+
|
|
5
|
+
## Naming Rules
|
|
6
|
+
|
|
7
|
+
- First mention should use the full form. If a short form or acronym will be reused, define it at first mention as `Full Form (Short Form)`.
|
|
8
|
+
- Keep one canonical paper-facing name per concept.
|
|
9
|
+
- Keep internal identifiers, config keys, and experiment package labels out of prose unless they are mapped once for the reader.
|
|
10
|
+
- Prefer natural phrase names over newly coined labels joined by hyphens.
|
|
11
|
+
|
|
12
|
+
## Entries
|
|
13
|
+
|
|
14
|
+
### Entry
|
|
15
|
+
|
|
16
|
+
- Canonical paper-facing term:
|
|
17
|
+
- Full form at first mention:
|
|
18
|
+
- Approved short form or acronym:
|
|
19
|
+
- Reader-facing explanation:
|
|
20
|
+
- Why this term matters here:
|
|
21
|
+
- First-use section:
|
|
22
|
+
- Allowed aliases:
|
|
23
|
+
- Internal identifiers to avoid in prose:
|
|
24
|
+
|
|
25
|
+
## Audit
|
|
26
|
+
|
|
27
|
+
- Naming drift found this round:
|
|
28
|
+
- Terms that still need a clearer explanation:
|
|
29
|
+
- Terms that should move to appendix, tables, or implementation details:
|
|
@@ -27,6 +27,17 @@
|
|
|
27
27
|
- Terminology consistency:
|
|
28
28
|
- Five-dimension self-review outcome:
|
|
29
29
|
|
|
30
|
+
## Terminology Clarity
|
|
31
|
+
|
|
32
|
+
- Key terms introduced or revised this round:
|
|
33
|
+
- Was `.lab/writing/terminology-glossary.md` updated:
|
|
34
|
+
- Did first mention use the full form, with an approved short form only after that:
|
|
35
|
+
- For each term, what it is and why it matters here:
|
|
36
|
+
- Did any internal identifier leak into reader-facing prose:
|
|
37
|
+
- Did any newly coined label joined by hyphens remain in reader-facing prose:
|
|
38
|
+
- Were the first mentions explained in the prose:
|
|
39
|
+
- Remaining reader-facing jargon risk:
|
|
40
|
+
|
|
30
41
|
## Language Decision
|
|
31
42
|
|
|
32
43
|
- Workflow language:
|
|
@@ -26,6 +26,7 @@ For auto-mode orchestration or long-running experiment campaigns, also read:
|
|
|
26
26
|
|
|
27
27
|
- `.lab/context/` holds durable project research state plus lightweight workflow state.
|
|
28
28
|
- `.lab/changes/`, `.lab/iterations/`, and `.lab/writing/` hold workflow control artifacts, lightweight manifests, and change-local harnesses.
|
|
29
|
+
- `.lab/writing/terminology-glossary.md` is a write-stage glossary for full forms, approved short forms, reader-facing explanations, and alias discipline; it is separate from `.lab/context/terminology-lock.md`.
|
|
29
30
|
- `.lab/.managed/` holds tool-managed templates and scripts.
|
|
30
31
|
- Durable run outputs belong under the configured `results_root`, not inside `.lab/changes/`.
|
|
31
32
|
- Figures and plots belong under the configured `figures_root`, not inside `.lab/changes/`.
|
|
@@ -198,6 +198,11 @@ Use this skill when the user invokes `/lab:*` or asks for the structured researc
|
|
|
198
198
|
- If `workflow_language` and `paper_language` differ, finish and preserve the workflow-language deliverable first, then the first final-draft or export round must ask once whether to keep the draft language or convert the canonical manuscript to `paper_language`.
|
|
199
199
|
- When the languages differ, do not rewrite final manuscript sections in `paper_language` before that question has been answered; ask first, persist the choice, then edit the final manuscript in the chosen language.
|
|
200
200
|
- When the languages differ, record the workflow language, paper language, finalization decision, why the decision was chosen, and the workflow-language deliverable path in the latest write iteration artifact.
|
|
201
|
+
- Apply the same reader-facing standard in both languages: when a round introduces or revises key terms, abbreviations, metrics, mechanism names, or system labels, explain them at first mention by saying what they are and why they matter here.
|
|
202
|
+
- First mention should use the full form. If a short form or acronym will be reused, define it at first mention and then keep usage stable.
|
|
203
|
+
- Keep one canonical paper-facing name per concept, and keep internal identifiers out of prose unless they are mapped once for the reader.
|
|
204
|
+
- Prefer natural phrase names over newly coined labels joined by hyphens.
|
|
205
|
+
- Do not rely on unexplained jargon density as a substitute for academic tone.
|
|
201
206
|
- Bind each claim to evidence from `report`, iteration reports, or normalized summaries.
|
|
202
207
|
- Use the write-stage contract in `.codex/skills/lab/stages/write.md` or `.claude/skills/lab/stages/write.md` as the single source of truth for template choice, paper-plan requirements, section-specific references, validator calls, asset coverage, and final manuscript gates.
|
|
203
208
|
- Use the vendored paper-writing references under `skills/lab/references/paper-writing/` and the matching example-bank files under `skills/lab/references/paper-writing/examples/`.
|
|
@@ -205,6 +210,8 @@ Use this skill when the user invokes `/lab:*` or asks for the structured researc
|
|
|
205
210
|
- Treat section-quality, claim-safety, and manuscript-delivery checks as the canonical acceptance gates for final-draft or export rounds.
|
|
206
211
|
- For each subsection, explicitly cover motivation, design, and technical advantage when applicable.
|
|
207
212
|
- Keep terminology stable across rounds and sections.
|
|
213
|
+
- Maintain `.lab/writing/terminology-glossary.md` as the write-stage source for full forms, approved short forms, reader-facing explanations, allowed aliases, and terms that should stay out of prose.
|
|
214
|
+
- When a round introduces or revises key terms, include a compact terminology note in the user-facing write summary and record the terminology-clarity self-check in the latest write iteration artifact.
|
|
208
215
|
- If a claim is not supported by evidence, weaken or remove it.
|
|
209
216
|
- Treat tables, figures, citations, and bibliography as core manuscript content rather than optional polish.
|
|
210
217
|
- Keep paper-facing LaTeX free of absolute local paths, rerun ids, shell transcripts, and internal workflow provenance.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- stable `report` artifact
|
|
6
6
|
- approved framing artifact at `.lab/writing/framing.md`
|
|
7
|
+
- current terminology glossary at `.lab/writing/terminology-glossary.md` when it already exists
|
|
7
8
|
- iteration reports
|
|
8
9
|
- normalized summaries
|
|
9
10
|
- reviewer notes when available
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
- `.lab/context/evidence-index.md`
|
|
27
28
|
- `.lab/context/data-decisions.md`
|
|
28
29
|
- `.lab/context/terminology-lock.md`
|
|
30
|
+
- `.lab/writing/terminology-glossary.md` when it exists
|
|
29
31
|
|
|
30
32
|
## Context Write Set
|
|
31
33
|
|
|
@@ -90,6 +92,13 @@ Run these on every round:
|
|
|
90
92
|
- Reuse example-bank structure, paragraph roles, sentence logic, and paper-facing LaTeX asset patterns when examples are bundled, but never copy wording verbatim.
|
|
91
93
|
- Treat example cites and example file names as writing references, not as evidence for the current paper.
|
|
92
94
|
- Build a compact mini-outline before prose.
|
|
95
|
+
- Academic readability standards are the same in `workflow_language` and `paper_language`; changing languages must not lower external-reader clarity.
|
|
96
|
+
- If the current round introduces or revises key terms, abbreviations, metric names, mechanism names, or system labels, explain them at first mention by briefly stating what they are and why they matter here.
|
|
97
|
+
- First mention should use the full form. If a short form or acronym will be reused later, define it at first mention as `Full Form (Short Form)` before switching to the short form.
|
|
98
|
+
- Keep one canonical paper-facing name per concept. Do not let one concept drift across paper-facing names, experiment labels, and internal identifiers.
|
|
99
|
+
- Keep internal identifiers, config keys, and experiment package labels out of reader-facing prose unless they are mapped once for the reader.
|
|
100
|
+
- Prefer natural phrase names over newly coined labels joined by hyphens.
|
|
101
|
+
- Do not use unexplained terminology density as a substitute for academic tone.
|
|
93
102
|
- Build the paper asset plan before prose when the section carries introduction, experimental, method, related-work, or conclusion claims:
|
|
94
103
|
- record the asset coverage targets and gaps for the current paper
|
|
95
104
|
- record which table asset files the section needs, what each table should show, and which evidence supports it
|
|
@@ -132,6 +141,8 @@ Run these on every round:
|
|
|
132
141
|
- If the manuscript validator fails, keep editing and asset generation until it passes; do not stop at prose-only completion.
|
|
133
142
|
- Run a LaTeX compile smoke test when a local LaTeX toolchain is available; if not available, record the missing verification in the write iteration artifact.
|
|
134
143
|
- Record what changed and why in a write-iteration artifact.
|
|
144
|
+
- Maintain `.lab/writing/terminology-glossary.md` as the write-stage source for full forms, approved short forms, reader-facing explanations, and aliases whenever terminology changes.
|
|
145
|
+
- When a round introduces or revises key terms, include a compact terminology note in the user-facing round summary and record the terminology-clarity self-check in the write-iteration artifact.
|
|
135
146
|
- When `workflow_language` and `paper_language` differ, record the final manuscript language choice in the write-iteration artifact with the workflow language, paper language, finalization decision, and why that decision was chosen.
|
|
136
147
|
- When `workflow_language` and `paper_language` differ, also record the persisted workflow-language deliverable path in the write-iteration artifact.
|
|
137
148
|
- Return paragraph-level roles for the revised prose when drafting.
|
|
@@ -144,6 +155,7 @@ Run these on every round:
|
|
|
144
155
|
|
|
145
156
|
- `.lab/writing/framing.md`
|
|
146
157
|
- `.lab/writing/plan.md`
|
|
158
|
+
- `.lab/writing/terminology-glossary.md`
|
|
147
159
|
- `.lab/writing/iterations/<n>.md`
|
|
148
160
|
- `<deliverables_root>/paper/main.tex`
|
|
149
161
|
- `<deliverables_root>/paper/references.bib`
|
|
@@ -168,3 +180,4 @@ Run these on every round:
|
|
|
168
180
|
- If a missing assumption would change the section structure or claim strength, ask one clarifying question at a time.
|
|
169
181
|
- If there are multiple defensible narrative structures for the current section, present 2-3 approaches with trade-offs and recommend one before drafting.
|
|
170
182
|
- Keep an approval gate when the chosen narrative structure would materially affect downstream sections or paper-level framing.
|
|
183
|
+
- If the round introduces or revises key terms, abbreviations, metrics, or mechanism names, include a short terminology note in the final user-facing response that says the full form, approved short form if any, what each term is, and why it matters here, and point to `.lab/writing/terminology-glossary.md` plus the write iteration artifact for the full terminology audit.
|