A strict, lossless bridge between discrete alphabets and continuous phase space.
Status: reference implementation
PhaseBridge (PIF) defines a minimal, verifiable data representation that maps discrete alphabets (uintM) to a continuous phase domain θ ∈ [0, 2π) and back — losslessly under the declared alphabet. PIF packages a small JSON schema, optional MessagePack serialization, integrity checks (SHA-256), and a single diagnostic coherence metric κ that is meaningful across time series and images.

meta.note = "no_processing".meta.hash_raw (SHA-256).Declare alphabet — define schema.alphabet.M.
Encode — map discrete symbol n ∈ {0..M−1} to θ = 2π·n/M (stored as float64).
Package — produce a PIF record (schema, θ, optional amplitude, meta, optional hash).
Validate — pb-validate checks format, hash and κ diagnostics.
Decode — pb-decode reconstructs discrete symbols exactly (if no-processing mode used).
Repository: https://github.com/synqratech/phasebridge — reference implementation, CLI, tests.
Publication: preprint archived on Zenodo: https://zenodo.org/records/17257115.
Current state: Working reference code, conformance & property tests, example scripts. Ready for exploration and integration; means-of-contribution available via issues/PRs.
You need strict, reversible representation for archival or verification.
You require run-time integrity checks at integration boundaries.
You want a single, modality-agnostic diagnostic (κ) for monitoring structural coherence.
Research prototypes, cognitive pipelines, and experimental multimodal stacks where invertibility matters.
Round-trip guarantees assume IEEE-754 float64 and declared alphabet constraints (M ≤ 2³²).
PhaseBridge is not a compression codec for storage savings — it is a representational substrate focused on reversibility and diagnostics.
Do not use for already lossy or corrupted pipelines unless data are explicitly marked as processed (meta.note).
S1PhaseCodec — core n↔θ codec for lossless mapping.
PIF dataclass & JSON Schema — canonical record format (v1).
CLI tools: pb-encode, pb-decode, pb-validate, pb-kappa.
Conformance suite — property-based tests and example round-trip cases.
Examples — image/time series round trips and kappa monitoring.
GitHub: https://github.com/synqratech/phasebridge — issues, PRs, test contributions welcome.
Preprint: https://zenodo.org/records/17257115 — formal description and experiments.
Contact / coordination: open issues on GitHub or email info@synqra.tech for integration requests.
Check repository root for license (MIT). We recommend tagging releases and archiving on Zenodo for DOI/long-term citation (Zenodo already hosts the preprint).
We are opening pilot projects in finance, telecom, industry, healthcare — and beyond. NSI delivers real-time semantic alerts, explainable pattern libraries, and adaptive system maps.