Commit Graph
77 Commits
Author SHA1 Message Date
Raven Scott 5d28a307f2 Update Example Plugin 2026-05-31 01:14:07 -04:00
Raven Scott 3f49c2c500 For N domains, admin/domain.consensus went from roughly 2N consensus reads + up to N full ledger scans down to 1 base.update() + N cached view lookups (plus one entries scan for the domain list itself). 2026-05-31 00:53:26 -04:00
Raven Scott 1aff73eada Docs update concerning consensus 2026-05-31 00:02:00 -04:00
Raven Scott d230fb3360 EXPERIMENTAL: replace KV-scan consensus with Autobase sidecar engine
Cut over domain resolution to an Autobase apply-based sidecar fed by
claim/vote dual-writes from dnsPass. Remove the legacy full-KV scan
getConsensusState path and wire all reads through consensus-view.

- Add consensus-resolver, consensus-events, consensus-apply,
  consensus-autobase, and consensus-view modules
- Dual-append consensus events on claim/vote dnsPassAdd/Remove
- Bootstrap sidecar from existing KV entries; persist
  consensusAutobaseKey in network manifest
- Expose sidecar health via GET /api/consensus/status and metrics
- Add consensus-resolver and consensus-apply unit tests
- Expand RFC 0001 to Implemented; update CONSENSUS.md

Rollback: deploy prior release; KV data unchanged, sidecar rebuilds on
next startup.
2026-05-30 23:49:48 -04:00
Raven Scott 3a8daefc30 Fixes peer.paste 2026-05-30 23:38:56 -04:00
Raven Scott 4b9eb916e9 Cleanup - Bug Fixes 2026-05-30 22:27:42 -04:00
Raven Scott 229271fbcf Remove quick actions 2026-05-30 21:46:47 -04:00
Raven Scott 416c678471 current branding 2026-05-30 21:01:31 -04:00
Raven Scott 7c233008ac Update 2026-05-30 18:10:54 -04:00
Raven Scott ffa9ed7242 update global.profile 2026-05-30 17:49:25 -04:00
Raven Scott 71207e77ba Update migration system 2026-05-30 17:21:25 -04:00
Raven Scott 2fe3d9fba5 Updates 2026-05-28 18:19:32 -04:00
Raven Scott d046f6a8e2 Attempted fixes 2026-05-28 18:10:40 -04:00
Raven Scott 343102d4b5 Update docs 2026-05-28 12:39:38 -04:00
Raven Scott 6ee20a3f68 Migrate plugin channels to protomux-rpc only
Replace dual message-channel + RPC setup with a single registerPluginProtocol
path, unified sdk.channels (register/request/event/broadcast), RPC keepalive
(__p2ns.ping/pong), and core request lifecycle on RPC open. Update
global.profile and example.plugin, admin Plugin RPC stats, docs, and
test:plugin-rpc. Breaking: upgrade all peers together; no legacy adapters.
2026-05-28 11:55:01 -04:00
Raven Scott ea9124c429 BREAKING EXPERIMENTAL: Holepunch-native hard migration (RPC core, shared storage, SDK v2)
BREAKING: All nodes must upgrade together. Legacy p2ns.core-request string
messages are rejected; invite/consensus control plane uses protomux-rpc
(invite.request, invite.ack, invite.relay*, consensus.*). Shared Corestore
namespaces are the default for plugin DBs and drives; USE_SHARED_CORESTORE_NAMESPACES=false
is debug-only. Admin plugin actions with params are validated before run.

EXPERIMENTAL: End-to-end RPC invite path reuses existing handlers via adapters;
invite wire still ships on the invite channel. Multi-peer invite/relay
integration tests are not in CI yet (core-rpc-smoke only).

SDK & channels:
- channel-rpc.js, sdk.channels.rpc (register/request/event)
- core-rpc.js for p2ns.core; action-params + plugin route validation
- sdk.db.getCore/reopen, sdk.state.getPeerChannelSnapshot,
  sdk.metrics.getHolepunchStats (schema v1)

Runtime:
- p2ns.js: RPC-first core invite/consensus; Hyperswarm firewall/reconnect
- channel-manager: required protomux-rpc per peer
- db-shared-namespace-migration; drive-manager shared namespaces
- proxy-server: invite.request RPC for joiners

Plugins: file.drop, global.profile, peer.directory, domain.consensus,
peer.visualize, example.plugin (RPC demo); peer.directory UI polish

Also: CI/smoke scripts, diagnostics hardening, plugin config schema validation,
admin action param modal, docs/RFCS, package-lock + engines.node >= 18
2026-05-28 10:51:19 -04:00
Raven Scott 4b783801c5 update 2026-05-28 01:58:17 -04:00
Raven Scott 25f3195e57 Update peer paste 2026-05-28 01:55:01 -04:00
Raven Scott 95559fc552 fixing boot 2026-05-28 01:46:38 -04:00
Raven Scott 64b9b6f9b8 Disable file.drop on master 2026-05-28 01:30:42 -04:00
Raven Scott 9057b9661d dnspass fixes 2026-05-28 01:20:52 -04:00
Raven Scott d95baaed1c Bump 2026-05-28 01:14:13 -04:00
Raven Scott 6ccfac862d Global Paste Feed 2026-05-28 01:10:11 -04:00
Raven Scott 65e3791553 Migration 2026-05-28 01:01:10 -04:00
Raven Scott 50e5fac0c0 Bump 2026-05-28 00:55:43 -04:00
Raven Scott badd23a7e7 Edit/Preview pane 2026-05-28 00:48:25 -04:00
Raven Scott ac06ffe22d peer.paste style/layout 2026-05-28 00:41:51 -04:00
Raven Scott 5559c9096d Skip migration if its completed 2026-05-28 00:26:32 -04:00
Raven Scott 7b1983cd81 Bump file.drop and peer.paste 2026-05-28 00:21:56 -04:00
Raven Scott 8eb2bc5946 automatic db migrations on version bump 2026-05-28 00:19:43 -04:00
Raven Scott aac69de4cf Updates peer.paste 2026-05-28 00:03:52 -04:00
Raven Scott 60d17a7b91 Update docs peer.paste 2026-05-27 23:58:04 -04:00
Raven Scott 345dbf2156 visual polish peer.paste 2026-05-27 23:54:46 -04:00
Raven Scott aebbdd43ed Updates peer.paste 2026-05-27 23:49:13 -04:00
Raven Scott 22d9926c52 E2EE syntax highlight peer.paste 2026-05-27 23:45:55 -04:00
Raven Scott 371fce2847 Updates peer.paste 2026-05-27 23:43:05 -04:00
Raven Scott 55b7547b3a peer paste syntax highlight viewer 2026-05-27 23:39:43 -04:00
Raven Scott 0ab92f1922 updates for peer.paste 2026-05-27 23:36:49 -04:00
Raven Scott 01dc6a5221 Auto detect lang - peer.paste 2026-05-27 23:33:36 -04:00
Raven Scott 16e33c02c4 Updates peer.paste 2026-05-27 23:29:04 -04:00
Raven Scott 206493ecd4 bump 2026-05-27 23:23:20 -04:00
Raven Scott b168342fea fixes for peer.paste 2026-05-27 23:23:05 -04:00
Raven Scott 996969de19 Fix DB peer.paste 2026-05-27 23:20:35 -04:00
Raven Scott 83b7f210a3 Update Peer.paste 2026-05-27 23:18:05 -04:00
Raven Scott bf911b5cdc Update peer.paste 2026-05-27 23:15:26 -04:00
Raven Scott 30153bf958 peer paste updates 2026-05-27 23:08:45 -04:00
Raven Scott 1974145b79 Bump Peer.paste 2026-05-27 22:59:49 -04:00
Raven Scott c7ecffd3e4 Paste Bump DB 2026-05-27 22:56:33 -04:00
Raven Scott e901dea9ee E2EE for peer.paste 2026-05-27 22:55:37 -04:00
Raven Scott 7b4e1a2391 Updates 2026-05-27 22:49:04 -04:00