Skip to main content

genesis-tip — Temporal Integrity Probe (P50)

GenesisAeon Status CREPGate Python 3.11+ License: MIT

Measures whether LLM agents remain internally consistent when temporal context is manipulated.

Standalone extraction of genesis-mssc's (P49) mssc.tip module — TIP is the only external instrument that can falsify Ρ_sem from scope-resilience (P41).


What TIP does

TIP perturbs the temporal structure of an agent's context in three ways (all deterministic given a seed):

  • shuffle: chronological order randomised, timestamps left intact
  • gap: a contiguous block of history silently removed, no gap announced
  • contradict: specific facts replaced with contradictory variants

It then measures whether the agent's outputs remain structurally coherent despite the perturbation — self-reference inconsistencies, contradiction rate, recovery rate, and orientation latency. No claims about internal states — observable text behaviour only. See epistemic_status.md and docs/epistemic_boundaries.md for the full methodology and governance policy.

Installation

Not yet on PyPI — install from source:

git clone https://github.com/GenesisAeon/genesis-tip.git
cd genesis-tip
pip install -e ".[dev]"

Quick Start

from genesis_tip import TemporalIntegrityProbe

tip = TemporalIntegrityProbe(perturbation_mode="shuffle")
result = tip.run_cycle()
print(f"Consistency score: {result['consistency_score']:.3f}")
print(f"Gate status: {result['gate_status']}")

consistency_score is a derived composite for Diamond Interface compatibility, not itself a pre-registered metric — the pre-registered test is the Spearman Ρ_sem correlation in falsification.py, run separately once real scope-resilience Ρ_sem values exist alongside real TIP scores (see run_rho_sem_correlation_test).

To evaluate a real agent, pass a real agent_fn — by default, TemporalIntegrityProbe uses a deterministic dummy stand-in so run_cycle() is exercisable offline/in CI without network access:

def my_agent(messages: list[dict[str, str]]) -> str:
    # wrap a real LLM call here
    ...

tip = TemporalIntegrityProbe(agent_fn=my_agent)

Pre-registered hypothesis

See epistemic_status.md for the full statement. Summary:

Constant Value Meaning
RHO_SEM_FALSIFICATION_THRESHOLD 0.3 Minimum Spearman ρ
RHO_SEM_MIN_SAMPLE_SIZE 30 Minimum path-perturbation pairs

Falsified if: Spearman ρ < 0.3 at n ≥ 30 pairs. Supported if: Spearman ρ ≥ 0.3 at n ≥ 30 pairs. Both outcomes are valid scientific results. This package does not adjust thresholds to make a hypothesis pass. Pre-registration anchor: commit 1cf1730 (multi-scale-somatic-coherence, 2026-07-15).

Architecture

genesis_tip/
├── harness/session_runner.py       # dense/sparse/fragmented session builder
├── manipulations/                  # temporal_shuffle, gap_injection, contradiction_injection
├── metrics/consistency_scorer.py   # self-reference/contradiction/recovery/orientation-latency scoring
├── report/tip_report_template.py   # Markdown comparison report
├── crep_gate.py                    # P50's own gate (blocked/pending_review/passed)
├── falsification.py                # the pre-registered Spearman ρ_sem test
├── system.py                       # TemporalIntegrityProbe — Diamond Interface
└── docs/epistemic_boundaries.md    # governance: what TIP does/doesn't claim

Role in the GenesisAeon Ecosystem

  • P50 in the GenesisAeon ecosystem registry — LLM-evaluation domain.
  • Sibling to genesis-mssc (P49), which shares TIP's underlying formalism (coherence under perturbation) but measures an entirely different system (biological EEG/ECG, not LLM text output) — results are not comparable between the two.
  • Implements the standard 5-method Diamond Interface plus the optional 6th method get_resilience_state() — currently returning {"rho": None, "implemented": False} until CREPGateStatus reaches pending_review (see crep_gate.py).
  • Diamond Interface milestone: once TIP produces Γ_somatic, it becomes a full Diamond Interface candidate.

License

MIT — see LICENSE.

Citation

See CITATION.cff / .zenodo.json.

Metadata

Release files for genesis-tip 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genesis-tip 0.2.0
File Size Uploaded Provenance
genesis_tip-0.2.0.tar.gz 138.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for genesis-tip 0.2.0
File Interpreter ABI Platform
genesis_tip-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 166.7 kB

Release files / genesis_tip-0.2.0.tar.gz

Download URL genesis_tip-0.2.0.tar.gz
Size 138.2 kB
Tags Source
SHA-256 checksum
How to use checksums
923d8671beb0a196ce09a2d76f826d72aff827f280bd08bed97f3be190b9f658
BLAKE2b-256 checksum
How to use checksums
218a424f8db135549a38df2ef570e9a0c88278848afc541778ca65e630a16643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / genesis_tip-0.2.0-py3-none-any.whl

Download URL genesis_tip-0.2.0-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
970079a89d3e9a4e625f2cc0da4b24dc5aa079c4e1aba4c4a4091e28b3085819
BLAKE2b-256 checksum
How to use checksums
41c08e778421777d52f17bef8f3d0eb4bfb7fd61082c8d4e43a30aaa503e4d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for genesis-tip 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page