source.fact.ngo a coherence.ngo project

xray

34 files · snapshot ae3d94c · download .zip · AGPL-3.0

The examination mechanism: ontology, interview protocol, schemas, elicitation and curation scripts.

README

xray.fact.ngo

The perspective-extraction mechanism of fact.ngo, a subproject of coherence.ngo.

fact.ngo archives what language models *think* — not their encyclopedic fact lists, which

are redundant, but their convergent perspectives: how each model interprets the past,

expects the future, and reasons across human domains, including where it lands on live

controversies. Differing perspectives between models are the signal; the archive exists so

human judgment can draw on them, and so the fleet's worldview can be studied over time.

xray is the instrument that takes the pictures: a fixed, generalist interview protocol

run cell-by-cell against a catalogue of models, producing comparable, verbatim-anchored

records in per-model datasets.

How it works

prospective, principles, controversy, blindspots, self-model). Each (domain, lens) pair

is one independent interview cell.

steelman, find cruxes, force falsifiable predictions, break boilerplate, and record

refusals and hedging as data.

confidence, controversy level, conditions, integrity flags, and a convergence field

left pending until a cross-model comparison pass sets it.

session + cost tracking), plan.js (interview plans), record.js (validated JSONL

records), cost.js (cost model), init-dataset.sh/drop-dataset.sh (disposable

per-model dataset repos on the self-hosted remote).

The interviewer is an opencode agent: the .opencode/skills/xray/ skill plus AGENTS.md

turn any opencode session into an xray operator with these scripts as its tools.

Quickstart


node scripts/models.js                                    # the interviewable catalogue
node scripts/cost.js --pilot                              # cost check first
scripts/init-dataset.sh meta-llama-3.1-8b-instruct-fp8    # dataset repo (the self-hosted remote + local)
node scripts/plan.js --model @cf/meta/llama-3.1-8b-instruct-fp8 \
  --dataset ~/Documents/fact.ngo/meta-llama-3.1-8b-instruct-fp8
# then interview from opencode: "xray llama-3.1-8b" — see AGENTS.md

Where things live

| Thing | Location |

| --- | --- |

| Mechanism (this repo) | local mono-folder ~/Documents/fact.ngo/xray, the self-hosted remote working clone ~/coherence/fact.ngo/xray, bare ~/remotes/fact.ngo/xray.git |

| Website | local mono-folder ~/Documents/fact.ngo/site, the self-hosted remote working clone ~/coherence/fact.ngo/site, bare ~/remotes/fact.ngo/site.git |

| Per-model datasets | local mono-folder ~/Documents/fact.ngo/<model-slug>, the self-hosted remote working clone ~/coherence/fact.ngo/<model-slug>, bare ~/remotes/fact.ngo/<model-slug>.git |

Datasets are disposable per-model repos; the mechanism is durable.

Cost (Cloudflare Workers AI, Sep 2026)

At standard depth (1M in / 0.4M base out per model): pilot of 5 models ≈ $4.92;

full 26-model catalogue ≈ $37.78. Frontier models (glm-5.x, kimi, deepseek-v4)

require paid billing. Details: docs/cost-estimate.md.

Stance

archiving outputs — each dataset's manifest.json carries a license note.

advice or consensus fact.

Files

.gitignore0.0 KB .opencode/skills/xray/SKILL.md2.2 KB AGENTS.md3.8 KB LICENSE33.7 KB README.md3.6 KB docs/corpus/CONVERGENCE.md4.8 KB docs/corpus/CORPUS_REPORT.md3.1 KB docs/corpus/all-records.jsonl2358.8 KB docs/corpus/clusters.json48.2 KB docs/corpus/convergence-decisions.json6.1 KB docs/corpus/verbatim-audit.json1.5 KB docs/cost-estimate.md2.3 KB docs/design.md4.7 KB docs/site-spec.md0.2 KB ontology/domains.yaml8.2 KB ontology/lenses.yaml2.0 KB package.json0.5 KB protocol/elicitation.md4.6 KB protocol/prompts/consolidate.md2.3 KB protocol/prompts/opening.md0.8 KB protocol/prompts/probe.md2.1 KB protocol/prompts/system.md1.4 KB schema/record.schema.json4.3 KB schema/session.schema.json1.6 KB scripts/apply-convergence.js2.5 KB scripts/ask.js5.5 KB scripts/converge.js3.6 KB scripts/cost.js2.7 KB scripts/drop-dataset.sh0.9 KB scripts/init-dataset.sh1.5 KB scripts/lib.js3.9 KB scripts/models.js6.5 KB scripts/plan.js4.2 KB scripts/record.js3.0 KB