docs(docs): R4.6 J2 recette (procedure, results grid, kit script), export harness phases and dist override, export series script, ledger targets of the app PDF suites, CLAUDE.md export flow; export driver publishes its User Timing split
This commit is contained in:
1 parent
9cb3cb75d4
commit
cdcdda8e1c
12 files changed
+679
-39
No files matched your search
+17
-8
@@ -88,13 +88,26 @@ const SAFE_TEXT =
|
||||
const WRAP = 'cargo pdf_text::wrap_lines_reproduces_every_case'
|
||||
const DATES =
|
||||
'cargo pdf_text::format_date_reproduces_the_intl_grid_and_the_others'
|
||||
const CARGO_GOLDENS = 'R4.4/R4.5 cargo goldens (pending)'
|
||||
/** R4.6: the Step 6 goldens hold on the app path, read back from the file's content
|
||||
* streams (tests/helpers/pdfRead.ts), and in cargo from the draw log and the O2 runs. */
|
||||
const CARGO_GOLDENS =
|
||||
'vitest (same case, read from the file); cargo pdf_layout::step6_text_and_image_goldens_derive_from_the_log, pdf_serialize::o2_streams_images_links_info_and_attachment_match_the_r3_build'
|
||||
const RASTER_CHECK =
|
||||
'vitest (same case); cargo pdf_png::every_o6_decode_matches_pdf_lib'
|
||||
const SAME = 'vitest (same case)'
|
||||
const NONE = '-'
|
||||
const GENERATOR = 'generator; oracle files kept (R4.8)'
|
||||
const N1_SWITCH = 'reader switched to the frozen O11 scanner at R4.8'
|
||||
const PDF_LIB_LEAVES =
|
||||
'pdf-lib leaves the app; read-back moves to cargo/lopdf or the wasm reader'
|
||||
/** R4.6: the export side of these cases runs on the core; the reader is the kept TS one
|
||||
* until R4.8, the kinds and round trips are cargo's. */
|
||||
const IMPORT_R46 =
|
||||
'vitest (same case, export on the core); cargo pdf_import (kinds), pdf_serialize::restoration_round_trip_loses_nothing'
|
||||
/** R4.6: the roundtrip suite reads the Rust export's content streams and metadata through
|
||||
* pdf-lib (kept in the tests until R4.8); the read-back is cargo's from R4.8. */
|
||||
const ROUNDTRIP_R46 =
|
||||
'vitest (same case, read from the file); cargo pdf_serialize::restoration_round_trip_loses_nothing from R4.8'
|
||||
|
||||
const ported = (target, oracle, note = NONE) => ({
|
||||
disposition: 'ported',
|
||||
@@ -222,11 +235,7 @@ const RULES = [
|
||||
{
|
||||
file: GOLDENS,
|
||||
title: 'golden inputs > the 2×1 PNG decodes',
|
||||
...replaced(
|
||||
CARGO_GOLDENS,
|
||||
'O6',
|
||||
'pdf-lib embedPng check of the golden rasters',
|
||||
),
|
||||
...replaced(RASTER_CHECK, 'O6', 'pdf-lib embedPng check of the golden rasters'),
|
||||
},
|
||||
{
|
||||
file: GOLDENS,
|
||||
@@ -250,11 +259,11 @@ const RULES = [
|
||||
},
|
||||
{
|
||||
file: `${APP}pdf.import.test.ts`,
|
||||
...replaced('R4.3/R4.5 (pending)', NONE, PDF_LIB_LEAVES),
|
||||
...replaced(IMPORT_R46, NONE, PDF_LIB_LEAVES),
|
||||
},
|
||||
{
|
||||
file: `${APP}pdf.roundtrip.test.ts`,
|
||||
...replaced('R4.3/R4.5 (pending)', NONE, PDF_LIB_LEAVES),
|
||||
...replaced(ROUNDTRIP_R46, NONE, PDF_LIB_LEAVES),
|
||||
},
|
||||
{ file: `${APP}archive.envelopes.test.ts`, ...kept(NONE, N1_SWITCH) },
|
||||
{ file: `${APP}n-1.reader.test.ts`, ...kept(NONE, N1_SWITCH) },
|
||||
|
||||
Reference in new issue
Block a user