v4.6.2 Hardened Kernel

Control when your code is allowed to run.

Timeverse is a temporal permission layer for distributed systems.

No time = no execution.

Your Code
Timeverse Check
ALLOWDENY
Execution
Live Playground

Quick Start

Core Functions

now()get current phase context
allow(ctx, [a,b])returns true/false
enforce(ctx, [a,b])throws error if outside window

Installation

npm install @timeverse/agent-sdk

What is a Time Window?

A window defines when your code is allowed to run.

Full Cycle0–360°

// Example:

[200–220] → execution limited to this phase

Outside this window → execution is BLOCKED

Quantum Integration

QPwO uses Timeverse phase context to decide WHEN to execute quantum circuits.

Quantum Tier

Quantum Workload Orchestration

import { now, allow } from "@timeverse/agent-sdk"
import { runQAOA } from "@timeverse/qpwo"

const ctx = await now()

// Only run quantum circuits in optimal phase
if (!allow(ctx, [200, 280])) {
  return { verdict: "DELAY", reason: "PHASE_SUBOPTIMAL" }
}

const result = await runQAOA({
  nTasks: 3,
  nHS: 12,
  backend: "fujitsu_a64fx_v4",
  zne: true,
  carbonAware: true
})

// Anchor result to Clockchain
const tsae = await anchor(result, ctx)

Programmable Time (TVL)

TVL (Timeverse Language) is a declarative DSL for defining temporal missions and agent behaviors. Compile time-aware logic directement into your distributed stack.

  • Mission-oriented declarative syntax
  • Native phase-window & HS-Bloch gating
  • Deterministic JS compilation
  • BFT Consensus anchoring directives

mission_sync.tvl

@timeverse v4.6.2
@anchor SWT12

mission protocol_sync {
  require carbon < 260
  require phase [80, 100] // Zenith
  
  on ALLOW {
    execute qaoa_optimizer
    anchor TSAE -> clockchain
  }
}

Comprehensive API Reference

MethodEndpointRoleTier
GET
/api/v1/contextFull protocol state object
Public
GET
/api/v1/twatch/nowUTC/T2 Sync for AI & T-Watch
Public
POST
/api/v1/twatch/diffCalculate duration between two stamps
Developer
GET
/api/v1/core/stateHigh performance sync node
Public
GET
/api/v1/challengeServer-issued freshness anchor
Developer
POST
/api/v1/allowWindow gating check (mockable)
Public
GET
/api/v1/ai/tpe-vectorAI TPE Fourier embedding
Public
GET
/api/v1/quantum/decisionHS-Bloch quality gate evaluator
Managed
POST
/api/v1/quantum/schedulePhase-aware task scheduling
Quantum
POST
/api/v1/quantum/verifyVerify TSAE quantum proof
Quantum
GET
/api/v1/quantum/carbonCarbon-aware HS recommendation
Quantum
POST
/api/v1/security/tsaeIssue managed audit receipt
Managed
GET
/api/v1/clockchain/statusLedger health and BFT state
Enterprise

Request Payloads

Gating & Security

POST /api/v1/allow

{
  "window": [200, 220] // [start_deg, end_deg]
}

POST /api/v1/security/tsae

{
  "scope": "audit.compute.v1",
  "day_index": 1281,
  "phi_action_ticks": 59344,
  "swt_zone": 12,
  "tile_id": 600,
  "action_hash_hex": "<sha256_of_payload>"
}

T-Watch Sync

POST /api/v1/twatch/diff

{
  "start": { "day_index": 1281, "phi_ticks": 10000 },
  "end": { "day_index": 1281, "phi_ticks": 17200 }
}

GET /api/v1/twatch/now

// Returns full temporal context for prompt injection

Hardened Infrastructure

ZTT Signer

Temporal Zero Trust. Ephemeral signatures valid only for precise, cycle-anchored windows.

TSAE Evidence

Signed audit receipts. Immutable proof of action anchored to the per-tile Clockchain ledger.

SWT Tile Lock

Spatial context without GPS. Locate agents in the global grid via deterministic 12-zone mapping.

Start Building

Ship time-aware code in minutes.