From Contributor Research to a Verifiable Open-Source Node
How we built the MyZubster Open Period Care pilot with Node.js, Nginx, deterministic SHA-256, provenance, Evidence Payloads and a public read-only manifest
Over the last few days I’ve been working on a MyZubster pilot called Open Period Care.
The original objective was relatively simple: take a contributor’s research package and make it accessible inside the MyZubster ecosystem.
But the project quickly evolved into something more interesting.
Instead of treating the contributor’s work as static documentation, we started building a small verifiable research node: a service capable of exposing Knowledge Cards, provenance, evidence references, validation states and deterministic cryptographic fingerprints through a read-only API.
The result is now a working Node.js service running on a VPS behind Nginx, with the application itself bound only to localhost.
The architecture is intentionally conservative:
Contributor research
→ Knowledge Cards
→ provenance
→ evidence references
→ deterministic canonical JSON
→ SHA-256 fingerprints
→ Evidence Payload v1
→ private Node.js service
→ Nginx HTTPS reverse proxy
→ public read-only node manifest
The goal is not to claim that decentralization, blockchain or hashing magically makes research “true”.
The goal is much narrower and more useful:
make the origin, structure, version and state of evidence easier to inspect and reproduce.
Starting from real contributor work
The node is based on an actual Open Period Care research contribution produced inside the MyZubster contributor workflow.
The contribution includes two Knowledge Cards:
KC-OPC-001 — Multi-Layer Biomaterial Architecture for Reusable Textile Absorbents
KC-OPC-002 — Contributor Privacy, Data Minimization & Clinical Claim Boundaries
The research package also includes an evidence matrix, scientific and technical references, product requirements and explicit evidence states.
An important part of the design is that we do not flatten everything into a generic “verified” label.
Each piece of information maintains an epistemic state such as:
PROPOSED
SUPPORTED
TESTED
VERIFIED
For the current cards, the state is:
SUPPORTED
This distinction matters.
A research document supported by literature is not the same thing as a laboratory-tested prototype.
A laboratory-tested prototype is not the same thing as a clinically validated product.
A merged GitHub contribution is evidence of contribution provenance, not automatic scientific certification.
That boundary is intentionally preserved in the node.
Why a node instead of just Markdown files?
Markdown documentation is useful, but it becomes harder to integrate when multiple systems need to consume the same information.
A node gives us a structured API layer.
For example, the service currently exposes endpoints for:
- health status
- service metadata
- Knowledge Cards
- full-text search
- contributor provenance
- evidence references
- content hashes
- Evidence Payloads
- node manifest
This means another tool does not need to scrape a Markdown file to understand the contribution.
It can ask directly:
Which cards exist?
Who contributed them?
What evidence state do they have?
Which sources support them?
What is the SHA-256 of the current content?
Has the payload changed?
Which API routes does this node support?
Node.js service design
The service is intentionally small.
It runs on Node.js and currently does not depend on a large external framework.
The application is bound to:
127.0.0.1:3101
not:
0.0.0.0:3101
This means the Node.js process itself is not directly reachable from the public Internet.
That is an important design decision.
The VPS already hosts other MyZubster infrastructure, so we wanted the Open Period Care pilot to remain isolated from existing services.
The existing MyZubster bridge continues to use its own local service and port.
Open Period Care has its own process, its own systemd service, its own data directory and its own application port.
The application also runs under a dedicated system user rather than root.
That gives us a clean separation between:
- the operating system
- Nginx
- the existing MyZubster bridge
- the Open Period Care node
- the research data
Read-only by design
The current Open Period Care node is deliberately read-only.
That is not a limitation we are trying to hide.
It is part of the security model.
The node is currently meant to publish sanitized evidence and structured knowledge, not accept arbitrary public modifications.
Nginx only exposes approved read routes.
Write attempts are blocked at the reverse proxy.
For example, a POST request to the public API returns:
HTTP 403
This gives us defense in depth.
Even if application behavior changes later, the reverse proxy still enforces the public read-only boundary.
Nginx as the public boundary
The Node.js service remains private on localhost.
Nginx provides the public HTTPS interface.
The public path is exposed under the existing MyZubster bridge domain:
/open-period-care/
The request flow looks like this:
Internet
→ HTTPS port 443
→ Nginx
→ /open-period-care/
→ localhost port 3101
→ Open Period Care Node
The private application port remains inaccessible directly from the Internet.
This is much better than simply opening port 3101 in the firewall.
It lets us centralize TLS, request restrictions, headers and routing in Nginx.
Structured Knowledge Cards
The first card focuses on reusable textile absorbent architecture.
It contains structured information about:
- contact layer materials
- absorbent core materials
- waterproof barrier
- fasteners
- durability targets
- circular-economy targets
- product requirements
- evidence references
- provenance
- validation state
The second card focuses on governance and privacy.
It contains rules around:
- prohibited sensitive-data collection
- anonymized feedback
- epistemological classification
- clinical claim boundaries
- medical claim restrictions
- privacy-by-design principles
- GDPR-related references
This is important because Open Period Care is health-adjacent.
The software should help structure evidence without pretending to replace professional, laboratory or regulatory review.
Provenance as a first-class field
One of the main features of the node is contributor provenance.
Each card contains explicit provenance information such as:
- contributor identifier
- source contribution
- source branch
- pull request reference
- evidence origin
- merge status
For the current research package, the contributor is:
khongten124
and the source contribution is connected to the MyZubster Open Period Care pull request.
This means provenance is not an afterthought or a comment hidden inside documentation.
It is machine-readable.
Another node or reviewer can retrieve it directly.
Deterministic SHA-256
One of the most useful technical milestones was implementing deterministic SHA-256 fingerprints.
Hashing JSON sounds simple until object key ordering becomes relevant.
Two JSON objects can represent the same information while having different key order.
If you hash their raw serialized representation, you may get different hashes.
To avoid that, the node recursively sorts object keys before serialization.
The process is:
structured object
→ recursive key sorting
→ canonical JSON
→ SHA-256
This means repeated requests for the same unchanged card produce the same hash.
For example, the current hash for KC-OPC-001 is:
360b98cce04f34f56f479dd51122c8e46abeacb1b467ff602cb5d7c51dc213b0
The second card currently has:
6a3c346501205328a00f4aa3f5d01e8dc3753d4001a7c7869f58556c22b47e47
If the underlying card changes, the hash changes.
That gives us a simple way to detect content drift between nodes or over time.
Evidence Payload v1
The next step was to create a portable Evidence Payload.
Instead of returning only the Knowledge Card, the node can build a normalized payload containing fields such as:
{
"schema": "myzubster.circular-care.evidence.v1",
"pilotId": "open-period-care",
"projectId": "open-period-care-research",
"knowledgeCardId": "KC-OPC-001",
"actorRef": "khongten124",
"actorRole": "researcher",
"messageType": "EVIDENCE_SUBMISSION",
"evidenceState": "SUPPORTED",
"privacyClass": "PUBLIC_SANITIZED",
"payloadSha256": "73d864cd49295408859f197bba7f170b3722a978909a27e90a82d04683eb3d85"
}
The payload also includes:
- evidence references
- claim references
- summary notes
- review references
- creation timestamp
- privacy classification
The payload itself has its own deterministic SHA-256.
For KC-OPC-001, the current payload hash is:
73d864cd49295408859f197bba7f170b3722a978909a27e90a82d04683eb3d85
For KC-OPC-002:
a576fc507109a2db4507d8abdafbce6dac151bb5b57cebccba8a331dcf1f5ae7
Repeated requests produce the same hashes as long as the payload content remains unchanged.
Why hash the payload separately from the card?
The Knowledge Card and the Evidence Payload serve different purposes.
The card represents structured knowledge.
The payload represents a transportable evidence record.
A future node may not need every internal field from the original Knowledge Card.
It may only need:
- project
- contributor
- evidence state
- evidence references
- claims
- privacy class
- hash
By hashing both independently, we can verify:
the exact Knowledge Card content
and
the normalized evidence record derived from it.
This creates a cleaner interoperability boundary.
A public node manifest
The latest milestone was adding a public node manifest.
The manifest describes the node itself.
It includes:
- node identifier
- service name
- version
- operating mode
- scope
- evidence schema
- privacy class
- public base path
- available endpoints
- Knowledge Cards
- card hashes
- payload hashes
- contributor references
- pull request references
The manifest schema is currently:
myzubster.node.manifest.v1
The service version is:
0.9.0
The node mode is:
read-only
The manifest itself is also hashed.
Current manifest SHA-256:
a173b0c4253643b68f692fb35b0cf49ee60f41c9c4d741de389fc26ecc52c43d
We tested the manifest locally, through HTTPS and through repeated requests.
The hash remained identical.
That means the manifest can act as a compact fingerprint of what the node currently publishes.
Why the manifest matters
Imagine two independent nodes.
Node A publishes an Open Period Care manifest.
Node B retrieves it.
Node B can check:
- service version
- supported schema
- available cards
- expected card hashes
- expected payload hashes
- manifest hash
If one of those values changes, Node B can detect that the state changed.
This does not prove the scientific truth of the content.
It proves something more limited:
the published digital state is identifiable and reproducible.
That is a useful primitive for decentralized research infrastructure.
Privacy boundaries
Privacy is especially important for this pilot.
The node is not designed to collect menstrual histories, clinical records or intimate participant data.
The current payload classification is:
PUBLIC_SANITIZED
The research workflow explicitly separates product and usability evidence from identifiable personal health information.
The governance Knowledge Card prohibits or restricts collection of information such as:
- clinical diagnoses
- medication histories
- intimate photographs
- personal identifiers
- IP or location metadata where inappropriate
- unsupported medical claims
The goal is to make research and product requirements traceable without turning a public repository into a health-data database.
Scientific boundaries
Another key principle is that a cryptographic hash is not scientific validation.
A SHA-256 digest proves that some bytes match some other bytes.
It does not prove:
- material safety
- product effectiveness
- laboratory performance
- regulatory compliance
- clinical validity
- physical recycling
- professional credentials
Likewise, Git provenance proves that a contribution exists in a repository history.
It does not automatically certify the contributor as a medical or scientific authority.
The current system therefore keeps explicit states such as:
SUPPORTED
rather than automatically promoting research to:
VERIFIED
Future transitions to TESTED or VERIFIED should require actual evidence supporting those states.
Reproducibility over hype
One of the goals of MyZubster is to experiment with decentralized and contributor-driven infrastructure.
But I think it is important not to confuse decentralization with trustlessness or automatic truth.
For this pilot, the practical focus has been:
Can another person inspect the source?
Can another node retrieve the same payload?
Can we reproduce the same hash?
Can we identify who submitted the research?
Can we distinguish literature support from laboratory testing?
Can we expose data without exposing the VPS?
Can we keep sensitive data out of the public evidence layer?
Those questions are more useful to me than simply saying “this is decentralized”.
What worked well
A few architectural decisions have worked well so far.
First, keeping the Node.js process private on localhost made deployment much safer.
Second, using Nginx as the public boundary let us expose only a controlled read-only interface.
Third, separating data from application code made it much easier to update Knowledge Cards without changing server logic.
Fourth, deterministic canonical JSON gave us stable hashes.
Fifth, separating card hashes, payload hashes and manifest hashes created clear integrity layers.
And finally, keeping explicit evidence states prevents the API from overstating the certainty of the underlying research.
Current architecture
The current Open Period Care architecture can be summarized like this:
Contributor
│
▼
Research contribution
│
▼
Knowledge Cards
│
├── provenance
├── evidence references
├── validation state
└── requirements
│
▼
Canonical JSON
│
▼
SHA-256
│
├── Card hash
└── Evidence Payload hash
│
▼
Node.js service
127.0.0.1:3101
│
▼
Nginx reverse proxy
│
▼
HTTPS read-only API
│
▼
Public Node Manifest
The application port remains private.
Only the Nginx HTTPS endpoint is public.
What comes next
The next step is interoperability.
The idea is to let independent contributors or reviewers run their own nodes and exchange sanitized evidence records through a documented interface.
A possible future workflow looks like:
Researcher node
→ Evidence Payload
→ MyZubster bridge
→ reviewer node
→ review response
→ updated evidence state
→ Knowledge Graph
Possible message types could include:
EVIDENCE_SUBMISSION
REVIEW_REQUEST
REVIEW_RESPONSE
SOURCE_CHALLENGE
CORRECTION
The goal would be to preserve provenance and state transitions without giving external contributors access to the VPS itself.
No SSH credentials.
No server passwords.
No database credentials.
No wallet keys.
No health records.
Only sanitized evidence payloads.
Possible future attestations
The deterministic hashes also make optional external attestations possible.
For example, a payload hash could eventually be anchored to an external timestamping or blockchain system.
But the distinction must remain clear:
A blockchain anchor can prove that a hash existed at a certain point.
It cannot prove that the associated physical event actually happened.
If someone claims that a material was recycled, tested or clinically validated, the hash alone is not evidence of that physical claim.
The supporting evidence still needs to exist independently.
That distinction is critical.
Lessons from this build
This pilot reinforced a few ideas for me.
1. Provenance should be structured, not implied.
If provenance matters, put it into the data model.
2. Evidence states should be explicit.
Do not make consumers guess whether something is proposed, supported, tested or verified.
3. Cryptographic integrity and scientific validity are different concepts.
Both matter, but they solve different problems.
4. Public APIs should expose less than the internal infrastructure.
The VPS does not need to become part of the contributor interface.
5. Read-only is a useful first interoperability milestone.
Before accepting external writes, prove that sanitized retrieval and validation work correctly.
6. Small services can be easier to reason about.
For this pilot, a lightweight Node.js service behind Nginx has been enough to validate the architecture without adding unnecessary complexity.
Technology used
The current implementation uses:
- Node.js
- native Node.js HTTP APIs
- Node.js
crypto
- JSON-based Knowledge Cards
- deterministic recursive JSON key sorting
- SHA-256
- systemd
- Nginx
- HTTPS
- Linux VPS
- GitHub contribution provenance
- MyZubster Evidence Payload v1
- MyZubster Node Manifest v1
No public database is required for the current read-only pilot.
Current milestone
At the current milestone, the node can:
- serve real contributor Knowledge Cards
- search card contents recursively
- expose evidence references
- expose contributor provenance
- expose explicit validation states
- calculate deterministic card hashes
- generate deterministic Evidence Payloads
- publish a verifiable node manifest
- operate behind HTTPS
- reject public write requests
- keep its application port private
- keep sensitive health information outside the public data model
It is still a pilot.
It is not a production clinical platform.
It is not a medical device.
It does not establish regulatory compliance.
It does not prove laboratory validation.
But it is now a working example of how contributor research can move from static documentation toward a structured, verifiable and interoperable evidence layer.
Why I think this is interesting
Open-source projects are very good at tracking code provenance.
Git already gives us commits, authors, diffs and history.
Research-oriented projects often need something similar for knowledge.
Where did this claim come from?
Which source supports it?
Who structured it?
Has it been tested?
Has it been reviewed?
Did the payload change?
Can another machine reproduce the same state?
The Open Period Care node is a small attempt to explore that problem.
Instead of replacing peer review, laboratories or domain experts, software can make the evidence path easier to inspect.
That is the direction we are experimenting with in MyZubster.
I’d be very interested in feedback from developers and researchers working on:
- Node.js infrastructure
- reproducible research
- knowledge graphs
- provenance systems
- decentralized architectures
- content-addressed data
- cryptographic attestations
- DevOps
- open-source hardware
- evidence-based product development
In particular, I’m interested in how others would design the next interoperability layer between independent contributor and reviewer nodes while keeping the security boundary small.
MyZubster Open Period Care Node — current service version: 0.9.0
Current manifest SHA-256:
a173b0c4253643b68f692fb35b0cf49ee60f41c9c4d741de389fc26ecc52c43d
OpenSource #NodeJS #DevOps #SHA256 #Provenance #Research #Reproducibility #KnowledgeGraph #CyberSecurity #MyZubster