AI Initiative logoAI Initiative
Reading room / Manthan

Reference Herald (T-115)

Reference Herald (T-115). Covers Endpoints; Quick start; fill in charter.md (operator legal entity, jurisdiction, evidence policy, ...); Issue a test endorsement.

Project explanation / technical method
This is the retained source text, not a new validation of its claims. Numerical results and comparative claims require the accompanying source review before public reuse.

Read the connected case study or article →

Not explicitly stated in source · Date not established

Provenance, authorship and editorial notes

Reference Herald (T-115)

Id

manthan-herald-protocol-services-reference-herald-readme

Project

Manthan

Source path

manthan/herald-protocol/services/reference-herald/README.md

Source sha256

a4855a06ba685d1532da26807b055e029cb095937b73718cffb3b170a188f1fb

Local copy sha256

a4855a06ba685d1532da26807b055e029cb095937b73718cffb3b170a188f1fb

Repo head

3a94084024a3434cef331fecac91c2c3b43f0313

Date
Not recorded
Date basis

Original publication date not established; Git revision date retained separately.

Author

Not explicitly stated in source

Author basis

Unknown; Git committer not substituted for document author.

Last source commit

8b75d1b0157c20a0a463f0e31008ef9f73099beb

Last source commit date

2026-06-08T07:40:14Z

Document status

Project explanation / technical method

Summary

Reference Herald (T-115). Covers Endpoints; Quick start; fill in charter.md (operator legal entity, jurisdiction, evidence policy, ...); Issue a test endorsement.

Topics
  • Exploration architecture and selection
  • Endpoints
  • Quick start
  • fill in charter.md (operator legal entity, jurisdiction, evidence policy, ...)
Theme

Exploration architecture and selection

Priority

deep

Related ids
  • manthan-readme
  • manthan-docs-architecture
  • manthan-docs-business-overview
  • manthan-docs-demo-walkthrough
  • manthan-docs-principles
  • manthan-docs-qd-measurement-direction-plan
  • manthan-docs-swarm-evolution-integration
Evidence concerns
  • Recovered source text is preserved verbatim. Assertions, comparisons, commands and results belong to its original context; they were not re-executed or externally re-verified during this corpus review.
Word count

638

Bytes

4740

Source relative

herald-protocol/services/reference-herald/README.md

Remote mirror

manthan/herald-protocol/services/reference-herald/README.md

Full text preserved

True

Reference Herald (T-115)

Single-operator HERALD service. Composes:

Endpoints

MethodPathPurpose
GET/health{ ok, sigil, charter_signed_at, log_size }
GET/charterOperator's signed Charter (markdown + Ed25519 signature, domain herald.charter.v1)
GET/sthLatest Signed Tree Head from the CT log
GET/entries?from=&to=Log entries (minimum-metadata profile)
GET/sip/:envelope_idInclusion-proof metadata; full audit-path TBD
POST/endorseIssue a lineage_endorsement envelope, log it, return receipt
GET/endorsements/:subjectList this Herald's endorsements for a sigil

Quick start

cd services/reference-herald
npm install
cp config/charter.example.md config/charter.md
# fill in charter.md (operator legal entity, jurisdiction, evidence policy, ...)
npm start

The service binds :8120 by default (override with PORT).

Issue a test endorsement

curl -X POST local-service/endorse \
  -H 'content-type: application/json' \
  -d '{
    "subject": "sigil:abc...",
    "parent": "sigil:base-model-fingerprint",
    "evidenceClass": "model_hash_verified",
    "notes": "Operator verified weights against published model-hash spec on 2026-05-05"
  }'

Returns:

{
  "envelope": { "from": "sigil:...", "id": "...", "signatures": [...], ... },
  "domain": "herald.lineage_endorsement.v1",
  "receipt": { "envelope_id": "...", "log_index": 0, "tree_size": 1, ... }
}

The Herald's signature on the envelope is computed under the
herald.lineage_endorsement.v1 domain tag rather than the generic
herald.envelope.v1. Verifiers consulting EXT §3.2 know to validate
origin signatures on lineage_endorsement envelopes against this tag.

Charter

The Charter at config/charter.md is the operator's transparency
document per [EXT §3.5]. The R-203 template at
templates/Herald-Charter.md is the canonical fillable starting point.

The Charter is signed once at service startup. Verifiers retrieving
/charter get the markdown body, the operator sigil, the signature
under domain tag herald.charter.v1, and the signing timestamp.

Per [EXT §3.5], Charters MUST be re-signed annually. A production
deployment runs a small cron (re-sign-charter) that updates the
signature and bumps the version number.

Storage

In production, replace data/ with proper persistent storage and
move the operator key behind an HSM (per the LOTS / Charter posture).

What this service is NOT

These are deliberate omissions for a reference implementation. The point is to demonstrate the protocol shape; production deployments add the operational scaffolding.

Cross-references

Tests

npm test

Three smoke tests cover:
1. Charter is loaded, signed at startup, served at /charter with a valid Ed25519 signature.
2. /endorse issues a lineage_endorsement envelope, logs it to the CT log, returns a receipt with consistent envelope_id / tree_size.
3. /endorsements/:subject lists the Herald's previous endorsements for a sigil.

Continue exploring