Commit cb565a71ad0d9c4ef17087706c7d76ff2582b33a. 6 commits folded. Every fact here was folded from the chain's per-commit deltas.
This reference is folded from the project's documentation chain, kept in the export repo wbic16/phdoc at docs/teixml-to-mutable/chain.phext, and rendered for the doc site https://docs.phext.io. Both targets are named in the project's own .phdoc.json; the defaults are wbic16/phdoc and https://docs.phext.io.
The author of record is Will Bickford — 6 commits folded into his account. Will's ruling (2026-11-22): all Exocortical authors fold into his account — "I speak for the cluster." The fold is presentation only: the git history is unchanged, and the per-persona detail is kept as annotation.
Annotation, by persona (all folded into Will Bickford):
Declared RFCs at this point: none declared.
ChainReader (src/lib.rs) — A data shape named ChainReader.ChainReader::open (src/lib.rs) — Function ChainReader::open takes path: &Path and gives back Result<ChainReader, String>.ChainWriter (src/lib.rs) — Streaming chain writer (WAL write path): members are appended in order, previously written bytes are never touched; the chain-close byte is written last.ChainWriter::create (src/lib.rs) — Function ChainWriter::create takes path: &Path and gives back Result<ChainWriter, String>.ConversionSummary (src/lib.rs) — A data shape named ConversionSummary.Doctype (src/lib.rs) — A document type declaration, as written (stage 0.3, ruling D3).Element (src/lib.rs) — A data shape named Element.Element::is_container (src/lib.rs) — Function Element::is_container takes no inputs beyond the value it is called on, and gives back bool.FORMAT_VERSION (src/lib.rs) — A fixed value named FORMAT_VERSION, set to "0.1".FileEntry (src/lib.rs) — A data shape named FileEntry.IndexEntry (src/lib.rs) — A data shape named IndexEntry.Node (src/lib.rs) — A named choice named Node.ParsedDocument (src/lib.rs) — The full parse of one XML document: root element tree plus the prolog and epilog material (comments, PIs) and the DOCTYPStorageClass (src/lib.rs) — A named choice named StorageClass.StorageClass::as_str (src/lib.rs) — Function StorageClass::as_str takes no inputs beyond the value it is called on, and gives back &'static str.VerifyReport (src/lib.rs) — A data shape named VerifyReport.append_member (src/lib.rs) — Append one member universe to an existing closed chain (WAL append): every previously written member byte is left untoucclassify (src/lib.rs) — Function classify takes bytes: &[u8] and gives back StorageClass.close (src/lib.rs) — Function close takes mut self and gives back Result<(), String>.collapse_ws (src/lib.rs) — Whitespace-collapse: runs become one space, ends trimmed.collect_xml_files (src/lib.rs) — Function collect_xml_files takes dir: &Path and gives back Result<Vec<PathBuf>, String>.convert_dir (src/lib.rs) — Function convert_dir takes dir: &Path, out: &Path and gives back Result<ConversionSummary, String>.coord (src/lib.rs) — Function coord takes scroll: usize and gives back phext::Coordinate.element_text (src/lib.rs) — All text of an element's subtree, concatenated in document order.extract_original (src/lib.rs) — Extract one original back out of $1, verifying its SHA-256.extract_title (src/lib.rs) — Title: teiHeader/fileDesc/titleStmt/title, fallback msIdentifier/idno, fallback the source filename stem (STAGE2-RECON.mfirst_named (src/lib.rs) — First element with this local name in pre-order (self included).get (src/lib.rs) — Function get takes &self, universe: usize, coord: &phext::Coordinate and gives back Option<&str>.member (src/lib.rs) — Function member takes &self, universe: usize and gives back Option<&str>.member_count (src/lib.rs) — Function member_count takes no inputs beyond the value it is called on, and gives back usize.parse_doctype (src/lib.rs) — Parse the inner text of a <!DOCTYPE ...> declaration (everything between <!DOCTYPE and the closing >).parse_index (src/lib.rs) — Function parse_index takes scroll: &str and gives back (Vec<IndexEntry>, Vec<(String, String)>).parse_subspace (src/lib.rs) — Parse a $N:1.1.1/1.1.1/1.1.1 subspace address.parse_xml (src/lib.rs) — Parse one XML document (bytes) into an Element tree.parse_xml_full (src/lib.rs) — Parse one XML document into root tree + prolog/epilog + DOCTYPE.rel_of (src/lib.rs) — Function rel_of takes base: &Path, p: &Path and gives back String.renumber_refs (src/lib.rs) — Rewrite every @ref $k scroll in a member from local to global numbering by adding offset (the file's first-universe number − 1).scroll_number (src/lib.rs) — Function scroll_number takes c: &phext::Coordinate and gives back usize.scrolls_of (src/lib.rs) — Scrolls of a universe as (scroll number, content), in scroll order.sha256_hex (src/lib.rs) — Function sha256_hex takes bytes: &[u8] and gives back String.text_nodes (src/lib.rs) — All text nodes of this element's subtree, in document order.universe_text_and_refs (src/lib.rs) — Walk one converted universe subtree: collect (text nodes, refs followed).verify (src/lib.rs) — Function verify takes chain: &Path, corpus_dir: Option<&Path> and gives back Result<VerifyReport, String>.write_member (src/lib.rs) — Function write_member takes &mut self, member: &str and gives back Result<(), String>.--corpus (src/main.rs) — A command line flag, --corpus.--no-vfs (src/main.rs) — A command line flag, --no-vfs.convert (src/main.rs) — A command named convert.extract (src/main.rs) — A command named extract.main (src/main.rs) — The entry point: the program starts here.mutable (src/main.rs) — A command named mutable.phextura (src/main.rs) — A command named phextura.relocate-phextura (src/main.rs) — A command named relocate-phextura.show (src/main.rs) — A command named show.verify (src/main.rs) — A command named verify.verify-phextura (src/main.rs) — A command named verify-phextura.IMPORT_GENERATION (src/mutable.rs) — Deterministic generation id for the import save (matches Mutable's /^[a-zA-Z0-9-]+$/ generation rule).Json (src/mutable.rs) — A named choice named Json.Json::to_pretty (src/mutable.rs) — JSON.stringify(value, null, 2): objects/arrays expand one item per line; empty ones stay inline as {} / [].MutableDocument (src/mutable.rs) — One converted Mutable document, ready to write into the Cavern tree.MutableEntry (src/mutable.rs) — A data shape named MutableEntry.MutableSummary (src/mutable.rs) — A data shape named MutableSummary.build_document (src/mutable.rs) — Build the Mutable document for one parsed TEI file (0.1 model element).document_rel_for (src/mutable.rs) — The document filename for a source relative path: MS.xml -> MS.mutable.json, folders preserved.export_mutable (src/mutable.rs) — Export a directory of TEI-XML as a Mutable native Cavern zip.resource_id_for (src/mutable.rs) — Deterministic resourceId: a UUID-shaped digest of the source relative path (SHA-256, version/variant bits set) — stableto_compact (src/mutable.rs) — JSON.stringify(value): compact, key order as constructed.C9 (src/phextura.rs) — A full 9-component phext coordinate (Z/Y/X), the address currency of this module; converted to libphext coordinates onlyC9::new (src/phextura.rs) — Function C9::new takes z: and gives back C9.CONVERTER (src/phextura.rs) — A fixed value named CONVERTER, set to concat!("teixml-to-mutable ", env!("CARGO_PKG_VERSION")).Detached (src/phextura.rs) — A data shape named Detached.EntryRec (src/phextura.rs) — A data shape named EntryRec.KIND_ORDER (src/phextura.rs) — L2 key kinds, in object-table index order (LAYER2 §1.4 + profile extension kind tei-element, minted on cite only).POINTING_ATTRS (src/phextura.rs) — Attributes whose values are treated as references (SPEC-0.3 §3.5).PROFILE_VERSION (src/phextura.rs) — A fixed value named PROFILE_VERSION, set to "0.1".ParsedEntry (src/phextura.rs) — A data shape named ParsedEntry.PhexturaFileEntry (src/phextura.rs) — A data shape named PhexturaFileEntry.PhexturaSummary (src/phextura.rs) — A data shape named PhexturaSummary.ReconReport (src/phextura.rs) — A data shape named ReconReport.RefCounts (src/phextura.rs) — A data shape named RefCounts.RefOut (src/phextura.rs) — A named choice named RefOut.RelocReport (src/phextura.rs) — A data shape named RelocReport.SECTION_ELEMENTS (src/phextura.rs) — Elements that head a LAYER2 section object when headed (profile §3).ScrollParts (src/phextura.rs) — A scroll split into role line, header lines, and body (text after the first blank line; header-only scrolls have an emptTEI_NS (src/phextura.rs) — A fixed value named TEI_NS, set to "http://www.tei-c.org/ns/1.0".TargetAddr (src/phextura.rs) — A data shape named TargetAddr.TargetForm (src/phextura.rs) — A named choice named TargetForm.ValidateReport (src/phextura.rs) — A data shape named ValidateReport.addr (src/phextura.rs) — Function addr takes no inputs beyond the value it is called on, and gives back String.canonical_bytes (src/phextura.rs) — Function canonical_bytes takes map: &HashMap<phext::Coordinate, String> and gives back Vec<u8>.check_reconstruction (src/phextura.rs) — Function check_reconstruction takes base_path: &Path, standoff_path: &Path, corpus_dir: &Path, and gives back Result<Recedition_checksum (src/phextura.rs) — The edition checksum: libphext xxh3-128 over the canonical form of the corpus with the checksum line excluded from its mescape_value (src/phextura.rs) — Function escape_value takes v: &str and gives back String.export_phextura (src/phextura.rs) — Function export_phextura takes dir: &Path, out_dir: &Path and gives back Result<PhexturaSummary, String>.export_phextura_opts (src/phextura.rs) — As export_phextura; emit_vfs controls the D6 PhextVFS image (cavern.phext), a third consumer of the assembled pairiso_from_unix (src/phextura.rs) — Function iso_from_unix takes secs: u64 and gives back String.iso_now (src/phextura.rs) — Function iso_now takes no inputs beyond the value it is called on, and gives back String.line_of (src/phextura.rs) — Function line_of takes lines: &'a [ and gives back Option<&'a str>.lines_of (src/phextura.rs) — Function lines_of takes lines: &'a [ and gives back Vec<&'a str>.load_entries (src/phextura.rs) — All standoff entries, sorted into minting order (series, then scroll).load_map (src/phextura.rs) — Function load_map takes path: &Path and gives back Result<HashMap<C9, String>, String>.manifest_coord (src/phextura.rs) — The corpus-level manifest coordinate (Series 1, Collection 6).parse (src/phextura.rs) — Function parse takes s: &str and gives back Option<C9>.parse_entry (src/phextura.rs) — Function parse_entry takes coord: C9, text: &str and gives back Result<ParsedEntry, String>.parse_target (src/phextura.rs) — Function parse_target takes addr: &str and gives back Result<TargetAddr, String>.phext (src/phextura.rs) — Function phext takes no inputs beyond the value it is called on, and gives back phext::Coordinate.relocate (src/phextura.rs) — Function relocate takes base_path: &Path, standoff_path: &Path and gives back Result<RelocReport, String>.render_attr_name (src/phextura.rs) — Render an attribute's qualified name for an attr- header line: namespaced names render as {<namespace-uri>}<local> (profile §4); the prefix resolves against the xmlns declarations in scope, with xml predefined.slugify (src/phextura.rs) — Function slugify takes s: &str and gives back String.split_scroll (src/phextura.rs) — Function split_scroll takes text: &str and gives back ScrollParts.standoff_meta_coord (src/phextura.rs) — The standoff's own metadata coordinate (its Collection 6, Series 1).strip_checksum_line (src/phextura.rs) — Remove any checksum: xxh3-128: line from a scroll's text.unescape_value (src/phextura.rs) — Function unescape_value takes v: &str and gives back Result<String, String>.validate_pair (src/phextura.rs) — Function validate_pair takes base_path: &Path, standoff_path: &Path and gives back Result<ValidateReport, String>.<'a> Flat<'a>::index_of (src/segment.rs) — Function <'a> Flat<'a>::index_of takes &self, e: &Element and gives back usize.BLOCK_ELEMENTS (src/segment.rs) — TEI block-level elements: each owns text segments; any other element containing a block-level descendant acts as a contaFlat (src/segment.rs) — A pre-order flattening of one document tree: occurrence indices, parent/depth, subtree ranges, and per-element descendanInlineOcc (src/segment.rs) — One inline element occurrence inside a segment.SegMark (src/segment.rs) — A comment or PI encountered during the walk (ruling D3).Segment (src/segment.rs) — One raw segment (pre-keep-rule).Segmentation (src/segment.rs) — A data shape named Segmentation.flatten (src/segment.rs) — Function flatten takes root: &Element and gives back Flat<'_>.has_block_descendant (src/segment.rs) — Function has_block_descendant takes el: &Element and gives back bool.is_block (src/segment.rs) — Function is_block takes name: &str and gives back bool.is_empty (src/segment.rs) — Function is_empty takes no inputs beyond the value it is called on, and gives back bool.kept_map (src/segment.rs) — The keep rule (0.2, recon §4.4): a segment survives iff its text is non-whitespace or it carries at least one inline occurrence.len (src/segment.rs) — Function len takes no inputs beyond the value it is called on, and gives back usize.segment_document (src/segment.rs) — Segment one document.VFS_CHUNK_SIZE (src/vfs.rs) — Mutable's DEFAULT_CHUNK_SIZE (vfs.ts).VfsImageInfo (src/vfs.rs) — A data shape named VfsImageInfo.base64_encode (src/vfs.rs) — Standard base64 (RFC 4648, padded) — the encoding Mutable's Buffer.toString("base64") produces and its reader decodesbuild_cavern_image (src/vfs.rs) — Build the cavern.phext image holding files (name, bytes) in the given order at the documents-stratum root, in the VFS binary format.json_escape (src/vfs.rs) — JSON string escaping with JSON.stringify semantics (the index and manifest scrolls are consumed by Mutable's `JSON.parse