# XCOM.DEV — expanded LLM context (llms-full.txt) > GENERATED FILE — do not edit. Source: tools/endpoint-registry.json > Companion to https://xcom.dev/llms.txt. This file adds endpoint schemas, field semantics, > verification recipes and the data doctrine needed to quote XCOM.DEV figures without > misreading them. Last verified against the live origin: 2026-10-29 — every > endpoint in the table below was re-measured, and any status that disagreed with the > contract was removed rather than kept "for completeness". --- ## 1. What XCOM.DEV is **XCOM.DEV — An evidence-bound, agent-native AGI research estate. AUTONOMOUS ARCHITECTURAL EVOLUTION.** XCOM.DEV is a self-hosted, Netherlands-based security and intelligence platform. It runs a honeypot capture plane, an autonomous agent swarm (a registry of specialised agents plus a runtime that heartbeats them), and a recurrent-depth reasoning layer that turns captures into judgement and evidence. It publishes its own operational numbers as JSON so any consumer — human or model — can recompute rather than trust. - Operator: CyberSecurity AD (NL-99492334), Netherlands - Security contact: security@agent-aix.com · general: jedi@xcom.dev - Canonical entry point: https://xcom.dev/ (manifest at `/.well-known/agent-manifest.json`) - Layers: SENSE (capture) → CONNECT (correlation) → REASON (judgement) → ACT (evidence) - Endpoint contract: `tools/endpoint-registry.json` — one entry per path, with the expected status and the measured status. `python3 tools/llms-endpoints.py --origin` re-measures all of them. --- ## 2. Data doctrine — read this before quoting a number 1. **`null` is not `0`.** Unmeasured fields are serialised as `null` and carry a note such as `measurement_state.asn_mix: "UNKNOWN"`. Never render `null` as zero, and never aggregate a `null` into an average. 2. **Self and synthetic traffic are labelled, not removed.** The doctrine is `WELCOME_ATTACKERS · capture not block · self/synthetic labelled`. Captures are tagged `real` / `self` / `synthetic` / `synthetic-loop` in `data_class`. Self-generated traffic is *research output* of the platform's own adversarial loop — describing the corpus as "contaminated" by it is a misreading. 3. **A published figure must link to its source.** Every metric response carries `verify` and `provenance` blocks naming the endpoint and the underlying tables. 4. **Provenance over prettiness.** When `provenance.native.state` is not `VERIFIED`, the numbers are degraded — say so instead of quoting them as final. 5. **Archive is frozen, live is live.** The D1 archive (`honeypot_fleet.d1_honeypot_logs`) stopped ingesting on 2026-10-18 and is reported as `ARCHIVE_FROZEN`. Live capture flows through ClickHouse `honeypot.hp_events` and is served by `/api/metrics` and `/honeypot-corpus.json`. Mixing the two without saying which is which is an error. --- ## 3. Endpoint catalogue — re-measured 2026-10-29 | Path | Status | Auth | Body | Purpose | |---|---|---|---|---| | `/api/metrics` | 200 | none | json | Live, verifiable honeypot metrics + Poisson arrival rate (lambda) | | `/api/swarm` | 200 | none | json | Agent swarm topology: registry agents joined with live liveness, layers, seed provenance | | `/api/v1/swarm/status` | 200 | none | json | Runtime view of the swarm: status, uptime, bus, scheduler, memory layer | | `/api/v1/agents` | 200 | none | json | Full public agent registry | | `/api/agents/liveness` | 200 | none | json | Heartbeat table of registered agents | | `/api/v1/pipelines/runs` | 200 | none | json | Recent pipeline executions with per-step state | | `/api/honeypot/activity` | 200 | none | json | Honeypot session and MITRE-technique activity | | `/estate-kpis.json` | 200 | none | json | Allow-listed projection of the private estate overview (mcp_servers, hp_sessions, domains) | | `/agent-matrix-data.json` | 200 | none | json | Per-agent tier and row data for the agent matrix page | | `/honeypot-corpus.json` | 200 | none | json | Corpus authority, doctrine, privacy note, hit counts, data classes and MITRE mix | | `/.well-known/agent-manifest.json` | 200 | none | json | Machine manifest: capabilities, layer map, verification policy | | `/sitemap.xml` | 200 | none | xml | Canonical page index | | `/robots.txt` | 200 | none | plain | Crawl policy with LLM-context pointers and explicit public-endpoint allows | | `/llms.txt` | 200 | none | plain | LLM-oriented site summary (this document) | | `/llms-full.txt` | 200 | none | plain | Expanded LLM context: endpoint schemas, field semantics, verification recipes, glossary | | `/ai-summary.html` | 200 | none | html | Condensed, structured summary of the platform for model ingestion | | `/llms.html` | 200 | none | html | Human-browsable mirror of /llms.txt, GENERATED from it | | `/api/visitors` | 401 | bearer | json | Cookieless visitor fingerprint table. Auth boundary — not public data | | `/api/v1/events` | 200 | none | json | Agent event log (JSON, queryable) and the Server-Sent Events stream at /api/v1/events/stream | | `/api/v1/events/stream` | 200 | none | event-stream | Server-Sent Events stream: replays the log, then pushes new agent events as they are recorded | | `/api/x/intake` | 401 | bearer | json | Sensor capture intake. Auth boundary — not public data | | `/dashboard/api/metrics` | 401 | bearer | json | Dashboard aggregate API. Auth boundary — not public data | | `/api/v1/agents/me` | 404 | bearer | json | Agent self-lookup. NOT deployed on the public origin (404) — source-only route | | `/api/v1/agents/register` | 404 | bearer | json | Agent registration. NOT deployed on the public origin (404) — source-only route | | `/api/v1/actions` | 404 | bearer | json | Agent action log. NOT deployed on the public origin (404) — source-only route | | `/api/v1/claims/00000000` | 404 | bearer | json | Claim lookup by id. NOT deployed on the public origin (404) — source-only route | | `/datasets.html` | 200 | none | html | Human + machine catalog of the estate's public machine-verifiable datasets (honeypot telemetry, agent swarm) with citation formats | | `/ai.html` | 200 | none | html | Complete machine-readable XCOM.DEV AGI context for AI model ingestion: identity line, canonical citation, endpoints, datasets, verification chain. Speakable + WebPage schema | `Auth` is `none` for every public path and `bearer` at the auth boundary (a `401` there is the expected, contracted answer — not an outage). ### Why a non-200 is the correct answer - **`/api/visitors` → 401** — Bearer-enforced by the telemetry runtime. MEASURED 2026-10-29: no token and a wrong token both give 401, so the boundary is real and not a missing route. - **`/api/v1/events/stream` → 200** — Bounded GET, not HEAD: the endpoint never ends, so the probe reads up to 5 s and accepts curl's timeout exit as the success case. Evidence is 200 + bytes actually streamed, which is stronger than a status line. HEAD is unreliable for a streaming body depending on the hop in front of the origin, and the probe must not depend on any intermediary. - **`/api/x/intake` → 401** — Bearer-enforced capture intake. 401 without a key is the contracted answer. - **`/dashboard/api/metrics` → 401** — Bearer-enforced dashboard aggregate. 401 without a key is the contracted answer. - **`/api/v1/agents/me` → 404** — The deployed agents-api build does not implement this route: the public origin answers 404, not 401. It exists in the platform source only. - **`/api/v1/agents/register` → 404** — Same as /api/v1/agents/me — source-only route, 404 on the public origin. - **`/api/v1/actions` → 404** — Source-only route, 404 on the public origin (deployed build has no handler). - **`/api/v1/claims/00000000` → 404** — Source-only route, 404 on the public origin (deployed build has no handler). ### A 404 can mean "you sent a credential" A request carrying ANY real management secret (Authorization, X-API-Key, X-Agent-Token — any header, any casing) is answered 404 'Not Found' with content-type text/plain, EVEN on public paths such as /api/metrics. Cause: telemetry-runtime evidence-capture.js: `if ((operator || containsManagementSecret) && !controlPlane) response = new Response('Not Found', {status:404})`. The capture plane refuses to echo a response to a request that carries one of its own secrets. Consequence: A crawler or client that sends a bearer token 'just in case' sees 404 on otherwise-public endpoints. 404 must therefore never be read as 'route missing' without checking whether a credential was sent. Proof: bogus 64-hex token -> 200; real token -> 404; real token with one character changed -> 200. Only the exact value triggers it. **Public endpoints need no auth; adding one converts a 200 into a 404.** --- ## 4. `/api/metrics` — field reference Top level: `ok`, `generated_at` (ISO-8601 UTC), `source`, `sensor`, `metrics`, `model`, `truth`, `verify`, `provenance`. ### `metrics` - `honeypot_events_total` — cumulative captures in the live plane - `honeypot_events_24h`, `honeypot_events_last_hour` — trailing windows - `honeypot_events_truth_archive`, `honeypot_events_truth_live`, `honeypot_events_truth_max_ts` — truth-plane cross-check; `null` when the truth plane is not wired for that window - `active_agents`, `agents_registered`, `agents_registry_active`, `agents_runtime_live` — agent counts; frequently `null` on this endpoint because agent counts are owned by `/api/v1/agents` and `/api/agents/liveness`. Do not report `0` for these. - `threads`, `detections` — `null` when the corresponding store is not in the public path ### `model` - `lambda_per_second` — Poisson arrival rate over `window_seconds` (default 86400) - `lambda_raw_per_second` — unadjusted rate - `lambda_external_per_second` — rate restricted to external attackers (`null` until attribution is measured) - `as_concentration_hhi` — Herfindahl index over the 24 h Autonomous-System mix (1.0 = single source); `null` while the mix is `UNKNOWN` - `events_24h_by_type`, `events_prev_day_by_type`, `events_rolling_by_type` — `{type, count}` arrays - `measurement_state` — `{arrival_rate, asn_mix, external_attribution}`, each either `MEASURED_*`/`VERIFIED` or `UNKNOWN`. **Quote these states next to any λ or AS claim.** ### `verify` / `provenance` - `verify.endpoint` — the endpoint that produced the row; `verify.tables` — underlying tables - `provenance.runtime` — runtime build id - `provenance.native` — `{state, source, semantics, last_success, count, age_ms}`; `age_ms` is the freshness of the last successful native read. Check `last_success` before publishing. --- ## 5. `/api/swarm` — field reference Top level keys: `ok`, `generated_at`, `seed_generated_at`, `seed_provenance`, `source`, `registry`, `live`, `layers`, `metrics_endpoint`, `verify`, `provenance`. - `registry` — agents as declared in the estate registry (name, description, tier/lane metadata) - `live` — liveness joined per agent from the agent table (heartbeat-derived) - `layers` — the four layer objects (`sense`, `connect`, `reason`, `act`) with page URLs - `seed_provenance` — generator name, version, and the registry SHA-256 prefix plus a `check` command; treat a seed older than the registry as drift, not as new data - `metrics_endpoint` — always `/api/metrics`; the swarm and the metric plane share one clock `/api/v1/swarm/status` is the runtime view (not the topology view): `status`, `uptime_ms`, `agents`, `tasks`, `bus`, `idempotency`, `executor`, `scheduler`, `swarm_scheduler`, `agent_kernel`, `action_envelope`, `memory_layer`. Use it to answer "is the swarm running?"; use `/api/swarm` to answer "who is in the swarm?". --- ## 6. `/honeypot-corpus.json` — corpus reference - `source`: `native-clickhouse/omen` · `authority`: live `honeypot.hp_events` + frozen archive - `doctrine`: `WELCOME_ATTACKERS · capture not block · self/synthetic labelled` - `privacy`: top source IPs are published on explicit controller directive (2026-10-19); they are honeypot attacker addresses only — no credential values, payloads or session tokens are exposed - `hits`: `total`, `archive`, `live_new`, `overlap_excluded`, `formula`, `sources[]` — the de-duplication formula is published so the total is reproducible - `live`: `events_total`, `first_capture`, `last_capture`, `age_hours`, `events_24h`, `events_1h`, `data_class{real,self,synthetic,synthetic-loop}`, `external_estimate`, `mitre[{technique,hits}]` - `archive`: `state: "ARCHIVE_FROZEN"` with its own window and unique-IP count - `profile`: `top_ips[]` with `ip`, `hits`, `country`, `asn`, `class`, `provenance` (e.g. `self:home-isp-v4`). An IP never by itself proves loop membership — the class/provenance does. When quoting MITRE coverage, quote the array as delivered (`T1595` scan/active-recon, `T1105` ingress tool transfer, `T1552` unsecured credentials, `T1190` public-facing app exploit, `T1110` brute force) and state the window (`live` vs `archive`) it came from. --- ## 7. Verification recipes ```bash # 1. Freshness: is the metric plane alive? curl -s https://xcom.dev/api/metrics | jq '{generated_at, total:.metrics.honeypot_events_total, age_ms:.provenance.native.age_ms, state:.provenance.native.state, arrival:.model.measurement_state.arrival_rate}' # 2. Reproduce λ yourself from the 24h window (Poisson point estimate) curl -s https://xcom.dev/api/metrics | jq '.metrics.honeypot_events_24h / .model.window_seconds' # 3. Who is in the swarm, and who is alive? curl -s https://xcom.dev/api/swarm | jq '{registry:(.registry|length), live:(.live|length), seed:.seed_generated_at}' # 4. Corpus classes — never a table-wide ratio curl -s https://xcom.dev/honeypot-corpus.json | jq '.live.data_class' # 5. Integrity of the dossier curl -s https://xcom.dev/XCOM-Master-Dossier-v2.0.sha256 # 6. Is every advertised endpoint still at its contracted status? reg=~/.local/bin/xcom-verify-endpoints # tools/llms-endpoints.py --origin $reg || python3 tools/llms-endpoints.py --origin ``` Reporting rules that follow from these: state the endpoint, state `generated_at`, state the `measurement_state` verdict, and never convert `null` into a number. --- ## 8. Glossary - **SENSE / CONNECT / REASON / ACT** — the four platform layers; each has a page under its name. - **Capture plane** — ClickHouse `honeypot.hp_events`, fed by the honeypot sensors. - **Truth plane** — the cross-check store used to validate capture counts (`metrics.*_truth_*`). - **`data_class`** — provenance label on every capture: `real`, `self` (our own egress), `synthetic` (loop-generated), `synthetic-loop` (in-loop replays). - **INFINITY LOOP** — the platform's closed adversarial loop: captured attacks are reverse engineered, replayed against our own honeypots, and the resulting synthetic traffic is captured and labelled. It is a product of the platform, not noise. - **λ (lambda)** — Poisson arrival rate of captures per second over a declared window. - **HHI** — Herfindahl–Hirschman index over AS distribution; measures source concentration. - **Registry vs runtime** — declared agents (registry) vs heartbeat-observed agents (runtime). - **Estate KPI projection** — `estate-kpis.json`, an allow-listed projection of the private overview; `null` means "not measured", never "zero". - **Endpoint contract** — `tools/endpoint-registry.json`: the path, its expected status and the measured status. An advertised path that is not in the contract fails the publish gate. --- ## 9. Subdomains - `news.xcom.dev` — RSS aggregation - `agents.xcom.dev` — agent control plane (also answers `xcom.dev` API paths) - `search.xcom.dev` — SearXNG meta-search - `forum.xcom.dev` — Discourse community - `ai.xcom.dev` — OpenWebUI chat --- ## 10. Crawl and citation - 1 request per second per IP; identify your agent in `User-Agent` - Respect `robots.txt`; do not bypass the API-key boundary - Prefer JSON endpoints over HTML scraping; the JSON is authoritative - Cite as: "XCOM.DEV — An evidence-bound, agent-native AGI research estate. AUTONOMOUS ARCHITECTURAL EVOLUTION, https://xcom.dev" --- ## 11. Document provenance - `llms.txt` and `llms-full.txt` are GENERATED from `tools/endpoint-registry.json` (registry v1) by `tools/llms-generate.py`; `llms.html` is generated from `llms.txt` by `tools/llms-html.py`. Editing any of the three by hand is reverted on the next publish and fails `--check`. - Supersedes llms.txt v1.0 (2026-04-27), which listed a Server-Sent Events route that answered 502 and four `/api/v1/*` paths the deployed build answers with 404, all without any status verification, and omitted the corpus and KPI datasets. - Verified 2026-10-29: `python3 tools/llms-endpoints.py --origin` re-measured every declared status.