{
    "schemaVersion": 1,
    "lane": "quadrable",
    "priority": 7,
    "upstream": {
        "name": "hoytech/quadrable",
        "url": "https://github.com/hoytech/quadrable",
        "commit": "4f44437dc9b951a91986ad69e2856938387be614",
        "license": "BSD-2-Clause",
        "architecture": "Header-only C++ sparse binary Merkle tree, compact proofs, sync, copy-on-write LMDB-backed store, MemStore, and quadb CLI."
    },
    "benchmarkDenominator": {
        "status": "cloned-upstream-runner-pass",
        "total": "55 tracked upstream paths; check.cpp has 34 top-level scenarios, 29 equivHeads subcases, 136 verify checks, and 20 verifyThrow checks; `make -r test` passes all 34 upstream scenarios after shallow submodule initialization",
        "mapped": 55,
        "source": "Local cloned upstream inventory of check.cpp, Makefile, include/quadrable headers, docs, and shallow-initialized submodules at commit 4f44437dc9b951a91986ad69e2856938387be614.",
        "runner": "make test",
        "runnerStatus": "passed 2026-05-22 with `make -r test` after `sudo -n dnf install -y gcc-c++ lmdb-devel libb2-devel libasan` and `git submodule update --init --depth 1 external/hoytech-cpp external/lmdbxx external/docopt.cpp`; reconfirmed 2026-05-22 after the direct upstream `big proof test` PHP mapping, after the tracked string-key `quadb diff`/`patch` PHP mapping, after the file-backed `quadb root`/`status`/`head`/`head rm` PHP mapping, after the file-backed `quadb exportProof --hex`/`--format=FullKeys`/`--int` PHP mapping, after the file-backed `quadb importProof --hex`/`mergeProof --hex` proof-head persistence mapping, after the file-backed proof-head write/delete/fork replay mapping, after the ordered proof/update event-history mapping for updated-root proof merges after persisted proof-head writes, after the raw integer proof-backed head update/import mapping, after the upstream-shaped `quadb gc` full-head reachability sweep mapping, after the upstream-shaped `quadb stats` output mapping, after the upstream-shaped proof dump plus unauthenticated `quadb importProof` output mapping, after the upstream-shaped `quadb dumpTree` output mapping, after the upstream-shaped binary/stdin `quadb exportProof`/`importProof`/`mergeProof` mapping, after the upstream-shaped `quadb --noTrackKeys` export/diff/dump/proof mapping, after the file-backed composite integer+hash line/proof mapping for upstream `Key::fromIntegerAndHash()`, after the full-head LMDB bucket layout PHP mapping, after the proof-backed LMDB bucket layout projection PHP mapping, after the independent proof-import LMDB allocation order PHP mapping, after the retained `mergeProof` import garbage plus `quadb gc` PHP mapping, after the divergent proof-backed fork update storage sharing PHP mapping, after the exact upstream `big proof test` transport-byte oracle fixture, after the raw LMDB entry key/value byte projection PHP mapping, after the numeric-head LMDB string-key PHP mapping, after the binary LMDB value/tracked-key raw cursor-order PHP mapping, after the upstream LMDB cursor oracle fixture mapping, after broadening that oracle to retained/pruned `mergeProof` plus `quadb gc` buckets, after extending it to a detached proof-head raw cursor oracle, after adding noTrackKeys full/proof raw cursor oracle buckets, and after adding the portable dump/restore PHP mapping for mixed full, proof-backed, detached proof-backed, and noTrackKeys heads. Reconfirmed 2026-05-23 after this portable dump/restore slice with `make -r test`; all 34 upstream scenarios passed. Plain `make test` now gets past missing tooling but this GNU Make environment selects the built-in C++ rule without the repo include flags, so `-r` was used to disable built-in rules while running the upstream test target. Reconfirmed 2026-05-23 after adding portable raw-entry digests and the upstream `mdb_dump -a`/`mdb_load -a` mixed-store oracle fixture; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding raw-entry-only full-head import; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding raw-entry-only mixed full/proof-backed import and proven-key writes on raw-restored proof heads; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after enabling raw-restored proof-head `mergeProof` projection; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the focused named raw-restored `mergeProof`/`quadb gc` `mdb_dump -a`/`mdb_load -a` oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the detached raw-restored `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the noTrack raw-restored `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the larger mixed tracked/noTrack/full/proof/detached raw-restored detached-head `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the mixed raw-restored named proof-head `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the mixed raw-restored noTrack active-current proof-head `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after adding the sequential multi-merge raw-restored proof-head `mergeProof`/`quadb gc` dump/load oracle; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping deterministic native `quadb mineHash <prefix>` bit-prefix semantics; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping proof-backed partial-tree `quadb export`/`export --int` witness-placeholder output; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping upstream `quadb init` stdout/stderr and advertised `quadb length` no-op output; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping upstream `quadb root` missing-directory errors and empty-existing-directory startup behavior; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping upstream bare `quadb` docopt output and `quadb get` found/missing-key/missing-store command output; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping upstream-shaped `quadb put`/`del` missing-store failures, empty-stream write/overwrite/delete success, and missing-delete no-op behavior; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping binary `quadb mergeProof` command output for missing stores, malformed binary proof bytes, full-head root mismatch errors, and successful proof-backed merges; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping `quadb checkout` and `quadb fork [--from]` command-output and state behavior; all 34 upstream scenarios passed. Reconfirmed 2026-05-23 after mapping `quadb diff <head>`/`patch` command-output wrappers and upstream tree-walk delta order; all 34 upstream scenarios passed.",
        "inventoryPath": "lanes/quadrable/notes/upstream-inventory.md",
        "warning": "The upstream C++ runner passes locally, but native PHP parity is still partial. Native PHP tests map upstream-compatible BLAKE2s-256 hashing/key behavior, PHP-native integer key overflow rejection, deterministic `quadb mineHash <prefix>` bit-prefix mining, focused in-memory sparse tree update/get/delete scenarios, raw-key `getMultiRaw`, FullKeys proof transport and partial-tree enumeration, direct upstream `big proof test` semantics over a 1000-key tree and -500..499 string-key getMulti window, exact upstream C++ `big proof test` proof transport bytes through `fixtures/upstream-big-proof-oracle.json`, iterator windows, composite integer/hash keys, compact proof transport, selected proof import/export, shared empty witnesses, integer proof sizing, range proofs, proof-backed updates, mergeProof, proof-backed partial `quadb export`/`export --int` witness-placeholder lines, retained proof-import nodes after mergeProof and their `quadb gc` pruning, sub-proof/range sub-proof export from imported partial trees, bounded sync proof-fragment transport/import, scan-time and final diff parity, deterministic small/full upstream-shaped sync-fuzz convergence, persisted tracked-node sync-fuzz convergence, cached full proof-tree reuse, tracked node-id behavior, persisted tracked node-store snapshots, memStore-range overlays, the named-head MemStore fork guard, native file-backed `quadb` current-head/detached-head reopen semantics with integer import/export lines, tracked string-key `quadb diff`/`patch` line semantics, file-backed composite integer+hash import/export/proof lines for upstream `Key::fromIntegerAndHash()` keys, upstream-shaped `quadb root`/`status`/`head` output and `head rm` behavior, `quadb root` missing-directory errors plus empty-existing-directory startup behavior, file-backed `quadb exportProof --hex` for hashed, FullKeys, and raw integer keys, newline-delimited `quadb exportProof --stdin` proof key input, binary proof-byte import/merge, `quadb --noTrackKeys` string-key suppression for export/diff/dump plus HashedKeys proof output and FullKeys rejection, upstream-shaped `dumpProof` text for proof export/import debugging, unauthenticated importProof output, file-backed `quadb importProof --hex`/`mergeProof --hex` proof-head persistence, file-backed proof-head writes/deletes/forks with persisted replay, ordered proof/update replay for updated-root proof merges after persisted proof-head writes, raw integer proof-backed head imports/puts/deletes across reopen, `quadb gc`-style full-head and retained proof-import reachability sweeps, upstream-shaped `quadb stats` output for full and proof-backed heads, upstream-shaped `quadb dumpTree` output for empty/full/raw-key/proof-backed heads, full-head LMDB bucket layout snapshots with upstream raw leaf/interior node bytes and head/key/state buckets, proof-backed LMDB bucket layout projections with raw leaf, witness-leaf, witness, branch, head, key, and state bytes, raw LMDB entry key/value byte snapshots for integer-key and string-key buckets, numeric/date-shaped full and proof-backed head names preserved as LMDB string keys across reopen, non-UTF-8 tracked keys and binary leaf/update values preserved through JSON-backed reopen and raw cursor snapshots, exact upstream C++ LMDB cursor bytes for binary tracked-key named and detached proof-backed update fixtures, noTrackKeys full/proof-head empty `quadrable_key` buckets, exact upstream C++ LMDB cursor bytes for retained `mergeProof` imports before GC and pruned proof buckets after GC, independent proof-import LMDB allocation order with forked proof-head root sharing, divergent proof-backed fork update storage sharing for unchanged imported proof nodes, native portable dump/restore raw-cursor verification for mixed full, proof-backed, detached proof-backed, and noTrackKeys stores, deterministic portable raw-entry digests, byte-for-byte raw cursor parity with `fixtures/upstream-lmdb-dump-restore-oracle.json` for a single mixed upstream C++ database after `mdb_dump -a`/`mdb_load -a`, raw-entry-only mixed full/proof-backed restore from upstream-shaped LMDB cursor buckets, exact raw cursor preservation before edits, proven-key writes on raw-restored proof heads with updated proof export after reopen, same-root/update-root mergeProof on raw-restored proof heads with GC-prunable imported proof projections, exact upstream raw-restored `mergeProof`/`quadb gc` cursor parity from `fixtures/upstream-lmdb-raw-restored-merge-oracle.json`, `fixtures/upstream-lmdb-detached-raw-restored-merge-oracle.json`, `fixtures/upstream-lmdb-notrack-raw-restored-merge-oracle.json`, `fixtures/upstream-lmdb-sequential-raw-restored-merge-oracle.json`, the mixed detached-current `fixtures/upstream-lmdb-mixed-raw-restored-merge-oracle.json`, the mixed named-current `fixtures/upstream-lmdb-mixed-named-raw-restored-merge-oracle.json`, and the mixed noTrack-current `fixtures/upstream-lmdb-mixed-notrack-raw-restored-merge-oracle.json`, delegated WordPress proofs, large WordPress proof-window reads, and an exact WordPress snapshot root. Remaining parity gap: full 500-trial sync-fuzzer probes remain outside the fast suite by design. Native PHP also maps `quadb --help` and tagless `quadb --version` metadata output, `quadb init` stdout/stderr, the advertised-but-unhandled `quadb length` no-op output, and `quadb root` command startup behavior for missing and empty existing directories. Native PHP also maps bare `quadb` docopt output and `quadb get` command behavior for found keys, missing keys, and missing stores. Native PHP also maps upstream-shaped `quadb put` and `quadb del` command output for missing stores, empty-stream writes/overwrites/deletes, and missing-delete no-ops. Native PHP also maps upstream-shaped `quadb get --int`, `put --int`, and `del --int` command output for missing stores, `std::stoi` numeric-prefix acceptance, nonnumeric/out-of-32-bit-range `stoi` errors, negative `int range exceeded` errors, missing-delete no-ops, and post-delete missing-key reads. Native PHP also maps upstream-shaped `quadb import --int` command output for missing stores, `std::stoi` numeric-prefix acceptance, nonnumeric/out-of-32-bit-range `stoi` errors, and negative `int range exceeded` errors. Native PHP also maps upstream-shaped `quadb export --int` command output for missing stores, empty precreated stores, populated raw integer-key ordering, and separator validation errors. Native PHP also maps binary `quadb mergeProof` command output for missing stores, malformed proof bytes, full-head root mismatch errors, and successful delegated proof expansion. Native PHP now maps `quadb checkout` and `quadb fork [--from]` command output for missing stores, silent success, detached empty checkout, current-root fork, and missing source-head empty forks. Native PHP now maps `quadb diff <head>` and `quadb patch` command output for missing stores, empty existing stores, populated upstream tree-walk ordered deltas, silent patch success, comment lines, and malformed patch-line errors."
    },
    "nativeImplementation": {
        "language": "PHP",
        "shellOutsAllowedForProgress": false,
        "currentSlice": "Pure-PHP BLAKE2s-256 hash/key primitives plus PHP-native integer overflow guards and deterministic `quadb mineHash <prefix>` bit-prefix mining, in-memory sparse tree get/put/delete, update batching, path-independent roots, getMulti/getMultiRaw, string-key tracking for FullKeys proof transport and imported partial-tree enumeration, direct upstream `big proof test` proof export/import/getMulti behavior, exact upstream C++ `big proof test` proof transport-byte digest parity, empty-head restoration, delete bubbling equivalence, raw-key iterator windows, composite integer/hash keys, compact proof transport, selected proof import/export, shared empty witnesses, integer proof sizing, raw-key range proofs, range sub-proof export, proof-backed updates, mergeProof expansion, sub-proof export, sync request/response transport, bounded sync proof fragments, sync fragment guards, witness expansion, raw-key diff reconstruction, scan-time diff callbacks, imported proof-fragment shadow node ids, deterministic small/full upstream-shaped sync-fuzz convergence, full persisted tracked-node snapshot fuzzer convergence, cached full proof-tree reuse, path-projected partial-shadow diffs, tracked leaf/branch node-id behavior, persisted tracked node-store export/import, tracked diff application/reconstruction, memStore-range node allocation, named-head MemStore write rejection until fork, and a native file-backed `QuadbStore` that persists upstream-shaped current named/detached head state with `import --int`/`export --int` line fixtures, tracked string-key import/export/diff/patch lines, composite integer+hash import/export/proof key lines for upstream `Key::fromIntegerAndHash()` keys, `root`/`status`/`head` output, named/current/detached `head rm` behavior, `stats` output for full and proof-backed heads, `dumpTree` output for empty/full/raw-key/proof-backed heads, `exportProof --hex` proof bytes for hashed, FullKeys, and raw integer command shapes, direct `exportProof --int` command output for raw binary, `--hex`, empty-key proof output, `--dump`, dump-before-format validation, bad integer input, numeric-prefix plus leading-space/plus-sign/tab/newline/form-feed/vertical-tab integer input, direct/stdin NUL-prefixed and direct/stdin sign-only `stoi` rejection, stdin empty-input proof output, EOF-terminated stdin final-key proof output for FullKeys string proofs and raw integer proofs, stdin blank-line/whitespace-only `stoi` rejection, stdin plus-overflow `stoi` rejection, negative-underflow `stoi` rejection, and FullKeys raw-key failure paths, `exportProof --stdin` command output for newline-delimited string/raw integer proof key input, binary `importProof`/`mergeProof` proof input, proof-backed partial `export` and `export --int` line output with upstream-shaped witness placeholders, `--noTrackKeys` string-key suppression for export/diff/dump/proof behavior, upstream-shaped proof dump text, unauthenticated `importProof` root-warning output, `importProof --hex`/`mergeProof --hex` proof-backed heads that reopen and delegate further proofs, proof-backed string-key writes/deletes/forks replayed across reopen, ordered proof/update event history for merging updated-root proofs after persisted proof-head writes, raw `Key`/integer proof-backed head reads, writes, deletes, and `import --int`-style batch updates, upstream-shaped `quadb gc` full-head and retained mergeProof import reachability sweeps with `Collected X/Y nodes` output, full-head LMDB bucket snapshots exposing upstream raw leaf/interior node bytes, `quadrable_head`, `quadrable_key`, and `quadrable_quadb_state` records, proof-backed LMDB bucket projections exposing upstream raw `NodeType::Leaf`, `NodeType::WitnessLeaf`, `NodeType::Witness`, branch, head, key, and state records, plus proof-backed storage identity and import ordinals so independent imports of the same proof allocate distinct projected LMDB node ids, forks of the same proof head share the imported root id, divergent proof-backed fork updates share unchanged imported proof nodes, second mergeProof imports remain projected until GC, post-GC proof projections preserve surviving upstream LMDB node ids across reopen, LMDB raw entry snapshots expose little-endian uint64 node-id keys plus text head/state keys, numeric-looking head names remain text LMDB keys across JSON reopen, and non-UTF-8 tracked keys plus binary full/proof-backed leaf values survive JSON-backed reopen without changing raw LMDB entry bytes or string cursor order. Latest rework slice preserves direct/stdin `quadb exportProof --int` command parity evidence on the current accepted base and extends newline-driven stdin proof parity for EOF-terminated final-key input on FullKeys string proofs and raw integer proofs. Previous slices map shared direct/stdin `quadb exportProof` command-format validation, upstream plain `quadb import`/`export`, `quadb get --int`/`put --int`/`del --int`, `quadb export --int`, `quadb checkout`/`fork [--from]`, binary `quadb mergeProof`, `quadb exportProof --stdin`, direct/stdin/hex/binary proof dump-before-validation precedence, `quadb diff <head>`/`patch`, `quadb head rm`, and sync-fuzzer watchdog pressure-budget command-adjacent evidence."
    },
    "latestEvidence": {
        "date": "2026-05-25",
        "upstreamRunner": "Upstream runner not rerun for this 2026-05-25T17:38Z isolated closure-refill micro-slice on accepted base 8d18eb6576edf6c3fa99b76aa42ed252756ba8d0; prior cloned upstream `make -r test` evidence remains accepted. This slice stays within already mapped upstream-shaped `quadb exportProof --stdin` command behavior.",
        "phpLaneTests": "`php tools/run-tests.php lanes/quadrable/tests/QuadbStoreTest.php` passed 1 file, 1015 assertions, and 0 failures after adding CRLF FullKeys stdin coverage.",
        "newFixture": "No new upstream oracle fixture for this slice; behavior reuses the existing native proof transport, command-level stdin line splitting, QuadbStore command-output wrappers, and FullKeys proof encoder. Focused coverage now proves CRLF string-key stdin preserves carriage returns in proof keys, so `wp_options:siteurl\\r\\nwp_posts:1\\r\\nwp_posts:404\\r\\n` matches direct keys with trailing `\\r` and differs from LF-only stdin.",
        "wordpressExample": "`examples/wordpress-quadb-proof-stdin-binary.php` now reports `crlfStringProofPreservesCarriageReturnKeys: true` and `crlfStringProofDiffersFromLf: true` alongside the existing `eofFinalKeyProofMatchesLf: true`, `integerEofProofMatchesLf: true`, direct/stdin integer proof parser boundaries, and binary delegated proof evidence.",
        "rootHarness": "not run - isolated micro-slice"
    },
    "wordpressScenario": "Authenticated local-first state sync for Playground snapshots and content databases; current fixtures/examples map ordered WordPress option/post records through raw integer keys, raw-key batch lookups without rehashing encoded IDs, FullKeys proof transport, PHP-native large record-id boundary rejection, deterministic `quadb mineHash` prefix fixtures via `wordpress-quadb-minehash-prefix.php`, composite post-meta keys, exact upstream-compatible BLAKE2s snapshot roots, iterator windows, compact authenticated range proofs, delegated sub-range/sub-proofs, proof-backed post updates, merged partial proofs, proof-backed partial export manifests via `wordpress-quadb-partial-export.php`, sync diffs, malformed sync request rejection, scan-time diff callbacks, imported sync shadow node ids, deterministic upstream-shaped full-fuzzer preflights, persisted tracked-head sync-fuzz preflights, tracked leaf node-id reuse, persisted tracked-node reloads, tracked diff reconstruction, memStore-range preview overlays, named published snapshot guards, native file-backed `quadb`-style current head reloads for preview snapshots, `quadb root` startup guards for missing and empty precreated snapshot stores, command-style tracked string-key diff/patch lines for applying preview edits to replica heads, preview-head cleanup with upstream-shaped `head`/`head rm` and `gc` output, file-backed FullKeys proof export/import/merge for delegated preview reads, composite integer+hash postmeta import/export/proof lines via `wordpress-quadb-composite-meta.php`, newline-delimited delegated proof key export plus raw binary proof import/merge via `wordpress-quadb-proof-stdin-binary.php`, privacy-preserving noTrackKeys snapshot export, empty raw key buckets, and hashed-proof reads via `wordpress-quadb-notrackkeys.php`, persisted delegated proof-head edits and forks via `wordpress-quadb-proof-update.php`, `wordpress-quadb-proof-fork-sharing.php` for sharing unchanged imported proof storage across delegated base/preview heads, `wordpress-quadb-proof-import-merge.php` for persistent delegated proof heads, `wordpress-quadb-proof-merge-gc.php` for retained delegated proof-import storage before and after `quadb gc` plus raw cursor backup-manifest keys preserved for surviving nodes, `wordpress-quadb-integer-proof-update.php` for raw integer delegated preview edits, `wordpress-quadb-stats.php` for full-head and delegated proof-head stats, `wordpress-quadb-lmdb-layout.php` for inspecting upstream-shaped full-head and proof-backed LMDB buckets plus independent delegated preview imports versus shared proof-head forks before WordPress snapshot backup/migration, `wordpress-quadb-lmdb-raw-entries.php` for backup manifests that expose raw LMDB entry key/value bytes, binary serialized option keys/values, and LMDB string cursor ordering, `wordpress-quadb-raw-entry-import.php` for restoring full-head and proof-backed preview stores from raw LMDB cursor entries without the PHP portable state payload, then applying/authenticating a raw-restored delegated preview edit and merging a post-edit delegated proof for another option key, `wordpress-quadb-portable-dump-restore.php` for restoring mixed full, proof-backed, detached proof-backed, and noTrackKeys preview stores while proving raw cursor bytes and raw-entry digests match the dump, `wordpress-quadb-numeric-heads.php` for date/id-shaped preview heads preserved as LMDB text keys, `wordpress-quadb-unauthenticated-proof-import.php` for debugging a delegated proof and surfacing the upstream unauthenticated root warning before trusting preview data, `wordpress-quadb-dump-tree.php` for inspecting full and delegated proof tree witnesses during preview debugging, `wordpress-large-proof-window.php` authenticating a 1000-key proof window with 500 present posts plus 500 proven missing external IDs, and `wordpress-proof-oracle-digest.php` verifying a large delegated post-id proof window against the exact upstream C++ proof-byte digest fixture. The latest fixture `fixtures/upstream-lmdb-cursor-oracle.json` gives WordPress backup tooling a byte-for-byte upstream C++ LMDB raw-entry oracle for binary serialized option keys/values, delegated and detached proof-head updates, noTrackKeys full/proof-head empty key buckets, retained mergeProof imports, and post-GC pruned proof buckets. The latest fixture `fixtures/upstream-lmdb-dump-restore-oracle.json` gives WordPress backup tooling a byte-for-byte upstream C++ LMDB dump/load oracle for a single mixed tracked full-head, noTrack full-head, named proof-head, noTrack proof-head, and detached proof-head store. The latest fixtures `fixtures/upstream-lmdb-raw-restored-merge-oracle.json`, `fixtures/upstream-lmdb-detached-raw-restored-merge-oracle.json`, and `fixtures/upstream-lmdb-notrack-raw-restored-merge-oracle.json` give WordPress backup tooling focused upstream C++ oracles for restoring named, detached, and noTrack delegated proof heads from LMDB raw entries, applying a preview `siteurl` edit, merging another option proof, preserving empty noTrack key buckets, and pruning retained proof-import nodes with exact `quadb gc` cursor bytes. The latest sequential raw-restored fixture `fixtures/upstream-lmdb-sequential-raw-restored-merge-oracle.json` and example `examples/wordpress-quadb-sequential-raw-merge.php` cover restoring a named delegated proof head from raw LMDB entries, applying a preview `siteurl` edit, merging `home` and `wp_posts:1` proofs sequentially, pruning retained proof-import nodes with exact upstream `Collected 14/24 nodes` cursor parity, and proving the delegated option/post reads after reopen. The latest mixed raw-restored fixture `fixtures/upstream-lmdb-mixed-raw-restored-merge-oracle.json` and example `examples/wordpress-quadb-mixed-raw-merge.php` cover restoring a mixed WordPress backup with tracked full heads, noTrack full/proof heads, a named tracked delegated proof head, and an active detached delegated proof head, then applying a serialized option preview edit, merging a post proof, and pruning retained proof-import nodes with exact upstream `Collected 38/85 nodes` cursor parity. The latest mixed named raw-restored fixture `fixtures/upstream-lmdb-mixed-named-raw-restored-merge-oracle.json` and example `examples/wordpress-quadb-mixed-named-raw-merge.php` cover restoring the same mixed WordPress backup, switching to the named `binary-proof` delegated preview head, applying the serialized option edit, merging a post proof, pruning orphan detached proof nodes with exact upstream `Collected 49/85 nodes` cursor parity, and preserving surrounding full/noTrack/proof heads. The latest mixed noTrack raw-restored fixture `fixtures/upstream-lmdb-mixed-notrack-raw-restored-merge-oracle.json` and example `examples/wordpress-quadb-mixed-notrack-raw-merge.php` cover restoring the same mixed backup with current `private-proof`, applying a private option edit without storing the private key string, merging a private post proof, preserving tracked heads, retaining upstream stale tracked-key rows left by noTrack GC, rejecting FullKeys export for private reads, and matching exact upstream `Collected 43/79 nodes` cursor parity. `wordpress-quadb-cli-metadata.php` covers upstream-shaped `quadb --help` and tagless `quadb --version` metadata preflight without opening or creating a snapshot store. `wordpress-quadb-init-length.php` covers upstream-shaped snapshot-store bootstrap with first/repeated `quadb init` streams and advertised `quadb length` no-op output before and after importing records. `wordpress-quadb-root-command-guard.php` covers upstream-shaped root command startup with missing-store fail-closed behavior, empty-directory bootstrap, and populated-root verification. `wordpress-quadb-get-guard.php` covers upstream-shaped bare `quadb` docopt output plus `quadb get` missing-store, empty-store, found-option, and absent-option behavior for WordPress snapshot read guards. `wordpress-quadb-put-del-guard.php` covers upstream-shaped `quadb put` and `quadb del` missing-store failures, empty-stream writes and overwrites, missing-delete no-ops, deletes, and post-delete missing-key output for WordPress snapshot write guards. `wordpress-quadb-proof-input-guard.php` now also covers binary `mergeProof` expansion for a delegated `home` option proof after importing a trusted binary `siteurl` proof. `wordpress-quadb-patch.php` now exercises the native `diffCommandOutput()`/`patchCommandOutput()` wrappers for fail-closed missing stores, upstream tree-walk ordered preview deltas, silent patch application, and authenticated replica-root verification.",
    "nextTask": "If accepted, continue reducing remaining command-surface parity gaps only where upstream evidence exists, or separately decide whether to wire the optional 500-trial sync-fuzzer watchdog into a manual CI job. Dependency closure: no new support component is needed; this slice reuses the bounded proof transport, command-level stdin line splitting, QuadbStore command wrappers, and WordPress proof stdin/binary example."
}
