1.4 KiB
1.4 KiB
CLAUDE.md — meta-transport-ipfs
meta-share's IPFS tier, split out 2026-10 (packages/meta-share/docs/transport-plugins.md).
Behaviour must stay identical to the monolith's swarm / blockstore / ingress.
Load-bearing invariants
- The swarm is transport-only: identify/kad/mdns/bitswap. No kamilata, no gossipsub, no request_response — search is meta-search's.
MAX_MULTIHASH_SIZE = 64must match meta-gateway and meta-search.core2is patched inCargo.toml(every libp2p-0.56 bitswap impl needs the yanked^0.4.0); mirror changes in meta-gateway.ipfs_chunk.rsis kubo-identical (256 KiB raw leaves, fanout 174), in sync with meta-gateway'shash.rsandmeta_feeder_sdk::hash.- Records are never blocks;
scrub_record_blocksremoves legacy MSR1 rows at boot. - Fetch for our user implies seed; the swarm side is provider-only —
unattributed blocks over
META_SHARE_LOOSE_BLOCK_MAX_BYTESare dropped. gateway_discovery.rsis a MIRRORED file (meta-share hull + meta-search);scripts/check-mirrors.shchecks it.- Identify announces the hull's URL, never this container's.
- Seed rows, material index and meta-core are the hull's — report them as
events (
seed,promoted), don't write them. - Mark, don't meter: dag-range
/rawanswers carryx-metamesh-meter: egress; single blocks don't (posters were never throttled).