← Back to PRs

#6910: Holochain Integration Example Configurations

by f13end open 2026-02-02 05:47 View on GitHub →
docs
This directory contains example configurations for different Holochain integration scenarios. ## Files - `holochain-disabled.json` - Default mode (no Holochain) - `holochain-hybrid.json` - Hybrid mode with DHT session storage - `holochain-full-p2p.json` - Full P2P mode with complete decentralization - `holochain-enterprise.json` - Enterprise configuration with security features - `holochain-a2a-economy.json` - Agent-to-Agent economy with Solana/USDC <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR adds a new Holochain configuration surface: example JSON configs and extensive docs (`docs/holochain.md`, roadmap), plus new config types and zod schemas (`src/config/types.holochain.ts`, `src/config/zod-schema.holochain.ts`) and UI schema hints (`src/config/schema.ts`). It also introduces `applyHolochainDefaults` and a dedicated test suite for those defaults. Main gap: the new defaults function is not currently wired into the config IO/validation default-application pipeline, so enabling `holochain.mode` in real configs won’t actually receive the intended default values. <h3>Confidence Score: 3/5</h3> - This PR looks mostly safe to merge, but has a functional integration gap in how Holochain defaults are applied. - The schema/type additions are self-contained and the defaults logic is unit-tested, but `applyHolochainDefaults` is not invoked during config load/write/validation flows, so expected behavior won’t occur in production. There’s also a minor sensitivity-hint gap for wallet seed phrases. - src/config/io.ts, src/config/validation.ts, src/config/schema.ts <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> <!-- /greptile_comment -->

Most Similar PRs