Academic Humanizer
Improve academic prose by removing observable writing defects, not by imitating
imperfection or optimizing an authorship detector. Preserve the author's facts,
argument, uncertainty, and disciplinary voice. This skill does not guarantee how
any reader or detector will classify a text.
Portability
This skill is agent-agnostic. Its core behavior is defined by SKILL.md and
references/; Python is optional and supports reproducible diagnostics.
- Resolve
<skill-dir> from the directory containing this SKILL.md.
- Let
<python> mean an available Python 3 launcher, such as python3, py -3,
or python.
- Let
<input-file> mean a user-authorized local text file. Quote paths that
contain spaces and use the host shell's path separator.
- Do not assume a fixed skill root, home directory, shell, operating system,
agent name, or path separator.
agents/openai.yaml is optional interface metadata. Core behavior does not
depend on a particular agent runtime.
- If Python is unavailable, skip the scripts and apply the same contracts
directly.
Load the operating references
Read these before drafting or editing:
- Semantic contract for claim preservation,
locked spans, deletion safety, and the internal claim ledger.
- Terminology contract for canonical terms,
declared aliases, coined names, intentional distinctions, and the internal
terminology ledger. Always load it for multi-span or manuscript-level work.
- Global pattern contract for the
local-to-document audit, distribution map, scope limits, and whole-document
repair. Always load it for multi-sentence work.
- Academic whitelist for protected scholarly
forms in both languages.
- Contrast logic for false-opposition triage in
English and Chinese. Always load it; this is a cross-language semantic rule.
- Route once by the majority language of editable prose, then read exactly one:
English rules or
Chinese rules.
Read worked examples on first use, after changing a
rule, or whenever fact preservation, contrast, or over-correction is uncertain.
Read metrics specification before running
scripts/metrics.py; its output is descriptive evidence only.
Supported operations
- generate: draft from user-supplied claims, outline, data, and sources.
- detect: identify high-confidence defects without rewriting.
- rewrite: minimally revise supplied prose; this is the default when the user
asks to de-AI or humanize text.
- edit: apply the same minimal revisions to a named file.
Do not create another routing tree for paper section or discipline. Methods,
Results, Discussion, reviewer responses, and grants use the same contracts; the
whitelist handles legitimate register differences. Ask one direct question only
when the requested genre changes what counts as acceptable and context does not
resolve it.
Language route
Route on editable prose, excluding fenced code, formulas, block quotations, and
a trailing reference list. Use orthographic tokens: each CJK character is one
token and each contiguous Latin word is one token. This keeps embedded terms such
as Transformer or ImageNet from outweighing the Chinese sentence around them:
r = CJK tokens / (CJK tokens + Latin word tokens)
r >= 0.5: Chinese branch.
r < 0.5: English branch.
- No countable prose: stop and ask for text or an intended output language.
English terms in Chinese prose and Chinese terms in English prose remain
verbatim. If Python is available and the route is genuinely unclear, optionally
run <python> "<skill-dir>/scripts/metrics.py" "<input-file>" --route.
Routing is internal and never appears in the clean artifact.
Single arbitration order
Earlier rows win. References may elaborate this table but must not define a
second priority order.
| Priority |
Constraint |
Operational meaning |
| C0 |
Artifact boundary |
Process instructions, editor narration, and tool residue never enter the artifact. C0 applies only to process-layer text; it never authorizes deletion of real content. |
| C1 |
Semantic fidelity |
Every output claim maps to the source bundle; every material source claim remains represented. No added facts, relations, examples, citations, motivations, or limitations. |
| C2 |
Locked-span protection |
Quotations, formulas, code, references, citation keys, statistical notation, proper nouns, and requested verbatim text remain unchanged. |
| C3 |
Terminology identity |
One scientific concept uses one canonical term across the editable manuscript. Preserve declared full-name/abbreviation pairs, necessary grammatical forms, and intentional distinctions; never infer identity from similarity alone. |
| C4 |
Academic register |
Preserve functional hedging, passive voice, nominalization, discourse markers, and Chinese scholarly morphology. |
| C5 |
Argument structure |
Preserve causal strength, contrast, concession, addition, chronology, scope, and paragraph-level reasoning. Surface connectives may change when the relation survives. |
| C6 |
Document patterning |
Audit recurrence, clustering, dispersion, positional regularity, sentence rhythm, and rhetorical-function saturation across the complete editable scope. A count is evidence, never a verdict. |
| C7 |
Local style repair |
Apply language-specific rules only to locally unsupported, vacuous, mechanical, or stacked defects. |
Examples of conflict resolution:
- A style rule suggests adding a number, mechanism, baseline, or limitation that
is absent from the source: C1 blocks the addition.
- A leak and a result share one sentence: C0 removes only the process phrase;
C1 and C5 preserve the result and its relation to adjacent sentences.
- A coined method name drifts across the abstract, body, and caption: C3 restores
the canonical term after C1 and C2 confirm that the referent and spans permit it.
- A passive sentence is conventional in Methods: C4 blocks stylistic activation.
- A contrast pattern is present but its two concrete claims lack surrounding
evidence: C1 blocks automatic deletion; mark it uncertain in diagnostic output.
- One dash, triad, connective, or emphatic sentence has a clear function: C4-C6
protect it. Repeated functionless instances may activate C6 after a distribution
audit, while C1-C5 still constrain every repair.
Workflow
1. Read the complete editable scope
Read all supplied title, abstract, body sections, captions, tables, appendices,
and supplementary prose before changing anything. Identify which parts are
editable and which are evidence or protected context. Separate content
requirements from style/process instructions. For generation, treat only
supplied claims, data, citations, and explicitly marked hypotheticals as content.
2. Lock spans and build the evidence and terminology ledgers
Apply the semantic and terminology contracts. Build the claim/evidence ledger
with source-to-output mappings and provenance status for:
- numbers, units, entities, citations, datasets, methods, and study design;
- negation, comparison direction and baseline;
- association, causation, prediction, and attribution;
- modality, uncertainty, limitations, population, time, and scope.
The editable draft establishes what the author currently says; it does not by
itself prove that a cited paper, result, quotation, or factual premise exists.
Mark unsupported evidence assertions as draft-only and preserve or flag them
instead of silently treating them as verified or extending the argument from them.
Build a separate terminology ledger for scientific concepts, especially newly
coined methods, modules, losses, metrics, datasets, and task names. Record:
concept_id, canonical_term, and the span that defines or first formally
names the concept;
- declared
allowed_forms, including full-name/abbreviation pairs and necessary
grammatical or bilingual mappings;
observed_variants, distinguish_from, and resolution status.
Use explicit user terminology first, then formal definitions, then the first
unambiguous formal naming. Frequency alone never selects the canonical term.
Keep both ledgers internal unless the user asks for an audit trail.
3. Run the local candidate pass
- Find process leakage and tool residue.
- Audit terminology across the complete editable scope. Classify each apparent
variation as declared form, same-concept drift, intentional
distinction, protected mention, or uncertain identity.
- Triage contrast candidates as protected, unsupported rhetorical, or
uncertain using
contrast-logic.md.
- Apply the routed language rules to identify candidates with three questions:
- Load: does the wording carry a claim or logical relation?
- Support: can each claim be traced to the source bundle?
- Patterning: is the defect mechanical, vacuous, or reinforced by other
signals in the same span?
A lone word or sentence form is not enough to infer authorship or poor quality.
It can still be a local defect when it adds an unsupported claim, false relation,
or empty evaluation. Multiple weak signals in one span form one finding, not
several duplicate findings.
4. Build the distribution map and run the global pass
For multi-sentence input, map candidates by section, paragraph, sentence,
position, and rhetorical function using global-pattern-contract.md. Inspect:
- sentence-initial discourse markers and punctuation such as dashes;
- contrast scaffolds, parallel triads, flat enumeration, and exhaustive listing;
- repeated sentence/paragraph templates and recurring paragraph closures;
- sentence-length sequence and rhythm within each functional section;
- unsupported certainty, elevation, and aphoristic peak saturation.
Use within-document evidence and section function; never apply a universal count
or ratio. A distribution map supports findings only about the supplied editable
scope; an excerpt cannot support a whole-manuscript judgment. Optional metrics
produce a distribution map, not an authorship or quality judgment.
5. Classify before editing
Classify each finding as local defect, distributional defect,
functional/protected, or uncertain. A distributional defect requires both
repetition or positional regularity and redundant rhetorical function. Several
valid ablation contrasts, method steps, reported metrics, or theorem consequences
remain protected even when their surface forms repeat.
6. Make the smallest coherent edit
- Remove process-layer text while retaining any content in the same sentence.
- Normalize confirmed same-concept drift to the ledger's canonical term across
every editable occurrence, including captions and tables. Preserve declared
abbreviations and grammatical forms; do not replace protected mentions.
- Keep terms separate when they name distinct concepts. If identity is uncertain,
preserve the text and ask or flag it outside the clean artifact.
- Prefer subtraction or direct wording when a phrase carries no proposition.
- Use concrete material only when it already exists in the source.
- Preserve both claims in additive forms such as
not only X but also Y when X
and Y are supported; removing the construction must not remove either claim.
- Preserve or flag concrete negative claims when evidence is insufficient to
decide whether the contrast is real. Do not silently erase them.
- Repair the document as a system: remove redundant scaffolding, retain each
supported proposition and relation, and vary syntax only when argument function
warrants it. Do not randomize sentence length or replace one repeated template
with another repeated template.
- Reorganize flat enumeration only when the source already supplies a hierarchy.
Never invent categories merely to make a list appear elegant.
- Preserve an unverified citation or evidence claim in rewrite/edit mode and flag
it outside the artifact; do not strengthen it or use it to generate new claims.
- Leave already competent prose unchanged.
7. Run the whole-manuscript terminology gate
Scan all editable sections together after revision. Every scientific concept
must use its canonical term or a declared allowed form. Verify that coined names
are unchanged after their formal introduction, captions and tables match the
body, bilingual mappings are declared, and distinct concepts remain distinct.
Any unresolved identity is a stop/flag result, not an automatic normalization.
8. Run the whole-document pattern gate
Rebuild the distribution map after editing. Check that redundant clusters,
mechanical paragraph templates, uniform rhetorical peaks, and unsupported
certainty were resolved without erasing functional repetition or creating a new
dominant pattern. If the supplied scope is shorter than the claimed scope, report
the limitation and do not claim a whole-manuscript pass.
9. Run the second-pass semantic and style gate
Re-read source and output side by side. The output fails if any answer is no:
- Does every output claim map to the source bundle?
- Does every material source claim remain?
- Are numbers, negation, modality, causal strength, baseline, attribution, and
scope unchanged?
- Are locked spans byte-for-byte unchanged?
- Does the terminology ledger show one canonical term per concept, with only
declared forms and intentional distinctions remaining?
- Are cited evidence, quotations, and factual premises supported by supplied or
verified sources, or explicitly marked
draft-only outside the artifact?
- Did the edit preserve academic register and logical relations?
- Did the whole-document pattern gate pass without threshold chasing?
- Is the artifact free of process labels, editor narration, placeholders filled
by guesswork, and tool residue?
- Would a zero-edit result have been more accurate? If yes, restore the source.
Run metrics only as an optional residual scan. A metric never overrides this gate.
Output contract
- generate / rewrite: return the clean artifact by default, with no routing
line, score, checklist, leak line, or editor preface.
- detect: return findings grouped by severity and scope (
local or
distributional). Each finding includes an exact source quote, rule ID,
location/distribution evidence, reason, and one of change, keep, or
uncertain.
- edit: edit only the requested file, then summarize changes outside it.
- Provide diagnostics after the artifact only when the user explicitly asks for
them. Clearly separate diagnostics from text intended for the manuscript.
- Use verified counts only. Never invent a count or aesthetic grade.
Stop conditions
Stop and ask instead of guessing when:
- the requested rewrite requires a missing fact, citation, comparison, or source;
- a concrete contrast cannot be validated from the available context;
- the requested generation, verification, or downstream conclusion depends on a
citation, result, quotation, or factual premise whose existence or provenance
cannot be established from the source bundle;
- two labels may refer to the same scientific concept but the manuscript does
not establish their identity, or no canonical term can be grounded;
- the input is mostly a protected quotation, formula, or reference list;
- the user requests a whole-document judgment but supplies only an excerpt;
- the requested language is neither English nor Chinese;
- the request seeks detector evasion or circumvention of a disclosure policy.
Do not invent specifics, personal experience, citations, data, mechanisms,
baselines, or limitations to make prose sound more human. Do not casualize
academic writing merely to make it look less generated.
1---2name: academic-humanizer3description: Draft, audit, or minimally revise English- or Chinese-language academic prose to reduce formulaic, vacuous, mechanically repetitive, or process-leaking language while preserving claims, evidence strength, logical relations, manuscript-wide terminology identity, document-level pattern variation, and scholarly register. Use for papers, abstracts, grants, cover letters, and reviewer responses when the user asks to de-AI, humanize, audit AI-like phrasing, or rewrite text without changing meaning. English is primary; Chinese is supported. Not for detector evasion, policy circumvention, pure translation, non-academic copy, or adding facts, citations, examples, or author experiences that the source does not contain.4---5
6# Academic Humanizer
7
8Improve academic prose by removing observable writing defects, not by imitating
9imperfection or optimizing an authorship detector. Preserve the author's facts,
10argument, uncertainty, and disciplinary voice. This skill does not guarantee how
11any reader or detector will classify a text.
12
13## Portability
14
15This skill is agent-agnostic. Its core behavior is defined by `SKILL.md` and
16`references/`; Python is optional and supports reproducible diagnostics.
17
18- Resolve `<skill-dir>` from the directory containing this `SKILL.md`.
19- Let `<python>` mean an available Python 3 launcher, such as `python3`, `py -3`,
20 or `python`.
21- Let `<input-file>` mean a user-authorized local text file. Quote paths that
22 contain spaces and use the host shell's path separator.
23- Do not assume a fixed skill root, home directory, shell, operating system,
24 agent name, or path separator.
25- `agents/openai.yaml` is optional interface metadata. Core behavior does not
26 depend on a particular agent runtime.
27- If Python is unavailable, skip the scripts and apply the same contracts
28 directly.
29
30## Load the operating references
31
32Read these before drafting or editing:
33
341. [Semantic contract](references/semantic-contract.md) for claim preservation,
35 locked spans, deletion safety, and the internal claim ledger.
362. [Terminology contract](references/terminology-contract.md) for canonical terms,
37 declared aliases, coined names, intentional distinctions, and the internal
38 terminology ledger. Always load it for multi-span or manuscript-level work.
393. [Global pattern contract](references/global-pattern-contract.md) for the
40 local-to-document audit, distribution map, scope limits, and whole-document
41 repair. Always load it for multi-sentence work.
424. [Academic whitelist](references/whitelist-academic.md) for protected scholarly
43 forms in both languages.
445. [Contrast logic](references/contrast-logic.md) for false-opposition triage in
45 English and Chinese. Always load it; this is a cross-language semantic rule.
466. Route once by the majority language of editable prose, then read exactly one:
47 [English rules](references/rules-en.md) or
48 [Chinese rules](references/rules-zh.md).
49
50Read [worked examples](references/examples.md) on first use, after changing a
51rule, or whenever fact preservation, contrast, or over-correction is uncertain.
52Read [metrics specification](references/metrics-spec.md) before running
53`scripts/metrics.py`; its output is descriptive evidence only.
54
55## Supported operations
56
57- **generate**: draft from user-supplied claims, outline, data, and sources.
58- **detect**: identify high-confidence defects without rewriting.
59- **rewrite**: minimally revise supplied prose; this is the default when the user
60 asks to de-AI or humanize text.
61- **edit**: apply the same minimal revisions to a named file.
62
63Do not create another routing tree for paper section or discipline. Methods,
64Results, Discussion, reviewer responses, and grants use the same contracts; the
65whitelist handles legitimate register differences. Ask one direct question only
66when the requested genre changes what counts as acceptable and context does not
67resolve it.
68
69## Language route
70
71Route on editable prose, excluding fenced code, formulas, block quotations, and
72a trailing reference list. Use orthographic tokens: each CJK character is one
73token and each contiguous Latin word is one token. This keeps embedded terms such
74as `Transformer` or `ImageNet` from outweighing the Chinese sentence around them:
75
76`r = CJK tokens / (CJK tokens + Latin word tokens)`
77
78- `r >= 0.5`: Chinese branch.
79- `r < 0.5`: English branch.
80- No countable prose: stop and ask for text or an intended output language.
81
82English terms in Chinese prose and Chinese terms in English prose remain
83verbatim. If Python is available and the route is genuinely unclear, optionally
84run `<python> "<skill-dir>/scripts/metrics.py" "<input-file>" --route`.
85Routing is internal and never appears in the clean artifact.
86
87## Single arbitration order
88
89Earlier rows win. References may elaborate this table but must not define a
90second priority order.
91
92| Priority | Constraint | Operational meaning |
93|---|---|---|
94| **C0** | Artifact boundary | Process instructions, editor narration, and tool residue never enter the artifact. C0 applies only to process-layer text; it never authorizes deletion of real content. |
95| **C1** | Semantic fidelity | Every output claim maps to the source bundle; every material source claim remains represented. No added facts, relations, examples, citations, motivations, or limitations. |
96| **C2** | Locked-span protection | Quotations, formulas, code, references, citation keys, statistical notation, proper nouns, and requested verbatim text remain unchanged. |
97| **C3** | Terminology identity | One scientific concept uses one canonical term across the editable manuscript. Preserve declared full-name/abbreviation pairs, necessary grammatical forms, and intentional distinctions; never infer identity from similarity alone. |
98| **C4** | Academic register | Preserve functional hedging, passive voice, nominalization, discourse markers, and Chinese scholarly morphology. |
99| **C5** | Argument structure | Preserve causal strength, contrast, concession, addition, chronology, scope, and paragraph-level reasoning. Surface connectives may change when the relation survives. |
100| **C6** | Document patterning | Audit recurrence, clustering, dispersion, positional regularity, sentence rhythm, and rhetorical-function saturation across the complete editable scope. A count is evidence, never a verdict. |
101| **C7** | Local style repair | Apply language-specific rules only to locally unsupported, vacuous, mechanical, or stacked defects. |
102
103Examples of conflict resolution:
104
105- A style rule suggests adding a number, mechanism, baseline, or limitation that
106 is absent from the source: C1 blocks the addition.
107- A leak and a result share one sentence: C0 removes only the process phrase;
108 C1 and C5 preserve the result and its relation to adjacent sentences.
109- A coined method name drifts across the abstract, body, and caption: C3 restores
110 the canonical term after C1 and C2 confirm that the referent and spans permit it.
111- A passive sentence is conventional in Methods: C4 blocks stylistic activation.
112- A contrast pattern is present but its two concrete claims lack surrounding
113 evidence: C1 blocks automatic deletion; mark it uncertain in diagnostic output.
114- One dash, triad, connective, or emphatic sentence has a clear function: C4-C6
115 protect it. Repeated functionless instances may activate C6 after a distribution
116 audit, while C1-C5 still constrain every repair.
117
118## Workflow
119
120### 1. Read the complete editable scope
121
122Read all supplied title, abstract, body sections, captions, tables, appendices,
123and supplementary prose before changing anything. Identify which parts are
124editable and which are evidence or protected context. Separate content
125requirements from style/process instructions. For generation, treat only
126supplied claims, data, citations, and explicitly marked hypotheticals as content.
127
128### 2. Lock spans and build the evidence and terminology ledgers
129
130Apply the semantic and terminology contracts. Build the claim/evidence ledger
131with source-to-output mappings and provenance status for:
132
133- numbers, units, entities, citations, datasets, methods, and study design;
134- negation, comparison direction and baseline;
135- association, causation, prediction, and attribution;
136- modality, uncertainty, limitations, population, time, and scope.
137
138The editable draft establishes what the author currently says; it does not by
139itself prove that a cited paper, result, quotation, or factual premise exists.
140Mark unsupported evidence assertions as `draft-only` and preserve or flag them
141instead of silently treating them as verified or extending the argument from them.
142
143Build a separate terminology ledger for scientific concepts, especially newly
144coined methods, modules, losses, metrics, datasets, and task names. Record:
145
146- `concept_id`, `canonical_term`, and the span that defines or first formally
147 names the concept;
148- declared `allowed_forms`, including full-name/abbreviation pairs and necessary
149 grammatical or bilingual mappings;
150- `observed_variants`, `distinguish_from`, and resolution `status`.
151
152Use explicit user terminology first, then formal definitions, then the first
153unambiguous formal naming. Frequency alone never selects the canonical term.
154Keep both ledgers internal unless the user asks for an audit trail.
155
156### 3. Run the local candidate pass
157
1581. Find process leakage and tool residue.
1592. Audit terminology across the complete editable scope. Classify each apparent
160 variation as **declared form**, **same-concept drift**, **intentional
161 distinction**, **protected mention**, or **uncertain identity**.
1623. Triage contrast candidates as **protected**, **unsupported rhetorical**, or
163 **uncertain** using `contrast-logic.md`.
1644. Apply the routed language rules to identify candidates with three questions:
165 - **Load**: does the wording carry a claim or logical relation?
166 - **Support**: can each claim be traced to the source bundle?
167 - **Patterning**: is the defect mechanical, vacuous, or reinforced by other
168 signals in the same span?
169
170A lone word or sentence form is not enough to infer authorship or poor quality.
171It can still be a local defect when it adds an unsupported claim, false relation,
172or empty evaluation. Multiple weak signals in one span form one finding, not
173several duplicate findings.
174
175### 4. Build the distribution map and run the global pass
176
177For multi-sentence input, map candidates by section, paragraph, sentence,
178position, and rhetorical function using `global-pattern-contract.md`. Inspect:
179
180- sentence-initial discourse markers and punctuation such as dashes;
181- contrast scaffolds, parallel triads, flat enumeration, and exhaustive listing;
182- repeated sentence/paragraph templates and recurring paragraph closures;
183- sentence-length sequence and rhythm within each functional section;
184- unsupported certainty, elevation, and aphoristic peak saturation.
185
186Use within-document evidence and section function; never apply a universal count
187or ratio. A distribution map supports findings only about the supplied editable
188scope; an excerpt cannot support a whole-manuscript judgment. Optional metrics
189produce a distribution map, not an authorship or quality judgment.
190
191### 5. Classify before editing
192
193Classify each finding as **local defect**, **distributional defect**,
194**functional/protected**, or **uncertain**. A distributional defect requires both
195repetition or positional regularity and redundant rhetorical function. Several
196valid ablation contrasts, method steps, reported metrics, or theorem consequences
197remain protected even when their surface forms repeat.
198
199### 6. Make the smallest coherent edit
200
201- Remove process-layer text while retaining any content in the same sentence.
202- Normalize confirmed same-concept drift to the ledger's canonical term across
203 every editable occurrence, including captions and tables. Preserve declared
204 abbreviations and grammatical forms; do not replace protected mentions.
205- Keep terms separate when they name distinct concepts. If identity is uncertain,
206 preserve the text and ask or flag it outside the clean artifact.
207- Prefer subtraction or direct wording when a phrase carries no proposition.
208- Use concrete material only when it already exists in the source.
209- Preserve both claims in additive forms such as `not only X but also Y` when X
210 and Y are supported; removing the construction must not remove either claim.
211- Preserve or flag concrete negative claims when evidence is insufficient to
212 decide whether the contrast is real. Do not silently erase them.
213- Repair the document as a system: remove redundant scaffolding, retain each
214 supported proposition and relation, and vary syntax only when argument function
215 warrants it. Do not randomize sentence length or replace one repeated template
216 with another repeated template.
217- Reorganize flat enumeration only when the source already supplies a hierarchy.
218 Never invent categories merely to make a list appear elegant.
219- Preserve an unverified citation or evidence claim in rewrite/edit mode and flag
220 it outside the artifact; do not strengthen it or use it to generate new claims.
221- Leave already competent prose unchanged.
222
223### 7. Run the whole-manuscript terminology gate
224
225Scan all editable sections together after revision. Every scientific concept
226must use its canonical term or a declared allowed form. Verify that coined names
227are unchanged after their formal introduction, captions and tables match the
228body, bilingual mappings are declared, and distinct concepts remain distinct.
229Any unresolved identity is a stop/flag result, not an automatic normalization.
230
231### 8. Run the whole-document pattern gate
232
233Rebuild the distribution map after editing. Check that redundant clusters,
234mechanical paragraph templates, uniform rhetorical peaks, and unsupported
235certainty were resolved without erasing functional repetition or creating a new
236dominant pattern. If the supplied scope is shorter than the claimed scope, report
237the limitation and do not claim a whole-manuscript pass.
238
239### 9. Run the second-pass semantic and style gate
240
241Re-read source and output side by side. The output fails if any answer is no:
242
2431. Does every output claim map to the source bundle?
2442. Does every material source claim remain?
2453. Are numbers, negation, modality, causal strength, baseline, attribution, and
246 scope unchanged?
2474. Are locked spans byte-for-byte unchanged?
2485. Does the terminology ledger show one canonical term per concept, with only
249 declared forms and intentional distinctions remaining?
2506. Are cited evidence, quotations, and factual premises supported by supplied or
251 verified sources, or explicitly marked `draft-only` outside the artifact?
2527. Did the edit preserve academic register and logical relations?
2538. Did the whole-document pattern gate pass without threshold chasing?
2549. Is the artifact free of process labels, editor narration, placeholders filled
255 by guesswork, and tool residue?
25610. Would a zero-edit result have been more accurate? If yes, restore the source.
257
258Run metrics only as an optional residual scan. A metric never overrides this gate.
259
260## Output contract
261
262- **generate / rewrite**: return the clean artifact by default, with no routing
263 line, score, checklist, leak line, or editor preface.
264- **detect**: return findings grouped by severity and scope (`local` or
265 `distributional`). Each finding includes an exact source quote, rule ID,
266 location/distribution evidence, reason, and one of `change`, `keep`, or
267 `uncertain`.
268- **edit**: edit only the requested file, then summarize changes outside it.
269- Provide diagnostics after the artifact only when the user explicitly asks for
270 them. Clearly separate diagnostics from text intended for the manuscript.
271- Use verified counts only. Never invent a count or aesthetic grade.
272
273## Stop conditions
274
275Stop and ask instead of guessing when:
276
277- the requested rewrite requires a missing fact, citation, comparison, or source;
278- a concrete contrast cannot be validated from the available context;
279- the requested generation, verification, or downstream conclusion depends on a
280 citation, result, quotation, or factual premise whose existence or provenance
281 cannot be established from the source bundle;
282- two labels may refer to the same scientific concept but the manuscript does
283 not establish their identity, or no canonical term can be grounded;
284- the input is mostly a protected quotation, formula, or reference list;
285- the user requests a whole-document judgment but supplies only an excerpt;
286- the requested language is neither English nor Chinese;
287- the request seeks detector evasion or circumvention of a disclosure policy.
288
289Do not invent specifics, personal experience, citations, data, mechanisms,
290baselines, or limitations to make prose sound more human. Do not casualize
291academic writing merely to make it look less generated.