Repository navigation
Description
User impact
The VDR guide's driver table states a Family value for each blockchain driver, and its selection section tells readers that drid, drf and drv select the driver. For the NeoPRISM and PRISM Node drivers the table's families do not match what the pinned implementations emit, and a request that names only the documented NeoPRISM family (drf=neoprism) is not routed to the NeoPRISM driver: it falls through to the Java proxy path and fails with DriverNotFound when only the NeoPRISM VDR driver is enabled. Users copying values from the table therefore cannot select the documented driver, and URLs returned by those drivers carry a family value the table does not list.
Affected documentation and ownership
- Page: https://identus.io/documentation/develop/cloud-agent/vdr/ — GET 200 after trailing-slash resolution,
Last-Modified: Tue, 27 Oct 2026 12:51:14 GMT, observed 2026-10-29T10:22Z. - Documentation source: vdr.md lines 28–40 and 66–72, revision
fa985dfa33caefa45bf1e9009e1f6f5a445344fb. - Editable owning source: the same Markdown file for the table and selection guidance (ordinary committed source). Whether the selection contract should instead follow the table is a maintainer decision between this documentation and
VdrService.scala; either repair makes the two agree. - Intended component version: Identus Cloud Agent
2.2.1-SNAPSHOT. The docs revision pins itscloud-agentsubmodule ateee1ff7, which declares the same version and has a byte-identicalapplication.conf; thecomparecontains only CI-workflow and client-generator lockfile changes.NeoPrismVdrServiceandPrismNodeVdrServiceare identical between the two revisions.
Observed versus expected
Documented table (source lines 66–72):
| Driver | ID | Family | Version | ...
| NeoPrism | `neoprism` | `neoprism` | `1.0.0` | ...
| PRISM Node | `prism-node`| `prism-node`| `1.0.0` | ...
Pinned implementations (both in the Cloud Agent repository at the revision above):
NeoPrismVdrService.scala:21 override val identifier: String = "neoprism"
NeoPrismVdrService.scala:22 override val version: String = "1.0.0"
NeoPrismVdrService.scala:23 private val family: String = "prism"
NeoPrismVdrService.scala:65-67 "drf" -> family, "drid" -> identifier, "drv" -> version
PrismNodeVdrService.scala:17-19 identifier "prism-node", version "1.0.0", family "prism"
Selection code (VdrService.scala lines 39–42):
private def wantPrismNode(options: VdrOptions): Boolean =
options.get("drid").contains(PrismNodeDriverId) || options.get("drf").contains(PrismNodeDriverId)
private def wantNeoPrism(options: VdrOptions): Boolean =
options.get("drid").contains(NeoPrismDriverId)So family-only selection works for neither documented family, and for NeoPRISM it is not supported at all: drf=neoprism reaches useProxy, which fails when no proxy driver is enabled (DriverNotFound).
Expected: the table's Family values and the selection guidance describe the drivers the agent actually loads, and copying them selects the intended driver.
Evidence and reproduction
Static comparison at the revisions above, observed 2026-10-29:
grep -n "identifier\|version\|family\|\"drf\"" vdr/neoprism/src/main/scala/.../NeoPrismVdrService.scala
grep -n "identifier\|version\|family\|\"drf\"" vdr/prism-node/src/main/scala/.../PrismNodeVdrService.scala
grep -n "wantNeoPrism\|wantPrismNode\|useProxy" vdr/proxy/src/main/scala/.../VdrService.scalaLimitations: static inspection only. No VDR create/read request was executed against a running agent, and no node, chain or credential was used. The routing behaviour is a direct reading of the pinned request dispatcher; a unit test that asserts drf=neoprism selects the NeoPRISM service (or is rejected with a clear error) would confirm the repaired contract.
Existing work checked
GitHub issue/PR search across hyperledger-identus/docs and hyperledger-identus/cloud-agent, open and closed (2026-10-29):
driver family→ 0 results indocs, 1 unrelated dependency PR incloud-agent;drf→ 0 results in both.vdr.mdindocs→ docs#227 (closed typo issue) and docs#247 (merged, added the driver documentation);VDR driverindocs→ also docs#241, docs#228, docs#230 (open milestone checklist). None covers driver family values.- In
cloud-agent: cloud-agent#1728 (merged: added the NeoPrism REST VDR backend), #1712, #1685, #1671, and #1610 (open: upgrade the VDR driver). None addresses family values or family-only selection.
Acceptance criteria
- The
Familyvalues in the driver table and the selection guidance match the drivers the agent loads, or the agent accepts the documented families. - A request that names the documented NeoPRISM driver (by ID, and by family if the page keeps advertising family-only selection) selects the NeoPRISM service or fails with an explicit, documented error.
- Verification: a unit test or isolated agent request demonstrates the selection, with no chain or production credential required.
Activity
patextreme commentedon Oct 30, 2026
Triage Notes
Decision needed (maintainer): does the VDR selector contract stay ID-based, or should family-only selection work as the table advertises?
What we've established (verified in this pass at docs
fa985dfand docs-pinned Agenteee1ff7):Familyneoprismfor NeoPrism andprism-nodefor PRISM Node; both implementations emit familyprism.drid,drfanddrvselect the driver. In practicedrf=prism-nodealone reaches the native PRISM Node service,drf=neoprismalone does not select NeoPrism, and with only the NeoPRISM VDR driver enabled the request falls through to the proxy path and fails withDriverNotFound.prismalone would still not make family-only creation select either native driver.Options (for the maintainer to choose):
prismfamily for both rows and state that these native drivers must be selected bydrid=neoprism/drid=prism-node, qualifyingdrfbehavior.Escalation: Cloud Agent and docs maintainers (repository owners); a product decision is required before an implementation-ready brief can be written.
Evidence:
NeoPrismVdrService,PrismNodeVdrService,VdrServicerouting and the VDR HTTP endpoint mapping ateee1ff7; table and guidance text atfa985df.