AISOCin‑a‑box

Developer docs

The engineering documentation for the AISOC in-a-box platform: what the system is, how it holds up under load and attack, how to extend it, and how to run it. Two rules govern every page here:

  • Spec is normative. docs/spec/LWL-32-architecture-spec.md is the architecture contract. If a page in this tree and the spec disagree, the spec wins and the page is a bug — file it.
  • No invented status. Every number, version, and capability claim traces to a spec value, a test, or a shipped artifact. "Not started" and "needs review" are visible states, not omissions.

For the animated, full-screen version of the system map — the day in the life and the ten-stop tour — see the architecture explorer; it is a companion to this tree, not part of it.

The map

Getting Started

Page What it covers
Overview What this is, who it's for, and how to read the docs
Getting Started clone → ./up.sh → first API call → provisioning + edge sim → tailnet exposure

Architecture

Page What it covers
../architecture.md>Architecture The shape of the system: edge, tunnel, cloud services, tenancy model
../architecture-deep-dive.md>Architecture Deep Dive Design rationale for the hard choices — and where the system will bend
../llm-triage.md>LLM Triage How the LLM sits inside the detection loop — and what it's explicitly not allowed to do
../multi-tenancy.md>Multi-Tenancy How isolation is actually enforced, what each service does, and what's left to do
../console.md>Console The developer-facing console: what it is, what it renders, what it doesn't touch

API Reference

Page What it covers
API Reference Every endpoint, request shape, and response shape — plus an interactive console

Detection Authoring

Page What it covers
Detection Rules What fires an alert today vs. the spec's rule engine (WBS 1.5)
Contributing Monorepo structure, adding a connector, testing, what CI catches

Operations Runbook

Page What it covers
Operations Day-2 operations: ports, health, seeding, backups, upgrades, rollbacks

Edge Simulator

Page What it covers
Edge Simulator The scenario lab: 6 knobs, 4 presets, what it stands in for
Edge Box Simulator edge-sim: alert streams through the simulated tunnel, gate-fixture contract

Troubleshooting

Page What it covers
Troubleshooting Known traps, symptom → cause → fix tables, and how to reset a deployment

Reading these docs

  • Sidebar (left). The tree of this site, in seven groups, always 1:1 with the files on disk. Click a group name to collapse or expand it; arrow keys move through the list, Home/End jump to the ends.
  • Tabs. Where a page carries variants — API examples by language, deployment topologies — they render as tabs, and each tab has a URL fragment (#python, #ha-pair). Deep-link to the tab you want; the state survives reload.
  • On this page (right). The headings of the current page, highlighted as you scroll.
  • Search. The box in the header indexes every developer page client-side — no server round-trip. / focuses it from anywhere.

The normative source of truth is always docs/spec/LWL-32-architecture-spec.md; these pages are the on-ramp, and api/openapi.yaml is generated from it.