Skip to content

SCRIP-TAGS: provenance-safe work tags and reproducible tag profiles #563

Open

Description

@andy-zen-dev

Motivation

docs/ARCHITECTURE.md specifies source-/human-provided multi-label work tags and per-tag aggregate profiles, while schemas/scriptorium-publication-manifest-v1.schema.json reserves tag_profile; docs/SITE_RENDERER.md still intentionally fails closed for unimplemented profile kinds. No matching current issue or production implementation was found.

User outcome

Let readers discover which measured works genuinely carry a specified, evidence-backed tag and compare observed metric distributions, without hallucinating tags or exposing book text.

Acceptance

  • Version source/authority, tag taxonomy, source-edition/work identity, translator, language, license basis, curator status and certainty independently; distinguish explicit metadata from inferred labels.
  • Only build public tag aggregates from independently admitted rights-cleared texts >=300,000 characters including spaces. Do not promote excerpts, candidate scans, external page availability or duplicate editions into corpus counts.
  • Emit reproducible, source-free per-tag sample sizes, observed metric units, missingness and dispersion; explicit unknown, no zero imputation, no unsupported confidence or author-identity inference.
  • Use existing source-bound measurement snapshots and validation gates; add positive/negative regressions for missing rights, duplicated works, incompatible profiles, uncertain tags, empty and single-work groups.
  • Ship an accessible filter/summary/table backed by validated evidence and clear methodology only once real tags exist; no mock labels, synthetic popularity or FantLab parity claims.

Scope

Independent M4/M5 extension; does not change M1/M2 (0/5), the AOT compatibility target, existing Pages publication rights or raw-text privacy rules.

Activity

  1. andy-zen-dev commented on Nov 29, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Source-backed tag intake — 2026-11-29 (review-only)

    Pinned Reader snapshot: a84986fd72ad616006b8ce179d1653e5ecf13729. After #672, checked five distinct measured original-Russian edition keys against the same profile tuple. All five exceed 300,000 characters including spaces; all 25 target metric observations are finite measured candidate values. Distinct body hashes, candidate IDs and family IDs; explicit null translators. No tag aggregate generated or published.

    Work-level evidence (accessed 2026-11-29):

    • anna — Анна Каренина; 1705605 chars; candidate tolstoy-anna-karenina-ru, edition ru-wikisource-239-chapters, SHA-256 1dcf2af815f6288099f77a038d873690fb0dc72edf81d2094fd29f3d5a30c205. Proposed form:novel. Authority: Novel — explicit classification in the work entry.
    • resurrection — Воскресение; 890835 chars; candidate tolstoy-resurrection-ru, edition ru-wikisource-129-chapters, SHA-256 2725a60a810d8aae4beff9dbc73ff85cf6da066b1c5272aaebf21addbe4ccaa0. Proposed form:novel. Authority: Novel — explicit designation in the volume 32 description.
    • oblomov — Обломов; 930248 chars; candidate goncharov-oblomov-azlib-ru, edition ru-wikisource-az-lib-oldid-5724579, SHA-256 144a5ea17195e7ce10d69a5855a67781510dac51fd44237e1bc856536c3b3887. Proposed form:novel. Authority: Novel — Russian National Library archival lecture, 2026-03-25; corroborated by https://vss.nlr.ru/query_info_print.php?query_ID=45549.
    • hyperboloid — Гиперболоид инженера Гарина; 499066 chars; candidate tolstoy-hyperboloid-garin-wikisource-ru, edition ru-wikisource-oldid-5014458, SHA-256 a01c5eadef53b2437eff3abe6052bb7f7bf6f95737641558343363628da7f513. Proposed form:novel; genre:science-fiction. Authority: Novel — library catalog of a 1983 edition; science fiction explicitly stated by publisher https://ast.ru/book/giperboloid-inzhenera-garina-011480/. These are work-level labels, not proof of the frozen transcription's print edition.
    • silver — Серебряный голубь; 563125 chars; candidate bely-silver-dove-ru, edition ru-wikisource-frozen, SHA-256 496dad8aadaca13f3ce6ef8560b53bcd32c75b5b03f28f13f7735303bb4f7183. Proposed form:novel WITHHELD. Authority: Research article uses novel; frozen source trace identifies the edition subtitle as a tale in seven chapters. Retain disagreement, no automatic novel label.

    Existing rights leads, not independent clearance: Anna and Resurrection revision manifests declare public domain; Oblomov diagnostic records author death 1891 and public-domain basis; Silver Dove and Hyperboloid source-edition traces record public-domain notices for the literary body, not later apparatus. None of the above authority URLs establishes permission or exact print collation. Silver Dove's source trace explicitly records the subtitle classification conflict; Hyperboloid's print-edition identity is still unresolved. Keep rights independently verified=false and public release readiness=false.

    Next executable decision: review each exact frozen body against its rights/edition trace and retain conflicting form labels as uncertain rather than collapsing tale and novel. Once accepted independently, construct a private curation with four potential novel members and one science-fiction member; a single-member group must have null dispersion. Do not populate the public Reader from this research comment. No corpus admission, M2 promotion, or tag-profile release.

  2. andy-zen-dev commented on Nov 29, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Oblomov — independent body-scope rights and form review (2026-11-29)

    Decision for one existing measured edition, not a new admission: oblomov / goncharov-oblomov-azlib-ru / ru-wikisource-az-lib-oldid-5724579, original Russian, translator explicitly null. Work-level form:novel is independently corroborated by the National Electronic Library entry (1859 first publication; author 1812–1891). This is independent of the earlier lecture citation. The author's original literary work is public domain on the life+70 basis; see Civil Code arts. 1281–1282, WIPO Lex. The basis is the original authored work, not a grant inferred from online availability or rights in later editorial apparatus.

    Exact measured scope: independently inspected original hosted job, checkout 53cb21b2e07048eeb7f8cb9be097a8d920fb7a6d. Seven tests passed, including the negative rights-boundary test, followed by actual 930248-character source replay and OBLOMOV_MEASUREMENT=PASS. The extractor at that checkout (blob a92a7db37ce0190fdaa98d11d42cbcb46354be49, identical to current master) requires the PD-old header, the four-part novel designation and all 46 chapters, and removes the header, title/preface, chapter headings and editorial footer starting at the dated end marker. This is positive historical execution evidence of the pinned rights notice and form assertion, not a fresh source fetch or printed collation.

    Cross-checked retained diagnostic against bundled snapshot: diagnostic blob, normalized body SHA-256, source revision and all five profile IDs match; all five required numeric values match exactly (mean word length 4.880187457188007; mean sentence length 63.3700968438654; dialogue percent 41.849119265457624; comma rate 143.1972166269914; dash rate 58.30569628408852). Body SHA-256 144a5ea17195e7ce10d69a5855a67781510dac51fd44237e1bc856536c3b3887.

    New revision distinction: the current Wikisource view explicitly labels the work public domain and a novel, but its footer identifies oldid 5830224, edited 2026-11-23. The frozen oldid 5724579 direct web fetch is unavailable here. Do not substitute current text or infer byte equivalence. The historical run above supplies source-bound evidence; the 1954 print collation and any independent review of editorial contributions inside the body remain NOT_RUN.

    Disposition: work-level form and original-author public-domain basis corroborated; exact frozen scope supported by historical CI, but fresh independent source-byte replay NOT_RUN. Keep public release false and do not claim rights over later apparatus, full print equivalence, new corpus admission or M2. Next: independently review the remaining proposed novel members; if a fresh pinned replay is needed, use the existing authorized source-free workflow, not the newer revision or a new pipeline. No test labels are admitted.

  3. andy-zen-dev commented on Nov 29, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Resurrection — independent source-bound form/rights evidence (2026-11-29)

    Existing measured edition only: resurrection / tolstoy-resurrection-ru / ru-wikisource-129-chapters; original Russian, explicit null translator. The RSL 1899 catalogue record in NEL and 1900 three-part edition explicitly designate the work as a novel, independently of the earlier Tolstoy museum citation. Author 1828–1910, lifetime publication 1899; original literary work is public domain on the life+70 basis (Civil Code arts. 1281–1282). This does not assert rights to later editorial additions.

    The Komarov source index independently displays the exact Lexika 1996 volume 6 bibliographic citation, three parts ending at LIX/XLII/XXVIII and an explicit public-domain notice for the literary work; site selection/layout rights are separate. The current Wikisource index still names that source and displays PD-old-70, but now identifies index revision 5791984 (2026-11-19), not frozen 5614128. Its status includes 75% and no scans. Do not substitute this index or treat either as printed-edition collation.

    Newly inspected same-day execution evidence: frozen replay job 141351016397, exact checkout e021b95d8d61ae2238890aa22823f94e465165f6, ran 1,784 tests, including changed legal/source identity refusal, then actual 129 pinned chapter replay (first/last 355996/5647181), 890,835 characters, 1,610,692 UTF-8 bytes, raw and normalized SHA-256 2725a60a810d8aae4beff9dbc73ff85cf6da066b1c5272aaebf21addbe4ccaa0. Diagnostic reports 24/29 measured, 2 public references, M2 weight zero. Current master fbcad7e1dc19c66ec6d9df03e8aa7ff10aacdf75 has identical blobs for the manifest, resurrection_freeze, wikisource_freeze, resurrection_diagnostic and wikisource_replay. Unlike a current-index fetch, this historical CI evidence binds the actual measured chapter bytes. It was inspected today, not rerun by this review.

    Cross-check: packed manifest blob 3c49ee6b39af19f7383d4a61a9fe2b8a4c6184db: 129 distinct revision IDs, 5160 packed SHA-1 hex characters; retained diagnostic blob 0cc4d3d96fa3573ef7714ce3655a3120853fba16 matches the bundled snapshot evidence blob, body hash and all five profile versions. All five tag observations match exactly: word length 5.204401707204196, sentence length 91.4059375, dialogue percent 29.824824938941546, commas/1000 words 149.94600709621022, dashes/1000 words 38.99242630152282.

    Disposition: form:novel independently supported; public-domain original-author basis corroborated by both bibliographic authority and actual transcription provider. Extractor removes page scaffolding, refs and notes markup, but that is not proof of absence of editorial contributions within prose. The 1996 print collation and independent review of such contributions remain NOT_RUN. Do not mark public rights clearance or release true from this review; no new corpus entry, no new source retrieval, no M2 promotion. Continue with the remaining proposed novel members and explicit editorial-scope qualification; do not use the current index as a replacement for the frozen chapter manifest.

  4. andy-zen-dev commented on Nov 29, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Anna Karenina — exact index and 1970 editorial-scope qualification (2026-11-29)

    Existing measured edition only: anna / tolstoy-anna-karenina-ru / ru-wikisource-239-chapters, original Russian, explicit null translator. RSL record 01007146403 independently confirms the eight-part novel, Nauka 1970, and named editors V. A. Zhdanov and E. E. Zaidenshnur. The Wikisource index viewed today displays exactly frozen index oldid 3829834, PD-old-70, eight parts, and the FEB source pp. 5–684. This is a verified index identity, not fresh chapter-byte replay or print collation. Original author died 1910; the original authored work is public domain on the life+70 basis.

    New editorial evidence: the actual 1970 editors' textological explanation, pp. 834–855 describes collation with manuscripts and author-corrected proofs, restoration of authorial wording, acceptance of grammatical/typographical repairs and rejection of stylistic interventions by Strakhov. This is positive evidence for a restoration-oriented edition, rather than a new adaptation; it also proves that the edition contains deliberate editorial decisions. The explanatory essay and other apparatus are distinct from pp. 5–684. FEB's own terms expressly permit noncommercial reuse with attribution to FEB and the text URL; that is not an unrestricted open license or proof of every underlying right. Do not transfer this permission to unrelated material or assert unrestricted rights in editorial contributions. For public source-free aggregates retain the original-work basis and the exact edition attribution; independently evaluate remaining in-body editorial scope and Wikimedia attribution obligations before setting rights clearance true.

    Actual historical replay: run 34794221625 / job 103824098021, exact checkout 9ba8f36440b15fc41374209437048ae2e486d579, 2026-09-14, 95 tests passed, actual source-bound diagnostic JSON read back. Current packed manifest blob 696fbd4a1692d36743acf77cead8fe72bc76defb: 239 distinct revision IDs, 6453 packed SHA-1 base64 characters, 1,705,605 characters, 3,072,993 UTF-8 bytes. Raw/normalized SHA-256 1dcf2af815f6288099f77a038d873690fb0dc72edf81d2094fd29f3d5a30c205 matches original job and snapshot. Diagnostic blob 0d5e420abb45e2b9e178df75a479ab7cdd5a4150 matches the Reader evidence pointer. All five profile observations equal the original job and snapshot: mean word length 4.9825511029930425, mean sentence length 78.99585453175052, dialogue share 34.97462555501088, commas/1000 words 146.31457020025394, dashes/1000 words 46.57370488346364. Current extractor removes notes, refs and noinclude/comment scaffolding and refuses unsupported residual markup; this does not prove all in-body editorial decisions absent.

    Decision: independently support form:novel, original-author public domain, exact index provenance and historical replay; distinguish 1970 critical restoration from unedited authorial bytes. Fresh full replay and exact print collation NOT_RUN in this review. Keep public release and independently cleared edition rights false; no new corpus admission or M2 advancement. Next bounded qualification: the remaining Hyperboloid member and explicit editorial-scope review; do not repeat this index/metadata review without new evidence.

  5. andy-zen-dev commented on Nov 29, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Hyperboloid — independent form, genre and frozen-body scope review (2026-11-29)

    Existing measured edition only: hyperboloid / tolstoy-hyperboloid-garin-wikisource-ru / ru-wikisource-oldid-5014458, original Russian, explicit null translator. Independent 1929 RSL/NEL catalogue explicitly identifies a novel; the NEL author profile confirms the fantastic-novel classification and 1945 death year. Together with the previously recorded publisher's explicit science-fiction designation, these support work-level form:novel and genre:science-fiction. Neither identifies the measured print edition. The original authorial work has a public-domain basis in Russia even allowing the four-year wartime extension to life+70; this is not clearance of all later editorial contributions or every jurisdiction.

    The Wikisource current view displays the same oldid 5014458, 2023-08-30 20:13, source az.lib.ru, PD-old-70, and novel/fantastic-literature categories. It is marked 25% and without scans; the CC BY-SA footer does not establish ownership of any unlicensed imported contributions. This is a fresh displayed-revision check, not a new raw-byte replay or print collation. The exact print identity remains unknown.

    Source-bound execution: inspected original job 122074004989 from 2026-10-27 at checkout 1b6f3867e407806102d4acd8758c5b2df4c89229. Six focused tests passed, then the actual frozen replay and assertions completed and uploaded the 1730-byte derived-only archive (digest 4b5eca834a343cbe2c8bfa167942972ad652a1b64c25a97430a17dcf07ec698c). Current master fbcad7e1dc19c66ec6d9df03e8aa7ff10aacdf75 has identical blobs for both manifests, hyperboloid_freeze.py and hyperboloid_diagnostic.py. The 499066-character / 930560-byte body has raw and normalized SHA-256 a01c5eadef53b2437eff3abe6052bb7f7bf6f95737641558343363628da7f513. Independently compared all 29/29 retained rows with Reader snapshot blob a84986fd72ad616006b8ce179d1653e5ecf13729; diagnostic blob c1278e87b08b6668073ef732f4841bf96d06cfe0 and body hash match. Five tag metrics match, 24 rows measured, five NOT_RUN. No new test execution.

    Concrete editorial-scope finding: the exact extractor strips metadata, comments, category scaffold and formatting, but deliberately preserves visible sup/u contents and the text of 132 level-three headings. This is not evidence those contents are unauthorized, nor evidence they are exclusively authorial. Before clearing this edition, independently classify those retained visible spans against a verified textual witness, especially superscript contents (counts and categories only; no prose). Preserve the existing frozen measurement; any confirmed editorial exclusion needs separately versioned scope and metric replay. Do not infer 1958 Moscow/1939 print identity from sibling imports or current metadata. The four proposed novel members now have work-level classification corroboration; edition-rights clearance and public tag release remain false. A single science-fiction observation is not a genre distribution. No new admission, parity, or publication.

  6. andy-zen-dev commented on Dec 1, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Karamazov — exact 1991 editorial boundary and form evidence (2026-12-01)

    Existing measured original-Russian edition only: karamazov / dostoevsky-brothers-karamazov-ru / ru-wikisource-98, explicit null translator. RSL 1921 catalogue independently supports the work-level novel designation and author dates (1821–1881), not the measured edition. The Wikisource index displays the exact frozen index oldid 5616907, PD-old-70 and the 1991 Nauka vols. 9–10 source; original literary work has a public-domain basis in Russia (Civil Code arts. 1281–1282). Index status 00% / no scans remains a fidelity limitation. No new chapter bytes acquired.

    New primary editorial evidence: 1991 vol. 9 notes and vol. 10 notes independently identify V. E. Vetlovskaya as preparer of the novel text and notes; vol. 9 editor G. M. Fridlender, vol. 10 editors I. A. Bityugova and G. M. Fridlender. Volume 9 contents place separate notes at p. 571; volume 10 contents place the third epilogue chapter at p. 285, separate authorial appendix at p. 297, other unfinished works from p. 298, notes at p. 355. The frozen 98-segment manifest excludes these separate appendices and editorial notes; includes dedication/epigraph, author preface, 93 chapters and three epilogue chapters. This supports intended body boundaries, not byte-level print collation. RVB's electronic edition carries its own copyright notice; free access is not a blanket reuse grant.

    Execution and binding: original job 121981268344, checkout ade9afa718967866530e58ec6cb9d731bf5b81a0, passed six tests and actual pinned replay: 1,810,351 chars incl. spaces, 29 fields / 24 numeric / 2 reference fields, M2 weight zero. Freeze module blob 3b360e3b0b814453fbe64f1aefaf3de3d9a41f67 and revision manifest 0f469b91312f5083e17f0914cbd956ca6230972a match master e8070d7823f4b442779d602950f931ee73e106da. Snapshot blob a84986fd72ad616006b8ce179d1653e5ecf13729 matches retained diagnostic 21cacd2d77575377b0d5e64d998cfd2687abc453 on all five target tag feature values and source SHA-256 26b9991c95b30d262c24ae38fb2332333a58df588a62a4310f9e5c4b507dbce6. No fresh local/hosted tests executed in this review.

    Decision: form:novel has independent authority for this work; keep exact-body reuse clearance separate. Extraction profile v7 removes Wikisource editor notes but renders explicit typo-correction templates and an NB marker. Before clearing the measured edition for public tags, inventory the actual pinned in-body corrections/markers source-free, distinguish documented restoration from unverified editorial additions, and test a bounded sensitivity diagnostic only if the inventory warrants it. Preserve baseline body, attribution and rights independently verified=false; no public tag aggregate, new corpus admission or FantLab parity.

  7. andy-zen-dev commented on Dec 1, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Humiliated and Insulted — independent edition-scope evidence (2026-12-01)

    Existing measured edition only: humiliated / dostoevsky-humiliated-and-insulted-azlib-ru / ru-wikisource-az-lib-oldid-5611473, original Russian, explicit null translator. RSL catalogue 01005790739 independently designates the work a novel and gives author dates 1821–1881. The original authored work has a public-domain basis in Russia (Civil Code arts. 1281–1282); this is not a grant for later editorial contributions.

    New edition lead: the current Version 2 page identifies az.lib.ru, PD-old-70 and the four-part novel with epilogue. Its footer now points to revision 5797976, not the frozen 5611473 (direct historical web fetch unavailable). Its bibliography identifies Nauka 1989 vol. 4 and its appended commentary credits N. F. Budanova. The independent RVB volume contents put the novel at p. 5, the next work at p. 339, and notes at p. 721; Budanova's actual commentary is pp. 726–745. These are concrete candidate edition and apparatus boundaries, not proof the frozen import uses identical print bytes or that its bibliography was unchanged. Do not silently substitute the newer revision or change the retained reported edition.

    Source-bound verification: inspected original job 124255087178, checkout 467fa214dcaa9a5a26e67146604409523ff8c4f5. Nine regression tests passed (including commentary removal, rights-boundary refusal and balanced inline tags), followed by real 713,925-character replay and derived-artifact PASS. The extractor blob 47ae96d9f31c5f3958fc914f880b4f89de133be9 is identical at that checkout and current master 579b954c098312e0977161551fd4c1ba380b1bd4. Independently compared the retained diagnostic (blob acfb3fb1cd0eb3713e45b062438253d19a68bcad) with snapshot a84986fd72ad616006b8ce179d1653e5ecf13729: 29/29 values match, including five nulls; source SHA-256 ffc6825db7f442c7df93136e8ddf90ce44be8801cdbaa727d5fe642db3fad8fa and evidence blob match. No new test execution claimed.

    Decision: support work-level form:novel. The pinned extractor checks all 45 chapters plus epilogue, drops headings and separates Budanova's commentary; however it retains the inner text of balanced sup and u tags. The current import explicitly carries a category warning about superscripts/non-wiki notes. This does not identify any particular frozen body span. Before public rights clearance, inspect the exact pinned raw SHA-256 c8e46b8a1948d34b5fc0fb6db8091c990701eeae0c09a8ef83d941dce6131d68 and inventory retained superscript/underline contents by structural class and chapter only; compare any suspected apparatus against the 1989 RVB witness without emitting source prose. No broad deletion, no new corpus admission, no public tag, no M2 promotion. Exact print collation, fresh source-byte replay and in-body rights scope remain NOT_RUN; preserve the frozen body and private/public release distinction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions