Skip to content

ruvnet.

Python

docs(ruvnet): record 2026-09-16 evidence

rUv846201b3baa8
diff --git a/docs/self-improvement/2026-09-16-benchmarks.json b/docs/self-improvement/2026-09-16-benchmarks.json
new file mode 100644
index 0000000..e89b24e
--- /dev/null
+++ b/docs/self-improvement/2026-09-16-benchmarks.json
@@ -0,0 +1,23 @@
+{
+ "schemaVersion": 1,
+ "date": "2026-09-16",
+ "runtime": {"node":"v24.19.0","platform":"linux","arch":"x64"},
+ "method": "15 alternating baseline/candidate pairs; each run uses 10000 warm discovery calls and 20 cold CLI starts",
+ "baseline": {
+ "commit": "390ef0640edea6b8af95ded3f64b58a0d671fc09",
+ "discoveryP95Ms": [0.00100100000000225,0.0015819999999990841,0.001383000000004131,0.0011519999999975994,0.0010219999999989682,0.0009719999999973084,0.000960999999996659,0.0009810000000030072,0.0018129999999985102,0.0009620000000012396,0.0011920000000031905,0.0010420000000053165,0.0012619999999969878,0.00157199999999591,0.0010109999999983188],
+ "coldCliP95Ms": [81.85832700000002,76.32547800000009,68.36787300000003,78.73471700000005,75.29527600000006,69.43867499999999,78.79049599999985,103.53323299999988,69.74881600000003,72.8256530000001,98.0062059999999,74.320884,71.27095999999983,70.17963100000003,87.94232299999999],
+ "rssBytes": [47927296,48214016,47833088,47865856,48103424,47763456,47710208,47439872,47951872,47783936,47960064,47898624,47906816,47792128,47067136],
+ "median": {"discoveryP95Ms":0.0010420000000053165,"coldCliP95Ms":75.29527600000006,"rssBytes":47865856}
+ },
+ "candidate": {
+ "commit": "d5d6c0064800db526d9ab09c43b892cbe70c6315",
+ "discoveryP95Ms": [0.0015929999999997335,0.0013819999999995503,0.0013220000000018217,0.0009810000000030072,0.0010110000000054242,0.0014919999999989386,0.0015520000000037726,0.0011509999999930187,0.0015920000000022583,0.0009720000000044138,0.0010410000000007358,0.0012819999999962306,0.0011719999999968422,0.0009919999999965512,0.0009719999999973084],
+ "coldCliP95Ms": [98.53466000000003,77.11065500000007,67.28152199999988,67.64828,296.748883,90.722007,112.3585680000001,78.85659200000009,74.81417499999998,76.789525,71.00197700000001,69.490296,86.319774,72.874194,81.7101879999999],
+ "rssBytes": [47955968,47673344,47779840,48259072,47972352,47804416,47468544,47398912,47759360,47357952,48111616,47898624,47538176,47603712,47153152],
+ "median": {"discoveryP95Ms":0.0011719999999968422,"coldCliP95Ms":77.11065500000007,"rssBytes":47759360}
+ },
+ "delta": {"discoveryP95Percent":12.476007676666267,"coldCliP95Percent":2.4110131424446943,"coldCliP95Ms":1.8153790000000072,"rssBytes":-106496},
+ "gates": {"discoveryP95RegressionMaximumPercent":20,"coldCliP95RegressionMaximumPercent":20,"coldCliP95AbsoluteAllowanceMs":5,"rssIncreaseMaximumBytes":5242880,"passed":true},
+ "limitations": ["Local microbenchmarks exclude model inference, semantic relevance, network latency, host installation and end-to-end agent quality.","The isolated 296.75 ms candidate cold-start sample is retained; medians determine the pre-registered gate."]
+}
diff --git a/docs/self-improvement/2026-09-16-evidence.json b/docs/self-improvement/2026-09-16-evidence.json
new file mode 100644
index 0000000..ad3f624
--- /dev/null
+++ b/docs/self-improvement/2026-09-16-evidence.json
@@ -0,0 +1,67 @@
+{
+ "schemaVersion": 1,
+ "date": "2026-09-16",
+ "decision": "accept",
+ "baseline": "390ef0640edea6b8af95ded3f64b58a0d671fc09",
+ "candidateCommit": "d5d6c0064800db526d9ab09c43b892cbe70c6315",
+ "candidate": "snapshot-bound-change-feed-cursors",
+ "version": "0.4.0",
+ "upstream": {
+ "observedAt": "2026-09-16T10:39:15Z",
+ "sources": [
+ {"project":"ruflo","revision":"a65bdf683a73dcc1f20d455658daab1cca07306b","license":"MIT","changedSincePrior":true,"incorporated":"Ruflo 3.42.1 plus learning-mode, persistent-graph, witness-resolution and federation-envelope records"},
+ {"project":"metaharness","revision":"d5833dc6512ac1adeeef91a331c29055cd8a4dbb","license":"MIT","changedSincePrior":false},
+ {"project":"ruvector","revision":"115de07ce5222b761cc32bf1d9133247c753091b","license":"MIT","changedSincePrior":true,"incorporated":"HNSW stored-point correctness, RVF string-ID floor, dependency CVE updates and exact min-cut/spatial work records"},
+ {"project":"agentdb","revision":"6cdefe451f6afe7395bc88d3587a0225d161089b","license":"MIT","changedSincePrior":false},
+ {"project":"dream-machine","revision":"3edd426f6c9c4b1e80235f7447dc863e749345cc","license":"MIT","changedSincePrior":false,"incorporated":false},
+ {"project":"autogenous","revision":"905aa6cbe213392f8b3cab5d4f17bc3a48e0a509","license":"MIT","changedSincePrior":true,"incorporated":"incremental streaming relevance and receipt-number diagnostics records"},
+ {"project":"rvm","revision":"0973d77e5a9e99065376e8ef772a4a1d16e88c75","license":"no SPDX license detected by GitHub API","changedSincePrior":false,"incorporated":false}
+ ],
+ "licenseCorrection": "Prior reports incorrectly grouped RVM with MIT repositories; the GitHub license API reports no detectable license for the pinned RVM revision.",
+ "newRecordsIncorporated": 11,
+ "xRuvIo": {"version":"0.7.2","routes":["/mcp","/chatgpt/mcp"],"changedSincePrior":false}
+ },
+ "heldOut": {"baseline":{"passed":0,"total":6},"candidate":{"passed":6,"total":6}},
+ "tests": {"groupsPassed":10,"groupsFailed":0,"node22":true,"node24":true},
+ "validation": {"plugin":true,"skillsPassed":4,"marketplaceSchemas":2,"packageFiles":18,"compressedBytes":22239,"unpackedBytes":68303,"lockfileSha256":"b2be58253dd469d3ad51c8e384cec2cbe7f4d92c1673c183e7f944d2ac14261d"},
+ "benchmarks": {
+ "raw":"2026-09-16-benchmarks.json",
+ "pairs":15,
+ "baseline":{"discoveryP95MedianMs":0.0010420000000053165,"coldCliP95MedianMs":75.29527600000006,"rssMedianBytes":47865856},
+ "candidate":{"discoveryP95MedianMs":0.0011719999999968422,"coldCliP95MedianMs":77.11065500000007,"rssMedianBytes":47759360},
+ "delta":{"discoveryP95Percent":12.476007676666267,"coldCliP95Percent":2.4110131424446943,"coldCliP95Ms":1.8153790000000072,"rssBytes":-106496},
+ "interpretation":"All frozen regression gates passed; timing changes are not claimed as speed improvements."
+ },
+ "metaharness": {"package":"[email protected]","scope":"plugins/ruvnet","hardConstraints":"6/6","baseline":{"harnessFit":60,"compileConfidence":65,"taskCoverage":84,"toolSafety":90,"memoryUsefulness":38},"candidate":{"harnessFit":60,"compileConfidence":65,"taskCoverage":84,"toolSafety":90,"memoryUsefulness":38}},
+ "security": {
+ "rufloPackage":"@claude-flow/[email protected]",
+ "deepCodeScan":{"critical":0,"high":0,"medium":0,"low":0},
+ "deepDependencyScan":{"critical":0,"high":0,"medium":0,"low":0},
+ "npmAudit":{"critical":0,"high":0,"moderate":0,"low":0},
+ "secretScan":{"findings":0,"filesReportedByScanner":5},
+ "manualTrackedFileCredentialPatternHits":0,
+ "threatScan":{"indicators":0,"filesReportedByScanner":4},
+ "trustBoundaries":["CLI positional arguments","MCP tool arguments","opaque cursor input","reviewed upstream JSON","host interpretation of annotations and linked evidence"],
+ "mitigations":["96-character cursor bound","schema and runtime format validation","snapshot and exact-filter fingerprint binding","read-only MCP annotations and implementation","72-hour freshness state","64 KiB MCP frame bound"],
+ "residualRisks":["Cursor fingerprints are public consistency checks, not authorization or secret MACs","MCP annotations are advisory to hosts","the reviewed snapshot can become stale","linked upstream claims were not independently reproduced","secret and STRIDE scanners reported narrow coverage"],
+ "limitations":"Zero reported findings is not proof of complete security."
+ },
+ "memoryExperiment": {
+ "catalogProjects":10,"changeRecords":28,"eligiblePublicRecords":38,
+ "ruvectorRevision":"115de07ce5222b761cc32bf1d9133247c753091b",
+ "supportedApisInspected":["ruvector VectorDB with flat and HNSW indexes","@ruvector/wasm VectorDB and corrected adapter","ruvector-gnn-rerank research surface","exact min-cut and spatial routing additions"],
+ "exactBaseline":"current allow-listed filtering and cursor paging",
+ "ruvectorWasm":"deferred","gnn":"rejected for this workload","persistentLearning":"not implemented",
+ "reason":"The sanitized corpus remains below the frozen 100-record minimum. Pinned documentation still states WASM HNSW is inactive, raw WASM metadata does not round-trip, and GNN reranking is not automatic in VectorDB.search. New min-cut/spatial support does not establish retrieval benefit on this corpus.",
+ "futureGate":{"minimumRecords":100,"minimumTaskSuccessGainPercentagePoints":10,"p95MaximumMs":20,"memoryMaximumBytes":134217728,"requiredAblations":["exact filters","vector only","exact plus vector fusion","GNN rerank","shuffled-graph control"]}
+ },
+ "forecast": {
+ "prediction":"Within 90 days, agent registries and provenance ledgers will increasingly bind opaque continuation cursors to snapshot or query identity instead of exposing reusable offsets.",
+ "status":"prediction, not established result","confidencePercent":85,"horizonDate":"2026-12-15",
+ "criterion":"At least two primary agent-memory, MCP, or tool-registry implementations newly publish snapshot-, revision-, or query-bound cursor invalidation semantics for provenance retrieval.",
+ "sources":["https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/pagination","https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/caching","https://arxiv.org/abs/2605.11032"],
+ "priorForecastsExpired":[]
+ },
+ "ci":{"run":"https://github.com/ruvnet/ruvnet/actions/runs/35087352221","status":"success","node22":"success","node24":"success"},
+ "dashboard":"https://ruvnet-harness-evidence.ruv.chatgpt.site"
+}
diff --git a/docs/self-improvement/2026-09-16.md b/docs/self-improvement/2026-09-16.md
new file mode 100644
index 0000000..2896722
--- /dev/null
+++ b/docs/self-improvement/2026-09-16.md
@@ -0,0 +1,33 @@
+# RuVnet harness improvement — 2026-09-16
+
+## Decision
+
+Accepted snapshot-bound continuation cursors and published RuVnet entry point 0.4.0. The 28-record reviewed change feed now pages through CLI and MCP without gaps; cursors bind the exact snapshot, project filter, kind filter and offset. Malformed, altered, stale-snapshot and cross-filter cursors fail closed. The fingerprint is a public consistency check, not an authentication token. The companion remains offline, read only and incapable of refreshing or learning by itself.
+
+## Upstream review
+
+Ruflo advanced to [3.42.1](https://github.com/ruvnet/ruflo/releases/tag/v3.42.1) and head `a65bdf683a73dcc1f20d455658daab1cca07306b`; four incorporated records cover the release, NeuralLearningSystem mode shape, persistent graph handles, witness dependency resolution and the federation gateway's untrusted-relay envelope. RuVector advanced to `115de07ce5222b761cc32bf1d9133247c753091b`; four records cover HNSW stored-point loss, RVF string-ID loss, Hono/fast-uri CVE updates, and exact min-cut/spatial work across Rust, Node and WASM. Autogenous advanced to `905aa6cbe213392f8b3cab5d4f17bc3a48e0a509`; two records cover incremental streaming relevance and receipt diagnostics. These are reviewed upstream claims, not locally reproduced performance claims. MetaHarness, AgentDB and Dream Machine were unchanged. x.ruv.io still reports 0.7.2 and the two established MCP routes.
+
+License correction: earlier reports grouped RVM with MIT repositories. GitHub's license API reports no detectable SPDX license for pinned RVM `0973d77e5a9e99065376e8ef772a4a1d16e88c75`; today’s evidence corrects the record rather than inferring permission.
+
+## MetaHarness loop and measurements
+
+The pre-implementation hypothesis and gates are in [the frozen plan](2026-09-16-plan.json). Baseline `390ef0640edea6b8af95ded3f64b58a0d671fc09` passed 0/6 held-out pagination tasks; candidate `d5d6c0064800db526d9ab09c43b892cbe70c6315` passed 6/6. Ten test groups, Node 22 and 24, both marketplace schemas, four portable skills, MCP SDK subprocess/in-memory paths, package closure and negative boundaries passed. MetaHarness 0.4.16 remained at 6/6 hard constraints; its unchanged readiness score is not proof of improvement.
+
+Fifteen alternating pairs used 10,000 discovery calls and 20 cold CLI starts per run. Median discovery p95 moved from 0.001042 ms to 0.001172 ms (+12.48%), cold CLI p95 from 75.295 ms to 77.111 ms (+2.41%, +1.815 ms), and RSS fell 106,496 bytes. All frozen regression gates passed. These local microtimings are not product speed claims; [raw samples](2026-09-16-benchmarks.json) retain an isolated 296.75 ms candidate cold-start outlier.
+
+The pinned Ruflo 3.25.6 deep code and dependency scans, npm audit, and manual tracked-file credential-pattern check reported zero known findings. The secret scanner covered five files and STRIDE four, so coverage is explicitly limited. Trust boundaries include CLI/MCP input, opaque cursors, reviewed JSON and linked untrusted evidence. Residual risks include stale snapshots, advisory host annotations, a public rather than keyed cursor fingerprint, and unverified upstream claims. This is not a claim of complete security.
+
+[Candidate commit](https://github.com/ruvnet/ruvnet/commit/d5d6c0064800db526d9ab09c43b892cbe70c6315) passed [Node 22 and 24 CI](https://github.com/ruvnet/ruvnet/actions/runs/35087352221).
+
+## RuVector, WASM and GNN decision
+
+At pinned RuVector `115de07ce5222b761cc32bf1d9133247c753091b`, the reviewed surfaces include flat/HNSW `VectorDB`, the corrected `@ruvector/wasm` adapter, a GNN reranking research surface, and new exact min-cut/spatial support. Its current documentation still says raw WASM HNSW is inactive, raw metadata does not round-trip, and GNN reranking is not automatic in `VectorDB.search`.
+
+This run has 10 catalog projects plus 28 reviewed changes: 38 sanitized public records, below the frozen 100-record gate. Exact allow-listed filtering and pagination remain the baseline. Persistent vector memory, WASM acceleration, GNN training and persistent learning were not implemented or claimed because a leakage-free held-out comparison is still underpowered. The future experiment remains exact filters versus vector-only, fusion, GNN rerank and shuffled-graph control, with a required 10-point task-success gain.
+
+## Forecast
+
+Prediction, 85% confidence by 2026-12-15: agent registries and provenance ledgers will increasingly bind opaque cursors to a snapshot or query identity instead of exposing reusable offsets. It passes only if at least two primary agent-memory, MCP or registry implementations newly publish snapshot-, revision- or query-bound invalidation semantics. The [July 2026 MCP pagination guidance](https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/pagination) already requires clients to treat cursors as opaque, while [MCP caching guidance](https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/caching) documents cross-page consistency limits; [Portable Agent Memory](https://arxiv.org/abs/2605.11032) adds evidence that provenance-bound memory transfer is an active research direction. This forecast goes beyond those established results. No previous forecast horizon expired today.
+
+Next hypothesis: add explicit snapshot revision metadata to every page and test whether hosts recover correctly from mid-session snapshot rollover without returning mixed provenance.