Improve hyper-p2p-capabilities with novel chained cryptographic delegation (parentSignature + delegationDepth + verifyDelegatedCapability); scan and fix Node.js process.cwd usage in hyper-p2p-presence (bare-process direct access); update tests, API docs, READMEs with delegation Mermaid diagram and production-grade enhancements. All modules scanned for builtins, fully Bare/Pear compatible. Autonomous run on 2026-05-20.

This commit is contained in:
Agent
2026-05-20 09:45:04 -04:00
parent a42edb7f85
commit d4cdca3686
7 changed files with 142 additions and 8 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ const fs = require('bare-fs/promises')
const process = require('bare-process')
test('hyper-p2p-presence basic lifecycle', async (t) => {
const cwd = typeof process.cwd === 'function' ? process.cwd() : '.'
const cwd = process.cwd ? process.cwd() : '.'
const storageDir = path.join(cwd, 'test-presence-storage-' + Date.now())
const presence = new HyperP2PPresence({
@@ -46,7 +46,7 @@ test('hyper-p2p-presence basic lifecycle', async (t) => {
})
test('hyper-p2p-presence filters work', async (t) => {
const cwd = typeof process.cwd === 'function' ? process.cwd() : '.'
const cwd = process.cwd ? process.cwd() : '.'
const storageDir = path.join(cwd, 'test-presence-filter-' + Date.now())
const presence = new HyperP2PPresence({