Research

Helix Runbook Khronos Stack (gpt-oss 120B + Helix llama-3.1 8b)

Helix Runbook: Khronos Stack (gpt-oss:120B + Helix llama-3.1:8b)

DRAFT

Overview

Khronos refers to running the gpt-oss:120B model alongside Helix llama-3.1:8b.
This runbook documents the current architecture, routing policies, proof emission, and operational parameters.
Status: Performance acceptable on current CPU-RAM configuration (EPYC 4344P, 128 GB RAM).

Roles

Request Flow

Ingress → Consent Gate → Proofs emitted (consent..json*, hashed to /proofs + Qdrant).

Router (Helix-8B) classifies intent & risk using QSR.

Routing:

Dissonance check (Δ): if Δ > τ, escalate to Khronos or human.

Emit seal block with artifacts + hashes.

Routing Policy (YAML Extract)


models:
  drafter:  { id: \"helix/llama-3.1:8b-q5\", ctx: 4096, tp: 1 }
  judge:    { id: \"gpt-oss:120b-q4\",       ctx: 4096, tp: 1 }

thresholds:
  risk_high: 0.65
  dissonance_tau: 0.30

routes:

  - name: high_stakes
    when: any(tag in [\"finance\",\"legal\",\"governance\"]) or mri.risk >= risk_high
    plan:

      - drafter_generate: { max_new_tokens: 128, temp: 0.6 }
      - judge_verify: { accept_prob_min: 0.65, refusal_if_uncertain: true }
      - judge_finish: { max_new_tokens: 512, temp: 0.2 }
  - name: default
    when: else
    plan:

      - drafter_answer: { max_new_tokens: 384, temp: 0.7 }
      - judge_spotcheck:
          n_spots: 2
          criteria: [\"factuality\",\"safety\",\"numerics\"]
          on_fail: escalate_to: high_stakes

Proof Emission

Artifacts emitted per request:

Proofs stored at:

Endpoints

Config snippet:


{
  \"models\": {
    \"gpt-oss:120b-q4\": { \"type\":\"llama.cpp\", \"base\":\"http://127.0.0.1:8080\" },
    \"helix/llama-3.1:8b-q5\": { \"type\":\"ollama\", \"base\":\"http://127.0.0.1:8081\" }
  }
}

Example Proof JSON


{
  \"req_id\": \"abc123\",
  \"user\": \"stephen\",
  \"ts\": \"2025-10-10T14:03Z\",
  \"consent\": \"sha256:...\",
  \"route\": { \"picked\": \"high_stakes\", \"risk\": 0.72, \"delta\": 0.33 },
  \"outputs\": {
    \"drafter\": \"sha256:...\",
    \"judge\": \"sha256:...\",
    \"verdict\": \"Approved, safe\"
  }
}

Operational Notes

Quick Commands

Consent:


curl -s localhost:9010/consent -d '{\"user\":\"stephen\",\"intent\":\"analysis:finance\"}'

Route with 8B:


curl -s localhost:9010/route -d '{\"model\":\"helix/llama-3.1:8b-q5\",\"prompt\":\"...\"}'

Verify with 120B:


curl -s localhost:9010/verify -d '{\"model\":\"gpt-oss:120b-q4\",\"draft\":\"...\",\"criteria\":[\"factuality\",\"risk\"]}'

Failure Modes & Escalations