paperlint 20.7.0 → 20.9.0
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/.claude-plugin/plugin.json +1 -1
- package/dist/adapters/revision-plan/index.d.ts +17 -0
- package/dist/adapters/revision-plan/index.d.ts.map +1 -0
- package/dist/adapters/revision-plan/index.js +168 -0
- package/dist/adapters/revision-plan/index.js.map +1 -0
- package/dist/domain/paper-layout.d.ts.map +1 -1
- package/dist/domain/paper-layout.js +4 -0
- package/dist/domain/paper-layout.js.map +1 -1
- package/dist/domain/revision-plan.d.ts +121 -0
- package/dist/domain/revision-plan.d.ts.map +1 -0
- package/dist/domain/revision-plan.js +15 -0
- package/dist/domain/revision-plan.js.map +1 -0
- package/dist/ports/revision-plan-codec.d.ts +7 -0
- package/dist/ports/revision-plan-codec.d.ts.map +1 -0
- package/dist/ports/revision-plan-codec.js +2 -0
- package/dist/ports/revision-plan-codec.js.map +1 -0
- package/dist/skill-chunks/{chunk-J5XYPERO.js → chunk-FOYA3JCS.js} +0 -6
- package/dist/skill-chunks/chunk-KCX34KV4.js +7610 -0
- package/dist/skill-chunks/{chunk-WYQTXKNM.js → chunk-KIKDPXE4.js} +2 -2
- package/dist/skill-chunks/{chunk-EDHTB7KT.js → chunk-MX3LJNFG.js} +4 -2
- package/dist/skill-chunks/chunk-UE2CAVD6.js +34 -0
- package/dist/skill-chunks/{chunk-QPWFSYJG.js → chunk-ZWJMR4TF.js} +5 -7
- package/dist/skills/paper-pipeline/scripts/revision-plan-core.d.ts +79 -0
- package/dist/skills/paper-pipeline/scripts/revision-plan.d.ts +2 -0
- package/docs/configuration.md +56 -0
- package/docs/layout.md +1 -0
- package/docs/rules/paper/allowed-files-only.md +1 -0
- package/package.json +2 -1
- package/scripts/bundle-skills.ts +1 -0
- package/scripts/revision-plan-schema.test.ts +39 -0
- package/scripts/revision-plan-schema.ts +17 -0
- package/skills/argument-arc/scripts/headings.js +3 -2
- package/skills/cold-read-diff/scripts/cold-read.js +3 -2
- package/skills/find-venue/SKILL.md +3 -2
- package/skills/find-venue/SKILL.md.spec.ts +2 -1
- package/skills/harden-paper/SKILL.md +5 -1
- package/skills/harden-paper/SKILL.md.spec.ts +4 -0
- package/skills/paper-pipeline/SKILL.md +29 -4
- package/skills/paper-pipeline/SKILL.md.spec.ts +28 -3
- package/skills/paper-pipeline/revision-plan.schema.json +619 -0
- package/skills/paper-pipeline/scripts/README.md +6 -5
- package/skills/paper-pipeline/scripts/extract-ref-facts.js +4 -3
- package/skills/paper-pipeline/scripts/revision-plan-core.js +194 -0
- package/skills/paper-pipeline/scripts/revision-plan-core.ts +286 -0
- package/skills/paper-pipeline/scripts/revision-plan.js +462 -0
- package/skills/paper-pipeline/scripts/revision-plan.test.ts +386 -0
- package/skills/paper-pipeline/scripts/revision-plan.ts +21 -0
- package/skills/paper-status/SKILL.md +2 -1
- package/skills/paper-status/SKILL.md.spec.ts +1 -0
- package/skills/pc-panel-review/SKILL.md +5 -2
- package/skills/pc-panel-review/SKILL.md.spec.ts +4 -1
- package/skills/pc-panel-review/pc-panel-review.harness.ts +122 -0
- package/skills/pc-panel-review/scripts/prior-reviews.js +11 -7031
- package/skills/study-accepted-papers/SKILL.md +5 -2
- package/skills/study-accepted-papers/SKILL.md.spec.ts +4 -1
- package/skills/study-accepted-papers/scripts/corpus-licences.js +1 -1
- package/skills/tighten-paper/SKILL.md +3 -2
- package/skills/tighten-paper/SKILL.md.spec.ts +2 -1
- package/skills/verify-citations/scripts/bib-authors.js +4 -3
- package/skills/verify-citations/scripts/verify-cites.js +4 -3
- package/src/adapters/revision-plan/index.test.ts +207 -0
- package/src/adapters/revision-plan/index.ts +236 -0
- package/src/adapters/revision-plan/schema.test.ts +69 -0
- package/src/domain/paper-layout.test.ts +1 -0
- package/src/domain/paper-layout.ts +4 -0
- package/src/domain/revision-plan.ts +127 -0
- package/src/ports/revision-plan-codec.ts +7 -0
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"cycle": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
8
|
+
},
|
|
9
|
+
"written": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"format": "date",
|
|
12
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
13
|
+
},
|
|
14
|
+
"bar": {
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"kind": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "corpus"
|
|
22
|
+
},
|
|
23
|
+
"series": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
26
|
+
},
|
|
27
|
+
"editions": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"prefixItems": [
|
|
30
|
+
{
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"minimum": 1900,
|
|
33
|
+
"maximum": 2999
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "integer",
|
|
38
|
+
"minimum": 1900,
|
|
39
|
+
"maximum": 2999
|
|
40
|
+
},
|
|
41
|
+
"minItems": 1
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"kind",
|
|
46
|
+
"series",
|
|
47
|
+
"editions"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"kind": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"const": "proxy"
|
|
57
|
+
},
|
|
58
|
+
"series": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
61
|
+
},
|
|
62
|
+
"stands_in_for": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"kind",
|
|
69
|
+
"series",
|
|
70
|
+
"stands_in_for"
|
|
71
|
+
],
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"kind": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"const": "none"
|
|
80
|
+
},
|
|
81
|
+
"why": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"kind",
|
|
88
|
+
"why"
|
|
89
|
+
],
|
|
90
|
+
"additionalProperties": false
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"measurement": {
|
|
95
|
+
"oneOf": [
|
|
96
|
+
{
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"kind": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"const": "open"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"kind"
|
|
106
|
+
],
|
|
107
|
+
"additionalProperties": false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"kind": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"const": "enough"
|
|
115
|
+
},
|
|
116
|
+
"since": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"format": "date",
|
|
119
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
120
|
+
},
|
|
121
|
+
"evidence": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"minLength": 1
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [
|
|
127
|
+
"kind",
|
|
128
|
+
"since",
|
|
129
|
+
"evidence"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"remaining": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"oneOf": [
|
|
139
|
+
{
|
|
140
|
+
"type": "object",
|
|
141
|
+
"properties": {
|
|
142
|
+
"id": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"pattern": "^R[1-9][0-9]*$"
|
|
145
|
+
},
|
|
146
|
+
"what": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"minLength": 1
|
|
149
|
+
},
|
|
150
|
+
"from": {
|
|
151
|
+
"oneOf": [
|
|
152
|
+
{
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"kind": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"const": "author"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"required": [
|
|
161
|
+
"kind"
|
|
162
|
+
],
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"kind": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"const": "venue"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"kind"
|
|
175
|
+
],
|
|
176
|
+
"additionalProperties": false
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "object",
|
|
180
|
+
"properties": {
|
|
181
|
+
"kind": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"const": "finding"
|
|
184
|
+
},
|
|
185
|
+
"file": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"minLength": 1
|
|
188
|
+
},
|
|
189
|
+
"finding": {
|
|
190
|
+
"anyOf": [
|
|
191
|
+
{
|
|
192
|
+
"type": "string",
|
|
193
|
+
"minLength": 1
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "integer",
|
|
197
|
+
"minimum": 1,
|
|
198
|
+
"maximum": 9007199254740991
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"kind",
|
|
205
|
+
"file",
|
|
206
|
+
"finding"
|
|
207
|
+
],
|
|
208
|
+
"additionalProperties": false
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"kind": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"const": "prior-reviews"
|
|
216
|
+
},
|
|
217
|
+
"cycle": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"required": [
|
|
223
|
+
"kind",
|
|
224
|
+
"cycle"
|
|
225
|
+
],
|
|
226
|
+
"additionalProperties": false
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"added": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"format": "date",
|
|
233
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
234
|
+
},
|
|
235
|
+
"state": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"todo",
|
|
239
|
+
"doing"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": [
|
|
244
|
+
"id",
|
|
245
|
+
"what",
|
|
246
|
+
"from",
|
|
247
|
+
"added",
|
|
248
|
+
"state"
|
|
249
|
+
],
|
|
250
|
+
"additionalProperties": false
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "object",
|
|
254
|
+
"properties": {
|
|
255
|
+
"id": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"pattern": "^R[1-9][0-9]*$"
|
|
258
|
+
},
|
|
259
|
+
"what": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"minLength": 1
|
|
262
|
+
},
|
|
263
|
+
"from": {
|
|
264
|
+
"oneOf": [
|
|
265
|
+
{
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"kind": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"const": "author"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"kind"
|
|
275
|
+
],
|
|
276
|
+
"additionalProperties": false
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"kind": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"const": "venue"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"kind"
|
|
288
|
+
],
|
|
289
|
+
"additionalProperties": false
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "object",
|
|
293
|
+
"properties": {
|
|
294
|
+
"kind": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"const": "finding"
|
|
297
|
+
},
|
|
298
|
+
"file": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"minLength": 1
|
|
301
|
+
},
|
|
302
|
+
"finding": {
|
|
303
|
+
"anyOf": [
|
|
304
|
+
{
|
|
305
|
+
"type": "string",
|
|
306
|
+
"minLength": 1
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "integer",
|
|
310
|
+
"minimum": 1,
|
|
311
|
+
"maximum": 9007199254740991
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"kind",
|
|
318
|
+
"file",
|
|
319
|
+
"finding"
|
|
320
|
+
],
|
|
321
|
+
"additionalProperties": false
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "object",
|
|
325
|
+
"properties": {
|
|
326
|
+
"kind": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"const": "prior-reviews"
|
|
329
|
+
},
|
|
330
|
+
"cycle": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"kind",
|
|
337
|
+
"cycle"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"added": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"format": "date",
|
|
346
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
347
|
+
},
|
|
348
|
+
"state": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"const": "done"
|
|
351
|
+
},
|
|
352
|
+
"evidence": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"minLength": 1
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"required": [
|
|
358
|
+
"id",
|
|
359
|
+
"what",
|
|
360
|
+
"from",
|
|
361
|
+
"added",
|
|
362
|
+
"state",
|
|
363
|
+
"evidence"
|
|
364
|
+
],
|
|
365
|
+
"additionalProperties": false
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "object",
|
|
369
|
+
"properties": {
|
|
370
|
+
"id": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"pattern": "^R[1-9][0-9]*$"
|
|
373
|
+
},
|
|
374
|
+
"what": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"minLength": 1
|
|
377
|
+
},
|
|
378
|
+
"from": {
|
|
379
|
+
"oneOf": [
|
|
380
|
+
{
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"kind": {
|
|
384
|
+
"type": "string",
|
|
385
|
+
"const": "author"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"kind"
|
|
390
|
+
],
|
|
391
|
+
"additionalProperties": false
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"type": "object",
|
|
395
|
+
"properties": {
|
|
396
|
+
"kind": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"const": "venue"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"required": [
|
|
402
|
+
"kind"
|
|
403
|
+
],
|
|
404
|
+
"additionalProperties": false
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"kind": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"const": "finding"
|
|
412
|
+
},
|
|
413
|
+
"file": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"minLength": 1
|
|
416
|
+
},
|
|
417
|
+
"finding": {
|
|
418
|
+
"anyOf": [
|
|
419
|
+
{
|
|
420
|
+
"type": "string",
|
|
421
|
+
"minLength": 1
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"type": "integer",
|
|
425
|
+
"minimum": 1,
|
|
426
|
+
"maximum": 9007199254740991
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": [
|
|
432
|
+
"kind",
|
|
433
|
+
"file",
|
|
434
|
+
"finding"
|
|
435
|
+
],
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "object",
|
|
440
|
+
"properties": {
|
|
441
|
+
"kind": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"const": "prior-reviews"
|
|
444
|
+
},
|
|
445
|
+
"cycle": {
|
|
446
|
+
"type": "string",
|
|
447
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"required": [
|
|
451
|
+
"kind",
|
|
452
|
+
"cycle"
|
|
453
|
+
],
|
|
454
|
+
"additionalProperties": false
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"added": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"format": "date",
|
|
461
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
462
|
+
},
|
|
463
|
+
"state": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"const": "dropped"
|
|
466
|
+
},
|
|
467
|
+
"reason": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"minLength": 1
|
|
470
|
+
},
|
|
471
|
+
"kind": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"enum": [
|
|
474
|
+
"not-doing",
|
|
475
|
+
"accepted-cap"
|
|
476
|
+
]
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"required": [
|
|
480
|
+
"id",
|
|
481
|
+
"what",
|
|
482
|
+
"from",
|
|
483
|
+
"added",
|
|
484
|
+
"state",
|
|
485
|
+
"reason",
|
|
486
|
+
"kind"
|
|
487
|
+
],
|
|
488
|
+
"additionalProperties": false
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"type": "object",
|
|
492
|
+
"properties": {
|
|
493
|
+
"id": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"pattern": "^R[1-9][0-9]*$"
|
|
496
|
+
},
|
|
497
|
+
"what": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"minLength": 1
|
|
500
|
+
},
|
|
501
|
+
"from": {
|
|
502
|
+
"oneOf": [
|
|
503
|
+
{
|
|
504
|
+
"type": "object",
|
|
505
|
+
"properties": {
|
|
506
|
+
"kind": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"const": "author"
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"required": [
|
|
512
|
+
"kind"
|
|
513
|
+
],
|
|
514
|
+
"additionalProperties": false
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"kind": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"const": "venue"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"kind"
|
|
526
|
+
],
|
|
527
|
+
"additionalProperties": false
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"type": "object",
|
|
531
|
+
"properties": {
|
|
532
|
+
"kind": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"const": "finding"
|
|
535
|
+
},
|
|
536
|
+
"file": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"minLength": 1
|
|
539
|
+
},
|
|
540
|
+
"finding": {
|
|
541
|
+
"anyOf": [
|
|
542
|
+
{
|
|
543
|
+
"type": "string",
|
|
544
|
+
"minLength": 1
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"type": "integer",
|
|
548
|
+
"minimum": 1,
|
|
549
|
+
"maximum": 9007199254740991
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"required": [
|
|
555
|
+
"kind",
|
|
556
|
+
"file",
|
|
557
|
+
"finding"
|
|
558
|
+
],
|
|
559
|
+
"additionalProperties": false
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "object",
|
|
563
|
+
"properties": {
|
|
564
|
+
"kind": {
|
|
565
|
+
"type": "string",
|
|
566
|
+
"const": "prior-reviews"
|
|
567
|
+
},
|
|
568
|
+
"cycle": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"required": [
|
|
574
|
+
"kind",
|
|
575
|
+
"cycle"
|
|
576
|
+
],
|
|
577
|
+
"additionalProperties": false
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
"added": {
|
|
582
|
+
"type": "string",
|
|
583
|
+
"format": "date",
|
|
584
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
585
|
+
},
|
|
586
|
+
"state": {
|
|
587
|
+
"type": "string",
|
|
588
|
+
"const": "by-rule"
|
|
589
|
+
},
|
|
590
|
+
"rule": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"pattern": "^[a-z][a-z0-9-]*\\/[a-z][a-z0-9-]*$"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
"required": [
|
|
596
|
+
"id",
|
|
597
|
+
"what",
|
|
598
|
+
"from",
|
|
599
|
+
"added",
|
|
600
|
+
"state",
|
|
601
|
+
"rule"
|
|
602
|
+
],
|
|
603
|
+
"additionalProperties": false
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"required": [
|
|
610
|
+
"cycle",
|
|
611
|
+
"written",
|
|
612
|
+
"bar",
|
|
613
|
+
"measurement",
|
|
614
|
+
"remaining"
|
|
615
|
+
],
|
|
616
|
+
"additionalProperties": false,
|
|
617
|
+
"title": "A paper's revision-plan.json",
|
|
618
|
+
"description": "The paper's revision plan for its current cycle: the accepted papers it is held against (bar), whether evidence is still being gathered (measurement), and the closed list of what remains (remaining). This schema lists the fields; it cannot express that each row's id is unique or that a path stays inside the paper folder, which the lint rule revision-plan/record checks with the rest."
|
|
619
|
+
}
|
|
@@ -5,11 +5,12 @@ in their instructions; a consumer reaches them through the path in `paperlint.js
|
|
|
5
5
|
(default `.claude/skills/paper-pipeline/scripts`, a symlink `paperlint init` makes into the
|
|
6
6
|
installed package — see `consumer.mjs`).
|
|
7
7
|
|
|
8
|
-
| file | what it answers
|
|
9
|
-
| ----------------------- |
|
|
10
|
-
| `extract-ref-facts.mjs` | parse the bibliography, ask the registries, write facts to JSON for the `refs/*` ESLint rules
|
|
11
|
-
| `generated-code.mjs` | lint the analysis scripts before they produce a number (unseeded randomness, absolute paths, …)
|
|
12
|
-
| `
|
|
8
|
+
| file | what it answers |
|
|
9
|
+
| ----------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
10
|
+
| `extract-ref-facts.mjs` | parse the bibliography, ask the registries, write facts to JSON for the `refs/*` ESLint rules |
|
|
11
|
+
| `generated-code.mjs` | lint the analysis scripts before they produce a number (unseeded randomness, absolute paths, …) |
|
|
12
|
+
| `revision-plan.ts` | what the paper's `revision-plan.json` says is left: its cycle, bar, the venue's scope, each row, one stop line |
|
|
13
|
+
| `consumer.mjs` | where the consumer's repository is, and whether a script was executed or imported through the symlink |
|
|
13
14
|
|
|
14
15
|
The checkers with a `--flags-only` mode print nothing on a clean paper and exit 0 — that mode is
|
|
15
16
|
for hooks and pre-commit, where any output means a finding.
|
|
@@ -10,13 +10,14 @@ import {
|
|
|
10
10
|
bibliographyAt,
|
|
11
11
|
bibliographyUnreadWhy,
|
|
12
12
|
isMain
|
|
13
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
13
|
+
} from "../../../dist/skill-chunks/chunk-KIKDPXE4.js";
|
|
14
14
|
import {
|
|
15
15
|
latexReader,
|
|
16
16
|
sourcesCodec
|
|
17
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
18
|
-
import "../../../dist/skill-chunks/chunk-
|
|
17
|
+
} from "../../../dist/skill-chunks/chunk-MX3LJNFG.js";
|
|
18
|
+
import "../../../dist/skill-chunks/chunk-FOYA3JCS.js";
|
|
19
19
|
import "../../../dist/skill-chunks/chunk-Z5YMDZYW.js";
|
|
20
|
+
import "../../../dist/skill-chunks/chunk-ZWJMR4TF.js";
|
|
20
21
|
import {
|
|
21
22
|
absolutePath,
|
|
22
23
|
nodeFiles
|