asciidoc-pubkit 1.3.1 → 1.4.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -1
- data/README.md +32 -3
- data/data/writing/en/criteria.md +33 -0
- data/data/writing/ja/criteria.md +163 -2
- data/docs/image-commands.md +317 -0
- data/docs/installation.md +5 -1
- data/docs/prose-evaluation.md +31 -3
- data/docs/writing.md +63 -0
- data/examples/skills/review-asciidoc-manuscript/SKILL.md +5 -0
- data/lib/asciidoc_pubkit/cli.rb +7 -2
- data/lib/asciidoc_pubkit/document_commands.rb +1 -0
- data/lib/asciidoc_pubkit/image_commands.rb +524 -0
- data/lib/asciidoc_pubkit.rb +2 -1
- metadata +9 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcae540f3aa8af674b2ec7c408ed9aa7c67099a76592df85649cb92bdb67ffca
|
|
4
|
+
data.tar.gz: 77630797e44d089f14640c9e9390b0a6e55196456289cefe14257fa8eb98e5c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0021abeb11fc9e444c4d0537121d1ee752e697095b9cb35f717401f43658bb4b3c7151da1e3ed1aa099d657ff318afb9ebc40918b2d9ceacbc2ee856bac8fb09
|
|
7
|
+
data.tar.gz: f7b2468001a818159744ab1a221c703d0264a66a27fb85b36a3a9e58230ab54d6a072f99c334a1332f98c5ad3d52937a7a999c0e3ae168b42a82a868b405c47a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,64 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 1.4.1 - 2026-10-22
|
|
4
|
+
|
|
5
|
+
- Add read-only `image find` with inclusive file-size, total-pixel, pixel-dimension
|
|
6
|
+
and aspect-ratio bounds; portrait/landscape selection; stable metric sorting;
|
|
7
|
+
source locations and JSON reports. Reuse document image discovery and selection,
|
|
8
|
+
inspect all selected images before filtering, and preserve sources and pixels.
|
|
9
|
+
|
|
10
|
+
- Add opt-in `image scale --mode book`: scan selected unique document images,
|
|
11
|
+
calibrate median display height and area, and bound scaling with adjustable
|
|
12
|
+
overall, height and area factors. Report minimum-width conflicts and refuse
|
|
13
|
+
source application until resolved; never shrink existing widths cumulatively.
|
|
14
|
+
|
|
15
|
+
- Rename `image width` to `image scale`, without a compatibility alias.
|
|
16
|
+
- Add repeatable `--include` patterns to image list, stats and scale. Explicit
|
|
17
|
+
inclusion selects artwork; explicit exclusions still take precedence.
|
|
18
|
+
- Add `image scale --width PERCENT` for fixed source `scaledwidth` values.
|
|
19
|
+
Reject mixing fixed width with automatic coefficient or bound options.
|
|
20
|
+
- Preserve preview, diff, explicit application and safe source editing behavior.
|
|
21
|
+
|
|
22
|
+
## 1.4.0 - 2026-10-22
|
|
23
|
+
|
|
24
|
+
- Add document-based `image list`, `image stats` and `image width`. Resolve active
|
|
25
|
+
AsciiDoc includes, attributes, conditionals and per-image `imagesdir`; collect
|
|
26
|
+
referenced local block images and deduplicate physical files. Exclude artwork
|
|
27
|
+
by default with configurable selection. Report dimensions, aspect ratios,
|
|
28
|
+
file sizes and source references; summarize unique image statistics.
|
|
29
|
+
- Calculate `scaledwidth` from a configurable height/width coefficient and width
|
|
30
|
+
bounds. Preview by default, support JSON and unified diffs, and require explicit
|
|
31
|
+
`--in-place` to update source macros. Preserve image pixels and unrelated source
|
|
32
|
+
text, reject ambiguous reused references, stage multi-file edits and roll back
|
|
33
|
+
failed replacements. Replace the unreleased `epub image-width` prototype.
|
|
34
|
+
- Require ImageMagick 7 or 6 for image inspection; no Python dependency remains.
|
|
35
|
+
Image-file processing planned for v1.4.1 is tracked in
|
|
36
|
+
[issue #1](https://github.com/cybergarage/asciidoc-pubkit/issues/1).
|
|
37
|
+
|
|
38
|
+
- Add Japanese and English JSON example/prose comparisons for keys, schema
|
|
39
|
+
keywords, fixed values, explanatory strings and request/result references.
|
|
40
|
+
Follow each project's notation and edit scope; no universal emphasis policy,
|
|
41
|
+
detector, automatic inventory command, replacement or scoring change. New
|
|
42
|
+
sessions save the guidance; existing sessions retain their recorded criteria.
|
|
43
|
+
Prompt-delivery tests do not measure AI editing or translation quality.
|
|
44
|
+
|
|
45
|
+
- Clarify Japanese `示す` comparisons by explanatory role, with direct
|
|
46
|
+
method/outcome explanations, retained artifact/state examples and explicit
|
|
47
|
+
continuation targets. Deliver the guidance through writing and saved review
|
|
48
|
+
prompts without changing detectors, replacements, scores or old sessions.
|
|
49
|
+
Prompt-delivery regressions do not measure AI editing quality.
|
|
50
|
+
|
|
51
|
+
- Extend Japanese actor comparisons to explicit but vague role names, separating
|
|
52
|
+
system, internal recipient, execution environment and communication peer from
|
|
53
|
+
verb accuracy. Add ten calibration pairs, qualify the retained-return example,
|
|
54
|
+
and test writing/saved-review delivery without changing historical sessions.
|
|
55
|
+
No detector, replacement or scoring changes; AI editing quality is unmeasured.
|
|
56
|
+
|
|
57
|
+
- Add contextual Japanese retention/inclusion/storage/assignment and
|
|
58
|
+
representation/state-indication comparisons, including valid retained wording
|
|
59
|
+
and evidence-strength limits. Add manual comparison fixtures and saved-prompt
|
|
60
|
+
delivery regressions. No new detector rules, automatic replacements, scoring
|
|
61
|
+
changes or AI proofreading-quality claims.
|
|
4
62
|
|
|
5
63
|
## 1.3.1 - 2026-10-17
|
|
6
64
|
|
data/README.md
CHANGED
|
@@ -16,8 +16,9 @@ and books on health, exercise, and sports science published under
|
|
|
16
16
|
The experience informs the toolkit's writing criteria, contextual review prompts,
|
|
17
17
|
and checks for preserving manuscript content during revision.
|
|
18
18
|
|
|
19
|
-
Version 1.
|
|
20
|
-
|
|
19
|
+
Version 1.4.1 provides document-based image inspection and display sizing,
|
|
20
|
+
document inspection, explicit prose-only mechanical replacements, and Japanese
|
|
21
|
+
and English manuscript review. Inspect a book's outline,
|
|
21
22
|
metadata, and local cross-references; preview and apply your replacement rules;
|
|
22
23
|
then review and verify edits against a saved baseline.
|
|
23
24
|
|
|
@@ -30,6 +31,22 @@ Version 1.2.3 also compares `渡す` and `受け渡し` by their actual
|
|
|
30
31
|
operation; see [input, transmission, and handoff](docs/writing.md#input-transmission-and-handoff-v123).
|
|
31
32
|
These comparisons and skill routing do not automatically replace manuscript text.
|
|
32
33
|
|
|
34
|
+
Version 1.4.0 also compares explicit but vague actor names by their actual
|
|
35
|
+
responsibility; see [actor wording](docs/writing.md). This guidance adds no
|
|
36
|
+
detector or automatic replacement rules.
|
|
37
|
+
|
|
38
|
+
Version 1.4.1 provides document-based `image list`, `image stats`,
|
|
39
|
+
`image find` and `image scale` (renamed from `image width`, without a compatibility alias). Use
|
|
40
|
+
`--include` to select images and `--width` for a fixed percentage; omit `--width`
|
|
41
|
+
for automatic aspect-ratio sizing. `--mode book` uses document-wide median
|
|
42
|
+
height/area budgets, with review reports for conflicting minimum widths. Collect images referenced by `book.adoc`, summarize their
|
|
43
|
+
pixel dimensions and file sizes, or explicitly update source `scaledwidth`
|
|
44
|
+
attributes from aspect ratios. Use `image find` to filter by byte size, total pixels,
|
|
45
|
+
pixel dimensions, portrait/landscape orientation or aspect-ratio bounds, with
|
|
46
|
+
optional sorting and JSON output. Image pixels are unchanged. See
|
|
47
|
+
[image commands](docs/image-commands.md) for selection, tuning, ImageMagick
|
|
48
|
+
requirements, preservation rules and Make integration.
|
|
49
|
+
|
|
33
50
|
The CLI, diagnostics, documentation, and generated instructions are in English.
|
|
34
51
|
Japanese manuscript excerpts and rule terms retain their original text.
|
|
35
52
|
|
|
@@ -49,12 +66,24 @@ for `わけではありません`; see [direct negation](docs/writing.md#direct-
|
|
|
49
66
|
Existing sessions retain their saved rules and criteria. No automatic rewriting
|
|
50
67
|
is added.
|
|
51
68
|
|
|
69
|
+
Version 1.4.0 also adds contextual Japanese comparisons for
|
|
70
|
+
retention, input inclusion, representation and state indication; see
|
|
71
|
+
[retention and representation wording](docs/writing.md#retention-and-representation-wording-v140).
|
|
72
|
+
These criteria do not add automatic replacements or change scoring.
|
|
73
|
+
Version 1.4.0 also compares `示す` by explanatory role; see
|
|
74
|
+
[explanation, presentation and state indication](docs/writing.md#explanation-presentation-and-state-indication-v140).
|
|
75
|
+
|
|
76
|
+
Version 1.4.0 Japanese and English criteria also compare JSON examples with their
|
|
77
|
+
prose explanations while preserving each project's notation and edit scope;
|
|
78
|
+
see [JSON identifiers and explanatory strings](docs/writing.md#json-identifiers-and-explanatory-strings-v140).
|
|
79
|
+
|
|
52
80
|
## Available features
|
|
53
81
|
|
|
54
|
-
The following commands are available in version 1.
|
|
82
|
+
The following commands are available in version 1.4.1.
|
|
55
83
|
|
|
56
84
|
| Feature | Commands | Behavior |
|
|
57
85
|
| --- | --- | --- |
|
|
86
|
+
| [Document images](docs/image-commands.md) | `image list`, `image stats`, `image find`, `image scale` | Inspect and filter referenced block images; preview or explicitly apply source display widths |
|
|
58
87
|
| [Document outline](docs/document-commands.md#document-commands) | `document toc` | Print parsed section titles as text or JSON, including source locations, with optional depth and outline numbering |
|
|
59
88
|
| [Book metadata](docs/document-commands.md#document-commands) | `document info` | Extract book attributes as text or JSON |
|
|
60
89
|
| [Cross-reference checks](docs/document-commands.md#document-commands) | `document check-xrefs` | Report unresolved local cross-references with source locations |
|
data/data/writing/en/criteria.md
CHANGED
|
@@ -43,6 +43,39 @@ Words such as contract, boundary and robust can have specific technical meanings
|
|
|
43
43
|
Do not infer AI authorship from vocabulary. A phrase candidate is an invitation
|
|
44
44
|
to inspect, not a replacement instruction or a proven defect.
|
|
45
45
|
|
|
46
|
+
## Preserve JSON identifiers and explanatory strings
|
|
47
|
+
|
|
48
|
+
When prose explains a JSON example, distinguish keys, JSON Schema keywords,
|
|
49
|
+
fixed protocol values, tool names and example IDs from natural-language strings.
|
|
50
|
+
For example, in `{"name":"fetch_record","description":"Read a record"}`,
|
|
51
|
+
`name` and `description` are keys, `fetch_record` is the example tool name, and
|
|
52
|
+
`Read a record` describes its purpose. A string's JSON type alone does not make
|
|
53
|
+
it translatable or immutable. Resolve that role from the example and its use.
|
|
54
|
+
|
|
55
|
+
Keep each technical literal's spelling, case and separators, including compound
|
|
56
|
+
references such as `function.parameters` and JSON-RPC method names. Distinguish
|
|
57
|
+
`type` as a JSON key from a language keyword or ordinary prose, and distinguish
|
|
58
|
+
a schema keyword from a user-defined property with the same spelling. Record
|
|
59
|
+
the owning API, specification, implementation or example; do not assign another
|
|
60
|
+
project's identifiers to the book's implementation.
|
|
61
|
+
|
|
62
|
+
Compare the example with adjacent explanations and authorized tables/lists:
|
|
63
|
+
which field contains which value, whether an argument is required, where it is
|
|
64
|
+
nested, whether it is a JSON string or object, and how request/result IDs match.
|
|
65
|
+
Include later unmarked mentions. An occurrence inventory can help locate uses;
|
|
66
|
+
it must not infer roles by spelling alone, insert unused example fields into
|
|
67
|
+
prose, or turn every string into a fixed term. Record corrections, retained
|
|
68
|
+
uses and unresolved referents within the assignment's existing review evidence.
|
|
69
|
+
|
|
70
|
+
Follow the project's inline notation; no universal bold or monospace policy is
|
|
71
|
+
implied. Do not insert prose markup inside JSON/code blocks or change protected
|
|
72
|
+
blocks during prose review. Where an assigned translation explicitly permits
|
|
73
|
+
localizing explanatory strings, keep keys, technical values, structure and prose
|
|
74
|
+
references aligned; otherwise preserve the block and report the proposed change.
|
|
75
|
+
Keep parsing/block-preservation checks separate from meaning and translation
|
|
76
|
+
review. These comparisons add no detector or automatic replacement rule and do
|
|
77
|
+
not expand the session's editable scope.
|
|
78
|
+
|
|
46
79
|
## Honor the book's conventions
|
|
47
80
|
|
|
48
81
|
Preserve spelling variants unless the book specifies a locale. Follow its voice,
|
data/data/writing/ja/criteria.md
CHANGED
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
- Distinguish stopping, cancellation requests, and non-execution
|
|
11
11
|
- Distinguish decisions by the actual operation
|
|
12
12
|
- Distinguish rules, definitions, and configured values
|
|
13
|
+
- Distinguish retention from inclusion, storage, and assignment
|
|
14
|
+
- Distinguish representation from evidence and state indication
|
|
15
|
+
- Distinguish explanation, presentation, and state indication
|
|
13
16
|
- Distinguish receiving, returning, and their actual operations
|
|
14
17
|
- Distinguish communication responses from function returns
|
|
15
18
|
- Distinguish arrival wording by the actual operation
|
|
@@ -26,6 +29,7 @@
|
|
|
26
29
|
- Keep source uncertainty separate from editorial questions
|
|
27
30
|
- Remove generated-prose patterns without flattening the meaning
|
|
28
31
|
- Preserve exact technical terminology
|
|
32
|
+
- Preserve JSON identifiers and explanatory strings
|
|
29
33
|
- Revise the complete paragraph
|
|
30
34
|
- Compare revisions before delivery and respect passage roles
|
|
31
35
|
- Headings and the relation to figures and code
|
|
@@ -110,6 +114,37 @@ conditions, partial negation, capability, and the difference between a request
|
|
|
110
114
|
and its completion. Record the original, faithful alternative, and specific reason
|
|
111
115
|
for revising or retaining each assigned passage, even without detector candidates.
|
|
112
116
|
|
|
117
|
+
### Compare explicit actor names with the actual responsibility
|
|
118
|
+
|
|
119
|
+
A written subject can still hide its owner or role. Compare terms such as
|
|
120
|
+
`実行側` and `処理側` with the evidenced system, internal component, execution
|
|
121
|
+
environment, or communication peer. Establish the level of responsibility from
|
|
122
|
+
the full paragraph and implementation evidence before choosing a name. A system
|
|
123
|
+
name can suit behavior shared across its components; a component name can suit
|
|
124
|
+
an internal handoff. Neither is universally more precise.
|
|
125
|
+
|
|
126
|
+
| Passage and supported context | Comparison |
|
|
127
|
+
| --- | --- |
|
|
128
|
+
| The agent validates tool requests: `実行側は対象への操作が許可されるかを判定します。` | Compare `エージェントは対象への操作が許可されるかを判定します。`; preserve the target and permission owner. |
|
|
129
|
+
| A request is delegated inside the agent: `エージェントは要求を実行側へ引き渡します。` | Compare `エージェントは要求をツール実行処理へ引き渡します。` when that internal recipient is established; replacing the recipient with the same agent obscures the handoff. |
|
|
130
|
+
| The benchmark's environment executes commands: `実行側がコマンドを実行します。` | Compare `環境側の実行処理がコマンドを実行します。`; do not assign environment execution to the evaluated model or agent without evidence. |
|
|
131
|
+
| A request recipient sends a response: `実行側が結果を応答として送信します。` | Compare `要求を受信した相手が結果を応答として送信します。`; do not narrow the peer to a server if either endpoint can receive requests. |
|
|
132
|
+
| A preceding definition names one component `実行側` | Compare repeating the component's name, and retain the defined role when it identifies the same responsibility clearly and no author terminology preference requires a change. |
|
|
133
|
+
|
|
134
|
+
Do not replace every occurrence with `エージェント`, a product name, or
|
|
135
|
+
`実行処理`. Name only roles established by the assigned passage; keep formal
|
|
136
|
+
identifiers, book-specific terms, and other systems' ownership. Compare actor
|
|
137
|
+
specificity separately from whether a verb such as `戻します` describes the
|
|
138
|
+
correct operation. A valid verb does not settle an ambiguous actor, and a clear
|
|
139
|
+
actor does not settle an imprecise verb.
|
|
140
|
+
|
|
141
|
+
Compare the complete revised sentence and its neighbors after changing a name.
|
|
142
|
+
Check subject-predicate and particle relationships, modifier targets, repeated
|
|
143
|
+
words and unintended self-handoffs. In particular, naming the component applying
|
|
144
|
+
a configured rule must not also make it the component that configured the rule.
|
|
145
|
+
Retain conditions, capability, permission ownership and processing order. Record
|
|
146
|
+
the actual alternative and reason; missing actor evidence remains unresolved.
|
|
147
|
+
|
|
113
148
|
## Identify human actors by their supported roles
|
|
114
149
|
|
|
115
150
|
Treat `人` as a cue to identify the actor, not as a forbidden word or a
|
|
@@ -303,6 +338,97 @@ no detector candidate is emitted. Synchronize related authorized tables, figures
|
|
|
303
338
|
and alternative text separately from protected review scopes. Existing sessions
|
|
304
339
|
retain their saved criteria; these comparisons add no detector or replacement rule.
|
|
305
340
|
|
|
341
|
+
## Distinguish retention from inclusion, storage, and assignment
|
|
342
|
+
|
|
343
|
+
Compare `保持する` with the operation actually described. Identify the owner,
|
|
344
|
+
container, lifetime and processing stage. Input construction, storing a newly
|
|
345
|
+
obtained value, assigning an attribute, and keeping existing state are different
|
|
346
|
+
operations; do not replace them with one universal verb.
|
|
347
|
+
|
|
348
|
+
| Context | Faithful comparison when supported |
|
|
349
|
+
| --- | --- |
|
|
350
|
+
| Input construction | `成否の情報も入力へ保持します` → `成否の情報も入力に含めます`; supplying input does not establish storage across calls. |
|
|
351
|
+
| Contents of a summary | `すべての情報を要約に保持する必要はありません` → `すべての情報を要約に含める必要はありません`; preserve the necessity and negation. |
|
|
352
|
+
| Putting a retrieved value in a container | `取得した名前を結果用の変数に保持します` → `取得した名前を結果用の変数に格納します` when the insertion is the subject. |
|
|
353
|
+
| Assigning an identifier | `結果へ識別子を付与します` describes assignment; retaining an existing identifier is a different operation. |
|
|
354
|
+
| Adding information to a record | Compare `ノートに時刻を記録します` or `検索結果に出典を添えます` when recording or attachment is established. |
|
|
355
|
+
| Keeping original data or state | Retain `元の応答を保持し、次の呼び出しへ引き継ぎます` and `ロックを終了まで保持します`; inclusion or insertion alone loses continuity or ownership. |
|
|
356
|
+
|
|
357
|
+
Compare complete sentences, including retained uses. `入力に含めます` does not
|
|
358
|
+
mean `モデルへ送信します`; `格納します` does not establish file persistence.
|
|
359
|
+
A type declaring fields does not itself execute storage or assignment. Use
|
|
360
|
+
`付与` for an established attribute or identifier assignment, not as a blanket
|
|
361
|
+
replacement for input inclusion. Keep original values, duration, negation,
|
|
362
|
+
conditions, ownership and capability; do not add persistence, delete history,
|
|
363
|
+
or shorten the lifetime of a lock or snapshot. Keeping source facts does not
|
|
364
|
+
require keeping the word `保持`; record the actual alternative and reason.
|
|
365
|
+
|
|
366
|
+
## Distinguish representation from evidence and state indication
|
|
367
|
+
|
|
368
|
+
For `表す` and its inflections, identify whether the passage describes a
|
|
369
|
+
representation (notation, format, role or data model), contents, or a result
|
|
370
|
+
indicating a fact or state. Compare `示す` for the latter, honoring the author's
|
|
371
|
+
terminology preference without treating all uses of `表す` as unnatural.
|
|
372
|
+
|
|
373
|
+
| Context | Faithful comparison when supported |
|
|
374
|
+
| --- | --- |
|
|
375
|
+
| A result indicating failure | `失敗を表す結果` → `失敗を示す結果`; do not turn failure into an unknown outcome or vice versa. |
|
|
376
|
+
| Status information | `成否を表す情報` → `成否を示す情報` when information indicates success or failure. |
|
|
377
|
+
| What a record establishes | `要求の記録は、操作を要求したことを表します` → `要求の記録は、操作を要求したことを示します`; a request record alone does not establish execution. |
|
|
378
|
+
| Contents of a result | Compare `結果に含まれる情報` with `結果が表す情報` when describing included data rather than its interpretation. |
|
|
379
|
+
| Symbolic or structural representation | Retain `工程をノードで表します`, `引数をJSONで表します` and `利用者をUと表します`; `示す` is not required for notation or encoding. |
|
|
380
|
+
|
|
381
|
+
`裏付ける` may make a stronger evidence claim than `示す`. Use it only when the
|
|
382
|
+
source establishes that evidential role; do not upgrade a reported state into
|
|
383
|
+
proof, a correlation into causation, or request acceptance into successful work.
|
|
384
|
+
Preserve uncertainty, negation, conditions, actors and capability. Review the
|
|
385
|
+
whole paragraph and related authorized tables, figures and alternative text;
|
|
386
|
+
record each original, alternative and reason. These comparisons add no detector
|
|
387
|
+
or automatic replacement rule, do not change scoring or mechanical verification,
|
|
388
|
+
and do not measure AI proofreading quality. Existing sessions keep their saved
|
|
389
|
+
criteria; use a separate new session for updated guidance.
|
|
390
|
+
|
|
391
|
+
## Distinguish explanation, presentation, and state indication
|
|
392
|
+
|
|
393
|
+
For `示す` and its inflections, identify the sentence's role before choosing
|
|
394
|
+
its predicate. A content guide, a technical explanation, a displayed output,
|
|
395
|
+
a figure or example being presented, and a value indicating a state are different
|
|
396
|
+
uses. Read the complete paragraph and the referenced content when available;
|
|
397
|
+
these comparisons do not prescribe a blanket change to `説明します`.
|
|
398
|
+
|
|
399
|
+
| Role and wording to inspect | Faithful comparison when supported |
|
|
400
|
+
| --- | --- |
|
|
401
|
+
| Announcing explanatory content: `反復を継続・終了する条件を示します。` | Compare `反復を継続・終了する条件を説明します。` when the section explains those conditions; keep both continuation and termination. |
|
|
402
|
+
| Repeating one explanatory action: `保存方法を説明し、再開する条件を示します。` | Compare `保存方法と再開する条件を説明します。` when both are explanatory subjects. Preserve a meaningful order, separate artifact or distinct presentation purpose instead of merging merely to vary endings. |
|
|
403
|
+
| Naming an unspecified aid: `判断材料を示します。` | Name what is being selected or checked and which information supports that judgment. Use only criteria evidenced in the paragraph; do not invent a fixed decision rule. |
|
|
404
|
+
| Describing a screen: `画面には、使用を停止する範囲を示します。` | Compare `画面には、使用を停止する範囲を表示します。` when screen output is the operation. Do not assign display to a service that only returns data. |
|
|
405
|
+
| Describing a definition: `ツール定義は、引数の入力条件を示します。` | Compare `ツール定義には、引数の入力条件を記述します。` for authoring a definition, or `記述されています` for its existing contents. Preserve the distinction between writing a definition and enforcing it. |
|
|
406
|
+
| Recording scope: `計測した区間を示します。` | Compare `計測した区間を記録します。` when the passage specifies what to record; keep the measured interval and clock conditions. |
|
|
407
|
+
| Presenting an actual artifact: `次の表に、検査対象と確認内容を示します。` or `設定ファイルの例を示します。` | Retain these when the table or following example actually presents that content. `説明します` would shift from presenting the artifact to describing it. |
|
|
408
|
+
| Indicating a state: `結果は、返答を記録したことを示します。` | Retain the indication when that is the result's meaning. Compare contents wording such as `結果に記録の成否が含まれます` only when included data is the subject; recorded acceptance does not establish successful execution. |
|
|
409
|
+
| Leaving the indicated target implicit: `結果が継続を示します。` | Compare `一回分の処理結果が、次の回へ進むことを示します。` when that is the continuation being described. Keeping `示します` can be the clearest revision. |
|
|
410
|
+
|
|
411
|
+
In the middle or at the end of a technical explanation, compare stating the
|
|
412
|
+
relationship directly instead of promising another explanation. For example,
|
|
413
|
+
`プロセス内の順序制御で防ぐ競合と、外部からの変更に備えて検査する競合を示します。`
|
|
414
|
+
can become `プロセス内の競合は、操作の順序を制御して防ぎます。外部からの変更による競合には、検査で確認する状態と検査のタイミングを明確にして備えます。`
|
|
415
|
+
when the surrounding paragraph establishes both methods. Preserve the scope of
|
|
416
|
+
the controlled operations; neither ordering nor checking guarantees prevention
|
|
417
|
+
of every external change. If the original also names the inspected state and
|
|
418
|
+
timing, retain them in the revised paragraph.
|
|
419
|
+
|
|
420
|
+
Compare the full paragraph before replacing the verb. Resolve vague subjects,
|
|
421
|
+
comparison axes, repeated guidance and the relationship between methods and
|
|
422
|
+
outcomes; exchanging `示します` for `説明します` alone may leave those problems
|
|
423
|
+
unchanged. Keep valid figure/table introductions and state indications after a
|
|
424
|
+
specific comparison, not because all occurrences must share one ending. Check
|
|
425
|
+
related authorized tables, figures and alternative text without inventing
|
|
426
|
+
actors, processing, evidence, guarantees or successful checks.
|
|
427
|
+
|
|
428
|
+
These criteria add no detector, automatic replacement or scoring change.
|
|
429
|
+
Existing sessions retain their saved criteria; mechanical verification remains
|
|
430
|
+
separate from meaning review and does not measure AI proofreading quality.
|
|
431
|
+
|
|
306
432
|
## Give weak predicates a concrete action or consequence
|
|
307
433
|
|
|
308
434
|
Predicates such as `利用します`, `決めます`, `示します`, `扱います`, `整理します`,
|
|
@@ -647,8 +773,10 @@ outcome is not an established failure.
|
|
|
647
773
|
`利用者は候補Aと候補Bから選択できます` retains that choice while using technical
|
|
648
774
|
selection wording. Compare this faithful alternative before keeping the plain verb.
|
|
649
775
|
`利用者は候補Aと候補Bから選びます` would instead assert that selection occurs. Retain
|
|
650
|
-
`実行側はツール結果をモデルへ戻します` when it
|
|
651
|
-
|
|
776
|
+
the verb `戻します` in `実行側はツール結果をモデルへ戻します` when it
|
|
777
|
+
accurately describes the transfer; assess `実行側` separately using the actor
|
|
778
|
+
criteria above. `実行結果のフィードバック` would lose the sentence's actor
|
|
779
|
+
and predicate.
|
|
652
780
|
|
|
653
781
|
Do not mechanically convert `別です` to `とは限りません`. For example,
|
|
654
782
|
`AはJSONを、BはCSVを受け付けます。両者の入力形式は別です` establishes a
|
|
@@ -1075,6 +1203,39 @@ and implementation requirements. Do not add an actor, cause, mechanism, or
|
|
|
1075
1203
|
effect that the source evidence does not establish. Making prose more specific
|
|
1076
1204
|
requires evidence, not a guess.
|
|
1077
1205
|
|
|
1206
|
+
## Preserve JSON identifiers and explanatory strings
|
|
1207
|
+
|
|
1208
|
+
When prose explains a JSON example, distinguish keys, JSON Schema keywords,
|
|
1209
|
+
fixed protocol values, tool names and example IDs from natural-language strings.
|
|
1210
|
+
For example, in `{"name":"fetch_record","description":"Read a record"}`,
|
|
1211
|
+
`name` and `description` are keys, `fetch_record` is the example tool name, and
|
|
1212
|
+
`Read a record` describes its purpose. A string's JSON type alone does not make
|
|
1213
|
+
it translatable or immutable. Resolve that role from the example and its use.
|
|
1214
|
+
|
|
1215
|
+
Keep each technical literal's spelling, case and separators, including compound
|
|
1216
|
+
references such as `function.parameters` and JSON-RPC method names. Distinguish
|
|
1217
|
+
`type` as a JSON key from a language keyword or ordinary prose, and distinguish
|
|
1218
|
+
a schema keyword from a user-defined property with the same spelling. Record
|
|
1219
|
+
the owning API, specification, implementation or example; do not assign another
|
|
1220
|
+
project's identifiers to the book's implementation.
|
|
1221
|
+
|
|
1222
|
+
Compare the example with adjacent explanations and authorized tables/lists:
|
|
1223
|
+
which field contains which value, whether an argument is required, where it is
|
|
1224
|
+
nested, whether it is a JSON string or object, and how request/result IDs match.
|
|
1225
|
+
Include later unmarked mentions. An occurrence inventory can help locate uses;
|
|
1226
|
+
it must not infer roles by spelling alone, insert unused example fields into
|
|
1227
|
+
prose, or turn every string into a fixed term. Record corrections, retained
|
|
1228
|
+
uses and unresolved referents within the assignment's existing review evidence.
|
|
1229
|
+
|
|
1230
|
+
Follow the project's inline notation; no universal bold or monospace policy is
|
|
1231
|
+
implied. Do not insert prose markup inside JSON/code blocks or change protected
|
|
1232
|
+
blocks during prose review. Where an assigned translation explicitly permits
|
|
1233
|
+
localizing explanatory strings, keep keys, technical values, structure and prose
|
|
1234
|
+
references aligned; otherwise preserve the block and report the proposed change.
|
|
1235
|
+
Keep parsing/block-preservation checks separate from meaning and translation
|
|
1236
|
+
review. These comparisons add no detector or automatic replacement rule and do
|
|
1237
|
+
not expand the session's editable scope.
|
|
1238
|
+
|
|
1078
1239
|
## Revise the complete paragraph
|
|
1079
1240
|
|
|
1080
1241
|
Use a finding to understand the intended claim, then rewrite the paragraph so
|