asciidoc-pubkit 1.2.1 → 1.2.3
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 +153 -0
- data/README.md +65 -5
- data/data/review-rules.ja.yml +50 -0
- data/data/writing/ja/criteria.md +603 -1
- data/data/writing/ja/headings.md +33 -0
- data/docs/explanatory-guidance-research.md +174 -0
- data/docs/prose-evaluation.md +140 -2
- data/docs/rules-and-coverage.md +75 -0
- data/docs/writing.md +179 -0
- data/examples/skills/review-asciidoc-manuscript/SKILL.md +53 -0
- data/lib/asciidoc_pubkit.rb +1 -1
- metadata +2 -1
data/docs/writing.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Writing commands
|
|
2
2
|
|
|
3
|
+
The v1.2.3 [actor-change criteria](../data/writing/ja/criteria.md#clarify-omitted-subjects-when-actors-change)
|
|
4
|
+
compare omitted and explicit subjects across clauses, sentences and table roles.
|
|
5
|
+
They distinguish requesting, approving, executing and investigating, preserve
|
|
6
|
+
clear continued subjects, and require evidence before naming an actor. These are
|
|
7
|
+
contextual review criteria, with no new subject-omission detector or automatic
|
|
8
|
+
replacement. New sessions save the criteria; older sessions retain their originals.
|
|
9
|
+
|
|
10
|
+
The v1.2.3 [directory hierarchy comparisons](../data/writing/ja/criteria.md#compare-directory-hierarchy-terms-with-concrete-locations)
|
|
11
|
+
compare ancestor/descendant translations with `上位・下位ディレクトリ`, while
|
|
12
|
+
preserving direct-parent/direct-child relationships and exact grandchild depth.
|
|
13
|
+
Describe inherited settings by their directory locations; keep process, agent,
|
|
14
|
+
tree-node and conversation-record relationships distinct. These are advisory
|
|
15
|
+
comparisons, not automatic substitutions. `孫ディレクトリ` is an additional
|
|
16
|
+
contextual candidate; standalone `親`, `子` and `孫` are not new detector terms.
|
|
17
|
+
Saved sessions retain their original rules and criteria. Regression fixtures
|
|
18
|
+
and prompt-delivery tests do not measure AI proofreading quality.
|
|
19
|
+
|
|
20
|
+
The [identification comparisons](../data/writing/ja/criteria.md#distinguish-identification-from-conceptual-separation)
|
|
21
|
+
compare `区別できます` with `判別`, `識別`, `判定`, and separate checks according
|
|
22
|
+
to evidence and purpose. They preserve conceptual separation, capability,
|
|
23
|
+
negation and coexisting stages. They do not add automatic classification or
|
|
24
|
+
inspection. These v1.2.3 criteria are advisory; saved sessions retain their
|
|
25
|
+
original criteria and detector behavior is unchanged.
|
|
26
|
+
|
|
27
|
+
The [replacement comparisons](../data/writing/ja/criteria.md#distinguish-replacement-from-interpretation-and-permitted-use)
|
|
28
|
+
compare `置き換えません` with interpretation rules (`みなしません`) and use
|
|
29
|
+
limits (`扱えません`), while retaining actual value, history, and implementation
|
|
30
|
+
replacement. They preserve conditions, negation strength, missing evidence and
|
|
31
|
+
responsibility. These v1.2.3 criteria do not change detection or perform
|
|
32
|
+
automatic replacements; existing sessions retain their saved criteria.
|
|
33
|
+
|
|
3
34
|
`writing criteria` prints the packaged common criteria. `writing prompt` adds
|
|
4
35
|
task instructions around those same criteria. Neither command needs an AsciiDoc
|
|
5
36
|
file, a review session, MeCab, or network access. Both accept `--lang ja` and
|
|
@@ -18,6 +49,13 @@ book explicitly requires one. Sentence splitting and punctuation changes must
|
|
|
18
49
|
retain the original relationships; these are contextual review instructions,
|
|
19
50
|
not automatic semantic checks. Saved sessions retain the criteria from their scan.
|
|
20
51
|
|
|
52
|
+
The v1.2.3 [communication-response comparisons](../data/writing/ja/criteria.md#distinguish-communication-responses-from-function-returns)
|
|
53
|
+
separate HTTP, ACP and MCP responses from internal function returns and model
|
|
54
|
+
generation. Identify response fields, missing measurements, error values,
|
|
55
|
+
exception throwing and Promise rejection without inventing transport or moving
|
|
56
|
+
responsibility. These are advisory wording comparisons; detector and verification
|
|
57
|
+
behavior are unchanged, and old sessions retain their saved criteria.
|
|
58
|
+
|
|
21
59
|
Sentence-ending review first identifies scope guides, actual operations,
|
|
22
60
|
capabilities, checking procedures, and historical or future statements. Keep
|
|
23
61
|
useful guidance and precise plain verbs; clarify vague judgment targets or
|
|
@@ -61,4 +99,145 @@ For a small trial, use `examples/book.adoc` as the scan input. Its Japanese
|
|
|
61
99
|
paragraphs deliberately contain review candidates; its code block must remain
|
|
62
100
|
unchanged.
|
|
63
101
|
|
|
102
|
+
## Decision wording
|
|
103
|
+
|
|
104
|
+
The v1.2.3 criteria compare `決めます` with `決定します` and with the actual
|
|
105
|
+
operation: selecting tools or information, computing budgets, configuring values,
|
|
106
|
+
classifying states or permission outcomes, assessing evidence, and establishing
|
|
107
|
+
design or evaluation conditions. Describe causal relationships with `定まります`
|
|
108
|
+
when inputs determine a result, retaining every contributing factor. Do not
|
|
109
|
+
invent calculation, runtime changes, checks, or approvals for a more technical
|
|
110
|
+
verb. These are contextual prompt comparisons, not detector or replacement
|
|
111
|
+
rules; existing sessions retain their saved criteria. See
|
|
112
|
+
[Decision criteria](../data/writing/ja/criteria.md#distinguish-decisions-by-the-actual-operation).
|
|
113
|
+
|
|
64
114
|
[Back to README](../README.md)
|
|
115
|
+
|
|
116
|
+
## Rules, definitions, and configured values
|
|
117
|
+
|
|
118
|
+
The v1.2.3 criteria compare `定める` with `規定する` for specifications,
|
|
119
|
+
rules, evaluation conditions, and responsibilities, honoring an author's
|
|
120
|
+
terminology preference without adding obligations or enforcement. Use `定義する`
|
|
121
|
+
for structures, schemas, and workflows, and `設定する` for configured values and
|
|
122
|
+
destinations when those are the actual operations. A limit type describes supplied
|
|
123
|
+
values; its declaration does not itself configure or enforce a limit. Split mixed
|
|
124
|
+
operations such as `許可範囲を規定し、通知先を設定します` while preserving actor,
|
|
125
|
+
timing, conditions, negation, and modality. Do not turn a plan into a runtime check
|
|
126
|
+
or permission into an obligation. These contextual comparisons add no detector
|
|
127
|
+
terms or automatic replacements, and existing sessions retain saved criteria.
|
|
128
|
+
See [Rule wording criteria](../data/writing/ja/criteria.md#distinguish-rules-definitions-and-configured-values).
|
|
129
|
+
|
|
130
|
+
## Classification and related relationships (v1.2.3)
|
|
131
|
+
|
|
132
|
+
Compare `分かれます` by the actual relationship: classification by purpose or
|
|
133
|
+
type, assignment of responsibilities, execution-path branching, content
|
|
134
|
+
partitioning, route differences, or the correspondence presented in a table.
|
|
135
|
+
`分類できます` may describe reader organization without a runtime classifier;
|
|
136
|
+
a defined category scheme and actual classification behavior need their own
|
|
137
|
+
wording. Preserve owners, conditions, destinations, counts, modality and joins;
|
|
138
|
+
branching alone does not guarantee parallel execution or exclusive choice.
|
|
139
|
+
See [the canonical comparisons](../data/writing/ja/criteria.md#distinguish-classification-responsibility-sharing-branching-and-partitioning).
|
|
140
|
+
|
|
141
|
+
Writing commands and new heading, prose and list sessions include this guidance.
|
|
142
|
+
Existing sessions keep their saved criteria. Detector and automatic replacement
|
|
143
|
+
behavior are unchanged. Manual comparison fixtures and regression tests check
|
|
144
|
+
criteria delivery and session preservation, not measured editorial accuracy.
|
|
145
|
+
|
|
146
|
+
## Receiving and returning
|
|
147
|
+
|
|
148
|
+
The v1.2.3 criteria compare `受け取る` and `返す` with the actual operation:
|
|
149
|
+
request intake, response-stream reception, retrieval/reading, arguments and return
|
|
150
|
+
values, model generation, stdout output, input assembly, decision communication,
|
|
151
|
+
and established exception throwing/catching. Keep accurate value or Promise
|
|
152
|
+
returns; do not replace every receipt with retrieval or every return with
|
|
153
|
+
nominalized return wording. Preserve the actor and processing stage: a service
|
|
154
|
+
returning a display message need not display it, and an execution environment
|
|
155
|
+
returning a result need not assemble model input. Signal argument delivery and
|
|
156
|
+
later cancellation notification are distinct. See the
|
|
157
|
+
[shared criteria](../data/writing/ja/criteria.md#distinguish-receiving-returning-and-their-actual-operations).
|
|
158
|
+
|
|
159
|
+
## Explicit differences and decision conditions
|
|
160
|
+
|
|
161
|
+
The v1.2.3 criteria expand `区別します` comparisons with examples of loading
|
|
162
|
+
conditions, rule purposes, identifier uses, recorded states, and inference limits.
|
|
163
|
+
Naming two objects is insufficient when the property or consequence that differs
|
|
164
|
+
is missing. Compare the full passage with a direct explanation and remove any
|
|
165
|
+
resulting repetition. Retain accurate distinctions after comparison; do not infer
|
|
166
|
+
physical isolation, automatic checks, or extra approval steps. These are prompt
|
|
167
|
+
criteria, not detector rules or automatic replacements. Existing sessions retain
|
|
168
|
+
the criteria saved at scan time. See
|
|
169
|
+
[Relationship criteria](../data/writing/ja/criteria.md#make-relationships-explicit).
|
|
170
|
+
|
|
171
|
+
## Direct negation and inference limits (v1.2.3)
|
|
172
|
+
|
|
173
|
+
Compare `わけではありません` with a direct denial of the actual operation or
|
|
174
|
+
capability, while retaining its actor and conditions. Keep partial negation such
|
|
175
|
+
as `必ずしも一致しません` distinct from total denial, and retain a concrete
|
|
176
|
+
inference limit when evidence does not establish an outcome. The canonical
|
|
177
|
+
criteria include examples for sending tool definitions, unavailable input,
|
|
178
|
+
insufficient conditions and incomplete restoration. These are contextual
|
|
179
|
+
comparisons, not automatic replacement rules. Existing sessions retain their
|
|
180
|
+
saved criteria; use a new session to review under changed criteria.
|
|
181
|
+
|
|
182
|
+
## Processing phases, timing and progressive disclosure (v1.2.3)
|
|
183
|
+
|
|
184
|
+
The shared criteria compare `段階` with `フェーズ` for execution-state fields and
|
|
185
|
+
processing or work divisions, while preserving counts, order and conditions.
|
|
186
|
+
Timing, state predicates, progressive disclosure and research evaluation scope
|
|
187
|
+
need individual comparisons; no blanket replacement is prescribed. See
|
|
188
|
+
[the contextual examples](../data/writing/ja/criteria.md#compare-processing-phases-with-timing-and-progressive-disclosure).
|
|
189
|
+
|
|
190
|
+
Writing commands and new heading, prose and list sessions include these criteria.
|
|
191
|
+
Existing sessions keep their saved criteria. Detection and automatic replacement
|
|
192
|
+
behavior are unchanged. Manual accept/reject examples are maintained in
|
|
193
|
+
`test/fixtures/phase_terminology.ja.json`; their labels and regression tests do
|
|
194
|
+
not measure AI proofreading accuracy.
|
|
195
|
+
|
|
196
|
+
## Direct interpretation limits (v1.2.3)
|
|
197
|
+
|
|
198
|
+
Compare `とはみなしません` and `とみなしません` with `確認できません`,
|
|
199
|
+
`判断できません`, `評価できません`, or `証拠にはなりません` by the actual
|
|
200
|
+
claim. Fixed-response branch results alone cannot evaluate model judgment;
|
|
201
|
+
unavailable token counts do not determine whether usage was zero. Keep `だけでは`
|
|
202
|
+
and other limits. Missing observation does not establish non-execution or nonzero
|
|
203
|
+
usage. Retain an explicit policy not to count non-response as approval; do not
|
|
204
|
+
change it into an inability to determine approval. Honor author wording preferences
|
|
205
|
+
through faithful comparisons. See [the shared criteria](../data/writing/ja/criteria.md#distinguish-replacement-from-interpretation-and-permitted-use).
|
|
206
|
+
No automatic checks or replacements are added. Existing sessions retain saved
|
|
207
|
+
rules and criteria; use a fresh scan for these comparisons.
|
|
208
|
+
|
|
209
|
+
## Input, transmission, and handoff (v1.2.3)
|
|
210
|
+
|
|
211
|
+
Use the canonical [transfer comparisons](../data/writing/ja/criteria.md#distinguish-input-transmission-delegation-inheritance-and-handoff)
|
|
212
|
+
for `渡す` and related forms. Compare model input construction, API transmission,
|
|
213
|
+
arguments, configuration, notifications, delegation, continuity and artifact
|
|
214
|
+
handoff before revising or retaining a passage. `連携` describes cooperation;
|
|
215
|
+
it must not hide a concrete data operation. Preserve conditions, modality,
|
|
216
|
+
negation, recipients and order. The bundled skill routes focused reviews to
|
|
217
|
+
saved criteria; existing sessions retain their original criteria.
|
|
218
|
+
No detector or automatic replacement rule is added.
|
|
219
|
+
|
|
220
|
+
## Comparison headings (v1.2.3)
|
|
221
|
+
|
|
222
|
+
Heading review prompts include the saved "Distinguish comparison subjects from
|
|
223
|
+
distinguishing actions" criteria. Compare `違い` / `相違` for differences,
|
|
224
|
+
`関係` for source correspondence, or a confirmation scope for observation limits.
|
|
225
|
+
Both `違い` and `相違` are noun phrases. Retain `区別` for actual distinguishing
|
|
226
|
+
actions and follow the book's tone. Recheck the compared subjects using the body;
|
|
227
|
+
changing a heading does not authorize body edits. Advisory examples do not add
|
|
228
|
+
detection or automatic replacement rules. New sessions save these criteria;
|
|
229
|
+
existing sessions retain their original criteria. The regression fixtures test
|
|
230
|
+
prompt delivery and mechanical preservation, not AI editorial accuracy.
|
|
231
|
+
|
|
232
|
+
## Figure/table introductions and author examples
|
|
233
|
+
|
|
234
|
+
The v1.2.3 [figure/table guidance](../data/writing/ja/criteria.md#introduce-figures-and-tables-by-their-explanatory-role)
|
|
235
|
+
compares introductions by their role: describing contents, defining notation,
|
|
236
|
+
guiding a comparison or identifying the kind of diagram. It includes Japanese
|
|
237
|
+
before/after and retained-wording examples rather than a uniform replacement rule.
|
|
238
|
+
A good/bad example accompanying a whole-text proofreading request serves as a
|
|
239
|
+
quality benchmark across the assigned text; explicitly focused requests keep
|
|
240
|
+
their scope. The bundled review skill routes these assignments to the saved
|
|
241
|
+
criteria. Writing commands and new heading, prose and list sessions include the
|
|
242
|
+
guidance; existing sessions keep their original criteria. Regression checks cover
|
|
243
|
+
criteria delivery and source preservation, not measured AI proofreading quality.
|
|
@@ -12,6 +12,16 @@ publication attributes and checks. Preserve unrelated edits. Default to headings
|
|
|
12
12
|
prose, then supported list text only when the user requests a full review; respect
|
|
13
13
|
single-scope and diagnosis-only assignments.
|
|
14
14
|
|
|
15
|
+
When good/bad examples accompany a whole-text proofreading request, treat them
|
|
16
|
+
as a quality or tone benchmark, not a filter for matching expressions. Review all
|
|
17
|
+
selected entries for general writing quality, including those without candidates;
|
|
18
|
+
keep explicitly focused assignments focused. For figure/table introductions,
|
|
19
|
+
consult the saved "Introduce figures and tables by their explanatory role"
|
|
20
|
+
guidance when available. Compare the actual referenced content and record missing
|
|
21
|
+
evidence; handle related authorized tables, figures and alternative text in their
|
|
22
|
+
own scopes. Keep canonical examples in pubkit and retain historical criteria when
|
|
23
|
+
the selected version lacks the guidance.
|
|
24
|
+
|
|
15
25
|
Use the project's installed asciidoc-pubkit invocation, with bundle exec when
|
|
16
26
|
configured. Check its version and command help. Existing sessions require their
|
|
17
27
|
exact saved tool version; retain earlier sessions when starting a new pass.
|
|
@@ -42,6 +52,49 @@ For each assigned scope:
|
|
|
42
52
|
the baseline. For integrity failures, preserve evidence and report the blocker.
|
|
43
53
|
Finish verification before scanning the next scope's current manuscript.
|
|
44
54
|
|
|
55
|
+
For headings containing `区別`, consult the saved heading criteria's
|
|
56
|
+
"Distinguish comparison subjects from distinguishing actions" section when
|
|
57
|
+
available. Compare the section's actual subjects and role using its body as
|
|
58
|
+
read-only evidence; record the alternative even without a detector candidate.
|
|
59
|
+
If the selected version lacks this section, report the criteria limitation and
|
|
60
|
+
retain existing sessions. Keep canonical examples in asciidoc-pubkit.
|
|
61
|
+
|
|
62
|
+
Before judging a targeted sentence ending in prose or list text, classify its
|
|
63
|
+
role using the saved common criteria: content guidance, an actual checking
|
|
64
|
+
procedure, runtime behavior, or a learning objective. Read the whole paragraph
|
|
65
|
+
and neighboring sentences; inspect table context separately when it is protected.
|
|
66
|
+
Record the supported actor, target, conditions, faithful alternative and reason.
|
|
67
|
+
A useful reading sequence alone is not a keep rationale. Follow the author's
|
|
68
|
+
voice without inventing an actor or turning runtime responsibility into a test.
|
|
69
|
+
|
|
70
|
+
Review actor changes through the saved common criteria, including entries
|
|
71
|
+
without detector candidates. Compare an explicit subject when adjacent clauses
|
|
72
|
+
or sentences change responsibility; establish the actor from context and evidence,
|
|
73
|
+
and record the original, alternative and reason. Keep clear continued subjects
|
|
74
|
+
without forcing repetition. Inspect related authorized table/figure roles in their
|
|
75
|
+
own scopes; report missing actor evidence rather than assigning a plausible role.
|
|
76
|
+
If the selected CLI lacks the actor-change examples, report that criteria limitation
|
|
77
|
+
and retain saved sessions; keep the canonical examples in pubkit.
|
|
78
|
+
|
|
79
|
+
For an assigned content guide or learning objective, record the whole-paragraph
|
|
80
|
+
viewpoint and any repeated guidance along with the source, alternative and reason.
|
|
81
|
+
Use pubkit's saved common criteria for the judgment. Inventory related prefaces,
|
|
82
|
+
part introductions, lists and table descriptions within the authorized assignment;
|
|
83
|
+
track their dispositions or proposals in their own scopes, including protected
|
|
84
|
+
content. Do not extend a focused assignment to unrelated manuscript sections.
|
|
85
|
+
|
|
86
|
+
For `行う`, consult the saved "Distinguish operations from responsibility"
|
|
87
|
+
comparisons before choosing an action verb or responsibility wording. Record
|
|
88
|
+
the actual alternative; a detector hint is not a replacement instruction.
|
|
89
|
+
|
|
90
|
+
For `渡す`, `受け渡す`, `受け渡し` and related inflections, use the saved
|
|
91
|
+
"Distinguish input, transmission, delegation, inheritance, and handoff"
|
|
92
|
+
comparisons when the selected CLI provides them. Record each actual alternative
|
|
93
|
+
and reason, including retained wording. Inspect authorized tables, figures and
|
|
94
|
+
alternative text for agreement; record protected or out-of-scope proposals
|
|
95
|
+
separately. Detector hints do not prescribe replacements. If the selected version
|
|
96
|
+
lacks these comparisons, report that limitation and retain historical sessions.
|
|
97
|
+
|
|
45
98
|
Compare broad or everyday wording with a concrete alternative using the saved
|
|
46
99
|
shared terminology criteria, even when the original is understandable. Keep
|
|
47
100
|
records must explain the specific comparison, not merely summarize the passage.
|
data/lib/asciidoc_pubkit.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciidoc-pubkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CyberGarage
|
|
@@ -61,6 +61,7 @@ files:
|
|
|
61
61
|
- docs/development.md
|
|
62
62
|
- docs/document-commands.md
|
|
63
63
|
- docs/english-review-research.md
|
|
64
|
+
- docs/explanatory-guidance-research.md
|
|
64
65
|
- docs/installation.md
|
|
65
66
|
- docs/list-review.md
|
|
66
67
|
- docs/outline-review.md
|