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
Quick Start
Core Functions
now()get current phase contextallow(ctx, [a,b])returns true/falseenforce(ctx, [a,b])throws error if outside windowInstallation
npm install @timeverse/agent-sdkWhat 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
| Method | Endpoint | Role | Tier |
|---|---|---|---|
GET | /api/v1/context | Full protocol state object | Public |
GET | /api/v1/twatch/now | UTC/T2 Sync for AI & T-Watch | Public |
POST | /api/v1/twatch/diff | Calculate duration between two stamps | Developer |
GET | /api/v1/core/state | High performance sync node | Public |
GET | /api/v1/challenge | Server-issued freshness anchor | Developer |
POST | /api/v1/allow | Window gating check (mockable) | Public |
GET | /api/v1/ai/tpe-vector | AI TPE Fourier embedding | Public |
GET | /api/v1/quantum/decision | HS-Bloch quality gate evaluator | Managed |
POST | /api/v1/quantum/schedule | Phase-aware task scheduling | Quantum |
POST | /api/v1/quantum/verify | Verify TSAE quantum proof | Quantum |
GET | /api/v1/quantum/carbon | Carbon-aware HS recommendation | Quantum |
POST | /api/v1/security/tsae | Issue managed audit receipt | Managed |
GET | /api/v1/clockchain/status | Ledger 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 injectionHardened 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.