Commit Graph
10 Commits
Author SHA1 Message Date
Raven ScottandCursor b3c6059598 Add isEmpty() helpers across all modules with clearable state.
Seventh expansion pass: domain-specific isEmpty() after moduleSnapshot on every module that has clearAll(), using existing count/snapshot helpers (async variants for temporal, spatial, semantic-vector, and reactive-state indexes).

Co-authored-by: Cursor <[email protected]>
2026-05-21 04:58:23 -04:00
Raven ScottandCursor f509060710 Add moduleSnapshot() across all modules for uniform state export.
Completes the sixth expansion pass: zero-arg moduleSnapshot aliases snapshot() (or clusterSnapshot/stateSnapshot where specialized), with async variants for temporal, spatial, semantic-vector, and reactive-state indexes.

Co-authored-by: Cursor <[email protected]>
2026-05-21 04:42:45 -04:00
Raven ScottandCursor faf152a8ac Add exportState and moduleSnapshot helpers across all module categories.
Fifth pass: complete measurement modules (sla-budget, histogram-gossip) with moduleSnapshot/toJSON; stats-exporter exportSnapshot; exportState() alias on modules with standard snapshot serialization.

Co-authored-by: Cursor <[email protected]>
2026-05-21 04:29:50 -04:00
Raven ScottandCursor 3af23c0d34 Add toJSON() serialization helpers across all module categories on main.
Fourth pass: toJSON() delegates to snapshot() (or exportSnapshot/stateSnapshot) for JSON export and logging across agents, applications, consensus, core, encoding, experimental, indexes, media, messaging, network, observability, pear-platform, routing, scheduling, storage, supercomputer, trust, measurement, oracles, and time-ordering modules.

Co-authored-by: Cursor <[email protected]>
2026-05-21 04:22:54 -04:00
Raven ScottandCursor 557c7e83b6 Complete module API expansion: snapshot() on all remaining modules.
Adds snapshot(), clearAll aliases, and batch helpers across storage (hyperbee, hypercore, hyperdrive, autobase), indexes, pear-platform, trust, routing intent-router, and temporal-index.

Co-authored-by: Cursor <[email protected]>
2026-05-21 04:07:12 -04:00
Raven ScottandCursor cbada56cc5 Expand 34 modules with batch and clear helpers across CRDTs, storage, routing, and platform APIs.
Co-authored-by: Cursor <[email protected]>
2026-05-21 03:40:45 -04:00
Raven ScottandCursor aa2de03538 Expand messaging, routing, measurement, storage, oracle, and time modules
Add subscription lease release-all and clear, intent router bulk
unregister, bucket rate limit token probe, drive GC stale clear,
oracle feed clear and latest aggregate, and temporal index remove/clear.

Co-authored-by: Cursor <[email protected]>
2026-05-21 02:54:11 -04:00
Raven Scott 3b75e74dbd Updates 2026-05-21 02:00:00 -04:00
Raven ScottandCursor 7cb1612e71 Giant pass: storage API docs, trust/consensus/routing code, category guides
Complete manual documentation cleanup for the storage stack and expand
category-level guides across the library.

Documentation (23 storage modules):
- Rewrite Methods sections in all storage-hypercore, storage-hyperbee,
  storage-autobase, and storage-hyperdrive api.md files from index.js
- Remove every "module-specific (see implementation)" placeholder in storage
- Fix bitfield-scheduler, bee-batch-write, bee-range-watch, drive-gc-sweep APIs

Category READMEs (modules/):
- trust-security, consensus-coordination, routing-advanced — tables + hub links
- MODULE_CATEGORIES.md typo fix (scaffold tier description)

Code:
- hyper-p2p-trust-graph: hasEdge(), nodeCount(), getStats with protocol
- hyper-p2p-circuit-breaker: listCircuitIds(), reset()
- hyper-p2p-distributed-lock: getStats merges metrics + active lock counts

Parent workspace (not in this repo) also received doc hubs for all 29
categories in docs/README.md and MODULE_DOC_PASS.md giant-pass tracker.

Co-authored-by: Cursor <[email protected]>
2026-05-21 00:27:46 -04:00
Raven ScottandCursor a11e22badc Add storage stack modules and track them in git
The modules workspace previously ignored every path matching `storage-*`,
which kept all Hypercore, Hyperbee, Hyperdrive, and Autobase packages out
of version control. Narrow .gitignore to test-artifact patterns only so
production category trees are committed.

Storage packages (23 total):
- storage-hypercore (7): replicator, seed-policy, fork-picker, merkle-sync,
  priority-fetch, bitfield-scheduler, audit-chain
- storage-hyperbee (5): batch-write, diff-follow, range-watch,
  secondary-index, tombstone-gc
- storage-hyperdrive (6): entry-catalog, gc-sweep, mirror-sync, mount-bridge,
  version-snapshot, watch-notify
- storage-autobase (5): fork-choice, view-sync, writer-lease, indexer-bus,
  light-writer

Implementation highlights:
- Shared attach/gossip helpers in _shared/storage-gossip-base.js
- P2P modules use Protomux gossip via p2p-bare; local planners omit swarm
- Recent deepen pass: priority queues, batch caps, audit export/import,
  watch/notify aliases on range-watch, fork/view lease helpers, etc.
- Per-package README, docs/api.md, docs/architecture.md, tests, examples

Also update modules/README.md doc hub links for the full storage stack
(hypercore, hyperbee, hyperdrive, autobase).

Co-authored-by: Cursor <[email protected]>
2026-05-21 00:17:51 -04:00