source.fact.ngo a coherence.ngo project

emergence

43 files · snapshot a3da80d · download .zip · AGPL-3.0

The live-events sensor net: pipeline cores, the cloud Worker (cron, Workers AI, R2), the inactive council harness.

README

emergence — live-events sensor net for fact.ngo

News reports from registered sources (teaser depth only), machine-distilled by a fixed

neutral-framing protocol (glm-5.3-flash) into an append-only second-order heap, rolled

into fractal day-level aggregates (topics, GIS, day stats) that the website renders as

many lenses. Every record is status: unverified at birth; the fact-checking council

lane (glm-5.3 deliberation) is built but inactive. Standing cost: ~$0.02–0.07/day,

hard-capped at $1/day by the ledger guard.

Pipeline


node scripts/pipeline.js --commit   # scrape -> distill -> aggregate -> gis -> commit data repo
node scripts/council.js --claim "..." --activate   # the inactive lane, opened explicitly

Data lives in ../emergence-data (append-only repo). Docs: docs/design.md is the

system model; docs/ux-brief.md is the frontend handoff brief. Contract: AGENTS.md.

Mono-folder conventions as everywhere in fact.ngo: this repo is mechanism only; push to

remote:remotes/fact.ngo/emergence.git after every work unit.

Files

.gitignore0.0 KB AGENTS.md5.0 KB LICENSE33.7 KB README.md1.0 KB docs/design.md12.2 KB docs/ux-brief.md9.1 KB ontology/topics.yaml1.6 KB package.json0.5 KB pipeline/aggregate-core.js6.9 KB pipeline/cluster-core.js9.6 KB pipeline/distill-core.js3.3 KB pipeline/feed.js3.2 KB pipeline/gazetteer.js406.5 KB pipeline/gen-gazetteer.mjs3.7 KB pipeline/geo.js14.3 KB pipeline/prompts.js4.5 KB pipeline/util.js3.8 KB prompts/cluster.md1.4 KB prompts/council.md1.3 KB prompts/distill.md1.9 KB prompts/threads.md0.9 KB schema/aggregate.schema.json5.9 KB schema/article.schema.json0.9 KB schema/council.schema.json1.5 KB schema/essence.schema.json2.3 KB scripts/aggregate.js2.6 KB scripts/cluster.js3.1 KB scripts/config.json0.2 KB scripts/council.js5.5 KB scripts/distill.js3.3 KB scripts/geo-countries.json18.2 KB scripts/gis.js1.3 KB scripts/init-data.sh3.2 KB scripts/install-cron.sh1.3 KB scripts/lib.js7.1 KB scripts/pipeline.js2.0 KB scripts/scrape.js2.6 KB scripts/sync-from-r2.sh2.0 KB sources/sources.yaml2.0 KB worker/embeds.js3.8 KB worker/gen-embeds.mjs0.9 KB worker/index.js13.4 KB worker/wrangler.toml0.3 KB