Commit 9a6ff539107b7d77c19bdcd10b120e387da2b19d. 14 commits folded. Every fact here was folded from the chain's per-commit deltas.
Declared RFCs at this point: none declared.
BundleFile (src/bundle.rs) — One file inside a bundle, extracted and held in memory.BundleFile::text (src/bundle.rs) — The file's text, when it is valid UTF-8 (markdown must be).MAX_FILES (src/bundle.rs) — Entry-count cap.MAX_FILE_BYTES (src/bundle.rs) — Per-file extracted cap.MAX_TOTAL_BYTES (src/bundle.rs) — Whole-bundle extracted cap (zip-bomb guard).MAX_ZIP_BYTES (src/bundle.rs) — Upload cap: the whole zip, as sent.ParsedBundle (src/bundle.rs) — A fully parsed bundle: the archive bytes as published, plus every file extracted.ParsedBundle::file (src/bundle.rs) — Function ParsedBundle::file takes &self, path: &str and gives back Option<&BundleFile>.RESERVED_SLUGS (src/bundle.rs) — Names that would collide with this service's own routes or files, now or plausibly later.build_zip (src/bundle.rs) — Serialize files back into a bundle archive — the inverse of parse_bundle, used for working copies (work.rs).bundle_title (src/bundle.rs) — The bundle's title, from the bundle alone: the root index's first line (its incipit), else the slug.constant_time_eq (src/bundle.rs) — Constant-time equality for key hashes, so a wrong-key probe learns nothing from timing.incipit (src/bundle.rs) — A file's incipit: its first heading if it opens with one, else its first non-empty line, lightly stripped of markdown furniture.is_markdown_path (src/bundle.rs) — Function is_markdown_path takes path: &str and gives back bool.is_root_index (src/bundle.rs) — Is this the bundle's root self-description file?is_vault_path (src/bundle.rs) — The vault is the bundle's memory: vault/ holds what was put away.markdown_stem (src/bundle.rs) — Strip the markdown extension from a path (docs/guide.md → docs/guide), or return None when the path is not markdown.new_edit_key (src/bundle.rs) — A fresh edit key: 32 bytes from the kernel's random source, hex.ordered_files (src/bundle.rs) — Bundle order — the order the sidebar, the tracklist, and prev/next all walk: the root index first (index.md ahead of README.md when a bundle somehow holds both), then every other file by path.parse_bundle (src/bundle.rs) — Parse and validate a bundle zip.parse_working (src/bundle.rs) — Parse a working-copy archive (see work.rs): the same hygiene and caps as a published bundle, but a draft may legitimatelsha256_hex (src/bundle.rs) — SHA-256 hex of a byte string — edit keys are stored only as this.valid_bundle_path (src/bundle.rs) — Path hygiene for one zip entry name.valid_slug (src/bundle.rs) — Slugs are the bundle's public name: md.phext.io/b/<slug>/.CloudReport (src/cloud.rs) — A data shape named CloudReport.CloudSettings (src/cloud.rs) — One bundle's cloud connection, all three providers' fields in one flat record (the cloud.txt lines form); only the active provider's fields are read by the engine.CloudSettings::to_lines (src/cloud.rs) — Function CloudSettings::to_lines takes no inputs beyond the value it is called on, and gives back String.CloudStore (src/cloud.rs) — The per-bundle cloud files, beside the bundle in the data dir: cloud.txt (the connection — a credential file, written mode 0600 by staged rename) and cloud-state.txt (the sync state).CloudStore::new (src/cloud.rs) — Function CloudStore::new takes dir: PathBuf and gives back CloudStore.ConfirmedFile (src/cloud.rs) — A data shape named ConfirmedFile.FileOutcome (src/cloud.rs) — One failed file of a sync: its tree path and the provider's error, in the provider's words.Provider (src/cloud.rs) — A named choice named Provider.Provider::parse (src/cloud.rs) — Function Provider::parse takes s: &str and gives back Option<Provider>.SyncState (src/cloud.rs) — A data shape named SyncState.SyncState::confirmed_for (src/cloud.rs) — The confirmations that count for this destination — none, if the state was recorded against another one.TreeFile (src/cloud.rs) — One file of the deployable tree: its path inside the tree, the content type a static host serves it under, and its bytesas_str (src/cloud.rs) — Function as_str takes no inputs beyond the value it is called on, and gives back &'static str.base64_decode (src/cloud.rs) — Function base64_decode takes text: &str and gives back Option<Vec<u8>>.base64_encode (src/cloud.rs) — Function base64_encode takes data: &[u8] and gives back String.clear (src/cloud.rs) — Disconnect: both files go — the state belongs to the connection it describes.content_type_for (src/cloud.rs) — Function content_type_for takes path: &str and gives back &'static str.destination_id (src/cloud.rs) — The identity of the destination the sync state belongs to.from_lines (src/cloud.rs) — Function from_lines takes text: &str and gives back SyncState.load_settings (src/cloud.rs) — Function load_settings takes &self, slug: &str and gives back Option<CloudSettings>.load_state (src/cloud.rs) — Function load_state takes &self, slug: &str and gives back SyncState.merge_settings (src/cloud.rs) — Merge a settings request body (the same key=value lines as cloud.txt) over the settings already held, and validate the result.normalize_prefix (src/cloud.rs) — A prefix is a folder: no leading slash, a trailing slash when it names anything.record (src/cloud.rs) — Function record takes &self, slug: &str, state: &SyncState and gives back Result<(), String>.report_json (src/cloud.rs) — Function report_json takes r: &CloudReport and gives back String.save_settings (src/cloud.rs) — Function save_settings takes &self, slug: &str, settings: &CloudSettings and gives back Result<(), String>.settings_json (src/cloud.rs) — The settings as the API answers them: everything the editor needs to render the connection, and no secret — a key ID issite_tree (src/cloud.rs) — The payload: the outputs build's static site for this bundle, read from the on-disk tree it generates at publish (outputs.rs is the one tree producer — this module only carries it).sync_bundle (src/cloud.rs) — Sync on demand (the retry): the stored connection, the stored bundle, no re-publish.sync_if_configured (src/cloud.rs) — The publish hook, in the WordPress adapter's shape: when the bundle has a cloud connection, sync the just-committed bundto_lines (src/cloud.rs) — Function to_lines takes no inputs beyond the value it is called on, and gives back String.validate_settings (src/cloud.rs) — Plain-language validation; the messages are user-facing and the settings API returns them verbatim.DEFAULT_ISSUER (src/fed.rs) — A fixed value named DEFAULT_ISSUER, set to "https://edit.phext.io".Fed (src/fed.rs) — A data shape named Fed.Fed::handle_login (src/fed.rs) — GET /auth/login — begin the flow.Fed::open (src/fed.rs) — Open the federation state under <data>/fed/.FedConfig (src/fed.rs) — A data shape named FedConfig.FedConfig::from_env (src/fed.rs) — Function FedConfig::from_env takes no inputs beyond the value it is called on, and gives back FedConfig.VAULT_PREFIX (src/fed.rs) — A fixed value named VAULT_PREFIX, set to "mdwiz-vault-".enabled (src/fed.rs) — Function enabled takes no inputs beyond the value it is called on, and gives back bool.handle_callback (src/fed.rs) — GET /auth/callback — the provider returns the browser here with a code (or an error).handle_logout (src/fed.rs) — POST /auth/logout — forget the session here.handle_me (src/fed.rs) — GET /api/me — the editor's one boot question.handle_vault_choose (src/fed.rs) — POST /api/vault/choose {name, label?} — adopt a hosted vault as this session's.handle_vault_new (src/fed.rs) — POST /api/vault/new {label} — choose a fresh vault name for this session.handle_vault_pull (src/fed.rs) — POST /api/vault/pull — bring the vault's copy of one bundle toward this browser.handle_vault_starter (src/fed.rs) — GET /api/vault/starter — the vault as a one-scroll phext file: the manifest itself, at the root coordinate, which is all a phext with one scroll at 1.1.1/1.1.1/1.1.1 is.handle_vault_status (src/fed.rs) — GET /api/vault — the vault dialog's whole picture.handle_vault_sync (src/fed.rs) — POST /api/vault/sync — push one bundle's local state toward the vault.issuer (src/fed.rs) — Function issuer takes no inputs beyond the value it is called on, and gives back &str.CONTENT_SECURITY_POLICY (src/http.rs) — The lattice CSP, with the one documented img-src deviation.CacheClass (src/http.rs) — How a response may be cached — the lattice's three classes.HSTS_VALUE (src/http.rs) — One year, matching deploy/nginx-md.phext.io.conf.HTML (src/http.rs) — A fixed value named HTML, set to "text/html; charset=utf-8".JSON (src/http.rs) — A fixed value named JSON, set to "application/json; charset=utf-8".TEXT (src/http.rs) — A fixed value named TEXT, set to "text/plain; charset=utf-8".forwarded_https (src/http.rs) — True when the proxy says the browser connection is HTTPS — the lattice's forwarded_https, verbatim in shape.html_escape (src/http.rs) — HTML-escape text for interpolation into the page templates.json_escape (src/http.rs) — Minimal JSON string escaping for the hand-formatted API responses (the lattice formats JSON with serde; this service's rparse_request (src/http.rs) — Parse a request line and headers — the lattice's parse_request shape: method, raw target, and a lower-cased header mappercent_decode (src/http.rs) — Percent-decode a URL path segment string.read_body (src/http.rs) — Read a request body as bytes, up to cap.response_bytes (src/http.rs) — Build a full response — the lattice's response_bytes: ETag and 304 handling for the cacheable classes, security headersend_redirect (src/http.rs) — Function send_redirect takes stream: &mut TcpStream, location: &str, req_headers: &HashMap<String, String> and gives bacsend_response (src/http.rs) — Function send_response takes stream: &mut TcpStream, status: u16, content_type: &str, body: &[u8], class: CacheClass, resend_response_extra (src/http.rs) — Function send_response_extra takes stream: &mut TcpStream, status: u16, content_type: &str, body: &[u8], class: CacheClastatus_text (src/http.rs) — The lattice's status-text table, extended with the codes this service uses (409, 415, 422).strong_etag (src/http.rs) — A strong ETag: the quoted SHA-256 hex of the body (the lattice's strong_etag, which hashes with SHA-256 the same way).xml_escape (src/http.rs) — XML-escape text for the RSS feed (same five characters as HTML, without the apostrophe form XML parsers also accept).--dir (src/main.rs) — A command named --dir.--help (src/main.rs) — A command named --help.--host (src/main.rs) — A command named --host.--port (src/main.rs) — A command named --port.bucket (src/main.rs) — A command named bucket.container (src/main.rs) — A command named container.main (src/main.rs) — The entry point: the program starts here.provider (src/main.rs) — A command named provider.handle_mcp (src/mcp.rs) — Function handle_mcp takes stream: &mut TcpStream, reader: &mut BufReader<TcpStream>, method: &str, headers: &HashMap<StrCANONICAL_BASE (src/outputs.rs) — The site's canonical public origin.generate (src/outputs.rs) — Build (or rebuild) the derived outputs for one committed bundle and swap them into <data>/<slug>/site/.outputs_incomplete (src/outputs.rs) — Whether a bundle's on-disk outputs are missing or visibly incomplete: no site tree at all, or a Chromium is available now but the tree holds no PDF for a bundle that has markdown — the mark of a publish made while no Chromium existed.QUIET_LINE (src/render.rs) — The quiet suggestion — it lives in exactly two places: the editor's footer and the bundle index page's footer.SITE_CSS (src/render.rs) — The shared stylesheet: quiet, editorial, paper and ink with one deep-indigo accent.THEME_SNIPPET (src/render.rs) — Theme resolution, run before first paint on every published page — the same snippet the editor carries in its head.first_heading (src/render.rs) — The first # heading of a markdown text, for page titles.index_page (src/render.rs) — The bundle index: /b/<slug>/.integrate_page (src/render.rs) — The ways-to-use-it page: /integrate.not_found_page (src/render.rs) — The 404 page, in the same quiet dress.pdf_unavailable_page (src/render.rs) — The PDF address, when this server has no Chromium to print with: a page that says so plainly, in the same quiet dress, areading_page (src/render.rs) — One file's reading view: /b/<slug>/<path> (extension dropped).render_markdown (src/render.rs) — Render markdown to an HTML fragment.version_line (src/render.rs) — Version 3 · (Your Version) · updated 15 November 2026, plus the release's change line when one was given.MAX_FEED_ITEMS (src/rss.rs) — Items in one bundle's feed.MAX_SITE_FEED_ITEMS (src/rss.rs) — Items in the site-wide feed.feed_xml (src/rss.rs) — The bundle's feed.long_date (src/rss.rs) — Format a Unix timestamp as a long human date: 15 November 2026.ping_hub (src/rss.rs) — Announce a commit to the WebSub hub, if one is configured: the bundle's feed and the site-wide feed both changed.rfc822 (src/rss.rs) — Format a Unix timestamp as an RFC 822 date in GMT: Sat, 15 Nov 2026 22:20:00 GMT.site_feed_xml (src/rss.rs) — The site-wide feed: the items of every published bundle on the instance, newest first.websub_hub (src/rss.rs) — The configured WebSub hub, if any: MDWIZ_WEBSUB_HUB, read once at first use.Bundle (src/store.rs) — One published bundle, immutable once built.Bundle::stamps_of (src/store.rs) — One file's (first published, last changed) stamps.FileStamps (src/store.rs) — When one file was first published, and when its content last changed.PublishError (src/store.rs) — A named choice named PublishError.PublishOutcome (src/store.rs) — A named choice named PublishOutcome.Store (src/store.rs) — A data shape named Store.Store::open (src/store.rs) — Open the store at dir, loading every committed bundle.clean_changed_line (src/store.rs) — Sanitize a "what changed?" line: one line, printable, capped.count (src/store.rs) — Function count takes no inputs beyond the value it is called on, and gives back usize.get (src/store.rs) — Function get takes &self, slug: &str and gives back Option<Arc<Bundle>>.has_previous (src/store.rs) — Whether a previous published version survives for this slug.list (src/store.rs) — Every published bundle, ordered by slug — the MCP list_bundles surface.publish (src/store.rs) — Publish a bundle.publish_with_issued_key (src/store.rs) — First publish with a caller-issued edit key.restore (src/store.rs) — Restore the previous published version — the reversibility that replaces confirmation.site_file (src/store.rs) — One file of a bundle's derived outputs (see outputs.rs), read from <slug>/site/.FileOutcome (src/wordpress.rs) — A named choice named FileOutcome.FileResult (src/wordpress.rs) — A data shape named FileResult.SyncReport (src/wordpress.rs) — One sync run, recorded with the bundle.SyncReport::to_json (src/wordpress.rs) — Function SyncReport::to_json takes no inputs beyond the value it is called on, and gives back String.WpSettings (src/wordpress.rs) — The per-bundle WordPress connection.WpState (src/wordpress.rs) — The bundle's sync bookkeeping: the path -> post ID mapping, and the last run's report.WpStore (src/wordpress.rs) — Persistence for the per-bundle WordPress files, under the same data directory the store owns.WpStore::new (src/wordpress.rs) — Function WpStore::new takes dir: PathBuf and gives back WpStore.base64_encode (src/wordpress.rs) — Function base64_encode takes bytes: &[u8] and gives back String.clean_site_url (src/wordpress.rs) — Normalize and vet a site address the owner typed.clean_user (src/wordpress.rs) — Function clean_user takes raw: &str and gives back Result<String, String>.clear (src/wordpress.rs) — Forget the connection and the bookkeeping both.json_string_field (src/wordpress.rs) — One string field from a flat JSON object — the shape of the settings request body the editor sends.load_settings (src/wordpress.rs) — Function load_settings takes &self, slug: &str and gives back Option<WpSettings>.load_state (src/wordpress.rs) — Function load_state takes &self, slug: &str and gives back WpState.publishable_markdown (src/wordpress.rs) — The files a publish sends to WordPress: the bundle's markdown, in bundle order, the vault excluded (bundle order already excludes it).save_settings (src/wordpress.rs) — Function save_settings takes &self, slug: &str, settings: &WpSettings and gives back std::io::Result<()>.save_state (src/wordpress.rs) — Function save_state takes &self, slug: &str, state: &WpState and gives back std::io::Result<()>.sync_bundle (src/wordpress.rs) — Sync a bundle to its WordPress site, if one is connected.sync_if_configured (src/wordpress.rs) — The push that rides a publish — the web release, an MCP publish, and a restore all ride the same hook.top_level_string (src/wordpress.rs) — A top-level string field, unescaped.top_level_u64 (src/wordpress.rs) — A top-level unsigned-integer field.wp_slug_for (src/wordpress.rs) — essays/one.md -> essays-one: the whole stem, dashes for slashes, so two files in different folders never collide onOpenedCopy (src/work.rs) — The result of opening a working copy.PublishedInfo (src/work.rs) — A data shape named PublishedInfo.WorkError (src/work.rs) — A named choice named WorkError.WorkStore (src/work.rs) — A data shape named WorkStore.WorkStore::open (src/work.rs) — Open the working-copy store at dir, loading every persisted draft.WorkingCopy (src/work.rs) — One slug's draft: a mutable file set behind a lock, with the version it was seeded from and the hash of its only credentWorkingCopy::file (src/work.rs) — Function WorkingCopy::file takes &self, path: &str and gives back Option<&BundleFile>.WriteInfo (src/work.rs) — A data shape named WriteInfo.diverged (src/work.rs) — Does this draft differ from what's published? The three-state word (Drafting / Current / Diverged) rests on this compariget (src/work.rs) — Function get takes &self, slug: &str and gives back Option<Arc<Mutex<WorkingCopy>>>.open_or_seed (src/work.rs) — Open the working copy for slug, seeding or minting it when none exists yet.publish (src/work.rs) — Commit the slug's working copy through the store's own publish path — the same gate and the same atomic swap as a web release.total_bytes (src/work.rs) — Function total_bytes takes no inputs beyond the value it is called on, and gives back u64.verify (src/work.rs) — Function verify takes &self, supplied_key: Option<&str> and gives back bool.write_file (src/work.rs) — Create or replace one file in the slug's working copy, opening the copy first when needed, and persist the draft before