Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

chore(release): v8.0.0 — close the loop (#673)

Beenu Arorad09b5d501f09
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 888d947a1..9cc2e8ca2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,8 +7,169 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [8.0.0] — 2026-09-22
+
+**Close the loop.** v8.0 was reserved for the package-publish milestone. That
+turned out to be the wrong thing to name a major release after, because a
+competitive read of the AI-SOC market says buyers are not choosing on
+distribution — they are choosing on whether the platform can prove it did
+what it said. So v8.0 is the release that connects capabilities the codebase
+already contained but never wired together, and the npm/PyPI publish moves to
+v8.1 where it belongs.
+
+The pattern across almost every item below is the same, and it is worth
+stating plainly: the mechanism existed, was tested in isolation, and had no
+caller on the path that needed it. A passing unit test on an uncalled function
+is indistinguishable from a working feature until someone traces the call
+graph.
+
+### Added
+
+- **Response actions are verified against the vendor.** Outcome verification is
+ the line the market draws between a tool that recommends and one that
+ responds. `AutonomyDecision.requires_verification` was computed for every
+ auto-executed action at MEDIUM blast radius and above, and the dispatcher
+ dropped it; `PostActionVerifier` had no caller outside its own test. The
+ dispatcher now re-queries after a real, successful execution and records the
+ outcome. A vendor that accepts the call while the effect is absent downgrades
+ the action to FAILED instead of leaving it reported as succeeded — that gap
+ is how a SOC comes to believe a host is contained when it is not.
+ `unverified` stays `unverified` and is never upgraded to a confirmation.
+- **The isolation probe reads real containment state.** It previously returned
+ `bool(device_id)`, true for every host in the fleet, so it would certify an
+ uncontained host as verified. Adds `get_containment_status` to the
+ CrowdStrike client; `containment_pending` deliberately does not count. A new
+ probe covers `block_ip` by re-reading the enforcing security-group rules.
+- **Autonomy is governed by the tenant's own policy.** The console has written
+ a per-tenant L0–L4 tier, per-action overrides and a HIGH-blast whitelist to
+ Postgres since v7.6; the dispatcher read none of it and resolved autonomy
+ from one deployment-wide `AISOC_MATURITY_TIER`. Every tenant in a
+ multi-tenant install shared a posture, and a tenant who selected L2 in the UI
+ got whatever the operator had exported. `maturity.evaluate_gate` — the
+ function that does understand per-tenant policy — had no callers anywhere.
+ The `whitelisted` flag is now passed to `decide()`; it had been left at its
+ default of False, which made the L4 break-glass path unreachable.
+- **Analysts can hunt the events AiSOC itself ingested.** Every connector's
+ events are archived to ClickHouse `aisoc.raw_events`, and nothing could query
+ them: `/nl-query/execute` only ever executed against Elasticsearch, so a
+ tenant whose data lives in the platform's own lake got "ES_URL not
+ configured" and could not query anything they had ingested. The translator's
+ structured IR now compiles to parameterised ClickHouse SQL, with the tenant
+ predicate generated as part of the WHERE clause rather than rewritten in
+ afterwards, and no analyst text reaching the SQL string.
+- **Auto-escalated alerts get the context manual ones get.** The manual
+ investigator has built a `ContextBundle` — graph neighbourhood, blast radius,
+ historical verdicts for the same entities, UEBA baselines — since v7.5. The
+ escalation path never did, so the high-volume automatic route investigated a
+ true positive knowing nothing about how identical alerts had resolved before.
+
### Fixed
+- **Repeat-alert suppression could never fire.** v7.7 shipped the compounding
+ loop as "a repeat alert matching a trusted benign prior is auto-resolved
+ without re-triage", measured as `repeat_alerts_suppressed` on
+ `/metrics/funnel`. The signature was `evidence_fingerprint(tenant,
+ raw_alert)`, and `raw_alert` carries the alert row id, the source event ids
+ and the raw event payload — all unique per alert. Every alert hashed to a
+ unique fingerprint, so each outcome prior was written under a key nothing
+ would look up again and the metric could only ever report zero. Two features
+ were dead, not one: every repeat also paid for a fresh LLM triage the dedup
+ cache should have served for nothing. `test_outcome_memory.py` missed it
+ because it calls `record_outcome` and `lookup_prior` with the same literal
+ signature string, which holds for any key scheme including a broken one.
+- **Three services were fully unauthenticated.** `purple-team`, `honeytokens`
+ and `ueba` each mounted their entire API with no authentication, so anyone
+ who could reach the port could launch attack simulations, mint or read
+ honeytokens, and read per-user behavioural risk scores. Auth is applied at
+ the router level so a route added later is protected by default.
+- **The live-action router had no authentication.** `/api/v1/live-actions`
+ reaches `dispatch()`, which isolates hosts, disables accounts and blocks IPs
+ against live vendors, while the legacy actions router mounted beside it had
+ required a service token on every mutating route since it was written.
+- **Two cross-tenant leaks in the entity graph.** `get_entity_neighbors`
+ accepted a `tenant_id` and never used it — no predicate in the Cypher, and
+ the parameter was not even passed to the driver — so naming any node id
+ returned another tenant's host, user or IOC plus every neighbour with full
+ properties. `get_blast_radius` filtered only the traversal's start node and
+ accepted `tenant_id IS NULL`, so an APOC expansion could leave the tenant's
+ estate through a shared entity and enumerate another tenant's hosts and
+ users. Every node of every path is now scoped, through one shared predicate.
+- **Business-context rules never reached triage.** The API stored them in a
+ module-level dict inside whichever process served the write, and the
+ auto-triage worker loaded rules only from a YAML file whose path nothing
+ sets. A tenant could author "this host is a domain controller, escalate
+ anything touching it", see it saved, preview it against their last 50
+ alerts, and have it apply to no triage decision ever. Migration 050 adds
+ `aisoc_business_context_rule_sets` and the worker resolves per tenant from it.
+- **Verdicts could auto-close on reasoning the evidence contradicts.**
+ `score_groundedness` measures what fraction of the indicators an output
+ asserts actually appear in the evidence, and had no caller in the service. A
+ confident `false_positive` citing an IP that appeared nowhere in the alert
+ was persisted, written back as a prior that would suppress future alerts, and
+ closed. Auto-closing verdicts below the floor are now demoted to
+ `needs_review` with the unsupported indicators named in the findings.
+- **The tool-calling loop bypassed the LLM input contract.** `run_with_tools`
+ feeds tool output straight back into the prompt, and tool output is
+ untrusted: a SIEM row or threat-intel record can carry text that reads as an
+ instruction. Calling `bound.ainvoke` directly skipped injection validation on
+ the highest-risk content in the system and lost cost telemetry for every turn.
+- **QRadar could never be federated to.** `to_aql` is written, exported and
+ tested, and the QRadar connector implements `federated_search` with it. The
+ type was missing from the API's `FEDERATED_CAPABLE_TYPES`, so a tenant with
+ an enabled QRadar connector was silently excluded from every federated search.
+- **The API-keys panel issued keys that authenticated nothing.** It generated
+ an `aisoc_live_…` secret in the browser with `crypto.getRandomValues`, told
+ the user to save it because it would not be shown again, and never sent it
+ anywhere. Someone would paste it into a CI pipeline or a forwarder and get
+ silent 401s while believing they held a working credential. Revoking filtered
+ a row out of local state. The real CRUD backend existed all along.
+- **Fabricated security data rendered as tenant state across 24 components.**
+ Alerts, cases, connectors, playbooks, detections, hunt, attack graph, threat
+ intel, SLA, audit, RBAC, purple team, identity permissions, EASM and shift
+ handoff each served a `MOCK_*` / `DEMO_*` array when the API call failed,
+ none of it gated on demo mode. A fabricated alert is indistinguishable from a
+ real one, and the worst of them invented things a customer makes decisions
+ from: MITRE coverage claiming which techniques they can detect, SLA
+ percentages, an external attack surface with a risk score. It also persisted
+ — SWR v2 disables `revalidateOnMount` whenever `fallbackData` is supplied, so
+ most of these were not first-paint placeholders but what the view showed.
+- **Executor rollbacks did not call the vendor.** `isolate_host`,
+ `disable_user` and `suspend_session` logged an intent and returned True, so
+ an operator who rolled back a lockout was told the account was restored while
+ it stayed disabled. The real reverse calls existed in `app.services.rollback`
+ with no caller outside their own test.
+- **Three unreachable routes.** `GET /assets/vulnerabilities` and the agents'
+ `/hunts/runs` and `/hunts/findings` were registered after a parameterised
+ `/{id}` route that shadowed them.
+- **The osquery playbook step crashed on import.** It imported client modules
+ from `app.clients.*`, which does not exist in `services/agents`, so every
+ such step died with an unhandled `ModuleNotFoundError` — and the NL playbook
+ drafter actively offers this step type.
+- **A saved hunt's "run" button ran nothing.** It re-translated the question,
+ stamped `last_run_at` and returned, so the console showed "last run just now"
+ for a hunt that had queried nothing.
+- **Generated content was presented as real findings.** A fabricated APT
+ attribution in the alert detail view, synthetic hunt hits, and
+ template-fallback copilot replies now declare their provenance.
+
+### Changed
+
+- **The v8.0 milestone is the close-the-loop release; package publishing moves
+ to v8.1.** `@aisoc/mcp`, `@aisoc/sdk`, `aisoc-cli`, `aisoc-sdk`,
+ `aisoc-plugin-sdk` and `aisoc-sandbox` remain unpublished and the README
+ points at monorepo-local invocations. `publish-cli.yml` is OIDC-provenance
+ ready and no-ops with a clear notice rather than faking a publish; it needs
+ an `NPM_TOKEN` secret and a PyPI trusted publisher, which are account-level
+ settings rather than code.
+- **Nine new rows in the claim-to-gate matrix**, one per capability above, each
+ naming the test that fails if the wiring regresses. 73 rows: 62 GATED, 11
+ PARTIAL, 0 NO GATE.
+- **New CI gate `check_mock_data_gated.py`** fails the build on a
+ `fallbackData` receiving sample data un-wrapped, or sample data assigned to
+ state with no demo-mode check.
+
+### Fixed (carried from the unreleased section)
+
- **UEBA can no longer read an unscoreable baseline as normal behaviour.** A
feature that had never been observed, had too few samples, or had zero
variance produced a `0.0` z-score — the same value an observation sitting
diff --git a/README.md b/README.md
index 8a1a95914..aa3dba7b4 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and rationale are logged step-by-step and replayable. MIT-licensed.
[![License: MIT](https://img.shields.io/badge/License-MIT-22c55e.svg?style=flat-square)](https://opensource.org/licenses/MIT)
-[![Version](https://img.shields.io/badge/version-7.7.0-f59e0b?style=flat-square)](CHANGELOG.md)
+[![Version](https://img.shields.io/badge/version-8.0.0-f59e0b?style=flat-square)](CHANGELOG.md)
[![CI](https://img.shields.io/github/actions/workflow/status/beenuar/AiSOC/ci.yml?branch=main&label=CI&style=flat-square)](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)
[![CodeQL](https://img.shields.io/github/actions/workflow/status/beenuar/AiSOC/codeql.yml?branch=main&label=CodeQL&style=flat-square)](https://github.com/beenuar/AiSOC/actions/workflows/codeql.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/beenuar/AiSOC/badge)](https://securityscorecards.dev/viewer/?uri=github.com/beenuar/AiSOC)
@@ -23,7 +23,7 @@ An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and ratio
<a href="apps/web/public/demo/"><img src="apps/web/public/demo-thumbnail.svg" alt="90-second AiSOC product walkthrough — agent investigating the seeded LockBit 3.0 case" width="720" /></a>
-<sub><em>90-second walkthrough — agent investigates the seeded LockBit 3.0 case end-to-end. The rendered <code>.mp4</code> + <code>hero.gif</code> land with the v8.0 launch; the brief is in <a href="docs/demo/SCREENCAST_SHOTLIST.md">docs/demo/SCREENCAST_SHOTLIST.md</a>.</em></sub>
+<sub><em>90-second walkthrough — agent investigates the seeded LockBit 3.0 case end-to-end. The rendered <code>.mp4</code> + <code>hero.gif</code> land with the v8.1 packaging release; the brief is in <a href="docs/demo/SCREENCAST_SHOTLIST.md">docs/demo/SCREENCAST_SHOTLIST.md</a>.</em></sub>
</div>
@@ -31,7 +31,7 @@ An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and ratio
## Try AiSOC in 60 seconds
-One command — no clone, no Docker, no keys (`npx aisoc` lands on npm with the v8.0 launch; today it builds from [`packages/aisoc-lite/`](packages/aisoc-lite/)):
+One command — no clone, no Docker, no keys (`npx aisoc` lands on npm with the v8.1 packaging release; today it builds from [`packages/aisoc-lite/`](packages/aisoc-lite/)):
```bash
npx aisoc triage --demo
@@ -172,7 +172,7 @@ Full architecture (every service, every storage role, the v1.5 console workbench
A handful of headline capabilities — the rest are catalogued in [`apps/docs/docs/features/`](apps/docs/docs/features/) and indexed at the top of [`apps/docs/docs/intro.md`](apps/docs/docs/intro.md):
-> **Maturity (v7.7.0 — Fully-Operational release).** The end-to-end spine is wired and CI-gated: ingest → ClickHouse lake → live detection → fused alert → auto-triage → governed response. Connectors, Investigation Rail + Ledger, Hunt-as-Code, live-stream detection, and copilot auto-triage are GA. Autonomous *response* defaults to copilot/dry-run (an autonomy policy governs every real execution). The live-agent LLM benchmark is preview (the deterministic-tier scoreboard is CI-gated per PR); substrate eval suites are GA. Every product claim is backed by a failing test — [claim-to-gate matrix](docs/audit/CLAIM_TO_GATE_MATRIX.md): 46 GATED / 9 PARTIAL / 0 NO GATE. Full per-claim status: [`docs/audit/REALITY_REPORT.md`](docs/audit/REALITY_REPORT.md). v7.7.0 adds three detection-authoring modes (Python framework + AI builder + no-code), least-privilege invoking-identity scoping for response actions, self-service data lifecycle (retention + a ReDoS-proof transform DSL + custom parsers), an agentless CSPM scanner with compliance auto-evidence and Opsgenie/email/SOAR destinations, and a customizable report builder — all tested, all landed on `main`.
+> **Maturity (v8.0.0 — Close the loop).** The end-to-end spine is wired and CI-gated: ingest → ClickHouse lake → live detection → fused alert → auto-triage → governed response. v8.0 connected capabilities the codebase already contained but never called. Response actions are now **verified against the vendor** rather than assumed from a 200 — an action that reports success while the effect is absent is reported as failed, because that gap is how a SOC comes to believe a host is contained when it is not. Autonomy is governed by **each tenant's own** L0–L4 policy instead of one deployment-wide environment variable. Repeat-alert suppression, shipped in v7.7, **could never fire** — the evidence fingerprint included the alert id, so no repeat ever matched; it now does. Analysts can **hunt the events AiSOC itself ingested** instead of needing an external SIEM. A verdict citing indicators the evidence never contained is demoted to human review rather than auto-closed. Autonomous *response* still defaults to copilot/dry-run: an autonomy policy governs every real execution. The live-agent LLM benchmark is preview (the deterministic-tier scoreboard is CI-gated per PR); substrate eval suites are GA. Every product claim is backed by a failing test — [claim-to-gate matrix](docs/audit/CLAIM_TO_GATE_MATRIX.md): 62 GATED / 11 PARTIAL / 0 NO GATE. Full per-claim status: [`docs/audit/REALITY_REPORT.md`](docs/audit/REALITY_REPORT.md).
- **83 click-and-connect data connectors** (EDR/XDR, SIEM, NDR, cloud, CNAPP, identity, SaaS, VCS, K8s audit, network) with schema-driven config, live `Test connection`, and vault-encrypted secrets — recently adding Qualys, GreyNoise, JumpCloud, Darktrace, and Imperva alongside IBM QRadar, Netskope, Zeek/Suricata NDR, and more. One query runs SIEM-agnostic **federated search** across Splunk SPL / Sentinel KQL / Elastic ES&#124;QL / **QRadar AQL**. Walkthrough: [`apps/docs/docs/connectors/index.md`](apps/docs/docs/connectors/index.md).
- **End-to-end SIEM spine** — a cold `docker compose up` ingests connector data → lands it in the ClickHouse event lake → the executable detection corpus (947 rules) fires on the live stream → a fused alert is created, all asserted by an extended integration gate. Fuse-time threat-intel + CISA-KEV enrichment now feeds the confidence score and exploit-in-wild boost, and **stateful/windowed detections** (brute-force, password-spray, port-scan) run alongside the corpus. [`apps/docs/docs/architecture.md`](apps/docs/docs/architecture.md).
@@ -191,7 +191,7 @@ A handful of headline capabilities — the rest are catalogued in [`apps/docs/do
AiSOC ships an [MCP server](https://modelcontextprotocol.io) (`services/mcp/`) so analysts can query alerts, run agent investigations, and replay every step the agent took without leaving the IDE or chat. The server exposes 13 tools — discovery, deep-dive, governed lake query, and the action / replay set that walks the agent decision ledger step-by-step.
-> **Status — monorepo source build today; npm publish lands in v8.0.** Full setup is in [`apps/docs/docs/integrations/mcp.md`](apps/docs/docs/integrations/mcp.md), which shows the today-vs-v8.0 invocations side by side.
+> **Status — monorepo source build today; npm publish lands in v8.1.** Full setup is in [`apps/docs/docs/integrations/mcp.md`](apps/docs/docs/integrations/mcp.md), which shows the today-vs-published invocations side by side.
---
@@ -203,9 +203,9 @@ Three contribution surfaces; each is one file plus optional fixtures, and CI val
- **Connector.** Subclass `BaseConnector` in [`services/connectors/app/connectors/`](services/connectors/app/connectors/), register it in `_CONNECTOR_CLASSES`, and add a `plugins/<id>/plugin.yaml` manifest. The marketplace picks it up automatically. Walkthrough: [`apps/docs/docs/connectors/`](apps/docs/docs/connectors/).
- **Playbook.** Drop a YAML under [`playbooks/`](playbooks/); [`validate-playbooks`](https://github.com/beenuar/AiSOC/actions/workflows/validate-playbooks.yml) gates the PR. Schema: [`playbook.schema.json`](playbook.schema.json).
-Plugin and detection SDK (Python · TypeScript · Go) — see [`apps/docs/docs/plugins/overview.md`](apps/docs/docs/plugins/overview.md). The CLI (`aisoc-cli`) is in [`packages/aisoc-cli/`](packages/aisoc-cli/); PyPI publish lands in v8.0.
+Plugin and detection SDK (Python · TypeScript · Go) — see [`apps/docs/docs/plugins/overview.md`](apps/docs/docs/plugins/overview.md). The CLI (`aisoc-cli`) is in [`packages/aisoc-cli/`](packages/aisoc-cli/); PyPI publish lands in v8.1.
-**In your CI:** add `- uses: beenuar/aisoc-action@v1` to triage your repo's Dependabot / CodeQL / secret-scanning alerts on every PR (deterministic, nothing leaves your runner; dogfooded on this repo, Marketplace publish lands with v8.0). [Docs](apps/docs/docs/integrations/github-action.md).
+**In your CI:** add `- uses: beenuar/aisoc-action@v1` to triage your repo's Dependabot / CodeQL / secret-scanning alerts on every PR (deterministic, nothing leaves your runner; dogfooded on this repo, Marketplace publish lands with v8.1). [Docs](apps/docs/docs/integrations/github-action.md).
---
@@ -214,7 +214,7 @@ Plugin and detection SDK (Python · TypeScript · Go) — see [`apps/docs/docs/p
- **Latest GitHub release with downloads:** <https://github.com/beenuar/AiSOC/releases/latest>
- **Per-release narrative:** [`RELEASES.md`](RELEASES.md) (mirrors what used to live in this README)
- **Machine-readable inventory with file paths, env-var diffs, test counts:** [`CHANGELOG.md`](CHANGELOG.md)
-- **v8.0 wave-2 in flight (`[~]` items):** [`docs/roadmap/v8-progress.md`](docs/roadmap/v8-progress.md)
+- **v8.1 packaging work in flight (`[~]` items):** [`docs/roadmap/v8-progress.md`](docs/roadmap/v8-progress.md)
- **Bigger-picture roadmap (BYOC multi-cloud, MSSP rollups, federated search):** [`ROADMAP.md`](ROADMAP.md)
---
diff --git a/VERSION b/VERSION
index 1985849fb..ae9a76b92 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-7.7.0
+8.0.0
diff --git a/apps/web/package.json b/apps/web/package.json
index 3e04038ae..4fec5dd17 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -1,6 +1,6 @@
{
"name": "@aisoc/web",
- "version": "7.7.0",
+ "version": "8.0.0",
"private": true,
"description": "AiSOC SOC Console - Next.js 14 Frontend",
"license": "MIT",
diff --git a/docs/audit/CLAIM_TO_GATE_MATRIX.md b/docs/audit/CLAIM_TO_GATE_MATRIX.md
index 9322aa775..77c403f4a 100644
--- a/docs/audit/CLAIM_TO_GATE_MATRIX.md
+++ b/docs/audit/CLAIM_TO_GATE_MATRIX.md
@@ -72,10 +72,19 @@ Statuses: `GATED` (a CI job fails when the claim stops being true) · `PARTIAL`
| The visual assets the README embeds exist | README (console tiles + walkthrough) | `readme-gates.yml :: static` (`gate_demo_asset_references` covers `apps/web/public/screenshots/` as well as `demo/`, so a renamed or deleted tile fails instead of rendering as a broken image) | GATED | - |
| Groundedness: the agent asserts no indicator absent from the evidence it was given | README (groundedness axis) | `live-agent-eval.yml` (scored per incident on the live path via `app.confidence.groundedness`; deliberately not scored on the dry-run path, where there is no agent text and a 1.0 would be flattering fiction) | PARTIAL (computed and published on a scheduled local-model run; not yet a PR gate because a blocking floor has to be derived from real runs rather than invented) | floor from scheduled runs |
| A live-agent eval can run with no funded provider key | (implied by the public eval harness) | `live-agent-eval.yml` (Ollama-hosted local model reached through `OPENAI_BASE_URL`; `--wet-limit` keeps it inside a CI budget and `--wet-require-live` stops a degraded run publishing substrate numbers as live-agent performance) | PARTIAL (scheduled + on-demand; promotion to `pull_request` tracked with the floor above) | floor from scheduled runs |
+| Response actions are verified against the vendor, not assumed from a 200 | README (verified response) | `ci.yml` actions matrix (`test_dispatch_verification.py` — asserts the dispatcher reaches the verifier on the live path, that an action which reported success with the effect absent is downgraded to FAILED, and that `unverified` is never upgraded to a confirmation) | GATED | - |
+| Host isolation is confirmed by reading real containment state | (implied by verified response) | `ci.yml` actions matrix (`test_verification.py` — a resolvable-but-uncontained host must score FAILED; `containment_pending` must not count as verified) | GATED | - |
+| Autonomy is governed per tenant, not per deployment | `apps/docs/docs/concepts/automation-maturity.md` (L0–L4) | `ci.yml` actions matrix (`test_tenant_policy.py` + `test_dispatch_tenant_governance.py` — two tenants get their own tiers, an unreadable policy falls to a conservative floor rather than inheriting a permissive env default, and the L4 whitelist reaches `decide()`) | GATED | - |
+| Repeat alerts matching a trusted benign prior are suppressed without re-triage | README (compounding loop), `/metrics/funnel` | `ci.yml` agents tests (`test_repeat_suppression_closes_the_loop.py` — asserts two *alerts* representing the same condition produce the same signature, and that a different detection on the same host does not collide) | GATED | - |
+| A verdict is not auto-closed on reasoning the evidence does not support | README (groundedness axis) | `ci.yml` agents tests (`test_groundedness_gate.py` — an auto-closing verdict citing an indicator absent from the alert is demoted to `needs_review` at runtime, with confidence lowered to match) | GATED | - |
+| Entity-graph reads are scoped to the querying tenant | `apps/docs/docs/architecture/graph-schema.md` | `ci.yml :: api tests` (`test_graph_tenant_isolation.py` — asserts `tenant_id` is actually bound to the driver, and that every node of every blast-radius path is scoped; `tenant_id IS NULL` is not accepted anywhere) | GATED | - |
+| Analysts can hunt the events AiSOC itself ingested | README (hunt surface) | `ci.yml :: api tests` (`test_lake_hunt.py` — the translator IR compiles to parameterised ClickHouse SQL with the tenant predicate generated rather than rewritten in; no question text reaches the SQL string) | GATED | - |
+| Business-context rules authored in the console affect triage | `apps/docs/docs/console/` (business context) | `ci.yml` agents tests (`test_business_context_per_tenant.py` — rules resolve per tenant from Postgres, one tenant's suppression cannot affect another, and an outage serves last-known rules rather than silently un-suppressing) | GATED | - |
+| Seeded sample data never renders as a tenant's real state | Standing honesty rule (synthetic vs real) | `ci.yml :: python-lint` (`check_mock_data_gated.py` — fails the build on a `fallbackData` receiving sample data un-wrapped, or sample data assigned to state with no demo-mode check) | GATED | - |
## Summary
-- GATED: 53
+- GATED: 62
- PARTIAL: 11
- NO GATE: 0 (**every claim is backed by a failing test.** The last NO GATE — the weekly benchmark scoreboard running live against `main` — closed in Phase E1: `scripts/check_scoreboard.py` ties the published scoreboard to a deterministic per-PR live-agent MITRE-accuracy run, while the funded weekly `wet-eval.yml` appends the LLM-tier rows. The remaining PARTIAL rows are honest, named deferrals — each states the specific gap and what closes it — not unproven claims.)
diff --git a/scripts/readme_gates.py b/scripts/readme_gates.py
index 733352ea9..c561d6f1e 100644
--- a/scripts/readme_gates.py
+++ b/scripts/readme_gates.py
@@ -53,16 +53,31 @@ KNOWN_UNPUBLISHED = {
README_MAX_LINES = 250
# Phrases that count as a "this is intentionally not yet published" guard.
+# v8.0 shipped as the close-the-loop release, so the packaging milestone moved
+# to v8.1 and the guard phrases moved with it. The v8.0 spellings are kept so
+# older docs and blog posts that still carry them are not flagged, but new
+# README text should use the v8.1 wording — a README shipped *as* v8.0 cannot
+# coherently promise that something "lands in v8.0".
V8_GUARDS = (
"coming in v8.0",
+ "coming in v8.1",
"coming to npm in v8.0",
+ "coming to npm in v8.1",
"lands in v8.0",
+ "lands in v8.1",
"lands with v8.0",
+ "lands with v8.1",
"lands with the v8.0",
+ "lands with the v8.1",
+ "packaging release",
"publish lands in v8.0",
+ "publish lands in v8.1",
"ships in v8.0",
+ "ships in v8.1",
"ships with v8.0",
+ "ships with v8.1",
"ships with the v8.0",
+ "ships with the v8.1",
"v8.0 launch",
"with the next phase 2 visuals rollup",
# Treat explicit monorepo-source-install references as their own guard: