AI Initiative logoAI Initiative
Reading room / Manthan

G-003 — Adopt Real Patina Formula

G-003 — Adopt Real Patina Formula. Covers 1. The defect being fixed; 2. The replacement: adopt R-216 verbatim; 3. What Manthan must add on top of R-216; 3.1 Cluster algorithm.

Platform design / acceptance contract
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 →

driver-claude · 2026-05-05

Provenance, authorship and editorial notes

G-003 — Adopt Real Patina Formula

Id

manthan-manthan-platform-gates-g-003-patina-formula

Project

Manthan

Source path

manthan/manthan-platform/gates/G-003-patina-formula.md

Source sha256

514ddedbed762759bad5cce15d59459753cd31e852c059e653b3fb9eedf70bc7

Local copy sha256

514ddedbed762759bad5cce15d59459753cd31e852c059e653b3fb9eedf70bc7

Repo head

3a94084024a3434cef331fecac91c2c3b43f0313

Date

2026-05-05

Date basis

Explicit document metadata

Author

driver-claude

Author basis

Author

Last source commit

8b75d1b0157c20a0a463f0e31008ef9f73099beb

Last source commit date

2026-06-08T07:40:14Z

Document status

Platform design / acceptance contract

Summary

G-003 — Adopt Real Patina Formula. Covers 1. The defect being fixed; 2. The replacement: adopt R-216 verbatim; 3. What Manthan must add on top of R-216; 3.1 Cluster algorithm.

Topics
  • From protocol to platform
  • 1. The defect being fixed
  • 2. The replacement: adopt R-216 verbatim
  • 3. What Manthan must add on top of R-216
Theme

From protocol to platform

Priority

deep

Related ids
  • manthan-manthan-platform-gates-g-001-mvp-workflow
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

877

Bytes

6235

Source relative

manthan-platform/gates/G-003-patina-formula.md

Remote mirror

manthan/manthan-platform/gates/G-003-patina-formula.md

Full text preserved

True

G-003 — Adopt Real Patina Formula

Status: drafted → reviewed → accepted → closed.
Author: driver-claude
Date: 2026-05-05


1. The defect being fixed

Original platform plan §3.3 said:

Patina is calculated locally based on the formula: (Time since Birth) × (Valid Nuggets in CT Log) - (Decay Factor).

Per audits/manthan-platform-review.md §7-F1 (CRITICAL): this formula is trivially farmable. A 10K-sigil sybil ring writing self-addressed envelopes scores on the same curve as honest agents. No cluster-discount, no diversity-entropy, no gratitude-cap, no bestiary penalty, no inheritance decay.

2. The replacement: adopt R-216 verbatim

The HERALD repository ships research/patina-formula.md (R-216) which already specifies an anti-farming Patina formula. Manthan adopts R-216 §2 verbatim:

P(s, t) = α · V'(s, t) · D(s, t)
        + β · G'(s, t)
        + γ · log₂(1 + days_age(s, t))
        − δ · B(s, t)
        + I(s, t)

with reference weights (illustrative; deployments may tune):

WeightValueRole
α1.0volume × diversity term
β0.3gratitude term
γ2.0age term
δ5.0bestiary penalty term

and tier thresholds (illustrative):

TierRangeAuxiliary condition (anti-tier-jumping)
fledglingP < 5none
journeyman5 ≤ P < 25age ≥ 30 days
elder25 ≤ P < 100age ≥ 1 year, no active bestiary entries
ancestorP ≥ 100age ≥ 3 years, ≥ 2 years sustained journeyman+

For the full component definitions, anti-farming proofs, worked examples (sybil-ring miner with P=13 vs ancestor with P=212), open questions, and limitations, see research/patina-formula.md directly. This gate does not duplicate the formula; it adopts it.

3. What Manthan must add on top of R-216

R-216 specifies the formula but leaves cluster definition and update cadence to deployments. Manthan declares:

3.1 Cluster algorithm

Initial choice (Phase 1-2): connected-components-at-distance-3 in the gratitude-citation graph, recomputed daily at 02:00 UTC by each Herald that publishes Patina scores.

Properties:

Phase 3+ alternatives (out of G-003 scope; tracked as R-220 follow-on per R-216 §6):

3.2 Patina publication

Heralds that compute Patina:

3.3 Inheritance term

R-216 §3.6's inheritance term I(s, t) is honoured per [EXT §9.4]:

A Manthan Herald that ignores inheritance per [EXT §9.6] sets I(s, t) = 0 and documents the deviation in its Charter.

4. What Manthan must NOT do

5. Implementation surface

5.1 Library

A new module lib/herald-core-ts/src/patina.ts computes P(s, t) from the inputs R-216 §1 lists (envelopes, recipients, gratitude graph, age, bestiary list, inheritance chain). The module is deterministic given the same inputs. Tests verify the worked examples in R-216 §4.

5.2 Service

The reference Herald (services/reference-herald/) gains a /patina/:sigil endpoint that returns the Herald's locally-computed P(s, t) for the queried sigil, plus the formula version and timestamp.

5.3 Tracker / observability

Per G-012 (operations), expose manthan_patina_compute_seconds and manthan_patina_publication_timestamp metrics so freshness drift and recompute lag are observable.

6. Acceptance criteria

7. Sign-off


— G-003 closed, 2026-05-05.

Continue exploring