Files
AiSOC/docs/api
Beenu Arora 3364706565 docs: correct the statements recent work made false (#1229)
* docs: correct the statements recent work made false

A sweep of the 375 tracked Markdown/MDX files outside `plans/`, plus every
URL they ship. 50 files corrected, 0 deleted. The ranking is by how wrong a
statement was, not by how visible the page is.

Capabilities described as absent that now exist. The depth wave gave readers
to ABAC conditions, time-boxed elevation and workload identities, shipped
console TOTP, and made the playbook `approval` step a durable pause — and
five documents still said none of that existed. The buyer-facing security
questionnaire was the worst of them: four gap-list rows and two prose answers
telling a prospect that controls they were evaluating us on were absent. Its
own sibling page `access-governance.md` documented those controls and was
missing from the pack index, which is how the contradiction survived.

Capabilities described that do not exist. `faq.md` answered "can I delete a
user's data on request?" with "Yes" and a route — `DELETE
/api/v1/identity/{user_id}/data` — that appears nowhere in the code or in
`docs/openapi.yaml`, while `data-handling.md` says in as many words that no
such route is in the tree. `live-actions.md` called `POST
/api/v1/live-actions/dispatch` "one entry point" for the agent layer; the API
deliberately proxies only `/dry-run`, and its handler says so. The same page
documented `tenant_id` and `requested_by` as caller-supplied fields.

Counts re-derived from the tree, not carried over: executable detections
2,603 -> 2,529 (down, because rules that could not fire stopped being
counted), unreachable 119 -> 45, windowed 5 -> 72, YAML under `detections/`
7,016 -> 7,022, `/metrics` coverage 5-of-17 -> 5-of-19, connectors 69/84 ->
87, marketplace 7,155 -> 7,158, playbook step types 9 -> 25.

Links: every external URL fetched. `docs.tryaisoc.com` does not resolve at
all and was linked from two example pages — sentences rewritten, hostname
allow-list entries removed rather than re-counted, since the exemption had
claimed they were "accurate as written". Sigstore, Wazuh and MITRE CAR links
repointed at destinations that answer 200. Nine internal links fixed,
including two to `PROGRESS.md`, which is gitignored and has never been
committed.

Self-contradictions resolved in place: `observability.md` said both that the
Kafka spine's ends are instrumented and that they are not — the limitation is
real but its stated cause changed, and the bullet now gives the current one.

* docs: carry the corrected detection figure through every surface

#1226 landed the 3.3 corpus correction and the executable figure moved
again, 2529 -> 2511, for the same reason as the first move: rules that
cannot fire stopped being counted as capable of it.

Seventeen documents still carried the old number — the architecture page,
the glossary, the intro, the FAQ, the detections concept page, three
design briefs, two contributing guides, the repository-reality audit and
the claim matrix. A figure copied into prose goes stale silently, which is
why it is re-derived here rather than edited by hand in one place.

The dated DEPTH_PROGRESS log entry keeps 2,529: it records what was true
when 3.1 landed, and rewriting it would be revisionism. The
component-recipes file keeps its list of superseded literals for the same
reason — that list is the warning against hard-coding the figure at all.

readme-gates, the claim matrix, llms --check, comment-paths, merge-markers
and competitor-names all pass.

* docs: make AGENTS.md contributor guidance instead of a leaked session log

The file committed at the repository root was a verbatim session-memory
document. It opened with "Learned User Preferences", referred throughout to
"the user", and published things that have no business in a public
open-source repository: the commercial product's hostname, its Fly.io
hosting topology and internal app names, its billing and registration flow,
and the name of an archived private staging repository.

Most of it was also wrong. The Fly.io apps were reclaimed for non-payment
months ago, so the deployment section described infrastructure that does
not exist, and the service and package lists predated several waves of work.

Rewritten as what an `AGENTS.md` at a project root is for: guidance for
whoever is changing the code, human or agent. One command to get it
running, one event's journey through the services, where things live, the
conventions that are easy to guess wrong, the figures with the command that
re-derives each, and the rules that are not negotiable.

Three choices worth stating. The figures table gives the command rather than
only the number, because a number copied into prose goes stale silently and
several in this repository did. The "if you are an AI agent" section says
plainly that nothing here can make a third-party tool reach for this project
by default — that is registry publication, not documentation. And the Cyble
credit stays: `www.cyble.com` answers 403 to curl, but it is Cloudflare's
"Just a moment" interstitial over a live host, which is bot protection and
not absence.

Every other URL fetched at 200 before committing.

* Merge origin/main, and register AGENTS.md's two service counts

The new contributor guide publishes a CORE and a full service count in its
opening block, and the profile gate requires any published figure to be a
registered claim site — correctly, because an unregistered figure is one
nobody notices going stale, which is how three of them drifted before.

Registered rather than reworded. Proven by setting the CORE figure to 14
and watching the gate name all sixteen services; restored, and it passes at
28 published figures agreeing with docker-compose.yml.
2026-10-09 13:48:27 +05:30
..