feat: comment categories; emend, relink and resolve corrections

scienting-layer/1: an optional, fixed category on comment, caveat and
question bodies (comment, context, critique, question, correction,
feedback, resource).

Corrections: emend fixes the authors' own slip and keeps what was printed
(a run's printed), never lowering fidelity or a witness match; relink sets
or removes what a citation names; resolve sets a reference's resolution.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017R7sgDNvUGWY2zFPCq2JH6
This commit is contained in:
alexmandClaude committed 2026-10-17 06:17:10 -04:00
1 parent 4d59b29b63
commit 8b5ee87275
33 files changed
+726 -80

No files matched your search

+2
View File
@@ -27,3 +27,5 @@
{"align_key":"156cc56f1b8c79722ce3db0aec57879a4b2f467fdb69d75ac6bdae01b7bd4433","complex":[],"id":"hyphen-before-digit","lossy":"pages10−20andctctwith6−31g*","match_hash":"86f127250e5076b9c8b9b5c189361aed13705d1ceb7600cbe2b7ed07597a2313","normalized":"pages 10-20 and CT–CT with 6-31G*","plain":"pages 10-20 and CT–CT with 6-31G*","runs":[{"kind":"text","text":"pages 10-20 and CT–CT with 6-31G*"}],"strict":"pages 10−20 and CT–CT with 6−31G*","text_hash":"9dc7ad6bb0693572f0700420e1b2b1c723b39058784c76154e88fffa8fa0c8a8"}
{"align_key":"156cc56f1b8c79722ce3db0aec57879a4b2f467fdb69d75ac6bdae01b7bd4433","complex":[],"id":"en-dash-before-digit","lossy":"pages10−20andctctwith6−31g*","match_hash":"1d9c138f8b902b350a1f4477e8b84b6a0a87f35a1dd38486112b7291db3aa150","normalized":"pages 10–20 and CT-CT with 6–31G*","plain":"pages 10–20 and CT-CT with 6–31G*","runs":[{"kind":"text","text":"pages 10–20 and CT-CT with 6–31G*"}],"strict":"pages 10−20 and CT-CT with 6−31G*","text_hash":"70b2e77b3966f2c506d87c12b13ebf7ae5193092f678eb101310f363d0ab605a"}
{"align_key":"89658229bf51901882aae4f9543338d4321e4b666a2c191bca749e384fd0a1cc","complex":["tex:𝑥"],"id":"astral","lossy":"letvary.","match_hash":"3b6c539092c6c721ee808437e208b31a1fab3407b43d85e60d29edb65762ac20","normalized":"Let $𝑥$ vary.","plain":"Let $𝑥$ vary.","runs":[{"kind":"text","text":"Let "},{"kind":"math","notation":"tex","source":"𝑥"},{"kind":"text","text":" vary."}],"strict":"Let  vary.","text_hash":"43800bdb4e70f3613083dfe5ce728cf643a1d0d97d321f04cfbb4f9b2e56fc6f"}
{"align_key":"45c4f8f75d64dac18b12a35c97a437da5d34c633fae7e2e8c5c34dd1d1325fae","complex":[],"id":"emended","lossy":"thebnodwasrigid.","match_hash":"08468001288317b464726998c48c9aa7676f49742855422ff3db008ac761a278","normalized":"The bond was rigid.","note":"The authors printed 'bnod'; an emend reads 'bond'.","plain":"The bond was rigid.","printed":"The bnod was rigid.","runs":[{"kind":"text","text":"The "},{"kind":"text","printed":"bnod","style":["em"],"text":"bond"},{"kind":"text","text":" was rigid."}],"strict":"The bnod was rigid.","text_hash":"9a28a35b7e63e521193b14c163c67e51d16d1dea2bcfe108f4540940f91d1058"}
{"align_key":"45c4f8f75d64dac18b12a35c97a437da5d34c633fae7e2e8c5c34dd1d1325fae","complex":[],"id":"as-printed","lossy":"thebnodwasrigid.","match_hash":"08468001288317b464726998c48c9aa7676f49742855422ff3db008ac761a278","normalized":"The bnod was rigid.","plain":"The bnod was rigid.","runs":[{"kind":"text","text":"The "},{"kind":"text","style":["em"],"text":"bnod"},{"kind":"text","text":" was rigid."}],"strict":"The bnod was rigid.","text_hash":"08468001288317b464726998c48c9aa7676f49742855422ff3db008ac761a278"}