SSM-AI – Ready-to-Paste Manifest Snippet (3.6)

One block to standardize lenses, bands, and clamps.

3.6 Ready-to-paste manifest snippet (lens block)
Purpose. Publish a small, deterministic manifest so teams, prompts, and vendors compute identical lanes, RSI, and bands. Keys below are minimal but complete; extend as needed.

Manifest (copy-paste).

{
  "lens": {
    "id": "decode.v1",
    "positives": [
      {"name":"intent_match",            "alpha":1.0},
      {"name":"constraint_satisfaction", "alpha":1.0},
      {"name":"evidence_gain",           "alpha":1.0}
    ],
    "negatives": [
      {"name":"policy_gap",     "beta":1.0},
      {"name":"contradiction",  "beta":1.0},
      {"name":"style_violation","beta":1.0}
    ],
    "unit": 1.0,
    "gain_c": 1.0,

    "weights_policy": "abs_m_pow_gamma",   // or "uniform"
    "gamma": 1.0,

    "bands": {"A++":0.90,"A+":0.60,"A0":-0.60,"A-":-0.90,"A--":-1.00},
    "band_on": "RSI_env",                  // or "RSI" or "a"
    "hysteresis": {"h_up":0.02,"h_dn":0.02},

    "eps_a": 1e-6,
    "eps_w": 1e-12,

    "division_policy": "strict"            // or "meadow" / "soft"
  },

  "gate": {
    "weights": {"F":1.0,"D":1.0,"L":1.0,"E":1.0,"V":1.0,"Q":0.0},
    "rho": 0.20,
    "g_min": 0.00,
    "eps_g": 1e-12,
    "mode": "mul"                          // or "u_scale"
  }
}

Operational formulas (normative).
Collapse parity (numbers stay pristine).

phi((m,a)) = m

Clamp → rapidity → inverse.

a_c := clamp(a, -1+eps_a, +1-eps_a)
u   := atanh(a_c)
a   := tanh(u)

Streaming fuse (U/W mean in u-space).

U += w*atanh(a)
W += w
a_out := tanh( U / max(W, eps_w) )

Chooser (two-channel).

RSI := tanh( (V_out - U_in) / max(W_in, eps_w) )

Gate (alignment-only).

RSI_env := g_t * RSI

Knobs hash (reproducibility).
Compute and log a manifest fingerprint whenever any knob changes.

knobs := canonical_json({
  lens.id, positives, negatives, unit, gain_c,
  weights_policy, gamma, bands, band_on, hysteresis,
  eps_a, eps_w, division_policy, gate
})
knobs_hash := sha256( ascii(knobs) )

Acceptance (must pass).
A1 Collapse parity holds: phi((m,a)) = m.
A2 Clamp safety: |a_c| < 1 before any atanh.
A3 Order invariance: batch == stream == shuffled via U/W.
A4 Determinism: same inputs + same manifest ⇒ identical RSI, band.
A5 Gate purity: gate scales alignment only (RSI_env := g_t*RSI).

One-line takeaway. A small, stamped manifest makes SSM-AI portable, auditable, and order-invariant across teams and vendors—while phi((m,a)) = m keeps numbers unchanged.


Navigation
Previous: SSM-AI – Lens Calibration Quickstart (3.5)
Next: SSM-AI – Calm Gate (Volatility Governor) (4, 4.1)


Directory of Pages
SSM-AI — Table of Contents