HomeDocs-Technical WhitePaper21-EFT.WP.Metrology.Sync v1.0

Appendix B — Contract Library & Runbooks (C60 Suite)


Purpose & Usage: This appendix defines the standard synchronization contracts C60-* and the operational runbooks. All assertions are evaluated on tau_mono, published on ts, and carry offset/skew/J with window Delta_t. Each contract is persisted as a triplet—computable assertion + threshold parameters + action plan—under manifest.sync.contracts.*. All formulas, symbols, and definitions are expressed in English plain text.


I. Assertion Grammar & Evaluation Rules

  1. Unified symbols
    • Time error offset(t); frequency error skew(t) (unit s/s); jitter J_rms, J_pp; packet delay variation PDV; asymmetry asym.
    • Dual-form arrivals:
      T_arr_form1 = ( 1 / c_ref ) * ( ∫ n_eff d ell )
      T_arr_form2 = ( ∫ ( n_eff / c_ref ) d ell )
      delta_form = | T_arr_form1 - T_arr_form2 |.
  2. Evaluation windows
    • eval(expr, window=Delta_t, quantile=q); default Delta_t=300 s, q ∈ {p50,p95,p99}.
    • When using weights, declare w(i) and publish n_eff = ( (∑ w)^2 ) / ( ∑ w^2 ).
  3. Dimensions & units
    Run check_dim(expr) on every assertion; time in seconds; skew in s/s.
  4. Results
    Ternary: pass / warn / fail. fail triggers the mapped runbook; warn accrues burn and enters observation.

II. Severity & Response Tiers


III. Contract Groups & Parameter Dictionary

max_tswitchover = 0.2 s; min_holdover_1us = 3600 s.
tol_asym = 5e-7 s; tol_Tarr = 1e-9 s; max_bmca_switch_per_h = 2;
tol_offset = 1e-6 s; tol_skew = 5e-8 s/s; tol_J_rms = 2e-7 s; tol_PDV = 1e-4 s;
(override per environment):Default parameters

IV. C60 Contract Library

Link & Timestamp (Link/Stamp)

Protocols & Sessions (PTP/NTP/SyncE/WR)

Servo & Filtering

Error & Jitter (Offset/Skew/Jitter)

Noise & Stability (Allan/Hadamard)

Holdover & Failover

Graph Sync & Topology

Arrival & Path Consistency

Quality, SLO & Panels

Boundary & Anomalies (Virtualization / GNSS / Spoofing)

Audit & Provenance


V. Runbooks (Strategy Cards)

  1. S60-01 PDV Spike (trigger: C60-link-01 fail)
    I60-21 re-probe → 2. inspect congestion/queuing → 3. temporarily reduce sync rate → 4. I60-91 reweight & reroute → 5. observe Delta_t_obs=900 s, refresh panels.
  2. S60-02 GM Switch Thrash (trigger: C60-bmca-12 fail)
    Lock candidate set → raise health thresholds → pin priority (short freeze) → I60-34 re-elect → log EVT.GM_SWITCH.
  3. S60-03 Offset Drift (trigger: C60-sync-31 warn/fail)
    I60-61 decompose offset/skew → I60-41 reduce bandwidth + enable feed-forward → if persistent, fall back to frequency lock and notify upstream.
  4. S60-04 Asymmetry Detected (trigger: C60-path-03 fail)
    I60-51 estimate asym → I60-52 online compensate → persist compensation version & rollback point.
  5. S60-05 GNSS Loss/Spoof (trigger: C60-gnss-92 or EVT.GNSS_LOSS)
    Enter holdover → switch to network refs (SyncE/PTP) → enable anti-spoof cross-checks → gradual re-lock on recovery.
  6. S60-06 Holdover Entry (trigger: upstream failure)
    Publish t_holdover_x forecast → tighten SLOs & alert → warm standby GM.
  7. S60-07 PTP Flapping (trigger: C60-proto-11 fail)
    Roll back peer negotiation → lower announce rate → check L2 loops & storm control.
  8. S60-08 VM Jitter Blow-up (trigger: C60-edge-91 fail)
    Pin vCPU / isolate interrupts → enable HW timestamp passthrough → evaluate migration to bare metal.
  9. S60-09 Leap Event
    Freeze BMCA → verify step/smear plan sequentially → widen statistics and grant short-term SLO exemptions.
  10. S60-10 Audit Failure (trigger: C60-audit-02 fail)
    Block release → re-sign and recompute hash → generate and archive audit report.

VI. Contract → Interface → Manifest Mapping


VII. Release Gate & Rollback Order


VIII. Versioning & Compatibility

Contracts use semantic versioning C60.major.minor; breaking changes listed in Appendix F: Change Log with migration scripts and dual-evaluation (“gray”) windows.

IX. Cross-References


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/