# Silent `Math.random()` Classification — Master Sheet (V1-P2-3401)

Generated by `scripts/classify-silent-random.py` from
`docs/releases/p2/silent-random-candidates.md` (V1-P2-3400).

Each unannotated `Math.random()` site has been assigned exactly one of:
**REPLACE** (real computation required), **ALLOW** (jitter/shuffle/ID/
procedural), or **DELETE** (dead code). The classification rule that fired is
recorded in the **Rule** column for auditability; rules are applied in the order
documented under "Rule Reference" below — first match wins.

## Summary

| Class     | Count |
| --------- | ----: |
| REPLACE   |   735 |
| ALLOW     |  6219 |
| DELETE    |     0 |
| **Total** |  6954 |

### By rule

| Rule                         | Class   | Count |
| ---------------------------- | ------- | ----: |
| `id-token-toString`          | ALLOW   |  2411 |
| `default-allow`              | ALLOW   |  1996 |
| `analytics-fake-metric`      | REPLACE |   641 |
| `shuffle-sort-key`           | ALLOW   |   388 |
| `procedural-generation-path` | ALLOW   |   357 |
| `token-char-pick`            | ALLOW   |   293 |
| `random-pick-from-array`     | ALLOW   |   266 |
| `comment-reference`          | ALLOW   |   139 |
| `gaussian-sampling`          | ALLOW   |   106 |
| `timer-jitter`               | ALLOW   |    92 |
| `seed-or-fixture-script`     | ALLOW   |    73 |
| `fake-confidence-score`      | REPLACE |    67 |
| `id-suffix-template`         | ALLOW   |    43 |
| `cv-fake-pipeline-metric`    | REPLACE |    27 |
| `animation-visual-jitter`    | ALLOW   |    25 |
| `test-fixture-file`          | ALLOW   |    23 |
| `probability-gate`           | ALLOW   |     5 |
| `rng-factory`                | ALLOW   |     2 |

## Rule Reference

Rules are evaluated top-to-bottom; first match wins. A site that does not match
any specific rule falls to the `default-allow` rule and is scheduled for
per-line annotation review under V1-P2-3403.

1. **`comment-reference`** → ALLOW (HIGH) — hit is inside a JSDoc/inline
   comment, not executable code.
2. **`id-token-toString`** → ALLOW (HIGH) — `Math.random().toString(36|16)` to
   mint a non-secret ID/token suffix.
3. **`token-char-pick`** → ALLOW (HIGH) — random index into a `chars` alphabet
   to assemble a non-secret token.
4. **`shuffle-sort-key`** → ALLOW (HIGH) — `Math.random() - 0.5` Fisher-
   Yates-style sort key.
5. **`rng-factory`** → ALLOW (HIGH) — RNG abstraction wrapper exposing
   Math.random as a default.
6. **`timer-jitter`** → ALLOW (HIGH) — retry/backoff or scheduling jitter.
7. **`probability-gate`** → ALLOW (HIGH) — `Math.random() < probability`
   stochastic gating against a configured threshold.
8. **`fake-confidence-score`** → REPLACE (HIGH) — `confidence:`/`score:`/ etc.
   assigned from Math.random; should come from real model output.
9. **`analytics-fake-metric`** → REPLACE (HIGH) — analytics/BI/compliance route
   synthesizes a metric via Math.random.
10. **`procedural-generation-path`** → ALLOW (MEDIUM) — file in a
    procedural-content surface (svc-metaverse, star-map, virtual-rooms
    environmental FX, character/scene generators).
11. **`random-pick-from-array`** → ALLOW (MEDIUM) — random array index for
    shuffle/sample/diversification.
12. **`seed-or-fixture-script`** → ALLOW (MEDIUM) — seed/fixture/script context,
    not production runtime.
13. **`test-fixture-file`** → ALLOW (HIGH) — file in `__tests__/`,
    `__fixtures__/`, `__mocks__/`, `storybook/` — test scaffolding.
14. **`id-suffix-template`** → ALLOW (HIGH) — random integer suffix in a
    template-string ID composition (`${Date.now()}-${Math.floor(...)}`).
15. **`gaussian-sampling`** → ALLOW (HIGH) — uniform input feeds a Box- Muller /
    Gaussian transform.
16. **`animation-visual-jitter`** → ALLOW (HIGH) — animation/particle/ effect
    surface; randomness drives visual variety.
17. **`cv-fake-pipeline-metric`** → REPLACE (HIGH) — Aja CV pipeline file
    fabricating scene/pose/motion metrics; must come from real CV.
18. **`default-allow`** → ALLOW (LOW) — fallthrough; per-line review will occur
    during V1-P2-3403 annotation pass.

## By Domain

| Domain              | REPLACE | ALLOW | DELETE | Total |
| ------------------- | ------: | ----: | -----: | ----: |
| `libs/aphrodite`    |      12 |   947 |      0 |   959 |
| `libs/iris`         |      30 |   665 |      0 |   695 |
| `apps/aphrodite`    |     624 |    18 |      0 |   642 |
| `apps/lilith`       |       8 |   609 |      0 |   617 |
| `libs/psyche`       |       4 |   534 |      0 |   538 |
| `apps/oshun`        |       2 |   428 |      0 |   430 |
| `libs/yemaya`       |       0 |   387 |      0 |   387 |
| `libs/veritas`      |       1 |   212 |      0 |   213 |
| `libs/oya`          |       2 |   200 |      0 |   202 |
| `libs/isis`         |       0 |   155 |      0 |   155 |
| `apps/hathor`       |       0 |   128 |      0 |   128 |
| `libs/aja`          |       0 |   128 |      0 |   128 |
| `libs/nous`         |       0 |   125 |      0 |   125 |
| `apps/nyx`          |       0 |   110 |      0 |   110 |
| `apps/veritas`      |       0 |   108 |      0 |   108 |
| `libs/kuanyin`      |       0 |   107 |      0 |   107 |
| `scripts/lilith`    |       1 |    92 |      0 |    93 |
| `libs/maat`         |       0 |    88 |      0 |    88 |
| `libs/hathor`       |       0 |    76 |      0 |    76 |
| `libs/bellona`      |       0 |    75 |      0 |    75 |
| `apps/aja`          |      27 |    45 |      0 |    72 |
| `libs/shared`       |       0 |    58 |      0 |    58 |
| `libs/euterpe`      |       0 |    53 |      0 |    53 |
| `libs/neith`        |       0 |    53 |      0 |    53 |
| `apps/yemaya`       |       0 |    52 |      0 |    52 |
| `libs/mnemosyne`    |       1 |    49 |      0 |    50 |
| `yaa/packages`      |      21 |    26 |      0 |    47 |
| `libs/metis`        |       0 |    45 |      0 |    45 |
| `apps/brigid`       |       0 |    41 |      0 |    41 |
| `libs/freya`        |       0 |    41 |      0 |    41 |
| `libs/demeter`      |       0 |    40 |      0 |    40 |
| `libs/brigid`       |       0 |    39 |      0 |    39 |
| `libs/nyx`          |       0 |    36 |      0 |    36 |
| `libs/aglaea`       |       0 |    30 |      0 |    30 |
| `apps/iris`         |       0 |    28 |      0 |    28 |
| `libs/cybele`       |       0 |    26 |      0 |    26 |
| `libs/maya`         |       0 |    26 |      0 |    26 |
| `apps/arete`        |       1 |    24 |      0 |    25 |
| `libs/tara`         |       0 |    24 |      0 |    24 |
| `apps/demeter`      |       0 |    23 |      0 |    23 |
| `apps/hestia`       |       0 |    22 |      0 |    22 |
| `libs/hestia`       |       0 |    21 |      0 |    21 |
| `libs/lilith`       |       0 |    21 |      0 |    21 |
| `libs/oshun`        |       0 |    18 |      0 |    18 |
| `libs/airmid`       |       0 |    15 |      0 |    15 |
| `apps/tara`         |       0 |    12 |      0 |    12 |
| `libs/lakshmi`      |       0 |    12 |      0 |    12 |
| `libs/meditation`   |       0 |    12 |      0 |    12 |
| `libs/saraswati`    |       1 |    11 |      0 |    12 |
| `apps/isis`         |       0 |    11 |      0 |    11 |
| `apps/maat`         |       0 |    11 |      0 |    11 |
| `apps/psyche`       |       0 |    10 |      0 |    10 |
| `libs/arete`        |       0 |     9 |      0 |     9 |
| `libs/nisaba`       |       0 |     9 |      0 |     9 |
| `serwaa/services`   |       0 |     9 |      0 |     9 |
| `apps/asase`        |       0 |     8 |      0 |     8 |
| `libs/sophia`       |       0 |     8 |      0 |     8 |
| `apps/metis`        |       0 |     5 |      0 |     5 |
| `docs/training`     |       0 |     5 |      0 |     5 |
| `libs/contracts`    |       0 |     5 |      0 |     5 |
| `apps/sophia`       |       0 |     4 |      0 |     4 |
| `libs/aje`          |       0 |     4 |      0 |     4 |
| `libs/asase`        |       0 |     4 |      0 |     4 |
| `libs/kalika`       |       0 |     4 |      0 |     4 |
| `testing/utils`     |       0 |     4 |      0 |     4 |
| `apps/freya`        |       0 |     3 |      0 |     3 |
| `libs/seshat`       |       0 |     3 |      0 |     3 |
| `apps/bellona`      |       0 |     2 |      0 |     2 |
| `apps/cybele`       |       0 |     2 |      0 |     2 |
| `tests/integration` |       0 |     2 |      0 |     2 |
| `libs/galatea`      |       0 |     1 |      0 |     1 |
| `minerva/minerva`   |       0 |     1 |      0 |     1 |

## Per-Candidate Decisions (high/medium-confidence rows)

Rows from rules other than `default-allow` are listed below grouped by file.
Default-allow rows (each marked LOW confidence) are listed in the appendix at
the end with file:line only — they all carry the same rule and rationale and
require per-line `random:legitimate <reason>` review under V1-P2-3403.

### `apps/aja/cli/src/commands/inspect.ts`

- **L341** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `jitterScore: Math.random() * 0.05,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L342** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `footSlidingDistance: Math.random() * 3,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L343** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `boneLengthVariance: Math.random() * 0.03,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L344** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `jointAngleSmoothness: 0.8 + Math.random() * 0.2,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L345** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `physicalPlausibility: 0.75 + Math.random() * 0.25,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.

### `apps/aja/svc-motion-ai/src/live-motion-capture/live-avatar-driving.ts`

- **L516** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.blinkTimer = avgInterval + (Math.random() - 0.5) * avgInterval * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/aja/svc-motion-ai/src/live-motion-capture/realtime-pose-estimation.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `det*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1163** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `const numPeople = Math.random() > 0.3 ? 1 : Math.random() > 0.7 ? 2 : 0;`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L1166** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const baseX = 0.2 + p * 0.4 + (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1167** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const baseY = 0.3 + (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1194** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L1201** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `await new Promise((resolve) => setTimeout(resolve, 15 + Math.random() * 20));`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L1253** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = () => (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1259** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L1260** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `visible: Math.random() > 0.1,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.

### `apps/aja/svc-motion-ai/src/live-motion-capture/webcam-capture.ts`

- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `frame*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-motion-ai/src/motion-enhancement/motion-synthesis.ts`

- **L183** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L184** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L2647** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `frame.rootPosition[0] + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2650** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `: frame.rootPosition[1] + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2651** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `frame.rootPosition[2] + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2657** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `noisyRotations[j] = frame.jointRotations[j] + (Math.random() - 0.5) * noiseScale * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/aja/svc-motion-ai/src/motion-enhancement/types.ts`

- **L1528** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `motion*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as MotionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1535** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `diff*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as DiffusionSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1542** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `style*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as StyleId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1549** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `pipeline*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as EnhancementPipelineId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1556** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `physics*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as PhysicsSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-motion-ai/src/video-to-motion/video-to-motion-service.ts`

- **L409** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `job*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-reference-video/src/annotation.ts`

- **L449** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `ann*${data.type}*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}` as AnnotationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L708** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const segmentId = `seg*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as SegmentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L741** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return colors[Math.floor(Math.random() * colors.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1168** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `track*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1294** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `clip*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as ClipId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-reference-video/src/collaboration.ts`

- **L638** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ws*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as WorkspaceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L888** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `inv*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L982** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `cmt*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as CommentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1230** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `rev*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as ReviewId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1428** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `tmpl*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1469** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `asn*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AssignmentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1654** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = `batch*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1728** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `act*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1806** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `notif*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-reference-video/src/metadata-extraction.ts`

- **L526** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `const duration = 120 + Math.random() * 300; // 2-7 minutes`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.

### `apps/aja/svc-reference-video/src/scene-detection.ts`

- **L263** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `stats[frame].avgLuminance = Math.random() * 128 + 64;`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L284** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `hue: (baseHue + Math.random() * 5) % 360,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L285** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `saturation: 0.5 + Math.random() * 0.1,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L286** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `value: 0.5 + Math.random() * 0.1,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L289** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `avgLuminance: baseLum + Math.random() * 10 - 5,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L290** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `edgeDensity: 0.3 + Math.random() * 0.2,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L291** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `motionMagnitude: Math.random() * 10,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L321** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `let currentFrame = avgSceneLength + Math.floor(Math.random() * 100);`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L324** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `currentFrame += avgSceneLength + Math.floor(Math.random() * 100 - 50);`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L726** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `confidence: 0.85 + Math.random() * 0.15, // Simulated confidence`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L853** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `const actionLength = 60 + Math.floor(Math.random() * 120); // 2-6 seconds at 30fps`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L859** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `label: actionLabels[Math.floor(Math.random() * actionLabels.length)],`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L860** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L911** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `quality: 0.6 + Math.random() * 0.4,`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L951** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code:
    `const restLength = 90 + Math.floor(Math.random() * 60); // 3-5 seconds`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.
- **L958** — `REPLACE` (HIGH, rule `cv-fake-pipeline-metric`)
  - Code: `currentFrame += restLength + 300 + Math.floor(Math.random() * 200);`
  - Rationale: File is in an Aja CV pipeline (scene-detection / motion / inspect
    / metadata) where Math.random fabricates frame statistics, pose visibility,
    or quality scores; must come from real OpenCV/MediaPipe/etc. output.

### `apps/aja/svc-reference-video/src/types.ts`

- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `vid*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as VideoId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `seg*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as SegmentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ann*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as AnnotationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `clip*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as ClipId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cat*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as CategoryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tag*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as TagId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L87** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ws*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as WorkspaceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L91** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cmt*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as CommentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rev*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as ReviewId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L99** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asn*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as AssignmentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ver*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as VersionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L107** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `emb*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as EmbeddingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aja/svc-reference-video/src/video-ingestion.ts`

- **L769** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `upload*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/admin-bi-dashboard/src/routes/compliance.ts`

- **L55** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const ageVerificationScore = 92 + Math.random() * 6;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L56** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const moderationScore = 88 + Math.random() * 8;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L57** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const record2257Score = 95 + Math.random() * 4;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L58** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const gdprScore = 90 + Math.random() * 7;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L206** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalVerifications = 5000 + Math.floor(Math.random() * 2000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L207** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const successfulVerifications = Math.floor(totalVerifications * (0.92 + Math.random() * 0.05));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L209** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `(totalVerifications - successfulVerifications) * (0.6 + Math.random() * 0.3)`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L213** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgVerificationTime = 45 + Math.random() * 30; // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L225** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `count: Math.floor(totalVerifications * m.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L226** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `successRate: 0.88 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L227** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTime: m.avgTime * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L241** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `verifications: Math.floor(totalVerifications * p.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L242** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `successRate: 0.9 + Math.random() * 0.08,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L243** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgCost: p.cost * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L244** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTime: 30 + Math.random() * 60,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L259** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `verifications: Math.floor(totalVerifications * (0.05 + Math.random() * 0.25)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L260** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `successRate: 0.88 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L273** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `count: Math.floor(successfulVerifications * a.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L351** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalContent = 500000 + Math.floor(Math.random() * 200000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L352** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const reviewedContent = Math.floor(totalContent * (0.15 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L353** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const flaggedContent = Math.floor(reviewedContent * (0.08 + Math.random() * 0.04));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L354** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const removedContent = Math.floor(flaggedContent * (0.6 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L355** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const appealedContent = Math.floor(removedContent * (0.15 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L356** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const restoredContent = Math.floor(appealedContent * (0.2 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L357** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgReviewTime = 30 + Math.random() * 60; // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L358** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const falsePositiveRate = 0.02 + Math.random() * 0.03;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L374** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const count = Math.floor(flaggedContent * v.share * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L375** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const actionsTaken = Math.floor(count * (0.7 + Math.random() * 0.25));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L376** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const appealed = Math.floor(actionsTaken * (0.1 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L377** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const upheld = Math.floor(appealed * (0.75 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L399** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const reviewed = Math.floor(reviewedContent * ct.share * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L400** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const flagged = Math.floor(reviewed * (0.05 + Math.random() * 0.05));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L401** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const removed = Math.floor(flagged * (0.6 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L414** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `reviewed: Math.floor((reviewedContent / 20 / (i + 1)) * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L415** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `accuracy: 0.92 + Math.random() * 0.06,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L416** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTime: 20 + Math.random() * 40,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L422** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const aiReviewed = Math.floor(totalContent * (0.95 + Math.random() * 0.04));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L425** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `aiActioned: Math.floor(aiReviewed * (0.02 + Math.random() * 0.01)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L426** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `humanEscalated: Math.floor(aiReviewed * (0.03 + Math.random() * 0.02)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L427** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `accuracy: 0.94 + Math.random() * 0.04,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L428** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgConfidence: 0.85 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L434** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `resolved: Math.floor(appealedContent * (0.85 + Math.random() * 0.1)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L435** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `pending: Math.floor(appealedContent * (0.1 + Math.random() * 0.05)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L436** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `upheld: Math.floor(appealedContent * (0.65 + Math.random() * 0.15)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L438** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgResolutionTime: 24 + Math.random() * 48, // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L508** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalCreators = 8000 + Math.floor(Math.random() * 2000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L509** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const compliantCreators = Math.floor(totalCreators * (0.94 + Math.random() * 0.04));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L510** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const pendingVerification = Math.floor(totalCreators * (0.02 + Math.random() * 0.02));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L514** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgRecordAge = 180 + Math.random() * 180; // days`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L525** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `count: Math.floor(recordsOnFile * s.percentage * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L538** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const valid = Math.floor(count * (0.92 + Math.random() * 0.06));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L539** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const expiringSoon = Math.floor(count * (0.03 + Math.random() * 0.02));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L558** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `count: Math.floor(recordsOnFile * e.percentage * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L567** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `result: (i === 0 ? 'passed' : Math.random() > 0.2 ? 'passed' : 'warning') as`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L571** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `findings: Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L572** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `resolved: Math.floor(Math.random() * 3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L597** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgRetrievalTime: 2.5 + Math.random() * 2, // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L642** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalDSR = 150 + Math.floor(Math.random() * 100);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L651** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgResponseTime: 5 + Math.random() * 10, // days`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L652** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `onTimeRate: 0.95 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L656** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 200000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L659** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `consentGiven: Math.floor(totalUsers * (0.85 + Math.random() * 0.1)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L660** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `consentWithdrawn: Math.floor(totalUsers * (0.02 + Math.random() * 0.02)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L661** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `consentPending: Math.floor(totalUsers * (0.05 + Math.random() * 0.03)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L670** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `consented: Math.floor(totalUsers * p.rate * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L671** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `declined: Math.floor(totalUsers * (1 - p.rate) * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L672** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `rate: p.rate * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L678** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: Math.floor(Math.random() * 3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L679** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `resolved: Math.floor(Math.random() * 2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L680** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `pending: Math.floor(Math.random() * 2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L681** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `reportedToAuthority: Math.floor(Math.random() * 2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L682** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `reportedToSubjects: Math.floor(Math.random() * 1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L683** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgDetectionTime: 2 + Math.random() * 4, // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L684** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgNotificationTime: 24 + Math.random() * 24, // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L689** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activitiesDocumented: 45 + Math.floor(Math.random() * 15),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L690** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `dpiaRequired: 8 + Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L691** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `dpiaCompleted: 7 + Math.floor(Math.random() * 4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L692** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `internationalTransfers: 5 + Math.floor(Math.random() * 3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L693** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `validMechanisms: 5 + Math.floor(Math.random() * 2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L698** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `categoriesTracked: 25 + Math.floor(Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L699** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `compliantCategories: 23 + Math.floor(Math.random() * 8),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L700** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `dataDeleted: 50000 + Math.floor(Math.random() * 30000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L701** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `dataArchived: 100000 + Math.floor(Math.random() * 50000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L702** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `overRetained: Math.floor(Math.random() * 5000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L756** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const exportId = `export*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L791** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const isCompleted = Math.random() > 0.3;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L802** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `fileSize: isCompleted ? 1024 * 1024 * (5 + Math.random() * 10) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L803** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `recordCount: isCompleted ? 10000 + Math.floor(Math.random() * 5000) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L825** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exportId: `export*${Date.now() - i \*
    86400000}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L832** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `fileSize: i > 0 ? 1024 * 1024 * (5 + Math.random() * 10) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L833** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `recordCount: i > 0 ? 10000 + Math.floor(Math.random() * 5000) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/admin-bi-dashboard/src/routes/content.ts`

- **L56** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalStreams = 15000 + Math.floor(Math.random() * 5000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L57** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgStreamDuration = 2.5 + Math.random() * 2; // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L59** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgViewers = 50 + Math.floor(Math.random() * 100);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L66** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevStreams = totalStreams * (0.88 + Math.random() * 0.1);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L67** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevHours = totalHours * (0.85 + Math.random() * 0.12);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L68** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevAvgViewers = avgViewers * (0.9 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L92** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgBitrate: 5000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L94** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `bufferingRate: 0.01 + Math.random() * 0.02,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L95** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgStartupTime: 1.5 + Math.random() * 1.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L154** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalStreams = 15000 + Math.floor(Math.random() * 5000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L155** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalViewers = 500000 + Math.floor(Math.random() * 200000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L156** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalHours = 50000 + Math.floor(Math.random() * 20000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L157** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalRevenue = 500000 + Math.random() * 300000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L160** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const streams = Math.floor(totalStreams * cat.share * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L161** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const viewers = Math.floor(totalViewers * cat.share * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L162** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const viewingHours = totalHours * cat.share * (0.85 + Math.random() * 0.3);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L163** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const revenue = totalRevenue * cat.share * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L165** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const peakViewers = avgViewers * (3 + Math.random() * 5);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L167** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevViewers = viewers * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L191** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `growthRate: e.growthRate * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L192** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `newCreators: 50 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L193** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `momentum: 0.6 + Math.random() * 0.4,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L203** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `declineRate: d.declineRate * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L277** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const peakViewers = Math.floor((50000 / (i + 1)) * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L278** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const avgViewers = Math.floor(peakViewers * (0.4 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L279** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const duration = 2 + Math.random() * 6; // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L280** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const revenue = avgViewers * duration * (0.5 + Math.random() * 1.5);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L286** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `title: `Epic Stream Session #${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L292** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagement: 0.3 + Math.random() * 0.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L298** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const views = Math.floor((100000 / (i + 1)) * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L299** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const watchTime = views * (0.3 + Math.random() * 0.4); // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L300** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const retention = 0.3 + Math.random() * 0.4;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L301** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const revenue = views * (0.02 + Math.random() * 0.05);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L307** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `title: `Best Moments - Episode ${Math.floor(Math.random() \* 500)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L317** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const views = Math.floor((500000 / (i + 1)) * (0.7 + Math.random() * 0.6));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L318** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const shares = Math.floor(views * (0.05 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L324** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `title: `Unbelievable Moment #${Math.floor(Math.random() \* 10000)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L399** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const viewers = Math.floor(baseViewers * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L400** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const streams = Math.floor(viewers / (40 + Math.random() * 40));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L403** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const peakDayIndex = Math.floor(Math.random() * 7);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L419** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const viewers = Math.floor(800000 * baseMultiplier * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L421** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const avgDuration = (isWeekend ? 3.5 : 2.5) * (0.85 + Math.random() * 0.3);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L444** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `avgViewers: Math.floor(peak.avgViewers * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L445** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L526** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalReports = 5000 + Math.floor(Math.random() * 2000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L527** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const resolvedReports = Math.floor(totalReports * (0.85 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L528** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgResolutionTime = 2 + Math.random() * 4; // hours`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L529** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const contentRemoved = Math.floor(resolvedReports * (0.3 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L530** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const warningsIssued = Math.floor(resolvedReports * (0.4 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L531** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const suspensions = Math.floor(resolvedReports * (0.08 + Math.random() * 0.04));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L532** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const bans = Math.floor(resolvedReports * (0.02 + Math.random() * 0.02));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L548** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const reports = Math.floor(totalReports * cat.share * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L549** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const actionsTaken = Math.floor(reports * (0.6 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L572** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `count: Math.floor(a.count * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L573** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgResponseTime: a.avgResponseTime * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L642** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgBitrate: 5500 + Math.floor(Math.random() * 1500), // kbps`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L644** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `bufferingRate: 0.012 + Math.random() * 0.008,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L645** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgStartupTime: 1.8 + Math.random() * 0.8, // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L646** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLatency: 2.5 + Math.random() * 1.5, // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L647** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `streamHealth: 0.95 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L648** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `transcodeSuccess: 0.995 + Math.random() * 0.004,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L649** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `cdnEfficiency: 0.92 + Math.random() * 0.06,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L662** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `streams: Math.floor(15000 * res.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L664** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgBitrate: res.avgBitrate * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L665** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `bufferingRate: 0.01 + (1 - res.share) * 0.02 + Math.random() * 0.01,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L678** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgBitrate: reg.avgBitrate * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L679** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLatency: reg.latency * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L680** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `bufferingRate: 0.01 + reg.latency * 0.002 + Math.random() * 0.005,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L681** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `cdnNodes: 5 + Math.floor(Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L704** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `count: Math.floor(e.count * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L706** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `trend: -5 + Math.random() * 15, // percent change`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L759** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const totalDiscoveries = 2000000 + Math.floor(Math.random() * 500000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L773** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `discoveries: Math.floor(totalDiscoveries * s.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L775** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `conversionRate: 0.1 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L776** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgWatchTime: 5 + Math.random() * 20, // minutes`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L781** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `impressions: 10000000 + Math.floor(Math.random() * 2000000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L782** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `clicks: 800000 + Math.floor(Math.random() * 200000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L783** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `ctr: 0.06 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L784** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `watches: 600000 + Math.floor(Math.random() * 150000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L785** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `watchRate: 0.7 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L786** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `follows: 50000 + Math.floor(Math.random() * 20000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L787** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `followRate: 0.06 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L788** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgRelevanceScore: 0.72 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L793** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalSearches: 500000 + Math.floor(Math.random() * 100000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L794** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `uniqueSearchers: 150000 + Math.floor(Math.random() * 50000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L795** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgResultsClicked: 1.5 + Math.random() * 1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L796** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `noResultsRate: 0.05 + Math.random() * 0.03,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L797** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSearchToWatch: 45 + Math.random() * 30, // seconds`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L813** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `searches: Math.floor((10000 / (i + 1)) * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L814** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `clickRate: 0.3 + Math.random() * 0.4,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L815** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `trend: -10 + Math.random() * 30,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/admin-bi-dashboard/src/routes/platform.ts`

- **L54** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 150000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L55** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const activeUsers = Math.floor(totalUsers * (0.3 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L57** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const activeCreators = Math.floor(totalCreators * (0.4 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L58** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const totalStreams = activeCreators * (5 + Math.floor(Math.random() * 10));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L59** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const liveStreams = Math.floor(activeCreators * (0.1 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L60** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgViewersPerStream = 50 + Math.floor(Math.random() * 150);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L63** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const totalRevenue = totalStreams * avgViewersPerStream * (0.5 + Math.random() * 1.5);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L68** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevUsers = totalUsers * (0.85 + Math.random() * 0.1);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L69** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevCreators = totalCreators * (0.9 + Math.random() * 0.1);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L70** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevStreams = totalStreams * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L71** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const prevViewingHours = totalViewingHours * (0.8 + Math.random() * 0.2);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L72** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevRevenue = totalRevenue * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L102** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `serverUptime: 99.95 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L103** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLatency: 45 + Math.random() * 30,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L104** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `errorRate: 0.01 + Math.random() * 0.02,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L105** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `streamQuality: 0.95 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L106** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `contentModerationRate: 0.98 + Math.random() * 0.02,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L137** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const liveStreams = 50 + Math.floor(Math.random() * 100);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L138** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgViewersPerStream = 50 + Math.floor(Math.random() * 150);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L145** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `transactionsPerMinute: 10 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L146** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenuePerMinute: 50 + Math.random() * 200,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L147** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `chatMessagesPerMinute: liveStreams * (20 + Math.floor(Math.random() * 30)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L148** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `newRegistrations: Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L149** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `errorCount: Math.floor(Math.random() * 3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L150** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgStreamBitrate: 4500 + Math.floor(Math.random() * 1500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L151** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgStreamLatency: 1.5 + Math.random() * 1.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L195** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const uptime = comp.base + Math.random() * (1 - comp.base);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L200** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `latency: 10 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L267** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 150000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L268** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalRevenue = 500000 + Math.random() * 500000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L286** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * c.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L287** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `creators: Math.floor(totalUsers * c.share * 0.05 * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L288** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `viewers: Math.floor(totalUsers * c.share * 0.5 * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L289** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenue: totalRevenue * c.share * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/admin-bi-dashboard/src/routes/revenue.ts`

- **L56** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const grossRevenue = 500000 + Math.random() * 500000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L75** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const previous = grossRevenue * s.prevShare * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L76** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const txCount = Math.floor(current / (10 + Math.random() * 30));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L99** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `transactions: Math.floor((grossRevenue * pm.share) / (15 + Math.random() * 25)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L101** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgValue: 15 + Math.random() * 25,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L170** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const grossRevenue = (50000 - i * 1500) * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L173** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const subscribers = Math.floor((5000 - i * 150) * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L174** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const viewers = subscribers * (3 + Math.random() * 5);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L175** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const streamHours = 50 + Math.floor(Math.random() * 100);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L176** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevGross = grossRevenue * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L276** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const activeSubscriptions = 25000 + Math.floor(Math.random() * 10000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L277** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgSubValue = 12 + Math.random() * 8;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L280** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevMrr = mrr * (0.9 + Math.random() * 0.1);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L287** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgLifetime = 4.5 + Math.random() * 2;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L302** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `churnRate: churnRate * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L303** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLifetime: avgLifetime * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L311** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `month1: Math.pow(baseRetention, 1) * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L312** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `month2: Math.pow(baseRetention - decay, 2) * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L313** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `month3: Math.pow(baseRetention - decay * 2, 3) * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L314** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `month6: Math.pow(baseRetention - decay * 3, 6) * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L315** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `month12: Math.pow(baseRetention - decay * 4, 12) * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L389** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalTransactions = 50000 + Math.floor(Math.random() * 30000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L390** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalVolume = 500000 + Math.random() * 500000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L391** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const successRate = 0.97 + Math.random() * 0.02;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L414** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `(totalTransactions / 24) * peakMultiplier * (0.9 + Math.random() * 0.2)`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L426** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `type: types[Math.floor(Math.random() * types.length)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L427** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `amount: 100 + Math.random() * 500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L429** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `userId: `user-${Math.floor(Math.random() \* 10000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L430** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `creatorId: `creator-${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L432** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `start.getTime() + Math.random() * (end.getTime() - start.getTime())`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L434** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `status: Math.random() > 0.03 ? 'completed' : 'pending',`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L503** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const currentMrr = 150000 + Math.random() * 50000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L504** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const growthRate = 0.05 + Math.random() * 0.05;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L510** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `projectedMrr *= 1 + growthRate * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/admin-bi-dashboard/src/routes/users.ts`

- **L55** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 200000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L56** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const activeUsers = Math.floor(totalUsers * (0.35 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L57** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const newUsers = Math.floor(totalUsers * 0.05 * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L58** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const churned = Math.floor(newUsers * (0.2 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L59** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const reactivated = Math.floor(churned * (0.15 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L60** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const verified = Math.floor(totalUsers * (0.6 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L61** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const premium = Math.floor(totalUsers * (0.08 + Math.random() * 0.04));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L64** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevActiveUsers = activeUsers * (0.88 + Math.random() * 0.08);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L65** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevNewUsers = newUsers * (0.85 + Math.random() * 0.1);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L66** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const retentionRate = 0.75 + Math.random() * 0.1;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L67** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevRetention = retentionRate * (0.95 + Math.random() * 0.08);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L71** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const activationRate = 0.65 + Math.random() * 0.2;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L144** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalNewUsers = 8000 + Math.floor(Math.random() * 4000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L159** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const users = Math.floor(totalNewUsers * ch.share * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L160** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const conversionRate = 0.02 + Math.random() * 0.08;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L161** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const cac = ch.cac * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L162** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const ltv = 50 + Math.random() * 150;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L188** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const users = Math.floor(((totalNewUsers * 0.05) / (index + 1)) * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L189** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const spend = users * (20 + Math.random() * 30);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L196** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `conversionRate: 0.02 + Math.random() * 0.06,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L202** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const referrals = Math.floor((50 / (i + 1)) * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L207** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `conversionRate: 0.4 + Math.random() * 0.4,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L290** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const mau = 150000 + Math.floor(Math.random() * 30000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L291** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const wau = Math.floor(mau * (0.45 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L292** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const dau = Math.floor(wau * (0.35 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L294** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgSessionDuration = 15 + Math.random() * 25; // minutes`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L295** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgSessionsPerUser = 2 + Math.random() * 3;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L296** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgViewingTime = 45 + Math.random() * 60; // minutes per day`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L297** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const avgInteractions = 10 + Math.floor(Math.random() * 20);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L312** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const users = Math.floor(dau * act.share * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L313** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const count = users * (1 + Math.floor(Math.random() * 5));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L333** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const users = Math.floor(mau * seg.share * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L337** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgEngagement: seg.avgEngagement * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L338** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `retention: 0.5 + seg.avgEngagement * 0.4 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L350** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `week1: baseEngagement * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L351** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `week2: baseEngagement * 0.85 * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L352** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `week3: baseEngagement * 0.75 * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L353** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `week4: baseEngagement * 0.65 * (0.95 + Math.random() * 0.1),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L420** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalCreators = 12000 + Math.floor(Math.random() * 3000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L421** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const activeCreators = Math.floor(totalCreators * (0.4 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L422** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const newCreators = Math.floor(totalCreators * 0.04 * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L423** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const verifiedCreators = Math.floor(totalCreators * (0.25 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L424** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const topTierCreators = Math.floor(totalCreators * (0.02 + Math.random() * 0.01));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L427** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const prevActiveCreators = activeCreators * (0.9 + Math.random() * 0.08);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L428** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const prevNewCreators = newCreators * (0.85 + Math.random() * 0.15);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L429** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const prevVerified = verifiedCreators * (0.92 + Math.random() * 0.06);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L444** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const creators = Math.floor(totalCreators * cat.share * (0.85 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L448** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgRevenue: 500 + Math.random() * 2000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L449** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgViewers: 20 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L450** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `growth: -5 + Math.random() * 25,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L467** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const count = Math.floor(onboardingBase * stage.conversionRate * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L473** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTimeInStage: stage.avgTime * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L561** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const cohortUsers = 500 + Math.floor(Math.random() * 500);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L565** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `return Math.min(1, baseRetention * (0.9 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L588** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `d1Retention: 0.45 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L589** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `d7Retention: 0.25 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L590** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `d30Retention: 0.12 + Math.random() * 0.08,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L591** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `d90Retention: 0.06 + Math.random() * 0.04,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L592** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLifetimeDays: 45 + Math.random() * 30,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L593** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `churnPredictionAccuracy: 0.75 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L648** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 200000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L660** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * age.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L662** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgWatchTime: 30 + Math.random() * 60,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L663** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSpend: 5 + Math.random() * 25,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L674** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * g.share * (0.95 + Math.random() * 0.1)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L676** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgEngagement: 0.3 + Math.random() * 0.4,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L688** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * d.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L690** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSessionDuration: 15 + Math.random() * 30,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L703** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * p.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L705** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `conversionRate: 0.02 + Math.random() * 0.06,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L720** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * l.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L776** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 200000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L792** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `users: Math.floor(totalUsers * s.share * (0.9 + Math.random() * 0.2)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L794** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLifetimeValue: s.avgValue * (0.8 + Math.random() * 0.4),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L795** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgDaysInStage: 5 + Math.floor(Math.random() * 25),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L819** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `rate: t.rate * (0.9 + Math.random() * 0.2),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L820** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `users: Math.floor(1000 * t.rate * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L825** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `overall: 0.65 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L826** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `growth: 0.7 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L827** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagement: 0.6 + Math.random() * 0.25,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L828** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `retention: 0.55 + Math.random() * 0.3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L829** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `monetization: 0.5 + Math.random() * 0.3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/admin-bi-dashboard/src/types.ts`

- **L1139** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 2 * volatility * baseValue;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/aphrodite/analytics-dashboard/src/routes/alerts.ts`

- **L249** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `end.getTime() - Math.random() * (end.getTime() - start.getTime())`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L252** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `Math.random() > 0.3`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L254** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `end.getTime() - Math.random() * (end.getTime() - start.getTime()) * 0.5`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L259** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 50 + Math.random() * 100,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L262** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `acknowledged: Math.random() > 0.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L263** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `acknowledgedBy: Math.random() > 0.5 ? 'admin@example.com' : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L264** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `acknowledgedAt: Math.random() > 0.5 ? new Date().toISOString() : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L292** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `triggeredAt: new Date(Date.now() - Math.random() * 3600000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L295** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 50 + Math.random() * 50,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L581** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalSpending: 100 + Math.random() * 400,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L582** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `watchTime: 5000 + Math.random() * 10000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L583** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messageCount: 50 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L589** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `addedAt: new Date(Date.now() - Math.random() * 90 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L706** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalUsers = 10000 + Math.floor(Math.random() * 5000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/dashboards.ts`

- **L113** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalRevenue = 15000 + Math.random() * 10000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L114** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalViewers = 25000 + Math.floor(Math.random() * 15000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L115** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalFollowers = 12000 + Math.floor(Math.random() * 5000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L116** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalStreams = 15 + Math.floor(Math.random() * 10);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L130** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgStreamDuration: 120 + Math.floor(Math.random() * 60),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L132** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagementRate: 0.35 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L145** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `duration: 90 + Math.floor(Math.random() * 90),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L147** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenue: 800 - i * 100 + Math.random() * 200,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L148** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagement: 0.35 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L159** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `viewers: Math.floor((totalViewers / 30) * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L160** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `unique: Math.floor((totalViewers / 30) * 0.6 * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L164** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `amount: (totalRevenue / 30) * (0.7 + Math.random() * 0.6),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L241** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalWatchTime = 5000 + Math.floor(Math.random() * 3000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L242** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalSpending = 200 + Math.floor(Math.random() * 300);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L260** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `streamsWatched: 45 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L261** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `creatorsFollowed: 12 + Math.floor(Math.random() * 8),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L262** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesSent: 150 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L263** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `reactionsGiven: 300 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L277** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `creatorUsername: `Creator${Math.floor(Math.random() \* 10)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L278** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `streamId: `stream-${Math.floor(Math.random() \* 100)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L343** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalRevenue = 500000 + Math.random() * 200000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L344** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const activeUsers = 75000 + Math.floor(Math.random() * 25000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L345** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const activeCreators = 1500 + Math.floor(Math.random() * 500);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L346** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const liveStreams = 150 + Math.floor(Math.random() * 50);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L388** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `cpu: { usage: 45 + Math.random() * 20, load: [2.1, 2.3, 2.5] },`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L392** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `percentage: 50 + Math.random() * 10,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L397** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `percentage: 50 + Math.random() * 10,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L425** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `churnRate: 0.06 + Math.random() * 0.02,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L426** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `conversionRate: 0.12 + Math.random() * 0.03,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L461** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeStreams: 150 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L462** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalViewers: 25000 + Math.floor(Math.random() * 10000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L463** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeConnections: 35000 + Math.floor(Math.random() * 15000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L464** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesPerMinute: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L465** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tipsPerMinute: 50 + Math.floor(Math.random() * 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L466** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenuePerMinute: 800 + Math.floor(Math.random() * 400),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L486** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `amount: i % 4 === 0 ? 10 + Math.floor(Math.random() * 50) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L487** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `username: `User${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/engagement.ts`

- **L79** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalMessages = 500000 + Math.floor(Math.random() * 200000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L85** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgMessageLength: 25 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L86** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `peakMessagesPerMinute: 150 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L87** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `emoticonUsage: 0.35 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L94** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLength: 20 + Math.floor(Math.random() * 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L99** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalTipAmount = 150000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L108** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `maxTipAmount: 500 + Math.floor(Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L123** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTip: 25 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L138** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `newFollowers: 5000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L139** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `unfollowers: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L140** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `netFollowerChange: 4500 + Math.floor(Math.random() * 1800),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L141** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `followRate: 0.12 + Math.random() * 0.05,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L157** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeDeviceSessions: 2000 + Math.floor(Math.random() * 1000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L158** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `uniqueDeviceUsers: 1500 + Math.floor(Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L159** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSessionDuration: 25 * 60 + Math.floor(Math.random() * 15 * 60),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L178** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const multiplier = 0.8 + Math.random() * 0.4;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L181** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagementRate: (0.3 + Math.random() * 0.2) * multiplier,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L194** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `overallEngagementRate: 0.35 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L197** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSessionEngagement: 0.45 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L237** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalMessages = 500000 + Math.floor(Math.random() * 200000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L318** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgLength: 20 + Math.floor(Math.random() * 25),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L319** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `emoticonRate: 0.3 + Math.random() * 0.3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L351** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalAmount = 150000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L476** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgTip: 35 + Math.random() * 40,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L477** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `maxTip: 100 + Math.floor(Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L478** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTip: new Date(end.getTime() - Math.random() * 7 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L479** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `isMember: Math.random() > 0.3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L532** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const newFollowers = 5000 + Math.floor(Math.random() * 2000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L533** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const unfollowers = 500 + Math.floor(Math.random() * 200);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L534** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalReactions = 750000 + Math.floor(Math.random() * 250000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L542** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 150000 + Math.floor(Math.random() * 50000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L555** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `new: Math.floor((newFollowers / 30) * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L556** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `lost: Math.floor((unfollowers / 30) * (0.8 + Math.random() * 0.4)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L573** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 8000 + Math.floor(Math.random() * 3000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L584** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 15000 + Math.floor(Math.random() * 5000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L633** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const activeSessions = 2500 + Math.floor(Math.random() * 1000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L635** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalRevenue = 75000 + Math.floor(Math.random() * 25000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L719** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSessionDuration: 25 + Math.floor(Math.random() * 15),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L751** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeViewers: 15000 + Math.floor(Math.random() * 5000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L752** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeChatters: 3000 + Math.floor(Math.random() * 1000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L753** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesPerMinute: 150 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L754** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tipsPerMinute: 25 + Math.floor(Math.random() * 15),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L755** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenuePerMinute: 450 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L756** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeDeviceSessions: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L761** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `count: 14000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L765** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `count: 140 + Math.floor(Math.random() * 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L769** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `count: 20 + Math.floor(Math.random() * 15),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L770** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `amount: 350 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L783** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `amount: 5 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L785** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `creatorUsername: `Creator${Math.floor(Math.random() \* 10) + 1}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L787** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `message: Math.random() > 0.5 ? 'Great stream!' : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/exports.ts`

- **L49** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `rowCount: 1500 + Math.floor(Math.random() * 1000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L50** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `fileSize: 1024 * 1024 * (1 + Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L110** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `rowCount: 1000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L111** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `fileSize: 1024 * 1024 * (0.5 + Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L205** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 5000 + Math.random() * 3000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L206** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: 2000 + Math.random() * 1500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L207** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `subscriptions: 1500 + Math.random() * 1000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L208** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `contentSales: 500 + Math.random() * 500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L209** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `privateShows: 300 + Math.random() * 300,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L210** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tokens: 200 + Math.random() * 200,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L241** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 3000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L242** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `unique: 2000 + Math.floor(Math.random() * 1500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L243** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `new: 300 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L244** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `returning: 1700 + Math.floor(Math.random() * 1300),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L245** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgWatchTime: 30 + Math.floor(Math.random() * 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L246** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `peakConcurrent: 500 + Math.floor(Math.random() * 400),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L276** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messages: 15000 + Math.floor(Math.random() * 10000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L277** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `chatters: 2000 + Math.floor(Math.random() * 1500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L278** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: 500 + Math.floor(Math.random() * 400),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L279** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tippers: 150 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L280** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `reactions: 8000 + Math.floor(Math.random() * 5000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L281** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `follows: 200 + Math.floor(Math.random() * 150),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L282** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagementRate: 0.3 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/health.ts`

- **L84** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `latency: 5 + Math.random() * 10,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L93** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `latency: 1 + Math.random() * 3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L94** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `hitRate: 0.85 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L98** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `latency: 10 + Math.random() * 20,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L99** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `queueSize: Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L103** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `connections: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L116** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 1000000 + Math.floor(Math.random() * 500000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L117** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `perSecond: 150 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L118** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `errorRate: 0.001 + Math.random() * 0.002,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/predictions.ts`

- **L584** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const baseValue = 1000 + Math.random() * 2000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L585** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const trend = 1 + Math.random() * 0.001;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L592** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const noise = 0.9 + Math.random() * 0.2;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L611** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const startTime = new Date(now.getTime() - Math.random() * days * 24 * 60 * 60 * 1000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L612** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const duration = 1 + Math.floor(Math.random() * 4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L614** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const peakViewers = 50 + Math.floor(Math.random() * 500);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L615** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const averageViewers = Math.floor(peakViewers * (0.4 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L623** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalRevenue: averageViewers * (0.5 + Math.random() * 1.5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L624** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `category: ['gaming', 'irl', 'creative', 'music'][Math.floor(Math.random() * 4)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L633** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const category = ['gaming', 'irl', 'creative'][Math.floor(Math.random() * 3)] ?? 'gaming';`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L638** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const dayOfWeek = Math.floor(Math.random() * 7);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L639** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const hour = Math.floor(Math.random() * 24);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L650** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `viewerOverlap: 0.2 + Math.random() * 0.3,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L659** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const publishedAt = new Date(now.getTime() - Math.random() * 180 * 24 * 60 * 60 * 1000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L660** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const views = 100 + Math.floor(Math.random() * 10000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L661** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const engagement = 5 + Math.random() * 25;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L662** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const revenue = views * (0.01 + Math.random() * 0.05);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L669** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `peakViewers: type === 'stream' ? Math.floor(views * (0.1 + Math.random() * 0.2)) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L671** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `type === 'stream' ? Math.floor(views * (0.05 + Math.random() * 0.1)) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L674** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `duration: type === 'stream' ? 60 + Math.floor(Math.random() * 180) : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L675** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `title: `Content ${i + 1} - ${['Amazing', 'Epic', 'Special',
    'New'][Math.floor(Math.random() * 4)]} ${type}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L676** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `tags: Array.from({ length: 3 + Math.floor(Math.random() * 5) }, (_, j) => `tag${j +
    1}`),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L677** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `category: ['gaming', 'irl', 'creative', 'music'][Math.floor(Math.random() * 4)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L678** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `retentionRate: 0.3 + Math.random() * 0.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L685** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalFollowers: 5000 + Math.floor(Math.random() * 50000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L686** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeFollowers: 1000 + Math.floor(Math.random() * 10000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L687** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `averageAge: 22 + Math.floor(Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/revenue.ts`

- **L113** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: Math.random() * 10000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L114** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: Math.random() * 4000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L115** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `subscriptions: Math.random() * 3000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L116** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `contentSales: Math.random() * 1500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L117** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `privateShows: Math.random() * 1000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L118** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tokens: Math.random() * 500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L139** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const previousRevenue = totalRevenue * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L140** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const previousTransactions = transactionCount * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L164** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `payers: calculateGrowth(uniquePayers, uniquePayers * (0.85 + Math.random() * 0.3)),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L295** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: Math.random() * 1000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L296** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: Math.random() * 400,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L297** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `subscriptions: Math.random() * 300,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L298** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `contentSales: Math.random() * 150,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L299** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `privateShows: Math.random() * 100,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L300** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tokens: Math.random() * 50,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L367** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTransaction: new Date(end.getTime() - Math.random() * 86400000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L375** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTransaction: new Date(end.getTime() - Math.random() * 86400000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L383** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTransaction: new Date(end.getTime() - Math.random() * 86400000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L391** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTransaction: new Date(end.getTime() - Math.random() * 86400000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L399** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `lastTransaction: new Date(end.getTime() - Math.random() * 86400000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L407** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.75 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L448** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const amount = Math.random() * 50000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L449** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const previousAmount = amount * (0.8 + Math.random() * 0.4);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L509** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const source = sources[Math.floor(Math.random() * sources.length)];`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L510** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const amount = source === 'tips' ? 5 + Math.random() * 100 : 10 + Math.random() * 200;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L520** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `creatorId: `creator-${Math.floor(Math.random() \* 50) + 1}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L521** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `creatorUsername: `Creator${Math.floor(Math.random() \* 50) + 1}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L522** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `userId: `user-${Math.floor(Math.random() \* 1000) + 1}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L523** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `username: `User${Math.floor(Math.random() \* 1000) + 1}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L525** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `source !== 'subscriptions' ? `stream-${Math.floor(Math.random() \* 200) +
    1}` : undefined,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L528** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `start.getTime() + Math.random() * (end.getTime() - start.getTime())`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L583** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const currentRevenue = 50000 + Math.random() * 100000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L673** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalVolume = 500000 + Math.random() * 1000000;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L686** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeCreators: Math.floor(1000 + Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L687** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeUsers: Math.floor(50000 + Math.random() * 25000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L752** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const activeSubscriptions = 5000 + Math.floor(Math.random() * 2000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/trends.ts`

- **L103** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 150000 + Math.random() * 50000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L108** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 140000 + Math.random() * 40000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L120** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 75000 + Math.random() * 25000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L125** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 70000 + Math.random() * 20000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L137** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 0.42 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L142** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 0.38 + Math.random() * 0.08,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L154** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 85000 + Math.random() * 30000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L159** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 80000 + Math.random() * 25000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L171** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 5500 + Math.random() * 1000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L176** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 5000 + Math.random() * 800,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L188** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 8000 + Math.random() * 2000,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L193** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 7200 + Math.random() * 1500,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L354** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 1.5 + Math.random() * 0.5`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L356** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 0.5 + Math.random() * 0.2`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L357** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `: 1 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L423** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `period1: base + Math.random() * variance,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L424** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `period2: base * 0.9 + Math.random() * variance * 0.8,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L517** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const growthRate = 0.02 + Math.random() * 0.03;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L521** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value: baseValue * (0.9 + Math.random() * 0.2) * (1 + (i * growthRate) / 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L599** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const severity = severities[Math.floor(Math.random() * 3)];`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L600** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const isPositive = Math.random() > 0.3;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L605** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `timestamp: new Date(start.getTime() + Math.random() * periodMs).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L606** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value: 100 * (isPositive ? 1.2 + Math.random() * 0.5 : 0.5 + Math.random() * 0.3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L608** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `deviation: isPositive ? 0.2 + Math.random() * 0.5 : -(0.2 + Math.random() * 0.3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L842** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 1.8 + Math.random() * 0.4`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L844** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 0.4 + Math.random() * 0.2`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L845** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `: 1.0 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L852** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 1.6 + Math.random() * 0.3`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L854** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 0.5 + Math.random() * 0.2`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L855** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `: 1.0 + Math.random() * 0.2,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L862** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 1.4 + Math.random() * 0.3`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L864** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `? 0.7 + Math.random() * 0.15`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L865** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `: 1.0 + Math.random() * 0.15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/routes/viewers.ts`

- **L83** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const totalViewers = 100000 + Math.floor(Math.random() * 50000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L193** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const initialSize = Math.floor(1000 + Math.random() * 500);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L217** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const multiplier = 0.8 + Math.random() * 0.4;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L285** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const uniqueViewers = 50000 + Math.floor(Math.random() * 25000);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L331** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgWatchTime: 30 + Math.random() * 30,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L332** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSpending: 15 + Math.random() * 20,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L466** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 150000 + Math.floor(Math.random() * 50000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L560** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const initialSize = Math.floor(800 + Math.random() * 400);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L563** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variance = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L569** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenue: initialSize * retained * (15 + Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L585** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgAge: 25 + Math.floor(Math.random() * 15),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L586** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `topCountry: ['US', 'GB', 'DE', 'CA'][Math.floor(Math.random() * 4)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L588** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `Math.floor(Math.random() * 4)`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L654** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `status: ['active', 'inactive', 'new', 'returning'][Math.floor(Math.random() * 4)] as`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L660** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalWatchTime: Math.floor(Math.random() * 10000) * 60,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L661** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `sessionsCount: Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L662** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `avgSessionDuration: Math.floor(30 + Math.random() * 60) * 60,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L663** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalSpending: Math.floor(Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L664** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tipsGiven: Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L665** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `subscriptions: Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L666** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesCount: Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L667** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `followedCreators: Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L670** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `rate: Math.random() * 0.5,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L672** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `end.getTime() - Math.random() * (end.getTime() - start.getTime())`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L674** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `favoriteCreator: `Creator${Math.floor(Math.random() \* 100)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L677** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `country: ['US', 'GB', 'DE', 'CA', 'FR'][Math.floor(Math.random() * 5)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L678** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `platform: ['web', 'ios', 'android'][Math.floor(Math.random() * 3)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L679** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `device: ['desktop', 'mobile', 'tablet'][Math.floor(Math.random() * 3)],`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L681** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `joinedAt: new Date(Date.now() - Math.random() * 365 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L722** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `joinedAt: new Date(Date.now() - Math.random() * 730 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L750** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `amount: 50 + Math.random() * 100,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L762** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `streamId: `stream-${Math.floor(Math.random() \* 100)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L763** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `creatorUsername: `Creator${Math.floor(Math.random() \* 50)}`,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L765** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `duration: Math.floor(20 + Math.random() * 60) * 60,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L766** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messages: Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L767** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: Math.floor(Math.random() * 3),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/analytics-dashboard/src/websocket/handler.ts`

- **L279** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeStreams: 150 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L280** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `totalViewers: 25000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L281** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesPerMinute: 500 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L282** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tipsPerMinute: 50 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L283** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenuePerMinute: 800 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L289** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `current: 800 + Math.floor(Math.random() * 400),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L290** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: 400 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L291** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `subscriptions: 300 + Math.floor(Math.random() * 150),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L292** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `other: 100 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L295** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 700 + Math.floor(Math.random() * 300),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L302** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `total: 25000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L303** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `concurrent: 15000 + Math.floor(Math.random() * 1500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L304** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `new: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L305** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `returning: 14500 + Math.floor(Math.random() * 1300),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L308** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value: 14500 + Math.floor(Math.random() * 1000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L315** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messagesPerMinute: 500 + Math.floor(Math.random() * 100),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L316** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeChatters: 3000 + Math.floor(Math.random() * 500),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L317** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tipsPerMinute: 50 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L318** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `reactionsPerMinute: 200 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L319** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `engagementRate: 0.35 + Math.random() * 0.1,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L325** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `active: Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L332** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `live: 150 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L333** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `starting: Math.floor(Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L334** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `ending: Math.floor(Math.random() * 10),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L337** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `viewers: 2000 - i * 300 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L338** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: 100 - i * 15 + Math.floor(Math.random() * 20),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L345** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `viewers: 500 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L346** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `tips: 50 + Math.floor(Math.random() * 30),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L347** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `messages: 100 + Math.floor(Math.random() * 50),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L348** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `followers: Math.floor(Math.random() * 5),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L355** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `cpu: 40 + Math.random() * 20,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L356** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `memory: 50 + Math.random() * 15,`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L357** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `activeConnections: 35000 + Math.floor(Math.random() * 5000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L359** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `revenue: 800 + Math.floor(Math.random() * 200),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L360** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `viewers: 25000 + Math.floor(Math.random() * 2000),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `apps/aphrodite/auth/src/routes/oauth.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const nonce = Math.random().toString(36).substring(2);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/mobile-broadcaster/src/services/ChatService.ts`

- **L647** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/mobile-broadcaster/src/services/NotificationService.ts`

- **L905** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `notif*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/mobile-broadcaster/src/services/StreamingService.ts`

- **L564** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `stream*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/mobile-viewer/src/services/OfflineService.ts`

- **L484** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const downloadId = `download*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L800** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const messageId = `msg*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/aphrodite/notifications/src/push/service.ts`

- **L306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `push*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/arete/mobile/src/screens/coach/__tests__/setup.ts`

- **L408** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `{ label: 'Mon', value: 50 + Math.round(Math.random() * 50) },`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L409** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `{ label: 'Tue', value: 50 + Math.round(Math.random() * 50) },`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L410** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `{ label: 'Wed', value: 50 + Math.round(Math.random() * 50) },`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L411** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `{ label: 'Thu', value: 50 + Math.round(Math.random() * 50) },`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L412** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `{ label: 'Fri', value: 50 + Math.round(Math.random() * 50) },`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/arete/mobile/src/screens/gamification/__tests__/setup.ts`

- **L735** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `progress: i < 15 ? 1 : Math.random() * 0.9,`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L783** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `points: Math.max(100, 5000 - i * 200 + Math.floor(Math.random() * 100)),`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L830** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `startDate.setDate(startDate.getDate() - Math.floor(Math.random() * 14));`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L838** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `const progress = i < 2 ? targetValue : Math.floor(Math.random() * targetValue);`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/arete/mobile/src/screens/gamification/components/CelebrationAnimations.tsx`

- **L95** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const angle = Math.random() * Math.PI * 2;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L96** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const distance = 80 + Math.random() * 120;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L167** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const drift = (Math.random() - 0.5) * 100;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L168** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const rotations = 2 + Math.random() * 4;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L180** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `duration: 2000 + Math.random() * 1000,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L185** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `duration: 2000 + Math.random() * 1000,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L190** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `duration: 2000 + Math.random() * 1000,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L207** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const width = 6 + Math.random() * 8;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L208** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const height = 10 + Math.random() * 12;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L301** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size={6 + Math.random() * 8}`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).

### `apps/arete/mobile/src/screens/goals/__tests__/setup.ts`

- **L245** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `progress: Math.round(Math.random() * 100),`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/arete/mobile/src/screens/habits/__tests__/setup.ts`

- **L219** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `date.setHours(6 + (i % 4) * 4, Math.floor(Math.random() * 60), 0, 0);`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/arete/mobile/src/services/OfflineSyncService.ts`

- **L221** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `${type}-${operation}-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/arete/web/src/pages/vision/VisionPage.tsx`

- **L363** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `const score = 60 + Math.floor(Math.random() * 35);`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/asase/api/src/api-auth.ts`

- **L154** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `apps/asase/dashboard/src/alert-center.ts`

- **L118** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rnd = Math.random().toString(36).slice(2, 7);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/asase/dashboard/src/dashboard-shell.ts`

- **L137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rnd = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/asase/dashboard/src/reporting-engine.ts`

- **L145** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rnd = Math.random().toString(36).slice(2, 7);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L152** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rnd = Math.random().toString(36).slice(2, 7);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/bellona/build-api/src/main.ts`

- **L210** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/bellona/remote-host/src/blender-adapter.ts`

- **L916** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}:${Date.now()}:${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/api/src/routes/ai.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `requestId: `vis-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L208** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `requestId: `opt-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/api/src/routes/cross-domain.ts`

- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = body.requestId ?? `prov-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L94** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = body.requestId ?? `maint-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/api/src/routes/equipment.ts`

- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `eq-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/energy/src/carbon-tracker.ts`

- **L172** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `REC-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/energy/src/energy-audit.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `AF-${Date.now()}-${Math.random().toString(36).slice(2,
    5).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/alarm-management.ts`

- **L60** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ALM-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/batch-management.ts`

- **L124** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = `BATCH-${Date.now()}-${Math.random().toString(36).slice(2,
    7).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/digital-twin.ts`

- **L209** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const simulationId = `SIM-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/production-monitor.ts`

- **L164** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `DT-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/quality-management.ts`

- **L167** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `DEF-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L209** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `INSP-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/scada-overview.ts`

- **L92** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ALM-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/scheduler.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `JOB-${Date.now()}-${Math.random().toString(36).slice(2,
    7).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/factory-os/src/shift-handover.ts`

- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `SHIFT-${params.date}-${params.shift.toUpperCase()}-${Math.random().toString(36).slice(2,
    5).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ISSUE-${Date.now()}-${Math.random().toString(36).slice(2,
    5).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L97** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `INC-${Date.now()}-${Math.random().toString(36).slice(2,
    5).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/architecture.ts`

- **L158** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sync-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/asset-management.ts`

- **L94** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ast-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/maintenance-kpi.ts`

- **L108** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `fe-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L120** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `pm-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/mobile-api.ts`

- **L287** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `photo-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L331** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `packageId: `pkg-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/spare-parts.ts`

- **L89** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `sku-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/maintenance/src/work-order.ts`

- **L116** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `wo-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/architecture.ts`

- **L222** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `stmt-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/assessment.ts`

- **L125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `asmt-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L142** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `att-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/certification.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `cert-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `rwo-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/corporate-training.ts`

- **L116** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `corp-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L158** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `del-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L165** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const enrollmentId = `cenr-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L174** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `inv-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/course-catalog.ts`

- **L73** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `crs-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L183** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `enr-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/instructor-management.ts`

- **L84** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `instr-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `sched-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L186** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `fb-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/brigid/training/src/virtual-lab.ts`

- **L371** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `tag.value += (Math.random() - 0.5) * 0.02 * (tag.maxValue - tag.minValue);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/cybele/api/src/routes/gateway.ts`

- **L492** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const secret = Math.random().toString(36).substring(2) + Math.random().toString(36).substring(2);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/demeter/api/src/routes/weather.ts`

- **L157** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `windDirection: ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW'][Math.floor(Math.random() * 8)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/demeter/mobile/src/services/offline/ActionQueue.ts`

- **L483** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `action*${Date.now()}*${this.idCounter}_${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/demeter/mobile/src/services/offline/OfflinePhotoManager.ts`

- **L532** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `photo*${Date.now()}*${this.idCounter}_${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/demeter/mobile/src/services/offline/SyncEngine.ts`

- **L490** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sync*${Date.now()}*${this.idCounter}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/demeter/web/src/pages/sensors/RealTimeMonitorPage.tsx`

- **L386** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const delta = (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/freya/api/src/event-bus.ts`

- **L262** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/freya/shop/src/customer-account.ts`

- **L60** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `cust-${Date.now()}-${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/narrative-api/src/services/dialogue.service.ts`

- **L977** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `nextNodeId = targets[Math.floor(Math.random() * targets.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L981** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `nextNodeId = targets[Math.floor(Math.random() * targets.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/narrative-api/src/services/validation.service.ts`

- **L1769** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const validationId = `val-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/simulation-worker/src/workers/culture-worker.ts`

- **L298** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `culture-snapshot-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/simulation-worker/src/workers/economy-worker.ts`

- **L297** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `snapshot-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/abilities.ts`

- **L1215** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const newHex = candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/svc-veilborn-core/src/cards.ts`

- **L406** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `card-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `trade-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2400** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `loan-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2407** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `gift-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2937** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sharing-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3225** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `balance-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/character-creation.ts`

- **L549** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `char-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/character-sheet.ts`

- **L267** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `item-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L536** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `note-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L643** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `journal-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L861** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `share-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/dice.ts`

- **L77** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* Default random number generator using Math.random`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/hathor/svc-veilborn-core/src/game-state.ts`

- **L74** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/multiplayer.ts`

- **L1811** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `action-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/territory-control.ts`

- **L559** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `hist*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/veylmaster.ts`

- **L733** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selected = candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1082** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedRole = roles[Math.floor(Math.random() * roles.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1100** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...allTraits].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1106** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const disposition = dispositions[Math.floor(Math.random() * dispositions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1149** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `mem-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1589** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `journal-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/wargame.ts`

- **L941** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `unit-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1649** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedUnit = unitPool[Math.floor(Math.random() * unitPool.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/svc-veilborn-core/src/weave.ts`

- **L123** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-core/src/world-gen.ts`

- **L2632** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < 0.3) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/hathor/svc-veilborn-strategy/src/ai-opponent.ts`

- **L600** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*move*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L616** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*attack*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L632** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*veil*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L649** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*passage*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L665** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*alliance*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L677** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*break*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L693** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*recruit*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L705** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*build*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L717** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ai*end*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/ai/ai-game-master.ts`

- **L187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L941** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `situationTemplates[Math.floor(Math.random() * situationTemplates.length)] ||`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L977** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `text: templates[Math.floor(Math.random() * templates.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/svc-veilborn-strategy/src/balance/balance-pipeline.ts`

- **L179** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `experiment-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/data-access.ts`

- **L149** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/echoes-of-fate/timeline-engine.ts`

- **L56** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/eternal-game/influence-engine.ts`

- **L56** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts`

- **L68** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L333** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const suffix = suffixes[Math.floor(Math.random() * suffixes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts`

- **L1115** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const resonance = resonanceTypes[Math.floor(Math.random() * resonanceTypes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/svc-veilborn-strategy/src/grand-campaign/types.ts`

- **L1176** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `campaign*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1180** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1184** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mode*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/resonance-wars/combat-engine.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/routes/temporal-routes.ts`

- **L301** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `action*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts`

- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L326** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `agenda.hiddenFaction = otherFactions[Math.floor(Math.random() * otherFactions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L348** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return prophecies[Math.floor(Math.random() * prophecies.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L796** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L814** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return factions[Math.floor(Math.random() * factions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1263** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return seers[Math.floor(Math.random() * seers.length)].playerId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1266** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return potentialWitnesses[Math.floor(Math.random() * potentialWitnesses.length)].playerId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/hathor/workbench/src/components/Modal.tsx`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generatedTitleId = titleId ?? `modal-title-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/context.ts`

- **L122** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `request.ctx?.requestId ?? `gql-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/plugin.ts`

- **L107** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `requestId: `gql-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/resolvers/cooking-session.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `cs-${Date.now()}-${sessionIdCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/resolvers/index.ts`

- **L176** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sl-${Date.now()}-${slIdCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/resolvers/meal-plan.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${mpIdCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/resolvers/pantry.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `pantry-${Date.now()}-${pantryIdCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/api/src/graphql/resolvers/recipe.ts`

- **L76** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${idCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L314** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `slug: slugify(input.title) + '-' + Math.random().toString(36).slice(2, 8),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/web/src/app/(app)/admin/api-keys/page.tsx`

- **L256** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `keyPrefix: `hst*new*${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/web/src/app/(app)/pantry/bulk/page.tsx`

- **L289** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `row-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L335** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `row-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L349** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `row-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/hestia/web/src/stores/cooking-store.ts`

- **L77** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `session-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/api/src/graphql/index.ts`

- **L249** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `msg-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L401** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conv-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L405** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L494** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `wm-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L546** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `am-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L597** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `em-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L839** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `agent-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L928** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `task-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1050** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `kb-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1141** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `doc-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/developer-portal/src/services/partner-program-service.ts`

- **L630** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).slice(2,
    8).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/mobile/src/services/OfflineSyncService.ts`

- **L233** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `${type}-${operation}-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/mobile/src/store/chatStore.ts`

- **L114** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/wearable/shared/src/sync.ts`

- **L276** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sync*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/web/pwa/src/lib/offline-storage.ts`

- **L424** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `sync-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/web/pwa/src/pages/ChatPage.tsx`

- **L353** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Date.now().toString(36) + Math.random().toString(36).substr(2);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/web/widget/src/widget.ts`

- **L947** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Date.now().toString(36) + Math.random().toString(36).substr(2);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/xr/shared/src/anchor-manager.ts`

- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `anchor*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AnchorId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/xr/shared/src/session-manager.ts`

- **L137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as SessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/xr/shared/src/spatial-ui.ts`

- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ui*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as UIElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/iris/xr/shared/src/voice-spatial.ts`

- **L424** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `audio*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/isis/generation-api/src/workflows/error-boundary.ts`

- **L554** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/isis/output-registry/src/services/output.service.ts`

- **L3485** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3491** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3497** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/isis/web/src/pages/job-studio-preset-utils.ts`

- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `preset\_${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/isis/web/src/pages/output-review-loop-utils.ts`

- **L226** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `comment\_${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `annotation\_${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/isis/workflow-registry/src/services/workflow.service.ts`

- **L3438** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3456** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `wa*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3472** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `wa*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/mobile/src/__mocks__/react-native-widget.ts`

- **L98** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `const widgetId = `widget*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L165** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `completed: Math.min(7, Math.floor(Math.random() * 8)),`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L166** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `percentage: Math.min(100, Math.floor(Math.random() * 101))`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L201** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `const activityId = `activity*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/mobile/src/components/fitness/SvgLineChart.tsx`

- **L5** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* react-native-svg. Renders real data — no Math.random / placeholder points.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/mobile/src/services/__mocks__/VoiceResponseService.ts`

- **L59** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `const progress = Math.random() * 100;`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/mobile/src/services/auth/SeamlessAuthService.ts`

- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `token: `tok\_${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/mobile/src/services/biometric/OracleDivinationService.ts`

- **L118** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...deck].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/mobile/src/services/download/RetryManager.ts`

- **L84** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * 2 * jitterAmount;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/mobile/src/services/progress/ProgressSyncServiceImpl.ts`

- **L564** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return 'mobile_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L568** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Math.random().toString(36).substr(2, 9) + Date.now().toString(36);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/mobile/src/services/voice/error-handler.ts`

- **L164** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 100;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/lilith/svc-ai/src/agent-coordination.ts`

- **L273** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L292** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L367** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.6 + Math.random() * 0.4,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L405** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/lilith/svc-ai/src/agent-executor.ts`

- **L656** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/lilith/svc-ai/src/ai-personal-trainer/real-time-coaching.ts`

- **L1761** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random()` call so tests can assert exact message output.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/ambient-soundscape/ambient-soundscape-service.ts`

- **L1474** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const azimuth = (Math.random() - 0.5) * 180 * params.stereoWidth;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-ai/src/asset-generation/asset-generation-service.ts`

- **L1616** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = request.seed ?? Math.floor(Math.random() * 1000000);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/comfyui-generation-provider.ts`

- **L498** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seed: request.seed || Math.floor(Math.random() * 2147483647),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1088** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// A/B tests require deterministic assignment per user; a Math.random()`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/domain-agents.ts`

- **L820** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/lilith/svc-ai/src/dynamic-dialogue/dynamic-dialogue-service.ts`

- **L367** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() > 0.5) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L809** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `let random = Math.random() * totalScore;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/fitness-instructor-generation/fitness-instructor-generation-service.ts`

- **L1319** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params?.seed ?? Math.floor(Math.random() * 1000000);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1422** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed ?? Math.floor(Math.random() * 1000000);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/hair-generation/hair-generation-service.ts`

- **L1892** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1893** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const phi = Math.random() * Math.PI * 0.5;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `apps/lilith/svc-ai/src/hiit-cardio-instruction/hiit-cardio-instruction-service.ts`

- **L531** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = candidates.sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-ai/src/mandala-generation/mandala-generation-service.ts`

- **L72** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// loop (Math.random() has ~1-in-millions collision risk at batch scale`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/meditation-generation/meditation-generation-pipeline.ts`

- **L773** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `relevanceScore: 0.85 + Math.random() * 0.15,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L785** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `relevanceScore: 0.75 + Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1069** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `result.traditionScore = 0.85 + Math.random() * 0.1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts`

- **L746** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `angle += (Math.random() - 0.5) * Math.PI * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1997** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.5,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1999** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.3`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2002** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2004** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.1`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-ai/src/multi-platform-delivery/smart-tv-casting.ts`

- **L642** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* distribution — unlike `Math.random`, which MUST NOT be used for`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/procedural-qa/procedural-qa-service.ts`

- **L1373** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() > test.config.trafficPercentage) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1379** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `let random = Math.random() * totalWeight;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1447** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Math.random()*1000+100 placeholder and Math.random() metric`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1531** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `pValue: Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1532** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `isSignificant: Math.random() > 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/rpg-character-generation/character-generation-service.ts`

- **L379** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const type = RESONANCE_TYPES[Math.floor(Math.random() * 5)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L783** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `loyalty: 50 + Math.floor(Math.random() * 50),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L944** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < 0.3) {return undefined;}`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1004** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `strength: Math.floor(Math.random() * 10) - 5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1005** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `bidirectional: Math.random() > 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1006** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `visibility: Math.random() > 0.8 ? ('secret' as const) : ('public' as const)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1239** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1397** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `inheritanceProbability: 0.5 + Math.random() * 0.25,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1443** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `inheritanceProbability: 0.4 + Math.random() * 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1453** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `return abilities.filter(a => Math.random() < Math.min(a.inheritanceProbability, chance));`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1457** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `return traits.filter(t => Math.random() < Math.min(t.inheritanceProbability, chance));`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1461** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() > chance) {return [];}`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1485** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `request.resonanceAffinity ?? RESONANCE_TYPES[Math.floor(Math.random() * 5)] ?? 'Clarity';`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts`

- **L236** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `type === 'ultimate' ? 'soul' : (costTypes[Math.floor(Math.random() * 4)] ?? 'mana');`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/lilith/svc-ai/src/rpg-map-generation/map-generation-service.ts`

- **L92** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seasons: Math.random() > 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L104** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (total > 3 && Math.random() < 0.2) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L107** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < 0.3) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L110** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < 0.2) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L142** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const points = 8 + Math.floor(Math.random() * 8);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L146** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = 0.6 + Math.random() * 0.4;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L167** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return Math.random() > 0.5 ? 'temperate' : 'arid';`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L171** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L312** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `extractionDifficulty: Math.floor(Math.random() * 5) + 3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L362** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const neutralRatio = 0.2 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L367** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...candidates].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L391** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const resonanceIndex = Math.floor(Math.random() * RESONANCE_TYPES.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L399** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `strength: Math.floor(Math.random() * 5) + 5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L416** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const pointCount = 3 + Math.floor(Math.random() * 4);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L417** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const shuffled = [...regions].sort(() => Math.random() - 0.5).slice(0, pointCount);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L427** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L449** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `: Math.random() > 0.5`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L452** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `power: Math.floor(Math.random() * 5) + 3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L462** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `radius: 50 + Math.floor(Math.random() * 100),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L463** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.floor(Math.random() * 3) + 1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L521** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const candidates = [...regions].sort(() => Math.random() - 0.5).slice(0, count);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L535** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `stability: Math.floor(Math.random() * 60) + 20,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L553** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L567** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L584** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `threatLevel: Math.random() < 0.3 ? 'active' : Math.random() < 0.6 ? 'stirring' : 'dormant',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L592** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `radius: 100 + Math.floor(Math.random() * 200),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L593** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `intensity: Math.floor(Math.random() * 5) + 3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L600** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L663** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const terrainIndex = Math.floor(Math.random() * options.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L703** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `.map((tile) => ({ tile, sortKey: Math.random() }))`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L714** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return Math.random() > 0.5 ? 'medium' : 'heavy';`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L717** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return Math.random() > 0.5 ? 'light' : 'medium';`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L775** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const shuffled = available.sort(() => Math.random() - 0.5).slice(0, count * 2);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L782** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const resonanceIndex = Math.floor(Math.random() * RESONANCE_TYPES.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L787** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `power: Math.floor(Math.random() * 5) + 3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L805** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const typeIndex = Math.floor(Math.random() * types.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L806** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const resonanceIndex = Math.floor(Math.random() * RESONANCE_TYPES.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L990** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const typeIndex = Math.floor(Math.random() * types.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L997** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `era: `Era ${Math.floor(Math.random() \* 5) + 1}`,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1024** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts`

- **L794** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: detected ? 60 + Math.floor(Math.random() * 40) : 0`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L832** — `ALLOW` (HIGH, rule `probability-gate`)
  - Code: `const correctVerdict = Math.random() < verdictProbability;`
  - Rationale: Compares Math.random() against a configured probability threshold
    for stochastic gating.

### `apps/lilith/svc-ai/src/rpg-political-intrigue/political-math.ts`

- **L10** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `*   1. NO `Math.random()`. Every score is a closed-form function of the`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L100** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* These bounds are the same shape the original `Math.random` ranges produced,`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/rpg-quest-generation/quest-generation-service.ts`

- **L67** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `function pickRandom<T>(arr: T[], random: () => number = Math.random): T {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L94** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const random = config.seed ? seededRandom(config.seed) : Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L157** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = random || Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L179** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = random || Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L279** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = random || Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L520** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const random = config.seed ? seededRandom(config.seed) : Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L609** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = random || Math.random;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L664** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (fromId && toId && Math.random() > 0.6) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L669** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `strength: 0.3 + Math.random() * 0.4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/runpod-integration/runpod-integration-service.ts`

- **L840** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// avoids synthesising file counts via Math.random (which previously`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L898** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* populated by the caller (no Math.random defaults).`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/text-to-3d/text-to-3d-service.ts`

- **L2013** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* back to Math.random so the signal remains deterministic per prompt.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-ai/src/utils/request-retry-circuit-breaker.ts`

- **L279** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `delay = delay + (Math.random() - 0.5) * jitterRange * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-ai/src/utils/routing-configuration-policies.ts`

- **L388** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `delay = delay + (Math.random() - 0.5) * jitterRange * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-ai/src/verification/consensus-detection.ts`

- **L480** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return 'Position ' + Math.random().toString(36).substr(2, 4);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-ai/src/world-generation/gaussian-splatting-service.ts`

- **L618** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.random() * 2 - 1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L619** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: Math.random() * 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L620** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.random() * 2 - 1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L647** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.random() * 4 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L648** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: Math.random() * 4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L649** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.random() * 4 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L671** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L672** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L673** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L698** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `let currentPsnr = 15 + Math.random() * 5;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L717** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: baseSplat.position.x + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L718** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: baseSplat.position.y + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L719** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: baseSplat.position.z + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L727** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `currentPsnr += 1 + Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L760** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `splatCloud.metadata.ssim = 0.85 + Math.random() * 0.1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L798** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `lpips: 0.1 + Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L799** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `reprojectionError: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L800** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `coverageRatio: 0.85 + Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L974** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const randomIndex = Math.floor(Math.random() * splats.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1457** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const u = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1458** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const v = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-ai/src/world-generation/world-generation-service.ts`

- **L129** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = (Math.random() * 16) | 0;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-anonymization/src/app.ts`

- **L457** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* predict the noise added to a release. Math.random is explicitly not`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-auth/src/__tests__/integration/auth-test-harness.ts`

- **L94** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `validKey: 'test_key_' + Math.random().toString(36).substring(7),`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/svc-biometric/src/implementations/GsrImplementations.ts`

- **L16** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* with the same input return the same samples. No `Math.random` is used.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-biometric/src/implementations/PostureImplementations.ts`

- **L39** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* No `Math.random` is used. All pseudo-random calibration samples come from a`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-biometric/src/implementations/TemperatureImplementations.ts`

- **L31** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* userId) pairs. No Math.random is used anywhere in this module.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/content-licensing-service.ts`

- **L644** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Randomness is CSPRNG-backed via `randomBase58Like`(replaces`Math.random`)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/crypto-random.ts`

- **L4** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* These replace previous `Math.random()` callsites across mock runtimes,`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L8** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* changes, from the PRNG `Math.random` to Node's CSPRNG (`crypto.randomBytes``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/in-memory-token-runtime.ts`

- **L364** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// `randomTxHashLike`(replaces`Math.random`) so mock hashes keyed into`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/in-memory-transaction-runtime.ts`

- **L55** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// `Math.random \* 1e6` draw, which could produce non-monotone /`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L89** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// via `randomTxHashLike`(replaces`Math.random`) so hashes keyed into the`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/nft-service.ts`

- **L452** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `randomTxHashLike`(replaces`Math.random`), producing a standard`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L464** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `randomBase58Like`(replaces`Math.random`).`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/sacred-asset-metadata.ts`

- **L467** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// didn't supply one; replaces the previous `Math.random()` fallback`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/security-service.ts`

- **L537** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* The entry id now uses a CSPRNG-backed suffix (replaces `Math.random`)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/transaction-manager.ts`

- **L568** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Replaces `Math.random`with a CSPRNG-backed suffix via`randomShortId``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-blockchain/src/wallet-service.ts`

- **L1230** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* CSPRNG-backed via `randomHex`(replaces`Math.random`) so test addresses`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1255** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Randomness is CSPRNG-backed via `randomHex`(replaces`Math.random`) so`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1279** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* CSPRNG-backed via `randomHex`(replaces`Math.random`).`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1306** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* `randomBalanceHex`(replaces`Math.random`). The `formatted` conversion`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-conversation/src/app.ts`

- **L1616** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return exponential + (Math.random() * 2 - 1) * jitterAmount;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/lilith/svc-daily-content/src/services/content-sharing-service.ts`

- **L51** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Helper to generate random tokens using CSPRNG (CLAUDE.md bans Math.random for tokens)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-fiat-ramp/src/fiat-ramp.ts`

- **L25** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*      address, not a variable-length Math.random string.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L47** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* for the final decimal amount. This replaces Math.random (v8`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-media/__mocks__/core-mock.ts`

- **L145** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `export const generateId = vi.fn(() => 'mock-id-' + Math.random().toString(36).substr(2, 9));`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.
- **L146** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `export const generateUUID = vi.fn(() => 'mock-uuid-' + Math.random().toString(36).substr(2, 9));`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/svc-media/src/transcripts/transcript-processor.ts`

- **L346** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `confidence: confidenceBase - Math.random() * 0.1 // Add slight variance`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/lilith/svc-metaverse/src/advanced/AstralProjection.ts`

- **L550** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = 2 + Math.random() * 3;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L551** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const height = Math.random() * 4 - 2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L559** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `velocity: [Math.cos(angle) * 0.5, Math.random() * 0.5 - 0.25, Math.sin(angle) * 0.5],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L561** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `size: 0.1 + Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/advanced/EnergyFieldVisualization.ts`

- **L242** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const angle = Math.random() * Math.PI * 2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L243** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = 0.5 + Math.random() * 1.5;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L248** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `this.bodyPosition[1] + Math.random() * 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L257** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `size: 0.05 + Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L258** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `life: 2.0 + Math.random() * 2.0,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/advanced/ProceduralWorldGenerator.ts`

- **L105** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seed: config.seed || Math.floor(Math.random() * 1000000),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/advanced/UnderwaterConsciousness.ts`

- **L150** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `Math.floor(Math.random() * 5)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L156** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `position: [Math.random() * 200 - 100, -Math.random() * 100, Math.random() * 200 - 100],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L158** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L159** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 0.5,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L160** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 2`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-metaverse/src/ai/AIServiceClient.ts`

- **L340** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const idx = Math.floor(Math.random() * fallbacks.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L433** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = (Math.random() * 16) | 0;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/DialogueSystem.ts`

- **L255** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const idx = Math.floor(Math.random() * topicData.responses.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/PersonalityEngine.ts`

- **L522** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `openness: Math.max(0, Math.min(1, base.o + (Math.random() - 0.5) * 0.2)),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L523** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `conscientiousness: Math.max(0, Math.min(1, base.c + (Math.random() - 0.5) * 0.2)),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L524** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `extraversion: Math.max(0, Math.min(1, base.e + (Math.random() - 0.5) * 0.2)),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L525** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `agreeableness: Math.max(0, Math.min(1, base.a + (Math.random() - 0.5) * 0.2)),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L526** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `neuroticism: Math.max(0, Math.min(1, base.n + (Math.random() - 0.5) * 0.2))`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L906** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `if (quirk.triggers.includes(trigger) && Math.random() < quirk.frequency) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/ai-community-simulation.ts`

- **L163** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `gossip\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L216** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `story\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-metaverse/src/ai/ai-guide-assignment.ts`

- **L125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `assignment\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-metaverse/src/ai/ai-sacred-art-generation.ts`

- **L1004** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seed: Math.floor(Math.random() * 2147483647),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/ambient-life-system.ts`

- **L197** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `entity.position.x += (Math.random() - 0.5) * deltaTime;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L198** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `entity.position.y += (Math.random() - 0.5) * deltaTime * 0.5; // Less vertical movement`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L199** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `entity.position.z += (Math.random() - 0.5) * deltaTime;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L203** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < 0.1) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/behavior-trees.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tree\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `action\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `action\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L190** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `condition\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L202** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sequence\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L214** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `selector\_${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-metaverse/src/ai/celtic-druids.ts`

- **L773** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* This replaces a Math.random() approximation; the depth here is deterministic and`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-metaverse/src/ai/interactive-consciousness-simulations.ts`

- **L713** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `coordinates: config.dimensions.map((dim) => ({ dimension: dim, value: Math.random() })),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/mayan-daykeepers.ts`

- **L647** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const randomDaySign = DAY_SIGNS[Math.floor(Math.random() * 20)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L648** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const randomTone = Math.floor(Math.random() * 13) + 1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L714** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `lineageDepth: authentic ? Math.floor(Math.random() * 25) + 10 : 0,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/personality-engine.ts`

- **L92** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = 'personality_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L95** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = options?.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L232** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: 'hybrid_' + Math.random().toString(36).substr(2, 9),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L389** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `persona.id = 'personality_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-metaverse/src/ai/teachers/MultiModalComm.ts`

- **L543** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const distortion = Math.random() * 0.2; // Mental noise`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L553** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `receivedSuccessfully: Math.random() > distortion,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/teachers/advanced/DreamInterpretation.ts`

- **L634** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `significance: symbol ? 0.7 + Math.random() * 0.3 : 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/ai/teachers/advanced/EnergyReading.ts`

- **L237** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const baseIntensity = 0.6 + Math.random() * 0.3;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L238** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const clarity = 0.5 + Math.random() * 0.5;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L292** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const balance = -0.3 + Math.random() * 0.6; // -0.3 to 0.3`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L293** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const openness = 0.4 + Math.random() * 0.6;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L358** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const flowRate = 0.5 + Math.random() * 0.5;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L387** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `severity: 0.3 + Math.random() * 0.7`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L405** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `intensity: 0.3 + Math.random() * 0.7,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L406** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `stability: 0.4 + Math.random() * 0.6,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L407** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `authenticity: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L434** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const level = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L473** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const depth = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L497** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `duration: Math.floor(Math.random() * 1800) // 0-30 minutes`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/creator/AssetLibrary.ts`

- **L80** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* NOT use Math.random() inside the asset initializer: the catalog would`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-metaverse/src/creator/TerrainGenerator.ts`

- **L106** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seed: Math.random() * 10000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L433** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.setHeight(x + halfChunk, y + halfChunk, avg + (Math.random() - 0.5) * randomRange);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L449** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `this.setHeight(x, y, avg + (Math.random() - 0.5) * randomRange);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L500** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `newHeight = currentHeight + (Math.random() - 0.5) * strength * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L601** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const x = Math.floor(Math.random() * this.heightMap.width);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L602** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const y = Math.floor(Math.random() * this.heightMap.height);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L612** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `rotation: rule.rotation ? Math.random() * Math.PI * 2 : 0,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L613** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `scale: rule.scale.min + Math.random() * (rule.scale.max - rule.scale.min),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/environments/CosmicSpaces.ts`

- **L236** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const angle = Math.random() * Math.PI * 4;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L237** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = Math.random() * 5000 * Math.exp(angle * 0.1);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L241** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const y = (Math.random() - 0.5) * 100;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L245** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: this.getStarColor(Math.random()),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L246** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `brightness: Math.random() * 0.5 + 0.5`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L254** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L255** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const phi = Math.acos(2 * Math.random() - 1);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L256** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = Math.pow(Math.random(), 0.3) * 3000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L264** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: this.getStarColor(Math.random()),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L265** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `brightness: Math.random() * 0.5 + 0.5`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L273** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const clusterX = (Math.random() - 0.5) * 8000;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L274** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const clusterY = (Math.random() - 0.5) * 2000;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L275** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const clusterZ = (Math.random() - 0.5) * 8000;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L279** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: this.getStarColor(Math.random()),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L280** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `brightness: Math.random() * 0.5 + 0.5`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L300** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const x = config.position[0] + (Math.random() - 0.5) * config.size[0];`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L301** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const y = config.position[1] + (Math.random() - 0.5) * config.size[1];`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L302** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const z = config.position[2] + (Math.random() - 0.5) * config.size[2];`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L315** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `size: Math.random() * 50 + 20,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/environments/WeatherSystem.ts`

- **L526** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `if (override || Math.random() < strikeChance) {`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/lilith/svc-metaverse/src/geometry/ancient-sites.ts`

- **L6** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Deterministic seeded "noise". Math.random() is banned in procedural`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-metaverse/src/geometry/cosmic-spaces-routes.ts`

- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const galaxyId = 'galaxy_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L114** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const nebulaId = 'nebula_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-metaverse/src/geometry/cosmic-spaces.ts`

- **L28** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L39** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 500,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L42** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 6 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L43** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L44** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 7000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L55** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `age: Math.random() * 13.8,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L70** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L76** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const angle = Math.random() * Math.PI * 2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L77** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = Math.random() * radius;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L78** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const height = (Math.random() - 0.5) * radius * axisRatio;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L86** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 6 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L87** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L88** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 7000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L99** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `age: Math.random() * 13.8,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L109** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L117** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * radius * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L118** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * radius,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L119** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * radius * 2`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L121** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 6 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L122** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L123** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 7000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L133** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `age: Math.random() * 13.8,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L143** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L153** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 200,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L154** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 400`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L156** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 6 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L157** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L158** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 7000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L169** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 300,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L172** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 6 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L173** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L174** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 7000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L184** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `age: Math.random() * 13.8,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L194** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L201** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `opacity: 0.6 + Math.random() * 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L220** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L227** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `opacity: 0.4 + Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L246** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L253** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `opacity: 0.1 + Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L273** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L281** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `shells: 3 + Math.floor(Math.random() * 4),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L300** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const seed = params.seed || Math.random() * 10000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L308** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `shockWaves: 2 + Math.floor(Math.random() * 3),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L334** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = 1000 + Math.random() * 3000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L339** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * region,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L340** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * region,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L341** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * region`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L344** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `opacity: Math.random() * 0.8,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L346** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `hydrogen: 0.7 + Math.random() * 0.04,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L347** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `helium: 0.25 + Math.random() * 0.02,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L348** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `heavyElements: Math.random() * 0.05`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L368** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * volume,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L369** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * volume,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L370** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * volume`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L372** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 8 - 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L373** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L374** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 3000 + Math.random() * 10000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L375** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `luminosity: Math.random() * 0.9 + 0.1`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L403** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const starCount = 3 + Math.floor(Math.random() * 8);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L409** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.random() * 1000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L410** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: Math.random() * 1000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L411** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.random() * 1000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L413** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `magnitude: Math.random() * 4 - 1`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L487** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L695** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `intensity: 0.5 + Math.random() * 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L696** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `beamWidth: 20 + Math.random() * 40,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L697** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `wavelength: 380 + Math.random() * 380`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L711** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `wavelength: 1 + Math.random() * 1000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L713** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `color: '#' + Math.floor(Math.random() * 16777215).toString(16)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/geometry/elemental-environments.ts`

- **L6** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Deterministic seeded "noise". Math.random() is banned in procedural`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-metaverse/src/geometry/nature-sanctuaries.ts`

- **L24** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 1000,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L26** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 1000`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L28** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: 20 + Math.random() * 30,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L29** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `species: ['Oak', 'Maple', 'Birch', 'Ash'][Math.floor(Math.random() * 4)]`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L67** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `humidity: 0.85 + Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L68** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 25 + Math.random() * 5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L70** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: 30 + Math.random() * 40`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L73** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `rainfall: 2000 + Math.random() * 3000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L105** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: 25 + Math.random() * 35,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L106** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `species: ['Spruce', 'Pine', 'Fir', 'Larch'][Math.floor(Math.random() * 4)]`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L109** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 5 + Math.random() * 10,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L110** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `snowCoverage: 0.4 + Math.random() * 0.4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L141** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `elevation: height * (0.5 + Math.random() * 0.5),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L142** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `position: { x: Math.random() * 10000, y: 0, z: Math.random() * 10000 }`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L174** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `snowLine: 2500 + Math.random() * 1000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L182** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `precipitation: 800 + Math.random() * 400`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L198** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `type: ['Hard', 'Soft', 'Sea Fan'][Math.floor(Math.random() * 3)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L199** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `coverage: Math.random() * health`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L208** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 26 + Math.random() * 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L234** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: 10 + Math.random() * 30,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L235** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `position: { x: Math.random() * 1000, y: 0, z: Math.random() * 1000 }`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L242** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: 12 + Math.random() * 4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L286** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `speed: 1 + Math.random() * 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L287** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `direction: Math.random() * 360`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L290** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `amplitude: 2 + Math.random() * 2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L294** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: 1 + Math.random() * 4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L295** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `period: 8 + Math.random() * 8`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L308** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `name: 'Bird Species ' + Math.random().toString(36).substr(2, 5),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L311** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `pattern: ['migrating', 'nesting', 'foraging', 'singing'][Math.floor(Math.random() * 4)]`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L313** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `migration: { season: ['spring', 'fall'][Math.floor(Math.random() * 2)] }`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L325** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `type: ['Butterfly', 'Ant', 'Bee', 'Beetle', 'Dragonfly'][Math.floor(Math.random() * 5)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L326** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `population: Math.floor(Math.random() * 1000)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L338** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `species: ['Tuna', 'Sardine', 'Herring', 'Mackerel'][Math.floor(Math.random() * 4)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L341** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.random() * 1000,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L342** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: Math.random() * 500,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L343** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.random() * 1000`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L355** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `name: ['Deer', 'Bear', 'Wolf', 'Moose', 'Fox'][Math.floor(Math.random() * 5)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L390** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `biodiversityIndex: 0.7 + Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L436** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `temperature: -20 + Math.random() * 70,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L437** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `humidity: Math.random(),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L438** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `windSpeed: Math.random() * 50,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L439** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `precipitation: Math.random() * 100,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L440** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `cloudiness: Math.random()`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L449** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `evaporation: Math.random() * 5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L450** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `transpiration: Math.random() * 3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L451** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `precipitation: Math.random() * 10,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L452** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `runoff: Math.random() * 5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L453** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `infiltration: Math.random() * 8`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L465** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.random() * 100,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L466** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `y: Math.random() * 100,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L467** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.random() * 100`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L470** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L471** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L472** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 2`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L474** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `lifetime: Math.random() * 5`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L486** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `x: Math.cos(Math.random() * Math.PI * 2) * strength * 10,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L487** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `z: Math.sin(Math.random() * Math.PI * 2) * strength * 10`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L490** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `direction: Math.random() * 360`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L516** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `frequency: 0.5 + Math.random() * 1`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L596** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `biodiversity: 0.75 + Math.random() * 0.25,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L597** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `stability: 0.8 + Math.random() * 0.2`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-metaverse/src/geometry/svg-export.ts`

- **L375** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `id: `anim-${Math.random()}`,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L381** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `id: `anim-${Math.random()}`,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/lilith/svc-micro-transaction/src/micro.ts`

- **L380** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-multi-region-resilience/src/app.ts`

- **L318** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Replaces Math.random() with crypto.randomInt so there's no secretly`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-native-token/src/token.ts`

- **L27** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.floor(Math.random() \* 1_000_000) +
    10_000_000` which produced`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-operational-excellence/src/health-monitor.ts`

- **L1262** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* service id; we never call Math.random here. Production callers should`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1287** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// metrics without Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-payment-orchestrator/src/dunning/dunning-service.ts`

- **L1629** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `code: `RECOVER${Math.random().toString(36).substr(2,
    6).toUpperCase()}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/svc-payment-orchestrator/src/wallet-verification.ts`

- **L259** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `*           DO NOT replace with Math.random() or any non-cryptographic PRNG.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-safety-automation/src/app.ts`

- **L16** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* replaces Math.random-based selection in the RedTeamAttackGenerator and`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-staking-mechanism/src/staking.ts`

- **L18** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* `0x${Math.random().toString(16).slice(2)}` which (a) produced variable-`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L19** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* length strings (Math.random hex can be <16 chars if leading zeros are`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L20** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* dropped), (b) was predictable because v8's Math.random is Xorshift128+,`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-teacher-blessing/src/app.ts`

- **L12** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* settlement receipt is available. This replaces a previous Math.random-`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L19** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Math.random is that this value is sourced from node's csprng and so`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L661** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// would produce; no Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-transaction-core/src/retry.ts`

- **L199** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const jitter = delay * (jitterPercent / 100) * (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/svc-transaction-manager/src/app.ts`

- **L15** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* `0x${Math.random().toString(16).slice(2)}${Math.random().toString(16).slice(2)}``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/lilith/svc-tts/src/__tests__/audio-tags/audio-tag-processor-validation.ts`

- **L486** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `if (Math.random() > prob) {continue;}`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/svc-webrtc/__mocks__/lib-mock.ts`

- **L36** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `return Math.random() * 100;`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/lilith/svc-webrtc/src/ice-utils.ts`

- **L6** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `candidate: `candidate:1 1 UDP 2130706431 192.168.1.100 ${54400 +
    Math.floor(Math.random() \* 1000)} typ host`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L11** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `candidate: `candidate:2 1 UDP 1694498815 203.0.113.100 ${54400 +
    Math.floor(Math.random() \* 1000)} typ srflx raddr 192.168.1.100 rport
    54400`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/lilith/web/src/components/MetaverseCanvas.tsx`

- **L498** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L500** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 20`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L563** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 2000,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L564** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 2000,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L565** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 2000`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/components/metaverse/MetaverseCanvas.tsx`

- **L95** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `position={[(Math.random() - 0.5) * 20, 0.1, (Math.random() - 0.5) * 20]}`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L275** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `position={[(Math.random() - 0.5) * 50, 2, (Math.random() - 0.5) * 50]}`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L282** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `position={[(Math.random() - 0.5) * 50, 5, (Math.random() - 0.5) * 50]}`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/design-system/primitives/Input/Input.tsx`

- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const inputId = id || `input-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/design-system/primitives/Select/Select.tsx`

- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const selectId = id || `select-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/features/annotations/TextHighlighting.tsx`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `highlight-${now.getTime()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/features/veilborn/WeaveConspiracyEngine.ts`

- **L322** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...playerIds].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/features/zettelkasten/AtomicNote.tsx`

- **L337** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const sequence = Math.random().toString(36).substring(2, 4);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/features/zettelkasten/KnowledgeGraph.tsx`

- **L304** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: n.x ?? this.centerX + (Math.random() - 0.5) * 400,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L305** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: n.y ?? this.centerY + (Math.random() - 0.5) * 400,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/lib/api-client-mock-chat.ts`

- **L46** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return items[Math.floor(Math.random() * items.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/lilith/web/src/lib/content-browser-3d.ts`

- **L456** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `positions[i * 3] = (Math.random() - 0.5) * 50;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L458** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `positions[i * 3 + 2] = (Math.random() - 0.5) * 50;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/lib/cross-platform-sync-connection.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `${message.type}_${message.timestamp}\_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/cross-platform-sync.ts`

- **L612** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `deviceId = `device\_${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/gamification.ts`

- **L108** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `group-${Math.random().toString(16).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/persona-avatar-aura.ts`

- **L15** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L16** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const phi = Math.random() * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `apps/lilith/web/src/lib/progress-store.ts`

- **L164** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `deviceId: get()?._generateDeviceId() || `web\_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L610** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Math.random().toString(36).substr(2, 9) + Date.now().toString(36);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L614** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `web\_${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/seamless-auth-store.ts`

- **L101** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `deviceId: get()?._generateDeviceId() || `web\_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L662** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substr(2, 5);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/social-features.ts`

- **L53** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `thread-${Math.random().toString(16).slice(2,
    8)}`, topic, tags, posts: [] };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L66** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `res-${Math.random().toString(16).slice(2,
    8)}`, title, contributors: [], hypothesis, status: 'draft' };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L74** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `ceremony-${Math.random().toString(16).slice(2,
    8)}`, name, steps };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `music-${Math.random().toString(16).slice(2,
    8)}`, mood, seed: Math.random().toString(36).slice(2, 8) };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `vision-${Math.random().toString(16).slice(2,
    8)}`, userId, entry, insights };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/spatial-audio-3d.ts`

- **L503** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 100,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L505** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 100`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/lilith/web/src/lib/teacher-training.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return { id: `cert-${Math.random().toString(16).slice(2,
    8)}`, name, criteria, awardedTo: [] };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L60** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `module-${Math.random().toString(16).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/lib/virtual-retreats.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `forumId: `forum-${Math.random().toString(16).slice(2, 8)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `session-${Math.random().toString(16).slice(2, 8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/lilith/web/src/pwa/background-sync.ts`

- **L575** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return delay + Math.random() * 1000;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/maat/api-gateway/src/app.ts`

- **L214** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/maat/api-gateway/src/middleware/rate-limit.ts`

- **L106** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const member = `${now}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/maat/intel/src/lib/price-monitoring-data.ts`

- **L21** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = () => 1 + (Math.random() - 0.5) * 0.06;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/metis/api-gateway/src/proxy/backend-proxy.ts`

- **L215** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * baseDelay;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/metis/web/src/lib/authoring-data.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/metis/worker/src/queues/job-queue.ts`

- **L342** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * backoffDelay * 0.1;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/nyx/api/src/middleware/request-id.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/education/challenges/orbital-mechanics/src/challenge-service.ts`

- **L174** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L233** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `? mcGenerators[Math.floor(Math.random() * mcGenerators.length)]`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L237** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `generator = generators[Math.floor(Math.random() * generators.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts`

- **L203** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `planet = ['mars', 'venus'][Math.floor(Math.random() * 2)] as CelestialBodyId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L206** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `planet = ['mercury', 'mars', 'jupiter'][Math.floor(Math.random() * 3)] as CelestialBodyId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L289** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `semiMajorAxisAU = [1, 2, 4][Math.floor(Math.random() * 3)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/nyx/education/challenges/orbital-mechanics/src/escape-velocity.ts`

- **L324** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const body1 = bodies[Math.floor(Math.random() * bodies.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L325** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `let body2 = bodies[Math.floor(Math.random() * bodies.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L327** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `body2 = bodies[Math.floor(Math.random() * bodies.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L364** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `calculateProperty = properties[Math.floor(Math.random() * properties.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/nyx/education/challenges/orbital-mechanics/src/orbit-classification.ts`

- **L457** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const pointType = ['periapsis', 'apoapsis', 'radius'][Math.floor(Math.random() * 3)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/nyx/education/challenges/star-identification/src/challenge-service.ts`

- **L441** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `availableConstellations[Math.floor(Math.random() * availableConstellations.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L482** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const star = availableStars[Math.floor(Math.random() * availableStars.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L697** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/education/challenges/star-identification/src/coordinate-pointing.ts`

- **L212** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `: NAMED_STARS[Math.floor(Math.random() * NAMED_STARS.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L219** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const raOffset = (Math.random() - 0.5) * 20;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L220** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const decOffset = (Math.random() - 0.5) * 20;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L363** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const notable = suitableCoords[Math.floor(Math.random() * suitableCoords.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/nyx/education/demos/distance-ladder/src/parallax.ts`

- **L426** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L427** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `apps/nyx/star-map/src/bookmarks/bookmarks.ts`

- **L501** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `bm*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L508** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `folder*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/components/LoadingScreen.tsx`

- **L36** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `width: Math.random() * 2 + 1 + 'px',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L37** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `height: Math.random() * 2 + 1 + 'px',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L38** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `backgroundColor: `rgba(255, 255, 255, ${Math.random() \* 0.5 +
    0.3})`,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L40** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `left: Math.random() * 100 + '%',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L41** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `top: Math.random() * 100 + '%',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L42** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `animation: `pulse ${Math.random() \* 3 + 2}s ease-in-out infinite`,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L43** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `animationDelay: Math.random() * 2 + 's',`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/filters/filters.ts`

- **L1067** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${type}-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1935** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `custom-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/journal/journal.ts`

- **L871** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const r = (Math.random() * 16) | 0;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1130** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return prompts[Math.floor(Math.random() * prompts.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/modes/discovery.ts`

- **L974** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const obj = allObjects[Math.floor(Math.random() * allObjects.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L986** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `let random = Math.random() * totalWeight;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/modes/eclipse/eclipse.ts`

- **L465** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ecl*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/modes/orrery/asteroid-belt.ts`

- **L914** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/modes/orrery/lagrange-points.ts`

- **L938** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/modes/orrery/moon-system.ts`

- **L840** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/modes/orrery/planet-detail.ts`

- **L996** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return Math.random().toString(36).substring(2, 11);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/modes/overview-effect/overview-effect.ts`

- **L745** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const index = Math.floor(Math.random() * quotes.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/modes/pale-blue-dot/pale-blue-dot.ts`

- **L621** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const index = Math.floor(Math.random() * facts.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/modes/transits/iss.ts`

- **L426** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `iss*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/navigation/view-presets.ts`

- **L553** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `custom-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L695** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `imported-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/notifications/notifications.ts`

- **L303** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `notif*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/astrology.ts`

- **L888** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return Math.random().toString(36).substring(2, 11);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/constellations.ts`

- **L1780** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/grids.ts`

- **L968** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/markers.ts`

- **L615** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/orbits.ts`

- **L885** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/overlays/you-are-here.ts`

- **L690** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const randomIndex = Math.floor(Math.random() * scale.facts.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/planning/observation-planner.ts`

- **L1053** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/scenes/StarMapScene.tsx`

- **L32** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L33** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const phi = Math.acos(2 * Math.random() - 1);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L34** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const radius = 500 + Math.random() * 9500; // 500 to 10000 units`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L41** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const temp = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L44** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3] = 0.7 + Math.random() * 0.3;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L45** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 1] = 0.7 + Math.random() * 0.3;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L51** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 2] = 0.9 + Math.random() * 0.1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L55** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 1] = 0.9 + Math.random() * 0.1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L56** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 2] = 0.6 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L60** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 1] = 0.6 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L61** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 2] = 0.3 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L65** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 1] = 0.3 + Math.random() * 0.3;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L66** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `colors[i * 3 + 2] = 0.2 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L70** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `sizes[i] = Math.random() * settings.starPointSize + 0.5;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/search/query-builder.ts`

- **L382** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `node-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L389** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `query-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/spacecraft/mission-timeline.ts`

- **L342** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tl*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/spacecraft/visualization.ts`

- **L771** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `viz-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/time/event-timeline.ts`

- **L762** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `event*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/time/time-controls.ts`

- **L507** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `time*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/tonight/tonight.ts`

- **L718** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 90 - Math.abs(location.latitude) + Math.random() * 20 - 10;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1045** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const transitAltitude = 90 - Math.abs(location.latitude - 30) + Math.random() * 20;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `apps/nyx/star-map/src/ui/context-menu.ts`

- **L354** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `separator-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/ui/time-slider.ts`

- **L344** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `slider*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/star-map/src/utils/index.ts`

- **L137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/nyx/tools/orbit-determination/src/index.ts`

- **L1997** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1998** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `apps/nyx/vr-planetarium/src/scenes/PlanetariumScene.tsx`

- **L209** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `apps/oshun/admin/src/middleware.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/admin/admin-cross-links.ts`

- **L543** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `explicit:${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/admin/admin-entity-comments.ts`

- **L326** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `comment-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/admin/admin-investigation-bundle-store.ts`

- **L524** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `bundle-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/admin/admin-notifications-store.ts`

- **L252** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `notif-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/admin/saved-views-store.ts`

- **L305** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `view-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/bff/src/routes/admin-session.ts`

- **L250** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `admin-sess-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/mobile/src/notifications/registration.ts`

- **L768** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id = `web-${Date.now()}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L775** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Platform.OS}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/domains/arete/AreteBalance.tsx`

- **L450** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const angle = (Math.PI * 2 * i) / 24 + (Math.random() - 0.5) * 0.4;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/components/domains/arete/AreteCoach.tsx`

- **L341** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const content = responses[Math.floor(Math.random() * responses.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/oshun/web/src/components/domains/arete/AreteGoalSystem.tsx`

- **L1658** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `score: i < 7 ? 0.5 + Math.random() * 0.4 : 0,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/oshun/web/src/components/domains/arete/AreteGoals.tsx`

- **L172** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * 10;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx`

- **L194** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `ccx: `${(Math.random() - 0.5) \* 200}px`,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/components/domains/arete/AreteJournalSystem.tsx`

- **L1792** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `setCurrentPrompt(pool[Math.floor(Math.random() * pool.length)]);`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/oshun/web/src/components/domains/arete/AreteTime.tsx`

- **L364** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const dx = (Math.random() - 0.5) * 20;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/components/domains/nyx/NyxSonification.tsx`

- **L1243** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `spectralClass: ['A', 'F', 'G', 'K', 'M'][Math.floor(Math.random() * 5)] ?? 'G',`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1245** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `['#CAD7FF', '#F8F7FF', '#FFF4EA', '#FFD2A1', '#FFCC6F'][Math.floor(Math.random() * 5)] ??`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/oshun/web/src/components/domains/veritas/VeritasClaimChecker.tsx`

- **L1938** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `color: colors[Math.floor(Math.random() * colors.length)] ?? ACCENT,`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/oshun/web/src/components/domains/veritas/VeritasKnowledgeGraph.tsx`

- **L180** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: n.x * (width / 800) + (Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L181** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: n.y * (height / 600) + (Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/components/domains/veritas/VeritasSourceDirectory.tsx`

- **L563** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const gradId = `arc-grad-${score}-${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx`

- **L3401** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `color: colors[Math.floor(Math.random() * colors.length)] ?? tokens.domainAccents.tara,`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L3403** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotSpeed: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L3407** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `(['square', 'circle', 'triangle'] as const)[Math.floor(Math.random() * 3)] ?? 'square',`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/oshun/web/src/components/studio/StudioAccessibilityGovernanceWorkspace.tsx`

- **L497** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioActivityChangeFeedsWorkspace.tsx`

- **L390** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioApiGatewayBffCompositionWorkspace.tsx`

- **L511** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioAssetPreviewPipelineWorkspace.tsx`

- **L419** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L633** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdPreviewId = `prv-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioAuditComplianceSurfacesWorkspace.tsx`

- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioAuthenticationArchitectureWorkspace.tsx`

- **L165** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBackgroundJobsProgressUxWorkspace.tsx`

- **L488** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L814** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdJobId = `job-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L828** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `correlationId: `corr-${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBackupDisasterRecoveryUxWorkspace.tsx`

- **L613** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaAssetInterchangeFormatsWorkspace.tsx`

- **L1261** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `sampleId: `obs-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1311** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1331** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `format-history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaBlenderBridgeCommandsWorkspace.tsx`

- **L1373** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaBridgeProtocolAndSessionsWorkspace.tsx`

- **L1295** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `session-history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaBuildTemplatesWorkspace.tsx`

- **L855** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2180** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `: `import-comment-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaCliSurfacesWorkspace.tsx`

- **L1047** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `cli-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1066** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `cli-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1082** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cli-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaContentAddressableBuildCacheWorkspace.tsx`

- **L784** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cache-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2132** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `: `import-comment-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaCppSdkWorkspace.tsx`

- **L1050** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `cpp-sdk-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1087** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `cpp-sdk-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `cpp-sdk-change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1121** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cpp-sdk-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1655** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cpp-sdk-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1723** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cpp-sdk-stream-reconnect-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1863** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `cpp-sdk-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaCrossDomainAssetIngestionWorkspace.tsx`

- **L1017** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `cross-domain-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1034** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cross-domain-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1046** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `cross-domain-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1951** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `cross-domain-collab-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaDaVinciIntegrationWorkspace.tsx`

- **L1105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `dv-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1124** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `dv-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1191** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `dv-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaFormatRegistryWorkspace.tsx`

- **L1192** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `fmt-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1212** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `fmt-history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2427** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sampleId: `fmt-observability-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaGameplayRuntimeAiBehaviorWorkspace.tsx`

- **L953** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `ai-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L970** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `ai-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L981** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `ai-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `ai-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1539** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaGameplayRuntimeCombatWorkspace.tsx`

- **L878** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `combat-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L895** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `combat-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L906** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `combat-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaGameplayRuntimeInputWorkspace.tsx`

- **L600** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaGameplayRuntimeInventoryWorkspace.tsx`

- **L885** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `entryId: `inventory-audit-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L911** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `eventId: `inventory-telemetry-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioBellonaGameplayRuntimeSaveLoadWorkspace.tsx`

- **L745** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaGodotBridgeCommandsWorkspace.tsx`

- **L1213** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaHoudiniIntegrationWorkspace.tsx`

- **L1087** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `hd-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1106** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `hd-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1129** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `hd-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaInterchangeAssetCacheWorkspace.tsx`

- **L1058** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `cache-history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1073** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `cache-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2094** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sampleId: `cache-obs-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaInterchangeBatchConversionWorkspace.tsx`

- **L1195** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `batch-history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1210** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `batch-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaLiveEngineBridgesWorkspace.tsx`

- **L1153** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaLoreToEngineCompilationWorkspace.tsx`

- **L1185** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `lore-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1203** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `lore-change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1220** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `lore-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1481** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `lore-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2136** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `lore-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaMetaQuestFeaturesWorkspace.tsx`

- **L929** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `metaquest-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L946** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `metaquest-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L958** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `metaquest-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1701** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `metaquest-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1989** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `metaquest-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaMotionCaptureSkeletonManagementWorkspace.tsx`

- **L1130** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `entryId: `skeleton-audit-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1143** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `eventId: `skeleton-telemetry-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1157** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `snapshotId: `skeleton-snapshot-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1881** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `eventId: `skeleton-stream-event-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L2172** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `commentId: `skeleton-comment-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioBellonaMotionCaptureStreamingWorkspace.tsx`

- **L991** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `entryId: `mocap-audit-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1007** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `mocap-telemetry-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1018** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `snapshotId: `mocap-snapshot-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1726** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `stream-event-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1983** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `commentId: `mocap-comment-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioBellonaMotionRetargetingWorkspace.tsx`

- **L1090** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `motion-retargeting-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1117** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `motion-retargeting-change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `motion-retargeting-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1524** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const snapshotId = `motion-retargeting-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdLayerCompositionWorkspace.tsx`

- **L763** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdMaterialXWorkspace.tsx`

- **L719** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdStageManagementWorkspace.tsx`

- **L765** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdVariantManagementWorkspace.tsx`

- **L760** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaRecordingAndPlaybackWorkspace.tsx`

- **L1094** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `recording-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1118** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `recording-change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1139** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `recording-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1525** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const snapshotId = `recording-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaRenderQueueManagementWorkspace.tsx`

- **L1027** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1061** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `entryId: `audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1077** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `changeId: `change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1095** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `stream-event-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2240** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `stream-reconnect-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2380** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaSharedXrCapabilitiesWorkspace.tsx`

- **L960** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `entryId: `sharedxr-audit-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L972** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `snapshotId: `sharedxr-snapshot-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1001** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `eventId: `sharedxr-telemetry-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1321** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `stream-event-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L1576** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `commentId: `sharedxr-comment-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx`

- **L759** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaTypeScriptSdkWorkspace.tsx`

- **L1259** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `sdk-audit-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1279** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `sdk-change-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1296** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `sdk-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1926** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `sdk-audit-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1938** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `sdk-change-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1949** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `sdk-telemetry-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaUnityBridgeCommandsWorkspace.tsx`

- **L1225** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaUnrealBridgeCommandsWorkspace.tsx`

- **L1192** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `historyId: `history-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaVirtualProductionCameraTrackingWorkspace.tsx`

- **L996** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `camera-tracking-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1013** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `camera-tracking-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1353** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `camera-tracking-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1675** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `camera-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1943** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaVirtualProductionGenlockTimecodeWorkspace.tsx`

- **L961** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `genlock-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L978** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `genlock-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1314** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `genlock-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1598** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `genlock-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1685** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `genlock-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaVirtualProductionIcvfxWorkspace.tsx`

- **L968** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `icvfx-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L985** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `icvfx-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1297** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `icvfx-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaVirtualProductionLedWallWorkspace.tsx`

- **L996** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `led-wall-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1013** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `led-wall-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1347** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `led-wall-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaVisionOsFeaturesWorkspace.tsx`

- **L912** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `visionos-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L929** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `visionos-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L941** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `visionos-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1707** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `visionos-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2068** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `visionos-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioBellonaXrPlatformSupportWorkspace.tsx`

- **L933** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `xr-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L950** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `xr-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L962** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `xr-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1762** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `xr-stream-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1850** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `xr-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioColorSystemWorkspace.tsx`

- **L162** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioCommentingAnnotationSystemWorkspace.tsx`

- **L442** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L705** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdAnnotationId = `ann-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioComplexInteractionPatternsWorkspace.tsx`

- **L169** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioComponentPrimitivesWorkspace.tsx`

- **L166** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioCrossDomainEntityModelWorkspace.tsx`

- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioDataRetentionLifecycleControlsWorkspace.tsx`

- **L557** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioDesignLanguageWorkspace.tsx`

- **L742** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioEnterpriseTenantIsolationWorkspace.tsx`

- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioExperimentationFeatureFlagsWorkspace.tsx`

- **L511** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioFileMediaIngestionWorkspace.tsx`

- **L444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L669** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdIngestionId = `ing-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorCharacterModelingWorkspace.tsx`

- **L994** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `character-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1010** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `character-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1022** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `character-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1033** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `character-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1781** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `character-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorCultureModelingWorkspace.tsx`

- **L814** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `culture-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L832** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `culture-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L844** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `culture-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L855** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `culture-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorEconomyModelingWorkspace.tsx`

- **L766** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `${name}-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioHathorFactionModelingWorkspace.tsx`

- **L658** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `${name}-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioHathorGeographyModelingWorkspace.tsx`

- **L1190** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `geo-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1206** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `geo-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1218** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `geo-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1229** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `geo-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1909** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `geo-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorLegalSystemsModelingWorkspace.tsx`

- **L780** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `eventId: `${name}-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `apps/oshun/web/src/components/studio/StudioHathorLocationModelingWorkspace.tsx`

- **L1151** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `location-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1167** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `location-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1179** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `location-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1190** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `location-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1911** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `location-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `: `location-collab-comment-import-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorQuestAuthoringWorkspace.tsx`

- **L1095** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `quest-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1109** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `quest-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1126** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `quest-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1138** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `quest-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1732** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `quest-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1942** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `: `quest-collab-comment-import-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorTimelineModelingWorkspace.tsx`

- **L1082** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `auditId: `timeline-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1096** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `timeline-change-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1113** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `telemetryId: `timeline-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `timeline-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1755** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `timeline-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1971** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `: `timeline-collab-comment-import-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioHathorWorldConfigurationWorkspace.tsx`

- **L819** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``world-collab-comment-import-${Date.now()}-${Math.random().toString(16).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1261** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snapshotId: `world-configuration-snapshot-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1288** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `entryId: `world-configuration-audit-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1304** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `changeId: `world-configuration-change-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1322** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `world-configuration-telemetry-${Date.now()}-${Math.random().toString(16).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2028** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `commentId: `world-collab-comment-${Date.now()}-${Math.random().toString(16).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioInformationArchitectureWorkspace.tsx`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioInternationalizationLocalizationWorkspace.tsx`

- **L493** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioLaunchReadinessGovernanceDashboard.tsx`

- **L1225** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioMetricsAnalyticsInstrumentationWorkspace.tsx`

- **L496** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L770** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdMetricId = `met-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioMultiProjectOperationsWorkspace.tsx`

- **L174** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioNavigationCommandWorkspace.tsx`

- **L166** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioNotificationCenterWorkspace.tsx`

- **L376** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioObservabilityOperationalDashboardsWorkspace.tsx`

- **L524** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L815** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdSignalId = `sig-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioPerformanceBudgetsWorkspace.tsx`

- **L485** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioPresenceCursorSystemsWorkspace.tsx`

- **L397** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioRbacPermissionPolicyUxWorkspace.tsx`

- **L171** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioRealTimeCollaborationSubstrateWorkspace.tsx`

- **L381** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioResilienceErrorUxWorkspace.tsx`

- **L449** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L755** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdIncidentId = `inc-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L769** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `correlationId: `corr-${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioReviewApprovalWorkflowsWorkspace.tsx`

- **L698** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1043** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const createdReviewId = `rev-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioSdkDocumentationIntegrationWorkspace.tsx`

- **L596** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioSearchDiscoveryWorkspace.tsx`

- **L166** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioSecurityHardeningProgramWorkspace.tsx`

- **L521** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioSessionDeviceManagementWorkspace.tsx`

- **L175** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioSpacingLayoutWorkspace.tsx`

- **L166** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioTypographyWorkspace.tsx`

- **L157** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioWebhooksExternalAutomationWorkspace.tsx`

- **L482** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/components/studio/StudioWorkspaceContextSwitchingWorkspace.tsx`

- **L203** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/design-system/components/Confetti.tsx`

- **L208** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const angle = ((-90 + (Math.random() - 0.5) * config.spread * 2) * Math.PI) / 180;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L215** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `vx: Math.cos(angle) * speed + (Math.random() - 0.5) * 15,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L218** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotationSpeed: (Math.random() - 0.5) * 15,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/design-system/components/HabitCheckbox.tsx`

- **L54** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `angle: (360 / count) * i + (Math.random() - 0.5) * 40,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/design-system/components/MiniChart.tsx`

- **L206** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const gradientId = `minichart-gradient-${useMemo(() =>
    Math.random().toString(36).slice(2, 8), [])}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/design-system/components/OverlaySheet.tsx`

- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const titleId = useRef(`oshun-sheet-title-${Math.random().toString(36).slice(2,
    8)}`).current;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/oshun/web/src/lib/api-client.ts`

- **L113** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/oshun/web/src/lib/arete/arete-simulation-data.ts`

- **L1827** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rate: 0.55 + (i / 90) * 0.2 + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1859** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `averageDifficulty: 2.8 - (i / 30) * 0.4 + (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1897** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `averageVelocity: 2.0 + (i / 12) * 1.5 + (Math.random() - 0.5) * 0.5,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1907** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const score = 0.2 + (i / 90) * 0.3 + (Math.random() - 0.5) * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1974** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.65 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `apps/oshun/web/src/lib/nyx/nyx-renderer-simulation.ts`

- **L47** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const fps = 58.5 + Math.sin(phase) * 3.5 + (Math.random() - 0.5) * 1.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/oshun/web/src/lib/websocket-client.ts`

- **L378** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/oshun/web/src/middleware.ts`

- **L111** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/psyche/admin/src/app/dashboard/knowledge/sources/new/page.tsx`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sourceId = `src*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/psyche/admin/src/app/dashboard/knowledge/upload/page.tsx`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return { documentId: `doc*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L117** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `fileId: `file*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/psyche/admin/src/lib/aria.ts`

- **L226** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Math.random().toString(36).substring(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/psyche/admin/src/lib/utils.ts`

- **L144** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 11);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/sophia/ingestion/src/pipeline/ingestion-pipeline.ts`

- **L159** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const jobId = createJobId(`job-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L280** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `documentId: createDocumentId(`doc-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L391** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `entityId: `entity-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/sophia/workbench/src/components/Modal.tsx`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generatedTitleId = titleId ?? `modal-title-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/tara/api/src/middleware/request-id.ts`

- **L18** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/tara/mobile/src/store/meditationStore.ts`

- **L272** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `categoryMeditations[Math.floor(Math.random() * categoryMeditations.length)] ?? meditations[0];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/tara/web/e2e/fixtures/test-data.ts`

- **L218** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `e2e-test-${Date.now()}-${Math.random().toString(36).slice(2)}@tara.app`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/agents/src/communication/message-bus.ts`

- **L416** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createMessageId(`msg*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/agents/src/core/base-agent.ts`

- **L601** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/agents/src/orchestration/orchestrator.ts`

- **L293** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const taskId = createTaskId(`task*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L663** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/ai-workers/src/workers/base/helpers.ts`

- **L155** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/analytics/src/collectors/realtime.ts`

- **L264** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/analytics/src/user/engagement.ts`

- **L124** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createEventId(`evt*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/api/src/domain/sandbox.ts`

- **L1012** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const errorCode = errorCodes[Math.floor(Math.random() * errorCodes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/api/src/interfaces/http/routes/v1/airteltigo-payments.ts`

- **L157** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const transactionId = `AT*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const transactionId = `ATD*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L408** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const refundTxnId = `ATR*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/api/src/interfaces/http/routes/v1/payments.ts`

- **L164** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const externalId = `pay*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L411** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const externalId = `ref*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/api/src/interfaces/http/routes/v1/tips.ts`

- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/api/src/interfaces/http/routes/v1/vodafone-payments.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const conversationId = `c2b*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L144** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const transactionRef = `VF*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L235** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const conversationId = `query*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L302** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const conversationId = `b2c*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L303** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const transactionRef = `REF*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const conversationId = `rev*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/audio/src/providers/elevenlabs.ts`

- **L407** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/audio/src/providers/ghana-nlp.ts`

- **L210** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/cms/src/articles/article-service.ts`

- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `art*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L232** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L320** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L359** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L456** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/cms/src/reviews/review-service.ts`

- **L131** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rev*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/cms/src/scheduling/scheduler-service.ts`

- **L306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L364** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L424** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rev*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/ingestion/src/utils/backoff.ts`

- **L40** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = 1 + (Math.random() - 0.5) * 2 * jitterFactor;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `apps/veritas/mobile/src/services/offline.ts`

- **L402** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${type}_${Date.now()}\_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/mobile/src/stores/app-store.ts`

- **L192** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `error*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/nlp/src/services/base/helpers.ts`

- **L125** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/notifications/src/channels/email.ts`

- **L134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `email_${Date.now()}_${Math.random().toString(36).slice(2, 7)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/notifications/src/channels/in-app.ts`

- **L102** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createNotificationId(`inapp*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L394** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const connectionId = `conn*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/notifications/src/scheduling/queue.ts`

- **L135** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createNotificationId(`notif*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/calendar/calendar.ts`

- **L102** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cal*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/server.ts`

- **L173** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `post*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/services/instagram-reels-automation.ts`

- **L1663** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const failId = `ig*fail*${Date.now()}_${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/services/instagram-stories-automation.ts`

- **L671** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return templates[Math.floor(Math.random() * templates.length)] ?? null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/social/src/services/tiktok-analytics.ts`

- **L1977** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tiktok*alert*${Date.now()}_${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/services/tiktok-automation.ts`

- **L1197** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/services/unified-scheduler.ts`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/social/src/services/youtube-shorts-automation.ts`

- **L927** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/providers/did.ts`

- **L219** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/video/src/providers/heygen.ts`

- **L161** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/video/src/providers/tavus.ts`

- **L167** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/veritas/video/src/services/advertising/ad-service.ts`

- **L838** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L936** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `creativeId: `req*${unit.id}*${Date.now()}_${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/advertising/youtube-monetization.ts`

- **L859** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/avatar-profiles.ts`

- **L770** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return greetings[Math.floor(Math.random() * greetings.length)] ?? null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L781** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return intro[Math.floor(Math.random() * intro.length)] ?? null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L792** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return outro[Math.floor(Math.random() * outro.length)] ?? null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/video/src/services/broll.ts`

- **L130** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `broll*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/broll/library.ts`

- **L481** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `clip*${Date.now()}*${Math.random().toString(36).substr(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/broll/prompt-generator.ts`

- **L320** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `prompt*${Date.now()}*${Math.random().toString(36).substr(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/instagram-reels.ts`

- **L583** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `ig*reel*${Date.now()}_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/live-stream-content-mix.ts`

- **L425** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/live-stream.ts`

- **L409** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/payments/payment-providers.ts`

- **L466** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).substring(2, 8).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/personas.ts`

- **L717** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return greetings[Math.floor(Math.random() * greetings.length)] ?? '';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L728** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return signOffs[Math.floor(Math.random() * signOffs.length)] ?? '';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/video/src/services/podcast/audio-composition.ts`

- **L405** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/podcast/discussion-generator.ts`

- **L382** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `turn*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L414** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return arr[Math.floor(Math.random() * arr.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/video/src/services/podcast/mixing-pipeline.ts`

- **L631** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/podcast/shows.ts`

- **L491** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/repurposing/pipeline.ts`

- **L344** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/scheduler/production-scheduler.ts`

- **L361** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/scheduler/video-analytics.ts`

- **L331** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/tiktok.ts`

- **L490** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const template = templates[Math.floor(Math.random() * templates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L840** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const template = templates[Math.floor(Math.random() * templates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/veritas/video/src/services/video-pipeline.ts`

- **L367** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/video/src/services/youtube-shorts.ts`

- **L640** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `yt*shorts*${Date.now()}_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/web/src/lib/behavior-tracking/tracker.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/web/src/lib/offline/indexed-db.ts`

- **L557** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/veritas/web/src/lib/offline/sync-manager.ts`

- **L217** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return delay + Math.random() * 1000;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/yemaya/api/__tests__/integration/mocks.ts`

- **L279** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code: `if (failureRate > 0 && Math.random() < failureRate) {`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/yemaya/api/__tests__/integration/setup.ts`

- **L251** — `ALLOW` (HIGH, rule `test-fixture-file`)
  - Code:
    `email: () => `test-${Date.now()}-${Math.random().toString(36).slice(2)}@example.com`,`
  - Rationale: File lives in **tests**/**fixtures**/**mocks**/storybook — test
    scaffolding, not production runtime; randomness is acceptable for fake data.

### `apps/yemaya/api/src/middleware/gdpr-compliance.ts`

- **L580** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `BREACH-${Date.now()}-${Math.random().toString(36).substring(2,
    8).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1066** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `DPIA-${Date.now()}-${Math.random().toString(36).substring(2,
    8).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1097** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const riskId = `RISK-${Date.now()}-${Math.random().toString(36).substring(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1286** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `ROPA-${Date.now()}-${Math.random().toString(36).substring(2,
    8).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1610** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `CONSENT-${Date.now()}-${Math.random().toString(36).substring(2,
    8).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/middleware/request-id.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 15);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L128** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const suffix = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/routes/auth.ts`

- **L452** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomSuffix = suffixes[Math.floor(Math.random() * suffixes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/yemaya/api/src/services/onboarding.ts`

- **L778** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `onboarding*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/services/preferences.ts`

- **L1354** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `prefs*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/services/proxy.ts`

- **L222** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return Math.floor(Math.random() * exponential);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/yemaya/api/src/services/schedule-export.ts`

- **L175** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/services/webhook.ts`

- **L628** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return Math.floor(Math.random() * exponential);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `apps/yemaya/api/src/services/websocket.ts`

- **L113** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ws*${Date.now()}*${Math.random().toString(36).substring(2,
    15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/api/src/websocket/handler.ts`

- **L767** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L885** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*     const jitter = delay * 0.2 * Math.random();`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `apps/yemaya/studio-desktop/src/renderer/lib/projects.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `proj*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-desktop/src/renderer/pages/ProjectPage.tsx`

- **L327** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `panel*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L330** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `shot*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1003** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `storyboard*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1175** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `storyboard*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/components/layout/Panel.tsx`

- **L349** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const panelId = useRef(id ?? `panel-${Math.random().toString(36).substring(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/hooks/useBackgroundSync.ts`

- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sync-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/hooks/useLayoutPersistence.ts`

- **L267** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `preset-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/lib/accessibility.ts`

- **L425** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `idRef.current = `${prefix}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/lib/pwa.ts`

- **L108** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `sync-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/lib/routeAnalytics.ts`

- **L102** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionId = `session-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/aiStore.ts`

- **L408** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/appStore.ts`

- **L274** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `notification-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/bellonaStore.ts`

- **L379** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `bellona-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/collaborationStore.ts`

- **L418** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L439** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return colors[Math.floor(Math.random() * colors.length)] ?? '#3b82f6';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `apps/yemaya/studio-web/src/stores/hathorStore.ts`

- **L451** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `hathor-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/isisStore.ts`

- **L355** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `isis-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/optimistic.ts`

- **L109** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generateId = () => `${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L421** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generateId = () => `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L591** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generateId = () => `queue-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `apps/yemaya/studio-web/src/stores/sophiaStore.ts`

- **L311** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sophia-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `docs/training/examples/civitai-examples.ts`

- **L996** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = Math.min(delay * 2 + Math.random() * 1000, maxDelayMs);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `docs/training/examples/comfyui-examples.ts`

- **L849** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = Math.min(delay * 2 + Math.random() * 1000, 30000);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `docs/training/examples/elevenlabs-examples.ts`

- **L852** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 0.2 * delay;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `docs/training/exercises/02-intermediate-solutions.ts`

- **L254** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * Math.random() * 0.25;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aglaea/avatar-creation/src/avatar-generator.ts`

- **L292** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `avatar*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/database/src/read-replica.ts`

- **L278** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aglaea/enhanced-skin-analysis/src/privacy-engine.ts`

- **L28** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const u = Math.random() - 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L50** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L51** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aglaea/gamification/src/implementation.ts`

- **L596** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `txn-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/generative-design/src/design-engine.ts`

- **L634** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `design-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/memory-system/src/memory-system.ts`

- **L345** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `mem-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/multi-modal-input/src/multi-modal-input.ts`

- **L187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `txt-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L214** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `img-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L248** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `vox-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/outfit-sharing/src/implementation.ts`

- **L326** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `post-${platformId}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/sdk/src/batch.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `batch-${batchIdCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/sdk/src/http-client.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/sdk/src/retry.ts`

- **L56** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * baseDelayMs;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aglaea/sdk/src/websocket.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg-${wsMessageCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/smart-mirror/src/mirror-protocol.ts`

- **L347** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionId: `session*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/smart-mirror/src/user-management.ts`

- **L336** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `guest*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/testing/src/chaos.ts`

- **L39** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `*   When provided, uses a simple seeded PRNG. When omitted, uses Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aglaea/unified-profile/src/profile-aggregator.ts`

- **L395** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aglaea/virtual-tryon-fashion/src/garment-visualization.ts`

- **L802** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const xOffset = width * 0.02 * (Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aglaea/wardrobe-management/src/organization.ts`

- **L628** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `col*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/airmid/api/src/database-connectors.ts`

- **L1338** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * baseDelay;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/airmid/ml/src/advanced-learning.ts`

- **L372** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L373** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/airmid/ml/src/generative-models.ts`

- **L174** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L175** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/airmid/ml/src/graph-neural-networks.ts`

- **L684** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...triples].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L696** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomEntity = entityList[Math.floor(Math.random() * entityList.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/airmid/quality/src/dna-barcoding-data.ts`

- **L198** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* alternate bases. Avoids any reliance on Math.random for full determinism.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aja/asset-storage/src/asset-manager.ts`

- **L710** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/asset-storage/src/automatic-archival.ts`

- **L650** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `job\_${Date.now().toString(36)}${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L654** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `task\_${Date.now().toString(36)}${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/asset-storage/src/cdn-distribution.ts`

- **L305** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `inv\_${Date.now().toString(36)}${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/avatar-integration/src/fitness-pipeline.ts`

- **L1034** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `let selectedCue = cues[Math.floor(Math.random() * cues.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aja/batch-inference/src/memory-manager.ts`

- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `pool*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L91** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `pool*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/bone-mapping-ui/src/types.ts`

- **L1105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/distributed-workers/src/kubernetes.ts`

- **L238** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const jobId = `job-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L296** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const workerId = `worker-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/domain-motion-pipelines/src/dance-pipeline.ts`

- **L829** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/domain-motion-pipelines/src/martial-arts-pipeline.ts`

- **L462** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/fitness-animation/src/pose-estimation/tracking.ts`

- **L820** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/fitness-animation/src/skeletal/skeleton-factory.ts`

- **L548** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `skeleton*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/human-mesh-recovery/src/smpl-recovery.ts`

- **L885** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `features[i] = (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L899** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `params.shape.betas = params.shape.betas.map(() => (Math.random() - 0.5) * 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L901** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L902** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L903** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1227** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `features[i] = (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1242** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: p.x + (Math.random() - 0.5) * 0.1 * refinementScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1243** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: p.y + (Math.random() - 0.5) * 0.1 * refinementScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1244** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: p.z + (Math.random() - 0.5) * 0.1 * refinementScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1263** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1264** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1265** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1269** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1270** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1271** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1421** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.25,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1422** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.25,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1423** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.25,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1539** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `f[j] = (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1558** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1559** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1560** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/human-mesh-recovery/src/smplx-body.ts`

- **L151** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.handPCABasis[c * 45 + i] = c === i ? 1.0 : (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L314** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x += (Math.random() - 0.5) * 5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L315** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y += (Math.random() - 0.5) * 5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L734** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x = cx + (Math.random() - 0.5) * bbox.width * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L754** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x += (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L755** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y += (Math.random() - 0.5) * 2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/model-optimization/src/mixed-precision.ts`

- **L839** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `activations[i] = (Math.random() - 0.5) * 2; // Range [-1, 1]`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/motion-formats/src/alembic.ts`

- **L661** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `abc*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/bvh.ts`

- **L677** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `bvh*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/clip-database.ts`

- **L739** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `collection*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/fbx.ts`

- **L1219** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `fbx*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/gltf.ts`

- **L843** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `gltf*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/mocap-import.ts`

- **L426** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `c3d*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L722** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `trc*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `asf*amc*${Date.now()}_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-formats/src/usd.ts`

- **L666** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `usd*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-integration/src/bellona/adapter.ts`

- **L95** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = clampedDelay * (0.1 + Math.random() * 0.1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aja/motion-integration/src/isis/adapter.ts`

- **L93** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = clampedDelay * (0.1 + Math.random() * 0.1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aja/motion-integration/src/sophia/adapter.ts`

- **L96** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = clampedDelay * (0.1 + Math.random() * 0.1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aja/motion-integration/src/yemaya/adapter.ts`

- **L102** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = clampedDelay * (0.1 + Math.random() * 0.1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aja/motion-pipeline-sdk/src/client.ts`

- **L123** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aja/motion-processing/src/gap-filling.ts`

- **L845** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: basePos.x + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L846** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: basePos.y + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L847** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: basePos.z + (Math.random() - 0.5) * noiseScale,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/motion-quality/src/qa-pipeline.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `qa-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/motion-validation/src/edge-case-testing.ts`

- **L392** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `if (Math.random() >= options.frequency) {`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L402** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 2 * options.magnitude,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L403** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 2 * options.magnitude,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L404** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 2 * options.magnitude,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L919** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const noiseType = noiseTypes[Math.floor(Math.random() * noiseTypes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L962** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const location = locations[Math.floor(Math.random() * locations.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1120** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...items].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/motion-validation/src/ground-truth.ts`

- **L1859** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const shuffled = [...categorySamples].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1906** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...this.samples].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/motion-validation/src/types.ts`

- **L1673** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/multi-view-reconstruction/src/fusion.ts`

- **L777** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...observations].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/neural-retargeting/src/networks/layers.ts`

- **L62** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L63** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aja/pipeline-parallelism/src/memory-pipeline.ts`

- **L522** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const transferId = `transfer-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/pipeline-parallelism/src/scheduler.ts`

- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const itemId = `item-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/pose-lifting/src/depth-estimation.ts`

- **L248** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L346** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L497** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L583** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 0.2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L722** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L798** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 0.05;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/pose-lifting/src/lifting-networks.ts`

- **L257** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `weights[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L623** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L644** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `this.spatialPositionEmbed![i] = (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L659** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `this.temporalPositionEmbed![i] = (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1237** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1576** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1938** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `w[i] = (Math.random() - 0.5) * 2 * scale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aja/result-aggregation/src/conflict-resolver.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L145** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L205** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L234** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/result-aggregation/src/final-assembler.ts`

- **L274** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = `batch-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aja/result-aggregation/src/result-collector.ts`

- **L636** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `result-${now}-${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aje/bitcoin/src/lightning/invoices.ts`

- **L547** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `@noble/hashes/utils.randomBytes`instead of`Math.random()`, which`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aje/wallets/src/mpc/tss.ts`

- **L148** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* CSPRNG is available — a Math.random() fallback would collapse the`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aje/wallets/src/social-login/providers.ts`

- **L373** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* implementation hashed `email:now:Math.random()`, leaving roughly the`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L374** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* 32 bits of `Math.random()` entropy as the only defence — brute-forced`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/advanced-music/src/memory.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mm-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/advanced-music/src/performer-control.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pc-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/age-verification/src/index.ts`

- **L285** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L297** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/agent-platform/src/autonomy/cost-management.ts`

- **L34** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/autonomy/graduated-control.ts`

- **L31** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/compliance/benchmarking.ts`

- **L28** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/compliance/incident-rollback.ts`

- **L30** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/compliance/regulatory-compliance.ts`

- **L30** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/data/pipeline.ts`

- **L28** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/data/security.ts`

- **L45** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/knowledge/knowledge-base.ts`

- **L27** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/knowledge/workflow-templates.ts`

- **L27** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/monitoring/dashboard.ts`

- **L194** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/monitoring/training-pipeline.ts`

- **L200** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random` (non-deterministic, suitable for production`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L236** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L272** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `config.splitSeed`is set) or`Math.random` (otherwise). Seeded`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/agent-platform/src/orchestration/framework.ts`

- **L47** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/orchestration/human-approval.ts`

- **L28** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/orchestration/scheduler.ts`

- **L22** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/testing/alerting.ts`

- **L32** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/testing/disaster-recovery.ts`

- **L36** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/testing/explainability.ts`

- **L33** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/agent-platform/src/testing/simulation-framework.ts`

- **L32** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ai-assistant/src/afk-responder.ts`

- **L361** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `response*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L422** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `response*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L508** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return templates[Math.floor(Math.random() * templates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L783** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `afk*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ai-assistant/src/ai-assistant.ts`

- **L788** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `llm-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ai-assistant/src/conversation-manager.ts`

- **L572** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `thread-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L932** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `summary-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ai-assistant/src/personality.ts`

- **L360** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `personality*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L419** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `personality*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ai-assistant/src/question-answerer.ts`

- **L722** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `answer-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L808** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const phrase = warmPhrases[Math.floor(Math.random() * warmPhrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L858** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `let response = responses[Math.floor(Math.random() * responses.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L865** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `answer-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L925** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `llm-answer-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ai-music/src/fingerprint.ts`

- **L162** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code:
    `const tempName = `chromaprint-${process.pid}-${Date.now()}-${Math.floor(Math.random() * 1e9)}.${ext}`;`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/aphrodite/analytics/src/events/index.ts`

- **L197** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/animations/src/animation-library.ts`

- **L971** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `return animations[Math.floor(Math.random() * animations.length)];`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).

### `libs/aphrodite/ar-overlays/src/index.ts`

- **L337** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pitch: (Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L338** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `yaw: (Math.random() - 0.5) * 30,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L339** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `roll: (Math.random() - 0.5) * 10,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L355** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.9 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L398** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.9 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L414** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const mainExpression = expressions[Math.floor(Math.random() * expressions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L417** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `{ expression: mainExpression, confidence: 0.7 + Math.random() * 0.3 },`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L418** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `{ expression: 'neutral', confidence: 0.3 + Math.random() * 0.2 },`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1456** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.config.lifetime + (Math.random() - 0.5) * 2 * this.config.lifetimeVariance;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1459** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * this.config.emitterSize.x,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1460** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * this.config.emitterSize.y,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1461** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `vx: this.config.velocity.x + (Math.random() - 0.5) * 2 * this.config.velocityVariance.x,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1462** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `vy: this.config.velocity.y + (Math.random() - 0.5) * 2 * this.config.velocityVariance.y,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1467** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `rotationSpeed: this.config.rotationSpeed * (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/archive/src/accessibility/archive-a11y.ts`

- **L174** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/analytics/archive-analytics.ts`

- **L165** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/archive.ts`

- **L236** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/clips/clip-generator.ts`

- **L117** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/cultural/cultural-attribution.ts`

- **L146** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/discovery/search-discovery.ts`

- **L147** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/distribution/archive-distribution.ts`

- **L151** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/distribution/vod-distribution.ts`

- **L119** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/highlights/ai-highlights.ts`

- **L145** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/i18n/archive-i18n.ts`

- **L175** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/library/content-library.ts`

- **L168** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/metadata/content-metadata.ts`

- **L119** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/moderation/archive-moderation.ts`

- **L148** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/monetization/vod-monetization.ts`

- **L132** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/processing/post-production-pipeline.ts`

- **L200** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/processing/post-production.ts`

- **L138** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/recording/multi-angle.ts`

- **L115** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/rights/archive-rights.ts`

- **L161** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/search/content-search.ts`

- **L111** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/storage/storage-optimization.ts`

- **L143** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/tagging/content-enrichment.ts`

- **L140** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/archive/src/transcoding/content-transcoder.ts`

- **L219** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/audience-experience/src/audience-experience.ts`

- **L216** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session-${viewerId}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L234** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `audience-exp-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/community/audience-community.ts`

- **L184** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `community-${name.toLowerCase().replace(/\s+/g, '-')}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L203** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `community-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L365** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `postId: `post-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L466** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `ruleId: `rule-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/engagement/viewer-engagement.ts`

- **L170** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `int-${viewerId}-${type}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L190** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `engagement-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/feedback/audience-feedback.ts`

- **L231** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `feedback-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L264** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `ratingId: `rating-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L295** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `reviewId: `review-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `surveyId: `survey-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L368** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `responseId: `resp-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/gamification/gamification-engine.ts`

- **L187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `badge-${category}-${name.toLowerCase().replace(/\s+/g,
    '-')}-${Math.random().toString(36).slice(2, 8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L205** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `gamification-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L294** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `challengeId: `challenge-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/loyalty/loyalty-program.ts`

- **L220** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `loyalty-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L247** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const memberId = `member-${viewerId}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L294** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `transactionId: `tx-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `redemptionId: `redemption-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/notifications/notification-engine.ts`

- **L180** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `notif-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L198** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `notif-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/recommendations/content-recs.ts`

- **L202** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `recs-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audience-experience/src/social/social-features.ts`

- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L182** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `room-${hostId}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L204** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.engineId = `social-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L258** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `reactionId: `react-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L278** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `giftId: `gift-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L354** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `entryId: `mod-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/audio-haptics/src/index.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/auteur-camera/src/auteur-camera.ts`

- **L1064** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const newShot = available[Math.floor(Math.random() * available.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/auteur-camera/src/sound-design.ts`

- **L1016** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const irregularityFactor = 1 + (Math.random() - 0.5) * this.breath.irregularity * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/avatar-customization-ui/src/types.ts`

- **L997** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `preset*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/avatar-renderer/src/model-loader.ts`

- **L1089** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `model*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/bidirectional-haptics/src/index.ts`

- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L61** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `code += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/biometric-engine/src/bluetooth/bluetooth.ts`

- **L512** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.dataConfig.rssi + (Math.random() - 0.5) * 2 * this.dataConfig.rssiVariability;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L575** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.sin(this.sampleIndex * 0.1) + (Math.random() - 0.5) * 0.5) *`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L582** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const rrJitter = (Math.random() - 0.5) * 20;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/biometric-engine/src/gsr/gsr.ts`

- **L66** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L67** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aphrodite/biometric-engine/src/heart-rate/heart-rate.ts`

- **L61** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L62** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aphrodite/biometric-engine/src/mediapipe/mediapipe.ts`

- **L1567** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.92 + Math.random() * 0.08,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/aphrodite/biometric-engine/src/microphone/microphone.ts`

- **L846** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * 0.3;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1004** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * 0.2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1024** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `sample += (Math.random() * 2 - 1) * 0.02;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aphrodite/biometric-engine/src/sensor/sensor.ts`

- **L1060** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1061** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aphrodite/biometric-engine/src/websocket/websocket.ts`

- **L848** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.sin(sampleIndex * 0.1) + (Math.random() - 0.5) * 0.5) *`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/body-art/src/ar/ar-body-art.ts`

- **L211** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/ar/ar-body-overlay.ts`

- **L168** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/attribution/cultural-advisory.ts`

- **L225** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/body-art.ts`

- **L277** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/capture/live-capture.ts`

- **L253** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/capture/live-painting.ts`

- **L190** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/collaboration/artist-collaboration.ts`

- **L189** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/collaboration/artist-tools.ts`

- **L217** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L226** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/coordination/multi-body-art.ts`

- **L174** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/coordination/multi-performer-paint.ts`

- **L182** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/editor/design-editor.ts`

- **L225** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/editor/paint-editor.ts`

- **L233** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/education/body-art-education.ts`

- **L241** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/history/art-evolution.ts`

- **L177** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/history/body-art-history.ts`

- **L208** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/integration/performance-integration.ts`

- **L226** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/patterns/cultural/cultural-advisory.ts`

- **L168** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/patterns/cultural/cultural-patterns.ts`

- **L201** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/patterns/custom-designer.ts`

- **L287** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/patterns/custom/custom-design.ts`

- **L233** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/rendering/paint-renderer.ts`

- **L265** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/rendering/pose-deformation.ts`

- **L263** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/body-art/src/testing/tracking-accuracy.ts`

- **L198** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/career/src/career-engine.ts`

- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}_${\_counter}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ceremony/src/accessibility/ceremony-a11y.ts`

- **L233** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/advisory/cultural-review.ts`

- **L215** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/anointing/anointing-ritual.ts`

- **L1649** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L1950** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitterX = (Math.random() - 0.5) * 2.0;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1951** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitterY = (Math.random() - 0.5) * 1.0;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1957** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `opacity: clampValue(opacity + (Math.random() - 0.5) * 0.1, 0, 1),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/ceremony/src/archive/ceremony-archive.ts`

- **L208** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/audience/ceremony-audience.ts`

- **L282** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/audience/participation-engine.ts`

- **L174** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/bathing/bathing-cinematography.ts`

- **L1130** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/ceremony.ts`

- **L282** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/cultural/ceremony-advisory.ts`

- **L401** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/design/ceremony-designer.ts`

- **L169** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/effects/ceremony-effects.ts`

- **L251** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/effects/environmental-effects.ts`

- **L205** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/elements/element-integration.ts`

- **L258** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/elements/smoke-haze.ts`

- **L152** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/elements/water-ritual.ts`

- **L150** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/environment/ceremony-environment.ts`

- **L308** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/fire/fire-capture.ts`

- **L254** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/fire/fire-safety.ts`

- **L184** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/flowers/flower-ritual.ts`

- **L260** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/music/ceremonial-music.ts`

- **L220** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/music/chanting-harmonics.ts`

- **L261** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/music/drumming-circle.ts`

- **L267** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/props/prop-tracker.ts`

- **L162** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/rehearsal/ceremony-rehearsal.ts`

- **L212** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/ritual/progression-engine.ts`

- **L164** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/sacred/ceremonial-props.ts`

- **L221** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/sacred/ritual-progression.ts`

- **L363** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/sacred/sacred-space.ts`

- **L222** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/safety/ceremony-safety.ts`

- **L298** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/safety/fire-safety.ts`

- **L343** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/safety/safety-protocols.ts`

- **L258** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/smoke/smoke-integration.ts`

- **L208** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/studio/ceremony-studio.ts`

- **L183** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/templates/tradition-templates.ts`

- **L185** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/traditions/tradition-templates.ts`

- **L1161** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/ceremony/src/water/water-ritual.ts`

- **L280** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/chat-core/src/messages/index.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `msg*${++messageIdCounter}*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/chat-entertainment/src/minigames.ts`

- **L187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `puzzle-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L216** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return wordList[Math.floor(Math.random() * wordList.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L325** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `word-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L652** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const hint = unrevealed[Math.floor(Math.random() * unrevealed.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L713** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `num-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L766** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const operation = operations[Math.floor(Math.random() * operations.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L885** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `num-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/chat-entertainment/src/story.ts`

- **L543** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return tied[Math.floor(Math.random() * tied.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L616** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `story-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/chat-entertainment/src/trivia.ts`

- **L566** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `trivia-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/chat-moderation/src/context-aware-moderation.ts`

- **L927** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `fpr*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/chat-moderation/src/moderation-dashboard.ts`

- **L607** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `appeal*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1472** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `notif*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/cloud-recording/src/index.ts`

- **L58** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L471** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `segment.checksum = Math.random().toString(36).substring(2, 34);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L996** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `checksum: Math.random().toString(36).substring(2, 34),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/compliance/src/compliance.ts`

- **L274** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/consent/consent-manager.ts`

- **L164** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/consent/ip-rights.ts`

- **L183** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/content/classification-engine.ts`

- **L226** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/data/data-protection.ts`

- **L320** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/employment/labor-compliance.ts`

- **L315** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/identity/age-verification.ts`

- **L249** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/identity/viewer-access.ts`

- **L272** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/legal/document-generator.ts`

- **L149** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/legal/regulatory-liaison.ts`

- **L199** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/legal/regulatory-monitor.ts`

- **L243** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/licensing/permit-tracker.ts`

- **L249** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/moderation/realtime-moderation.ts`

- **L244** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/payment/payment-compliance.ts`

- **L360** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/reporting/compliance-audit.ts`

- **L188** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/safety/performer-safety.ts`

- **L190** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/safety/trust-operations.ts`

- **L202** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/tax/tax-engine.ts`

- **L395** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/testing/compliance-tests.ts`

- **L193** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/compliance/src/training/compliance-training.ts`

- **L226** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/content-tagging/src/content-tagger.ts`

- **L141** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const game = games[Math.floor(Math.random() * games.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L146** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/aphrodite/content-tagging/src/tag-suggester.ts`

- **L255** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `custom-${Date.now()}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/content-takedown/src/takedown-service.ts`

- **L745** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).substring(2, 6).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/core/src/utils/age-verification.ts`

- **L246** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `nonce: Math.random().toString(36).substring(2, 15),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/crowd-control/src/collaborative/collaborative.ts`

- **L224** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return keys.length > 0 ? keys[Math.floor(Math.random() * keys.length)] : null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/crowd-control/src/crowd-control.ts`

- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/crypto-payments/src/index.ts`

- **L1844** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const paymentId = `pay*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/device-protocols/src/device-manager.ts`

- **L769** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/drone-integration/src/reconstruction/reconstruction.ts`

- **L2307** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `splats[s].position.x -= lr * gradients[s] * (Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2308** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `splats[s].position.y -= lr * gradients[s] * (Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2309** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `splats[s].position.z -= lr * gradients[s] * (Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/drone-integration/src/safety/safety-engine.ts`

- **L243** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const suffix = Math.random().toString(36).slice(2, 8).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/eye-tracking/src/index.ts`

- **L415** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const microX = (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L416** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const microY = (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/face-identity/src/body-extension/body-overlay.ts`

- **L240** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/coordination/multi-overlay.ts`

- **L234** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/expression/expression-transfer.ts`

- **L360** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/face-identity.ts`

- **L279** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/localization/overlay-localization.ts`

- **L421** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/marketplace/overlay-marketplace.ts`

- **L224** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L240** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `code += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/optimization/render-optimization.ts`

- **L278** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/overlays/artistic/artistic-overlays.ts`

- **L196** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/overlays/elemental/elemental-overlays.ts`

- **L209** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/overlays/mythological/mythological-overlays.ts`

- **L192** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/persona/persona-manager.ts`

- **L202** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/pipeline/asset-pipeline.ts`

- **L264** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/preprocessing/face-calibration.ts`

- **L207** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/protection/identity-defense.ts`

- **L241** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/rendering/overlay-renderer.ts`

- **L227** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/testing/overlay-ab-testing.ts`

- **L284** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/face-identity/src/vr/vr-overlay-integration.ts`

- **L345** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/game-audio/src/sfx/sfx-system.ts`

- **L197** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Uses Math.random() for portability; the anti-repetition logic handles`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/game-horror/src/ghost/ghost.ts`

- **L458** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const targetX = bounds.minX + Math.random() * (bounds.maxX - bounds.minX);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L459** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const targetY = bounds.minY + Math.random() * (bounds.maxY - bounds.minY);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L460** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const targetZ = bounds.minZ + Math.random() * (bounds.maxZ - bounds.minZ);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/aphrodite/game-horror/src/scare/scare.ts`

- **L765** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() > definition.probability) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/aphrodite/game-input/src/recording/input-recorder.ts`

- **L280** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rec*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/game-input/src/viewer-input/viewer-input-router.ts`

- **L446** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `vir*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/game-openworld/src/viewer/viewer.ts`

- **L343** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Deterministic based on counter — no Math.random`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/game-rpg/src/dungeon/dungeon.ts`

- **L73** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* If seed is 0, uses Math.random() instead (non-deterministic).`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L78** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return Math.floor(Math.random() * (max - min + 1)) + min;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/aphrodite/game-rpg/src/monster/monster.ts`

- **L633** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `template = minibossTemplates[Math.floor(Math.random() * minibossTemplates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L640** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `template = eliteTemplates[Math.floor(Math.random() * eliteTemplates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/gamification/src/leaderboards/index.ts`

- **L669** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: params.id ?? `prize*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/growth/src/growth-engine.ts`

- **L444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/haptics/src/index.ts`

- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L240** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `value += (Math.random() - 0.5) * this.config.noiseIntensity * 20;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/highlight-clipping/src/index.ts`

- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L788** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `type: signalTypes[Math.floor(Math.random() * signalTypes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/immersive-theater/src/discovery.ts`

- **L289** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// This avoids Math.random() for testability`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/interactables/src/index.ts`

- **L220** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/lilith-game-bridge/src/lilith-game-bridge.ts`

- **L1166** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const type = types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1198** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const name = nameList[Math.floor(Math.random() * nameList.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/literary-engine/src/branching.ts`

- **L135** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/literary-engine/src/calligraphy.ts`

- **L221** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L222** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L415** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotation: (Math.random() - 0.5) * 0.2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L436** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * displayConfig.spread * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L468** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotation: (Math.random() - 0.5) * Math.PI,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/literary-engine/src/collaborative.ts`

- **L375** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotation = (Math.random() - 0.5) * 30;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L411** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotation = (Math.random() - 0.5) * 60;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/literary-engine/src/narrative.ts`

- **L120** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/literary-engine/src/synesthetic-text.ts`

- **L1805** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const selected = scored[Math.floor(Math.random() * topN)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/literary-engine/src/text-env.ts`

- **L511** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * roomSize,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L513** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * roomSize,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L516** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L518** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 10,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/market-intelligence/src/competitive-engine.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/market-intelligence/src/jurisdiction-engine.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/market-intelligence/src/risk-entry-engine.ts`

- **L80** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/market-intelligence/src/scoring-engine.ts`

- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/meditation/src/body-positive/body-positive.ts`

- **L276** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `celebrationText = propMessages[Math.floor(Math.random() * propMessages.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts`

- **L217** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: 0.5 + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L218** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: 0.5 + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/motion-haptics/src/index.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/movement-engine/src/particle-sculpt.ts`

- **L209** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size: size * 0.08 * (0.8 + Math.random() * 0.4),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L211** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `opacity: 0.85 + Math.random() * 0.15,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L246** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size: radius * 0.06 * (0.8 + Math.random() * 0.4),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L306** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * radius * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L310** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: center.y + (Math.random() - 0.5) * radius * 0.15,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L318** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size: radius * 0.07 * (0.8 + Math.random() * 0.4),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L320** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `opacity: 0.85 + Math.random() * 0.15,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L346** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * length * 0.05;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L358** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size: length * 0.02 * (0.8 + Math.random() * 0.4),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L379** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const u = Math.random();`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L380** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const v = Math.random();`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L383** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const r = radius * Math.pow(Math.random(), 1 / 3);`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L395** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.05,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L396** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `y: Math.random() * 0.02,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L397** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.05,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L399** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `size: radius * 0.06 * (0.6 + Math.random() * 0.8),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L400** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `color: lerpColor(color, rgba(1, 1, 1, 0.5), Math.random() * 0.2),`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L401** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `opacity: 0.6 + Math.random() * 0.3,`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L641** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: p.position.x + (Math.random() - 0.5) * dissolveProgress * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L643** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: p.position.z + (Math.random() - 0.5) * dissolveProgress * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/multi-performer/src/biometrics/group-effects.ts`

- **L615** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 200,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L617** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 200,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/multi-source/src/test-setup.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = id ?? `track-${Date.now()}-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = `stream-${Date.now()}-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/neuro-design/src/dopamine-schedule.ts`

- **L174** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = (Math.random() * 2 - 1) * variance;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L182** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const ratio = meanIntervalMs * (0.5 + Math.random());`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/aphrodite/nft-integration/src/index.ts`

- **L73** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/partnerships/src/partnership-engine.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/payments/src/processors/index.ts`

- **L73** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}_${Math.random().toString(36).substring(2,
    15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L454** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `epoch*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/payments/src/tax/index.ts`

- **L315** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tax*${Date.now()}*${Math.random().toString(36).slice(2, 11)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tax*${Date.now()}*${Math.random().toString(36).slice(2, 11)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/performer-sovereignty/src/data-ownership.ts`

- **L313** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/audio-desc/index.ts`

- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ad-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/captions/index.ts`

- **L76** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cap-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/compliance/index.ts`

- **L93** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `req-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L112** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rem-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `reportId: `rpt-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/hearing/index.ts`

- **L104** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/motor/index.ts`

- **L136** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `switch-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/personalization/index.ts`

- **L104** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `profileId: `prof-${now}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/testing/index.ts`

- **L354** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `auditId: `audit-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-accessibility/src/wcag/index.ts`

- **L319** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `issue-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-analytics/src/dashboard/global-dashboard.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `widgetId: `widget-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-analytics/src/realtime/realtime-analytics.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/platform-analytics/src/reporting/analytics-reporting.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `report-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/ppv/src/index.ts`

- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ppv*access*${Date.now()}_${Math.random().toString(36).substring(2,
    15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/privacy-coins/src/index.ts`

- **L1360** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const paymentId = `priv*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/procedural-art/src/tuning.ts`

- **L582** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const offset = (Math.random() - 0.5) * 2 * maxOffset;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L735** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const targetOffset = (Math.random() - 0.5) * range * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L737** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const duration = (5000 + Math.random() * 10000) / state.driftSpeedScale;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L818** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const targetOffset = (Math.random() - 0.5) * range * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L820** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const duration = (5000 + Math.random() * 10000) / state.driftSpeedScale;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/aphrodite/production/src/analytics/show-analytics.ts`

- **L223** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/assets/production-assets.ts`

- **L203** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/automation/show-automation.ts`

- **L198** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/budget/budget-tracker.ts`

- **L192** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/callsheet/call-sheet.ts`

- **L188** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/collaboration/team-workspace.ts`

- **L213** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/comms/live-comms.ts`

- **L155** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/communication/live-comms.ts`

- **L115** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L122** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/cue/cue-editor.ts`

- **L285** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/cue/cue-execution.ts`

- **L158** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/cues/cue-editor.ts`

- **L109** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/cues/cue-executor.ts`

- **L114** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/cues/cue-preview.ts`

- **L122** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L129** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/emergency/emergency-control.ts`

- **L211** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/emergency/emergency-controls.ts`

- **L130** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/multistage/multi-stage-manager.ts`

- **L173** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/operators/multi-operator.ts`

- **L151** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L158** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/performance/team-performance.ts`

- **L212** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/postshow/postshow-manager.ts`

- **L229** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/preshow/preshow-manager.ts`

- **L188** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/preview/cue-preview.ts`

- **L175** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/production.ts`

- **L278** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/promotion/show-promotion.ts`

- **L152** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L159** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/quality/production-quality.ts`

- **L149** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/quality/quality-checklist.ts`

- **L191** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/rehearsal/rehearsal-manager.ts`

- **L197** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/reporting/post-show-report.ts`

- **L137** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L144** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L151** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/reporting/show-reporting.ts`

- **L187** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/runbook/show-runbook.ts`

- **L212** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/runbooks/show-runbook.ts`

- **L131** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L138** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/rundown/rundown-engine.ts`

- **L186** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/scenes/scene-manager.ts`

- **L175** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/scheduling/call-sheets.ts`

- **L130** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L137** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/scheduling/show-calendar.ts`

- **L178** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/templates/show-templates.ts`

- **L169** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/production/src/ticketing/ticket-integration.ts`

- **L193** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/property/src/design/aesthetic-standards.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/design/space-planning.ts`

- **L29** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/design/tech-infrastructure.ts`

- **L29** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/legal/neighbor-relations.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/legal/portfolio-optimization.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/legal/regulatory-compliance.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/legal/risk-assessment.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/legal/sustainability.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/operations/insurance.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/operations/maintenance.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/operations/multi-venue-dashboard.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/property-engine.ts`

- **L52** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/renovation/project-management.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/property/src/renovation/tech-installation.ts`

- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/recommendations/src/test-helpers.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const viewerId = overrides.viewerId ?? `viewer-${Math.random().toString(36).substring(7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `overrides.broadcasterId ?? `broadcaster-${Math.random().toString(36).substring(7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L189** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const streamId = overrides.streamId ?? `stream-${Math.random().toString(36).substring(7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L241** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: overrides.id ?? `interaction-${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/research-agents/src/agent-engine.ts`

- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/revenue-sharing/src/index.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/risk-crisis/src/risk-engine.ts`

- **L356** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/sacred-architecture/src/composition.ts`

- **L276** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `comp-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/sacred-architecture/src/destruction-rebirth.ts`

- **L375** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const elevation = (Math.random() - 0.5) * Math.PI;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L394** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `angularVelocity: (Math.random() - 0.5) * 720,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/sacred-dance/src/engagement/viewer-engagement.ts`

- **L769** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return filtered[Math.floor(Math.random() * filtered.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/sacred-dance/src/sacred-dance.ts`

- **L631** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/scene-fantasy/src/fairy-forest/fairy-forest.ts`

- **L1130** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1132** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/scene-goddess/src/ocean/ocean.ts`

- **L398** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: performerPos.x + (Math.random() - 0.5) * 100,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L400** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: performerPos.z + (Math.random() - 0.5) * 100,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L406** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * Math.PI * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/scene-nature/src/performer-physics/physics-engine.ts`

- **L616** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `x: particle.position.x + (Math.random() - 0.5) * spreadRate * dt * 0.5,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/sensation-bus/src/profiles.ts`

- **L124** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/sensation-bus/src/sensation-bus.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sb*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/spatial-audio/src/hrtf.ts`

- **L411** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 0.01; // Add slight diffusion`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1503** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `hrtf-profile-${now}-${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1737** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `profile.id = `hrtf-profile-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/spatial-audio/src/index.ts`

- **L1100** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/spatial-audio/src/voice-zones.ts`

- **L700** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `conv-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/storage/src/utils.ts`

- **L141** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/stream-upscaling/src/index.ts`

- **L2329** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `upscale-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/symbol-engine/src/tarot.ts`

- **L779** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* or uses Math.random() as a fallback.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/aphrodite/talent/src/analytics/career-analytics.ts`

- **L216** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/analytics/talent-analytics.ts`

- **L114** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/availability/availability-tracker.ts`

- **L103** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/calendar/availability-calendar.ts`

- **L175** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/casting/casting-engine.ts`

- **L138** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/communication/performer-comms.ts`

- **L156** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/community/performer-community.ts`

- **L163** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/consent/talent-consent.ts`

- **L192** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/contracts/contract-manager.ts`

- **L108** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/cultural/exchange-program.ts`

- **L204** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/development/career-development.ts`

- **L194** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/development/talent-development.ts`

- **L115** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/emergency/crisis-support.ts`

- **L246** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/logistics/travel-management.ts`

- **L255** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/onboarding/performer-onboarding.ts`

- **L190** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/payment/performer-payment.ts`

- **L221** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/portfolio/performer-portfolio.ts`

- **L106** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/reputation/performer-reputation.ts`

- **L185** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/reputation/trust-system.ts`

- **L231** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/retention/performer-retention.ts`

- **L188** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/scheduling/conflict-resolution.ts`

- **L156** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/strategy/content-strategy.ts`

- **L210** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/talent.ts`

- **L210** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/training/talent-training.ts`

- **L195** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/wellness/burnout-prevention.ts`

- **L251** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/talent/src/wellness/performer-wellness.ts`

- **L172** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 16; i++) r += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/ai-camera/ai-camera-direction.ts`

- **L195** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/ai/camera-ai-director.ts`

- **L239** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L246** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L253** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L467** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variation = (Math.random() - 0.5) * avgDuration * 0.3;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/technical-direction/src/audio/audio-routing.ts`

- **L181** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/calibration.ts`

- **L127** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/camera-calibration.ts`

- **L169** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/camera-plan.ts`

- **L160** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/immersive-capture.ts`

- **L148** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L155** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/motion-control.ts`

- **L125** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L132** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/switching-plan.ts`

- **L123** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/camera/thermal-capture.ts`

- **L124** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/contingency/contingency-system.ts`

- **L163** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/contingency/failover.ts`

- **L115** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L122** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/documentation/tech-docs.ts`

- **L210** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/drone/flight-designer.ts`

- **L119** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/drone/flight-path.ts`

- **L179** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/equipment-monitoring/equipment-monitor.ts`

- **L165** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/immersive/immersive-capture.ts`

- **L160** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/lighting/dmx-control.ts`

- **L194** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/logistics/tech-inventory.ts`

- **L136** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L143** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/logistics/tech-logistics.ts`

- **L165** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/monitoring/stream-quality.ts`

- **L165** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/motion-control/camera-motion.ts`

- **L172** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/quality/stream-monitor.ts`

- **L122** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/recording/multi-camera-recording.ts`

- **L170** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/rehearsal-automation/tech-rehearsal.ts`

- **L181** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/rehearsal/tech-rehearsal.ts`

- **L146** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L153** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L160** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/remote/remote-control.ts`

- **L178** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/technical-direction.ts`

- **L235** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/thermal/thermal-capture.ts`

- **L158** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/training-sim/td-training.ts`

- **L203** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/underwater/underwater-capture.ts`

- **L147** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/video-switching/video-switcher.ts`

- **L182** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/technical-direction/src/video/switching-effects.ts`

- **L132** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L139** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < 12; i++) id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/testing/src/fixtures/index.ts`

- **L29** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `result += chars.charAt(Math.floor(Math.random() * chars.length));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L52** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `return Math.floor(Math.random() * (max - min + 1)) + min;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L59** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return array[Math.floor(Math.random() * array.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L66** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `libs/aphrodite/thumbnail-generation/src/frame-analyzer.ts`

- **L105** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 0.5 + (Math.random() * 0.3 - 0.15);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L113** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 0.6 + (Math.random() * 0.3 - 0.15);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L121** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 0.5 + (Math.random() * 0.4 - 0.2);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L130** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 0.1 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L139** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `return 0.1 + Math.random() * 0.15;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L565** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const numFaces = Math.floor(Math.random() * 3) + 1;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L568** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const faceWidth = frame.width * (0.1 + Math.random() * 0.15);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L570** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const faceX = (frame.width - faceWidth) * (0.2 + Math.random() * 0.6);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L571** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const faceY = frame.height * (0.1 + Math.random() * 0.3);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L583** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L623** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const emotion = emotions[Math.floor(Math.random() * emotions.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L627** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `min: 20 + Math.floor(Math.random() * 10),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L628** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `max: 35 + Math.floor(Math.random() * 10),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L631** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `emotionConfidence: 0.7 + Math.random() * 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L633** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pitch: (Math.random() - 0.5) * 30,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L634** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `yaw: (Math.random() - 0.5) * 40,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L635** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `roll: (Math.random() - 0.5) * 20,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L637** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `eyesOpen: 0.7 + Math.random() * 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L638** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `mouthOpen: Math.random() * 0.4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L639** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `smile: emotion === 'happy' ? 0.7 + Math.random() * 0.3 : Math.random() * 0.3,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L640** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `glasses: Math.random() > 0.7,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L641** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `sunglasses: Math.random() > 0.95,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L643** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `forehead: Math.random() * 0.2,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L644** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `eyes: Math.random() * 0.1,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L645** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `mouth: Math.random() * 0.15,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L986** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const primaryScene = scenes[Math.floor(Math.random() * scenes.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L996** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `sceneScores[primaryScene] = 0.8 + Math.random() * 0.2;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L999** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const numSecondary = Math.floor(Math.random() * 3);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1002** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const scene = scenes[Math.floor(Math.random() * scenes.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1005** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `sceneScores[scene] = 0.3 + Math.random() * 0.4;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1013** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `environment: environments[Math.floor(Math.random() * environments.length)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1018** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `Math.floor(Math.random() * 4)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1020** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1056** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const numObjects = 2 + Math.floor(Math.random() * 4);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1060** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const type = objectTypes[Math.floor(Math.random() * objectTypes.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1061** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const width = frame.width * (0.1 + Math.random() * 0.3);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1062** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const height = frame.height * (0.1 + Math.random() * 0.3);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1063** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const x = Math.random() * (frame.width - width);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1064** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const y = Math.random() * (frame.height - height);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1068** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.6 + Math.random() * 0.4,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1070** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `isKeyObject: type === 'person' || Math.random() > 0.7,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1071** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `importance: type === 'person' ? 0.9 : 0.3 + Math.random() * 0.4,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1096** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const numText = Math.floor(Math.random() * 3);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1108** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const textType = textTypes[Math.floor(Math.random() * textTypes.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1109** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const width = frame.width * (0.1 + Math.random() * 0.2);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1110** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const height = 20 + Math.random() * 30;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1111** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const x = Math.random() * (frame.width - width);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1112** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const y = Math.random() * (frame.height - height);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1116** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `Math.floor(Math.random() * 4)`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1118** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1146** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const hasAction = Math.random() > 0.7;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1160** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `actionType: actionTypes[Math.floor(Math.random() * actionTypes.length)],`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1161** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.6 + Math.random() * 0.4,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1162** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `intensity: 0.4 + Math.random() * 0.6,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1169** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `isHighlight: Math.random() > 0.5,`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/aphrodite/tip-acknowledgment/src/thank-you-messages.ts`

- **L580** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `compliment: COMPLIMENTS[Math.floor(Math.random() * COMPLIMENTS.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L581** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `emoji: emojis[Math.floor(Math.random() * emojis.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/aphrodite/tip-effects/src/index.ts`

- **L52** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L161** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return items[Math.floor(Math.random() * items.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L347** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `rotationSpeed: particle.rotation ? particle.rotationSpeed * (Math.random() - 0.5) * 2 : 0,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L392** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `p.velocity.x += (Math.random() - 0.5) * physics.turbulence * deltaTime;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L393** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `p.velocity.y += (Math.random() - 0.5) * physics.turbulence * deltaTime;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L394** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `p.velocity.z += (Math.random() - 0.5) * physics.turbulence * deltaTime;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L723** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const phi = Math.random() * Math.PI * 2;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/aphrodite/tip-goals/src/index.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `goal*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L632** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `contrib*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1015** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const contentId = `content*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/venue-management/src/accessibility/venue-accessibility.ts`

- **L346** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/analytics/venue-benchmarks.ts`

- **L181** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/audience/venue-audience.ts`

- **L208** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/communication/partner-comms.ts`

- **L253** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/coordination/multi-venue-events.ts`

- **L191** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/dashboard/global-dashboard.ts`

- **L161** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/equipment/equipment-manager.ts`

- **L193** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/finance/revenue-sharing.ts`

- **L286** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/infrastructure/network-manager.ts`

- **L195** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/infrastructure/power-management.ts`

- **L279** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/legal/insurance-manager.ts`

- **L312** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/marketing/venue-promotion.ts`

- **L185** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/onboarding/application.ts`

- **L251** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/onboarding/inspection.ts`

- **L556** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/onboarding/integration-test.ts`

- **L255** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/profile/venue-profile.ts`

- **L235** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/quality/tier-system.ts`

- **L270** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/quality/upgrade-tracker.ts`

- **L338** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/safety-tracking/safety-tracking.ts`

- **L609** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/scheduling/venue-scheduler.ts`

- **L201** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/security/access-control.ts`

- **L251** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/staff/staff-manager.ts`

- **L207** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/aphrodite/venue-management/src/venue-management.ts`

- **L588** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/vfx-particles/src/physics.ts`

- **L1563** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * flockConfig.boundaryRadius * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1567** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * flockConfig.maxSpeed,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1568** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * flockConfig.maxSpeed * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1569** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * flockConfig.maxSpeed`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/viewer-avatars/src/index.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/viewer-interactions/src/index.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/vip-areas/src/index.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/virtual-gifts/src/index.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L746** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `y: -(this.config.fallSpeed + (Math.random() - 0.5) * 2 * this.config.fallSpeedVariance),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1048** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 6,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1060** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pos = { x: (Math.random() - 0.5) * 4, y: 5, z: 2 };`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/virtual-rooms/src/environmental-effects.ts`

- **L1324** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const randomRange = (range: ValueRange) => range.min + Math.random() * (range.max - range.min);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1333** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `x: direction.x * speed + (Math.random() - 0.5) * config.velocityRandomness * speed,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1334** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `y: direction.y * speed + (Math.random() - 0.5) * config.velocityRandomness * speed,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1335** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `z: direction.z * speed + (Math.random() - 0.5) * config.velocityRandomness * speed,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1341** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const stop = config.startColor[Math.floor(Math.random() * config.startColor.length)];`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1348** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `${config.id}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1367** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const r = emitter.emitFromShell ? shapeRadius : Math.random() * shapeRadius;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1375** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: position.x + (Math.random() - 0.5) * emitter.scale.x,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1376** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: position.y + (Math.random() - 0.5) * emitter.scale.y,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1377** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: position.z + (Math.random() - 0.5) * emitter.scale.z,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1381** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1382** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const phi = Math.acos(2 * Math.random() - 1);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1391** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1392** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const phi = Math.acos(Math.random());`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1402** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1403** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const h = Math.random();`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1414** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: position.x + (Math.random() - 0.5) * emitter.scale.x,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1416** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: position.z + (Math.random() - 0.5) * emitter.scale.z,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1420** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1450** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1451** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const phi = Math.acos(2 * Math.random() - 1);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1465** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `direction.x += (Math.random() - 0.5) * 2 * randomize;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1466** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `direction.y += (Math.random() - 0.5) * 2 * randomize;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1467** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `direction.z += (Math.random() - 0.5) * 2 * randomize;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1625** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() < strikeChance) {`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1628** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `Math.random() * (lightning.intensity.max - lightning.intensity.min);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L1630** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 100,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1632** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: (Math.random() - 0.5) * 100,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/virtual-rooms/src/room-customization.ts`

- **L546** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `instanceId: `prop-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L844** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `room-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/virtual-rooms/src/room-editor-hooks.ts`

- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/virtual-rooms/src/room-templates.ts`

- **L1129** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `room-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1132** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `instanceId: `${prop.id}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/aphrodite/vod-chaptering/src/index.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L355** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/aphrodite/volumetric-capture/src/multi-cam/multi-cam.ts`

- **L131** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jx = (Math.random() - 0.5) * 2 * jitterPx;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L132** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jy = (Math.random() - 0.5) * 2 * jitterPx;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/aphrodite/wearables/src/index.ts`

- **L1377** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variation = (Math.random() - 0.5) * 2 * this.variability;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1385** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const rrVariation = (Math.random() - 0.5) * 50;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/arete/habits/src/reminders.ts`

- **L267** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const msg = COMEBACK_MESSAGES[Math.floor(Math.random() * COMEBACK_MESSAGES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L287** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const msg = ENCOURAGEMENT_MESSAGES[Math.floor(Math.random() * ENCOURAGEMENT_MESSAGES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/asase/processing/src/raw-material-receiving.ts`

- **L868** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `return `LOT-${Date.now()}-${String(Math.floor(Math.random() \*
    1000)).padStart(3, '0')}`;`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/asase/sota/src/ml-predictions.ts`

- **L262** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/adapters/src/bridge/message-codec.ts`

- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/adapters/src/bridge/reconnection.ts`

- **L241** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay += Math.random() * jitterAmount * 2 - jitterAmount;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/bellona/audio/src/export/index.ts`

- **L520** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `return Math.random() - 0.5 + (Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/bellona/bridge-core/src/index.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MessageId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L431** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `conn_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/gameplay-systems/src/ai-behavior/index.ts`

- **L1227** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createBehaviorNodeId(`${type}_${Date.now()}\_${Math.random().toString(36).substr(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/gameplay-systems/src/combat/index.ts`

- **L183** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createEntityId(`entity*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1005** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createEffectId(`effect*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/gameplay-systems/src/inventory/index.ts`

- **L229** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `container_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L283** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createItemInstanceId(`item*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/godot/src/assets/index.ts`

- **L2415** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asset*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2422** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/bellona/interchange-models/src/animation/index.ts`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `anim*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AnimationModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L73** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `track*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as TrackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L77** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `key*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as KeyframeId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange-models/src/index.ts`

- **L174** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange-models/src/material/index.ts`

- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mat*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MaterialModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `node*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as ShaderNodeId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange-models/src/scene/index.ts`

- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `scene*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as SceneModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `node*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as NodeModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mesh*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MeshModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mat*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MaterialModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `anim*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AnimationModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange/src/fbx/index.ts`

- **L1766** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asset*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AssetId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1770** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mesh*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MeshId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1774** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mat*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MaterialId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1778** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tex*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as TextureId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange/src/index.ts`

- **L317** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `job*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as JobId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/interchange/src/usd/index.ts`

- **L1522** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asset*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as AssetId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1526** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mesh*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MeshId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1530** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mat*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as MaterialId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/metahuman/src/customization/appearance-editor.ts`

- **L1256** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `size: 0.5 + (Math.random() - 0.5) * intensity,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1257** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `position: 0.5 + (Math.random() - 0.5) * intensity,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1258** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rotation: 0.5 + (Math.random() - 0.5) * intensity,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/bellona/mocap/src/recording/index.ts`

- **L167** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `config.id ?? (`rec*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}` as RecordingId);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2174** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``sess_${Date.now()}_${Math.random().toString(36).slice(2, 8)}` as
    MocapSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/mocap/src/retarget/index.ts`

- **L219** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``rtgt_${Date.now()}_${Math.random().toString(36).slice(2, 8)}` as
    RetargetProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L991** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rtgt*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}` as RetargetProfileId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/mocap/src/skeleton/index.ts`

- **L257** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.definition.id = `skel*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}` as SkeletonTemplateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/openusd/src/advanced/usd-sota.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/unity/src/assets/index.ts`

- **L1468** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asset*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1475** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/bellona/unity/src/project/index.ts`

- **L1673** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/bellona/unity/src/scene/index.ts`

- **L1011** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `scene*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1022** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/bellona/unity/src/scripts/index.ts`

- **L1557** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/bellona/unreal/src/metahuman/appearance-editor.ts`

- **L722** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const offset = (Math.random() - 0.5) * 2 * v;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/bellona/video/src/processing/index.ts`

- **L5076** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const angle = emitter.direction + (Math.random() - 0.5) * 2 * emitter.spreadAngle;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L5077** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const speed = emitter.speed * (0.8 + Math.random() * 0.4); // 80-120% speed variation`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L5080** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `x: emitter.position.x + (Math.random() - 0.5) * 4, // small positional jitter`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L5081** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: emitter.position.y + (Math.random() - 0.5) * 4,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/bellona/virtual-production/src/led-wall/index.ts`

- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `wall*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as LEDWallId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `section*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as LEDSectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cal*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as CalibrationProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/virtual-production/src/tracking/index.ts`

- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tracker*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as TrackingDeviceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L76** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cal*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` as CalibrationProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/xr/src/quest/index.ts`

- **L790** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createXREntityId(`entity*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L851** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createXRAnchorId(`anchor*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/xr/src/spatial-ar/persistent-ar-content-anchoring.ts`

- **L378** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `persistent_anchor_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/xr/src/spatial-ar/visual-positioning-system.ts`

- **L226** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `request.frameId ?? `vps-frame-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/bellona/xr/src/visionos/index.ts`

- **L491** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createXREntityId(`entity*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L552** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createXRAnchorId(`anchor*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/brigid/ai-industrial/src/computer-vision.ts`

- **L836** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `return features.map((v) => v + (Math.random() - 0.5) * 0.05 * v);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/brigid/ai-industrial/src/edge-ai.ts`

- **L891** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random(),`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L892** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/brigid/ai-industrial/src/sota.ts`

- **L1239** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const chosen = maxActions[Math.floor(Math.random() * maxActions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/brigid/cybersecurity/src/threat-detection.ts`

- **L497** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `alertId: `IDS-${packet.protocol.toUpperCase()}-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/brigid/factory/src/production.ts`

- **L662** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const p1 = elite[Math.floor(Math.random() * elite.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L663** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const p2 = elite[Math.floor(Math.random() * elite.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L864** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L865** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/brigid/financials/src/portfolio-analysis.ts`

- **L569** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* @param seed  Optional: override Math.random with seeded function for testing`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/brigid/sota-enhancements/src/federated-learning.ts`

- **L76** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `weights: globalModel.weights.map((w) => w + (Math.random() - 0.5) * 0.01),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L123** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L124** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/brigid/sota-enhancements/src/reinforcement-learning.ts`

- **L93** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return (bestActions[Math.floor(Math.random() * bestActions.length)] ?? 0) as ProcessAction;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/contracts/concordia/src/adversarial-simulations/adversarial-simulations.ts`

- **L282** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* runs without depending on Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/contracts/cybele/src/events.ts`

- **L217** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `evt*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/contracts/src/tts/reference-client.ts`

- **L23** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* player and would fail every adversarial check that looks for `Math.random``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1579** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* identical output. No `Math.random`.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/cybele/common/src/carbon-esg.ts`

- **L444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `emissionId: `EM-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/design/src/bim.ts`

- **L96** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = model.id ?? `mdl-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L139** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `versionId: `v${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/design/src/design-intelligence.ts`

- **L1206** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const reviewId = `REV-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1232** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `CMT-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/design/src/drawings.ts`

- **L1803** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `dev-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/finance/src/reit.ts`

- **L470** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `txId: `TX-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L504** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `txId: `TX-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L533** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `txId: `TX-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/materials/src/paint.ts`

- **L742** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `testId: `pqc-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L883** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `checkId: `sc-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/materials/src/steel.ts`

- **L957** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `recordId: `coat-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1200** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `ndtId: `ndt-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/materials/src/tiles.ts`

- **L479** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `firingId: `KF-${Date.now()}-${Math.random().toString(36).slice(2,
    5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/prefab/src/assembly.ts`

- **L434** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ci-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/prefab/src/logistics.ts`

- **L186** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tp-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L296** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `esc-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/prefab/src/production.ts`

- **L505** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `qc-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L514** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ncr-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L617** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `def-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L837** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `mt-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L860** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ml-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/property/src/lease.ts`

- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `lease*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/property/src/maintenance.ts`

- **L1318** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `passCode: Math.random().toString(36).slice(2, 8).toUpperCase(),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/cybele/site-analysis/src/land-registry.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `'X-GLC-Request-Id': `cybele-${Date.now()}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/alerts.ts`

- **L325** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-rule-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L361** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L439** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-esc-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/climate-control.ts`

- **L271** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `gh-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/history.ts`

- **L155** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `log-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/irrigation.ts`

- **L170** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `zone-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/rules.ts`

- **L223** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L662** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/automation/src/scenes.ts`

- **L423** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `scene-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L473** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `exec-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/content.ts`

- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/exchange.ts`

- **L244** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `listing-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L289** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `exchange-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L506** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `thread-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L538** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `msg-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L679** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rating-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L746** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `wish-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/experts.ts`

- **L269** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/groups.ts`

- **L255** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/local-resources.ts`

- **L1356** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/community/src/profiles.ts`

- **L786** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `profile-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1257** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `activity-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/intelligence/src/anomaly-detection.ts`

- **L850** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/intelligence/src/disease-detection.ts`

- **L3591** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `report-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/intelligence/src/model-management.ts`

- **L418** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ab-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L681** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pipeline-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1172** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L1206** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `inf-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/intelligence/src/pest-identification.ts`

- **L3250** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pest-report-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/intelligence/src/plant-identification.ts`

- **L2535** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `id-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2556** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `id-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/inventory/src/plant-inventory.ts`

- **L90** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/inventory/src/seed-saving.ts`

- **L84** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/inventory/src/seeds.ts`

- **L158** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/inventory/src/suppliers.ts`

- **L110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/inventory/src/supplies.ts`

- **L140** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/demeter/weather/src/alerts.ts`

- **L832** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `notif-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/collab/src/file-sharing/file-sharing.ts`

- **L69** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `token += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/euterpe/collab/src/project-mgmt/project-mgmt.ts`

- **L56** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `token += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/euterpe/core/src/dynamics/dynamics.ts`

- **L1039** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Uses a seeded PRNG if randomSeed is provided; otherwise uses Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1055** — `ALLOW` (HIGH, rule `rng-factory`)
  - Code: `rng = { nextSignedFloat: () => Math.random() * 2 - 1 };`
  - Rationale: RNG abstraction wrapper exposing Math.random as a default;
    callers can override with seeded RNG.

### `libs/euterpe/distribution/src/distributor/index.ts`

- **L597** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `ern*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L620** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `packageId: `pkg*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L642** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `requestId: `td*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/genesis/src/stems/stems.ts`

- **L585** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shift = (Math.random() - 0.5) * vary * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L589** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `durationBeats: note.durationBeats * (1 + (Math.random() - 0.5) * vary * 0.3),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L594** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const pitchShift = Math.round((Math.random() - 0.5) * vary * 4);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L599** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const velChange = Math.round((Math.random() - 0.5) * vary * 40);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L608** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const interval = [0, 3, 4, 7][Math.floor(Math.random() * 4)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L646** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `Math.min(127, note.velocity + Math.round((Math.random() - 0.5) * 10))`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/euterpe/genesis/src/voice/voice.ts`

- **L584** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const phrase = phrases[Math.floor(Math.random() * phrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L585** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const pitch = key[Math.floor(Math.random() * key.length)] ?? 60;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L675** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const pitch = scalePitches[Math.floor(Math.random() * scalePitches.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L677** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const dur = durations[Math.floor(Math.random() * durations.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L678** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const syl = SCAT_SYLLABLES[Math.floor(Math.random() * SCAT_SYLLABLES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/euterpe/iot/src/smart-studio/index.ts`

- **L669** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variance = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/euterpe/marketing/src/advertising/index.ts`

- **L434** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ad*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L589** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `adSetId: `as*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/master/src/mix-analysis/mix-analysis.ts`

- **L2151** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: id ?? `snapshot-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/score/src/film-scoring/film-scoring.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/score/src/wwise/wwise.ts`

- **L562** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/euterpe/spatial/src/atmos/atmos.ts`

- **L74** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/spatial/src/binaural/binaural.ts`

- **L80** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/spatial/src/spatial-upmix/spatial-upmix.ts`

- **L104** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/stage/src/dj-tools/dj-tools.ts`

- **L181** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Date.now().toString(36) + Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/studio/src/daw-engine/daw-engine.ts`

- **L408** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `buf-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/studio/src/instruments/instruments.ts`

- **L1067** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const positionOffset = (Math.random() - 0.5) * 2 * config.positionSpread;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1070** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const pitchVar = 1 + (Math.random() - 0.5) * 2 * config.pitchSpread;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1071** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const pan = (Math.random() - 0.5) * 2 * config.panSpread;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/euterpe/studio/src/project-management/project-management.ts`

- **L75** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `Array.from({ length: len }, () => chars[Math.floor(Math.random() * chars.length)]).join('')`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/euterpe/studio/src/timeline/timeline.ts`

- **L147** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `clip-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/euterpe/virtuoso/src/artist-identity/artist-identity.ts`

- **L74** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `s += hex[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/euterpe/virtuoso/src/content-generation/content-generation.ts`

- **L83** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `s += hex[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/freya/beauty/src/cosmetics-development.ts`

- **L560** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `AFRICAN_HERITAGE_PREFIXES[Math.floor(Math.random() * AFRICAN_HERITAGE_PREFIXES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L561** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const suffix = LUXURY_SUFFIXES[Math.floor(Math.random() * LUXURY_SUFFIXES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/freya/core/src/product-types.ts`

- **L142** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `result += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/freya/ecommerce/src/catalog-inventory.ts`

- **L361** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const cartId = `CART-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L682** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const intentId = `PI-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L910** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const reservationId = `RES-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1167** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const reviewId = `REV-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/ecommerce/src/social-personalization.ts`

- **L1119** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `VTO-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/african-print-library.ts`

- **L1112** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const attributionId = `ATTR-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/collection-planner.ts`

- **L249** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const collectionId = `COL-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L320** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const capsuleId = `CAP-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L379** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const collabId = `COLLAB-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L417** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const budgetId = `BUD-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L464** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const lineSheetId = `LS-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L527** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const presentationId = `PRES-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L561** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const reportId = `RPT-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L613** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const archiveId = `ARC-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/design-pipeline.ts`

- **L231** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const boardId = `CB-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L351** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const patternId = `PAT-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L387** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const protoId = `PROTO-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L408** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const requestId = `SR-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L466** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const techPackId = `TP-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L514** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const approvalId = `APPR-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L585** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const assetId = `ASSET-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/production-scheduler.ts`

- **L230** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const orderId = `ORD-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L317** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const poId = `FPO-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L378** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const planId = `CUT-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L511** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const inspectionId = `QC-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/size-grading.ts`

- **L335** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `FIT-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/fashion/src/trend-forecasting.ts`

- **L198** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const observationId = `SSO-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L463** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const reportId = `TRND-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/jewelry/src/gold-management.ts`

- **L487** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `movementId: `MOV-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/freya/manufacturing/src/cosmetics-manufacturing.ts`

- **L258** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = `BCH-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L396** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `readingId: `CLR-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L831** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `batchId: `DET-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/manufacturing/src/cross-manufacturing.ts`

- **L465** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `eventId: `KZ-${Date.now()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L845** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `entryId: `WE-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/manufacturing/src/textile-manufacturing.ts`

- **L407** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `recordId: `WR-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/market-intel/src/competitive-intelligence.ts`

- **L161** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `activityId: `ACT-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/freya/sota/src/nlp.ts`

- **L320** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const adj = adjectives[Math.floor(Math.random() * adjectives.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/galatea/core/src/errors/error-recovery.ts`

- **L214** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = exponentialDelay * policy.jitterRatio * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/hathor/client/src/http.ts`

- **L293** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/domain-models/src/common/utils.ts`

- **L365** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `s += hex[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/hathor/llm-npc/src/advanced/npc-sota.ts`

- **L1782** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `subtask*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/behavior/behavior-controller.ts`

- **L137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `goal*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L215** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `action*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L585** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `action*${type}*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/behavior/npc-conversation.ts`

- **L66** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const conversationId = `npc*conv*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/brain/emotional-state.ts`

- **L405** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedEmotion = adjacent[Math.floor(Math.random() * adjacent.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/hathor/llm-npc/src/brain/memory-system.ts`

- **L123** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `mem*${now}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/brain/personality-manager.ts`

- **L121** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `personality*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/dialogue/dialogue-generator.ts`

- **L456** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `conversationId: `conv*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/platforms/inworld-client.ts`

- **L212** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/llm-npc/src/provider-chain.ts`

- **L559** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `delay = delay * (1 + (Math.random() - 0.5) * 2 * jitter);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/hathor/lore-compiler/src/bellona/package-builder.ts`

- **L738** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `build*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as CompilationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/lore-compiler/src/engine/quest-compiler.ts`

- **L1545** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `compile*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as CompilationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/lore-compiler/src/film/screenplay-compiler.ts`

- **L942** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `compile*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as CompilationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/narrative/src/branching/branching-utils.ts`

- **L265** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `net*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/narrative/src/dialogue/dialogue-engine.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/narrative/src/journal/journal-system.ts`

- **L36** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Date.now().toString(36) + Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/narrative/src/quest/quest-engine.ts`

- **L91** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return Date.now().toString(36) + Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/pre-production/src/planning/checklists.ts`

- **L765** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `item-${Date.now()}-${Math.random().toString(36).slice(2, 5)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/pre-production/src/planning/project-manager.ts`

- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `proj-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as ProjectId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `phase-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as PhaseId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ms-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as MilestoneId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `task-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as TaskId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/pre-production/src/scriptwriting/templates.ts`

- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/pre-production/src/storyboard/storyboard-manager.ts`

- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sb-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as StoryboardId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `seq-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as SequenceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `frame-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as FrameId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `elem-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}` as ElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/culture/manager.ts`

- **L100** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/culture/providers.ts`

- **L11** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* No Math.random() calls -- randomness derives from seeded or state-based hashing.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L51** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* value derived from cultural state rather than Math.random().`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/hathor/simulation/src/economy/manager.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/economy/providers.ts`

- **L10** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* NO Math.random() is used anywhere in these providers. All stochastic`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L237** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*    No Math.random() used.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/hathor/simulation/src/npc/behavior-tree.ts`

- **L1294** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${++nodeIdCounter}\_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/physics/engine.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/politics/manager.ts`

- **L99** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/politics/providers.ts`

- **L12** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* - NO Math.random() in core logic -- all outcomes are deterministic functions`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/hathor/simulation/src/scenario/manager.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/state/postgres-storage.ts`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/simulation/src/state/state-store.ts`

- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/sophia-integration/src/research-grounding.ts`

- **L324** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `grounding-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/theory/src/cinematography/manager.ts`

- **L114** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``shot_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    ShotId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/theory/src/mda/manager.ts`

- **L145** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``mech_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    MechanicId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L227** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``dyn_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    DynamicId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L326** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``aes_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    AestheticId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L414** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``loop_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    FeedbackLoopId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/theory/src/narrative/manager.ts`

- **L149** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``elem_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    NarrativeElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L257** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``plot_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    PlotPointId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L350** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``arc_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    CharacterArcId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/validation/src/causality/causality-validator.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `issue-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/validation/src/contradiction/contradiction-detector.ts`

- **L41** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/validation/src/taxonomy/taxonomy-validator.ts`

- **L162** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `issue-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hathor/validation/src/timeline/timeline-validator.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `issue-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/ai-ml/src/recipe-generation.ts`

- **L708** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...arr].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/hestia/education/src/certifications.ts`

- **L2974** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...allQuestions].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/hestia/education/src/food-science.ts`

- **L3107** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...allQuestions].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/hestia/education/src/interactive.ts`

- **L4986** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...filtered].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/hestia/meal-planning/src/batch-cooking.ts`

- **L106** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/meal-planning/src/budget.ts`

- **L99** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/meal-planning/src/calendar.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/meal-planning/src/events.ts`

- **L104** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/meal-planning/src/household.ts`

- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/hestia/social/src/family-cookbook.ts`

- **L30** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code:
    `for (let i = 0; i < len; i++) code += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/hestia/sustainability/src/carbon-footprint.ts`

- **L2469** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `purchaseId: `offset*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/adaptive/src/utils.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/braille/src/utils.ts`

- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/cognitive/src/memory-aids.ts`

- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/cognitive/src/reading/content-summarization.ts`

- **L923** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `summary-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/motor/src/dictation.ts`

- **L155** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `dictation*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L159** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `history\_${Math.random().toString(36).substring(2, 15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/motor/src/switch-access.ts`

- **L603** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const groupId = `group-${role}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/testing/src/utils.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/accessibility/voice-ui/src/utils.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/archetypes/src/creative-agent.ts`

- **L518** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const template = typeTemplates[Math.floor(Math.random() * typeTemplates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L580** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return intros[Math.floor(Math.random() * intros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/agents/computer-use/accessibility/src/a11y-tree-inspector.ts`

- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/browser/src/types.ts`

- **L31** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``browser_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`)
    as BrowserSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `page*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as PageId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `frame*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as FrameId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L52** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `nav*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as NavigationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/desktop/src/types.ts`

- **L36** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``desktop_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`)
    as DesktopSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `win*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as WindowId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `app*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as ApplicationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `menu*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as MenuItemId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `dlg*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as DialogId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/recording/src/screen-recorder.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/recovery/src/alternative-path-finder.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/recovery/src/error-detector.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/recovery/src/recovery-strategy-selector.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/recovery/src/rollback-manager.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/src/screen-capture.ts`

- **L857** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* (Math.random was previously used here but produced non-deterministic`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/agents/computer-use/src/types.ts`

- **L31** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``capture_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`)
    as CaptureSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `action*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as ActionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `element*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as ElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L53** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``session_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`)
    as ComputerSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/templates/src/task-template-builder.ts`

- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/templates/src/template-library.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/templates/src/template-parameterization.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/templates/src/template-sharing.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    12)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/computer-use/vision/src/types.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``screenshot_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`) as
    ScreenshotId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `element*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as UIElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``analysis_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`)
    as AnalysisSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L52** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `region*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as RegionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/core/src/agent-execution-replay.ts`

- **L597** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: options.id ?? `replay*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L619** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: options.id ?? `replay*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/marketplace/src/agent-publisher.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/memory/src/memory-broadcast.ts`

- **L19** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/memory/src/memory-conflict-resolution.ts`

- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/memory/src/selective-memory-sharing.ts`

- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/memory/src/shared-agent-memory.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/collaboration-protocol.ts`

- **L704** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `event*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/collaboration-types.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``collab_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`) as
    CollaborationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``handoff_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`) as
    HandoffId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``ctx_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`)
    as SharedContextId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L70** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``conflict_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`) as
    ConflictId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``consensus_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`)
    as ConsensusRoundId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/conflict-resolver.ts`

- **L236** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const solutionId = `sol*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/consensus-builder.ts`

- **L112** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const proposalId = `prop*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/negotiation-protocol.ts`

- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `neg*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as NegotiationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `prop*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as ProposalId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/multi-agent/src/orchestrator.ts`

- **L522** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/agents/multi-agent/src/task-distributor.ts`

- **L559** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return agents[Math.floor(Math.random() * agents.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/agents/multi-agent/src/types.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `orch*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as OrchestrationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `agent*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as AgentInstanceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as MessageId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L68** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `task*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as TaskId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `subtask*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as SubtaskId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `result*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as ResultId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/personalities/src/agent-personality.ts`

- **L20** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/personalities/src/personality-evolution.ts`

- **L19** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/proactive/anticipation/src/opportunity-scanner.ts`

- **L109** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `opp*${source.id}*${String(signal.id ??
    Math.random().toString(36).slice(2, 7))}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/proactive/reminders/src/delivery-providers.ts`

- **L5** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* stopped fabricating success via `Math.random() <
    0.95`. The default`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/agents/proactive/reminders/src/reminder-engine.ts`

- **L507** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random() < 0.95` fabrication that produced flaky and`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/agents/proactive/reminders/src/reminder-types.ts`

- **L1116** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* via `Math.random() < 0.95`, which made delivery outcomes flaky and`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/agents/specialization/src/specialization-metrics.ts`

- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/calling/src/error-handler.ts`

- **L251** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * jitterRange * 2 - jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/iris/agents/tools/code/src/python-runner.ts`

- **L492** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exec_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/code/src/shell-runner.ts`

- **L593** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exec_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/code/src/typescript-runner.ts`

- **L667** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exec_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/composition/src/tool-pipeline.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${pipelineId}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/learning/src/index.ts`

- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `session*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as SessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/tools/monitoring/src/types.ts`

- **L335** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${toolId}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/workflows/src/error-recovery.ts`

- **L656** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `err*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/agents/workflows/src/workflow-types.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `wf*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`) as WorkflowId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `task*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`) as TaskId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `step*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`) as StepId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `exec*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`) as ExecutionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L77** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``ckpt_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`)
    as CheckpointId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/analytics/realtime/src/alerting-triggers.ts`

- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/analytics/src/privacy.ts`

- **L558** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const u = Math.random() - 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/code/explanation/src/diagrams/diagram-generator.ts`

- **L1883** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `diagram*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/actions/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/completions/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/inline/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/src/features/chat.ts`

- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L154** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const requestId = `chat-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/src/features/inline-suggestions.ts`

- **L329** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `suggestion-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `snippet-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L392** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `fn-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L416** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `multiline-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/ide/src/protocol/jsonrpc.ts`

- **L93** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `idGenerator: () => `${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/languages/src/base-analyzer.ts`

- **L240** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `${this.language}-${type}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/code/semantic/src/semantic-analyzer.ts`

- **L471** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `semantic-${type}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-citations/src/citation-tracker.ts`

- **L618** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createSourceId(item.id ?? `source-${Date.now()}-${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-context/src/context-summary.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-context/src/context-tracker.ts`

- **L49** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-context/src/types.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L130** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-core/src/conversation-history.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-format/src/structured-data-formatter.ts`

- **L671** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `node\_${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L680** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `node\_${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L688** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `node\_${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-format/src/types.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `fmt*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as FormatId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `media*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as MediaId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-intent/src/types.ts`

- **L98** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-orchestration/src/model-orchestrator.ts`

- **L1101** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/iris/conversation-rag/src/types.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `rag*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as RAGPipelineId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L56** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `inj*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as InjectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L68** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `src*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as SourceTrackingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-response/src/types.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `resp*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as ResponseId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `chunk*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as ChunkId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-state/src/types.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `checkpoint*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as CheckpointId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `branch*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as BranchId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation-style/src/types.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `style*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as StyleProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as StyleSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/conversation/prompts/src/prompt-testing.ts`

- **L223** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `u = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L224** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `v = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/iris/core/src/types.ts`

- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/ethics/src/ethical-boundaries.ts`

- **L582** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ethics-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}` as EthicsContextId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L589** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `violation-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}` as ViolationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/rapport/src/rapport-builder.ts`

- **L971** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `int*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/rapport/src/relationship-progress.ts`

- **L866** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `rel*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/recognition/src/utils.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `emo*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as EmotionAnalysisId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `state*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as EmotionalStateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as EmotionSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/response/src/celebrator.ts`

- **L372** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return array[Math.floor(Math.random() * array.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/emotional/response/src/emotional-adapter.ts`

- **L936** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `adapt*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as AdaptationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L940** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ctx*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as ResponseContextId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/response/src/gratitude-journal.ts`

- **L404** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `grat*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    10)}` as GratitudeEntryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/response/src/pattern-insights.ts`

- **L265** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `insight*${seed}*${Math.random().toString(36).slice(2, 8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/response/src/supporter.ts`

- **L465** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return array[Math.floor(Math.random() * array.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/emotional/social/src/cultural-awareness.ts`

- **L575** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `cp*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as CulturalProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/social/src/social-intelligence.ts`

- **L496** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sc*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as SocialContextId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/tracking/src/mood-tracker.ts`

- **L632** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `profile*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as TrackingProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L636** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `entry*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as MoodEntryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/tracking/src/pattern-analyzer.ts`

- **L612** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `pattern*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as PatternId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/tracking/src/trend-analyzer.ts`

- **L313** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `trend*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}` as TrendId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/wellbeing/src/gentle-checkin.ts`

- **L481** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `chk*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/emotional/wellbeing/src/wellbeing-monitor.ts`

- **L602** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `wb*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/ensemble/src/ensemble-orchestrator.ts`

- **L121** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `ensemble-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/ensemble/src/voting-strategy.ts`

- **L103** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return choices[Math.floor(Math.random() * choices.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/failover/src/failover-manager.ts`

- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `failover-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/failover/src/retry-policy.ts`

- **L256** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * jitterRange * 2 - jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/iris/integrations/hathor/src/agents/base-agent.ts`

- **L277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${this.config.agentId}-task-${Date.now()}-${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/hathor/src/agents/lore-keeper-agent.ts`

- **L734** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `gap-${Date.now()}-${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/hathor/src/context/lore-context-manager.ts`

- **L523** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/agents/asset-creator-agent.ts`

- **L1028** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asset*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1032** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/agents/base-agent.ts`

- **L221** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${this.config.agentId}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/agents/npc-control-agent.ts`

- **L787** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomLine = dialogue[Math.floor(Math.random() * dialogue.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L901** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `npc*${templateId}*${Date.now()}_${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/agents/scripting-assistant.ts`

- **L656** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const templateId = `template*${Date.now()}*${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/agents/world-builder-agent.ts`

- **L570** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `obj*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L669** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: center.x + (Math.random() - 0.5) * params.size.x * 0.8,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L671** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: center.z + (Math.random() - 0.5) * params.size.z * 0.8,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/integrations/maya/src/commands/world-commands.ts`

- **L720** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cmd-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/maya/src/companion/maya-companion.ts`

- **L787** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/nyx/src/agents/base-agent.ts`

- **L272** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${this.config.agentId}-task-${Date.now()}-${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/nyx/src/agents/observation-planner-agent.ts`

- **L787** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session-${Date.now()}-${Math.random().toString(36).substring(2,
    7)}` as SessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/psyche/src/agents/avatar-presenter-agent.ts`

- **L648** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const smallAngle = (Math.random() - 0.5) * 0.05;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L650** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `this.currentState.parameters.pose.head[1] += (Math.random() - 0.5) * 0.03;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L658** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variation = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/integrations/psyche/src/agents/conference-participant-agent.ts`

- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}` as SessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conf\_${Math.random().toString(36).substring(2,
    15)}` as ConferenceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/psyche/src/agents/persona-manager-agent.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `persona*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}` as PersonaId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L52** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `memory*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/psyche/src/avatar/avatar-service.ts`

- **L96** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `avatar*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}` as AvatarId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L622** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/integrations/psyche/src/conferencing/conferencing-service.ts`

- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}` as SessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conf\_${Math.random().toString(36).substring(2,
    15)}` as ConferenceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/psyche/src/emotion/emotion-service.ts`

- **L202** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `emotion*${Math.random().toString(36).substring(2,
    15)}*${Date.now()}` as EmotionStateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L646** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomEmotion = microEmotions[Math.floor(Math.random() * microEmotions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/integrations/sophia/src/agents/citation-manager-agent.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cit\_${Math.random().toString(36).substring(2,
    15)}` as CitationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `doc\_${Math.random().toString(36).substring(2,
    15)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/sophia/src/agents/knowledge-synthesizer-agent.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ent\_${Math.random().toString(36).substring(2,
    15)}` as EntityId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `kp\_${Math.random().toString(36).substring(2,
    15)}` as KnowledgePackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `doc\_${Math.random().toString(36).substring(2,
    15)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/sophia/src/agents/research-assistant-agent.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `doc\_${Math.random().toString(36).substring(2,
    15)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L536** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/integrations/sophia/src/citations/citation-manager-service.ts`

- **L84** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cit\_${Math.random().toString(36).substring(2,
    15)}` as CitationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/sophia/src/knowledge/knowledge-base-service.ts`

- **L116** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ent\_${Math.random().toString(36).substring(2,
    15)}` as EntityId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L121** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `kp\_${Math.random().toString(36).substring(2,
    15)}` as KnowledgePackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L152** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rel\_${Math.random().toString(36).substring(2, 15)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L449** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rel\_${Math.random().toString(36).substring(2, 15)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/sophia/src/research/research-assistant-service.ts`

- **L195** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `doc\_${Math.random().toString(36).substring(2,
    15)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L264** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L849** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// the previous `Math.random() \* 0.3 + 0.7` value reshuffled every`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L983** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* configured. Same input → same output, no Math.random involved.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/integrations/sophia/src/search/literature-search-service.ts`

- **L172** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `qry\_${Math.random().toString(36).substring(2,
    15)}` as QueryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `doc\_${Math.random().toString(36).substring(2,
    15)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/yemaya/src/agents/base-agent.ts`

- **L324** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `task*${Date.now()}*${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L331** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/yemaya/src/agents/design-analyzer.ts`

- **L147** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* Real analyzer with no Math.random. Runs deterministic algorithms`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L522** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random` — it deterministically reflects the input bytes.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/integrations/yemaya/src/agents/design-assistant.ts`

- **L797** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random` anywhere in the pipeline.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/integrations/yemaya/src/agents/video-editor-agent.ts`

- **L820** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// stable across runs (the prior `Math.random()` value reshuffled`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L901** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const offset = (Math.random() - 0.5) * 0.5; // -0.25 to 0.25 seconds`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/integrations/yemaya/src/context/project-context-manager.ts`

- **L630** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `activity*${Date.now()}*${Math.random().toString(36).substring(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/yemaya/src/suggestions/creative-suggestions.ts`

- **L613** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `shotType: suggestedShots[Math.floor(Math.random() * suggestedShots.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L614** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `cameraAngle: suggestedAngles[Math.floor(Math.random() * suggestedAngles.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L615** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `cameraMovement: suggestedMovements[Math.floor(Math.random() * suggestedMovements.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1091** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${category}_${Date.now()}\_${Math.random().toString(36).substring(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/integrations/yemaya/src/workflow/workflow-automation.ts`

- **L677** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `exec*${Date.now()}*${Math.random().toString(36).substring(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/chunking/src/chunking-pipeline.ts`

- **L452** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `chunk*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as any,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/chunking/src/types.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `chunk*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as ChunkId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L29** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `doc*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-conflict-detector.ts`

- **L139** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `conflict*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-curation-interface.ts`

- **L225** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `cur*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L230** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `evt*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-federation-manager.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-marketplace.ts`

- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-monetization.ts`

- **L197** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-sharing-permissions.ts`

- **L204** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/core/src/knowledge-types.ts`

- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `know*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `src*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L70** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `chunk*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `idx*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `qry*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L94** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `col*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/curation/src/utils.ts`

- **L96** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${seed}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    8)}` as CurationItemId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/embeddings/src/types.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/enterprise/src/base-connector.ts`

- **L394** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = cappedDelay * this.policy.jitterFactor * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/iris/knowledge/factcheck/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${seed}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    8)}` as ClaimId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L12** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${seed}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    8)}` as SourceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/freshness/src/types.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `doc*${Date.now()}*${++documentIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ver*${Date.now()}*${++versionIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as VersionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L60** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `fr*${Date.now()}*${++freshnessRecordIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as FreshnessRecordId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ce*${Date.now()}*${++changeEventIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as ChangeEventId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L70** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sub*${Date.now()}*${++subscriberIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as SubscriberId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `idx*${Date.now()}*${++indexIdCounter}_${Math.random().toString(36).slice(2,
    8)}` as IndexId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/graph/src/utils.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `kge*${seed}*${Date.now().toString(36)}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `kgr*${seed}*${Date.now().toString(36)}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/personal/src/document-types.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `doc*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `watch*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const base = seed ?? `job*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/retrieval/src/types.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `doc*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L29** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `idx*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`) as IndexId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/knowledge/versioning/src/utils.ts`

- **L32** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${seed}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    8)}` as KnowledgeEntityId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L36** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${seed}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    8)}` as KnowledgeVersionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/analytics/src/memory-analytics-dashboard.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return createSnapshotId(`dash*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/consolidation/src/memory-clusterer.ts`

- **L500** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...memories].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L537** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `centroids.push(shuffled[Math.floor(Math.random() * shuffled.length)]);`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/memory/consolidation/src/types.ts`

- **L1077** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1086** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/core/src/types.ts`

- **L1566** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1575** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1584** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1593** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/debugging/src/timeline-tracker.ts`

- **L219** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const subscriptionId = `sub*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/episodic/src/types.ts`

- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/personalization/inference/src/interest-detector.ts`

- **L738** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createInterestId(`int-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/personalization/inference/src/preference-inferrer.ts`

- **L797** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `pref-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/privacy/src/management/memory-importer.ts`

- **L874** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L880** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/semantic/src/concept-understanding.ts`

- **L393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/semantic/src/types.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L87** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/semantic/src/user-knowledge-graph.ts`

- **L457** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/short-term/src/types.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `slot*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as SlotId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as ReferenceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `task*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as TaskContextId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/tools/src/types.ts`

- **L996** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/transitions/src/consolidation-scheduler.ts`

- **L588** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/transitions/src/transition-metrics.ts`

- **L403** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/transitions/src/types.ts`

- **L53** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/memory/visualization/src/relationship-view.ts`

- **L384** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 500,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L385** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 500,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/memory/visualization/src/topic-cluster-view.ts`

- **L773** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 500,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L774** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 500,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/model-routing/src/model-router.ts`

- **L145** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `routeId: createRouteId(`route-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/bci/src/bci-device.ts`

- **L684** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/iris/multimodal/spatial/src/spatial-impl.ts`

- **L768** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: (Math.random() - 0.5) * 0.05,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L769** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `y: (Math.random() - 0.5) * 0.05,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L951** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `x: baseX + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L953** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `z: -0.3 + (Math.random() - 0.5) * 0.1,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L957** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.9 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/multimodal/vision/documents/src/document-parser.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `doc-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as DocumentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `page-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as PageId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `elem-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as ElementId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `table-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as TableId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L93** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `field-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as FormFieldId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L100** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `receipt-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as ReceiptId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L250** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const type = types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L260** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L512** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L683** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L715** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const sample = sampleItems[Math.floor(Math.random() * sampleItems.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L723** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L747** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return merchants[Math.floor(Math.random() * merchants.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L752** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return methods[Math.floor(Math.random() * methods.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L828** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `dataType: dataTypes[Math.floor(Math.random() * dataTypes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L849** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L868** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1062** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/multimodal/vision/memory/src/image-memory-store.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/vision/screenshare/src/action-suggestion.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/vision/screenshare/src/screen-share-receiver.ts`

- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/vision/search/src/search-utils.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts`

- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``img-analysis-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`) as
    ImageAnalysisId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L85** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `det-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as DetectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L93** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``scene-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`) as
    SceneDescriptionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L100** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `ocr-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as OCRResultId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L107** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `chart-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as ChartAnalysisId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L130** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random()`-driven face fabrication, which produced 0–2 faces`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L206** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* per call with `Math.random()`-derived confidence/age/glasses/`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L233** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const category = categories[Math.floor(Math.random() * categories.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L235** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `const confidence = config.minConfidence + Math.random() * (1 - config.minConfidence);`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L341** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return categoryLabels[Math.floor(Math.random() * categoryLabels.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L355** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `color: colors[Math.floor(Math.random() * colors.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L356** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `size: sizes[Math.floor(Math.random() * sizes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L410** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.75 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L438** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L443** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return conditions[Math.floor(Math.random() * conditions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L448** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return conditions[Math.floor(Math.random() * conditions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L479** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `score: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L780** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `type: blockTypes[Math.floor(Math.random() * blockTypes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L781** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `confidence: config.minConfidence + Math.random() * (1 - config.minConfidence),`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L803** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `confidence: config.minConfidence + Math.random() * (1 - config.minConfidence),`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L820** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const word = sampleWords[Math.floor(Math.random() * sampleWords.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L825** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `confidence: config.minConfidence + Math.random() * (1 - config.minConfidence),`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L913** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.75 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L932** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1006** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1017** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/multimodal/vision/video/src/video-analyzer.ts`

- **L399** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L594** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return resolutions[Math.floor(Math.random() * resolutions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L606** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return rates[Math.floor(Math.random() * rates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L661** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L674** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return `${subjects[Math.floor(Math.random() * subjects.length)]}
    ${actions[Math.floor(Math.random()
    - actions.length)]} ${locations[Math.floor(Math.random() ...`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L679** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return transitions[Math.floor(Math.random() * transitions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L703** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return moods[Math.floor(Math.random() * moods.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L711** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* 0 (no observable motion). The previous Math.random fabrication`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L824** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L842** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `genre: genres[Math.floor(Math.random() * genres.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L843** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `mood: moods[Math.floor(Math.random() * moods.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L858** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `label: labels[Math.floor(Math.random() * labels.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L859** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L974** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const label = actionLabels[Math.floor(Math.random() * actionLabels.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1968** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.7 + Math.random() * 0.3,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/multimodal/voice/auth/src/fallback-authentication.ts`

- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/commands/src/command-confirmation.ts`

- **L17** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/conversation/src/emotion/emotion-detector.ts`

- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``emotion-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`) as
    EmotionAnalysisId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``state-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`)
    as EmotionalStateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/conversation/src/full-duplex-engine.ts`

- **L71** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``session-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`) as
    ConversationSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L78** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `turn-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`) as TurnId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L85** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `utt-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`) as UtteranceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L93** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``part-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`)
    as ParticipantId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/conversation/src/prosody/prosody-analyzer.ts`

- **L62** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``prosody-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`) as
    ProsodyAnalysisId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts`

- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``webrtc-conn-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`) as
    WebRTCConnectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    ``webrtc-stream-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`) as
    WebRTCStreamId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L79** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `ice-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as ICECandidateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `proc-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`) as AudioProcessorId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1167** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `payload[i] = Math.floor((Math.random() - 0.5) * 10 + 128);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1675** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*     `Math.random()`, which is not a CSPRNG and which RFC 5245`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1881** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `crypto.randomBytes`is the CSPRNG;`Math.random` is *not* and is`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1912** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*   - Replacing `Math.random()`with`crypto`-derived bytes also`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1923** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// entropy — never a `Math.random()` artifact.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/multimodal/voice/journaling/src/voice-journal-recorder.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/language/language-detector.ts`

- **L1194** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* given audio input — no `Math.random` anywhere on the path. The`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1416** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* never returns `Math.random` or hash-derived pseudo-scores.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/iris/multimodal/voice/recognition/src/language/language-types.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `lang*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as LanguageDetectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/speaker/speaker-diarization.ts`

- **L119** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L465** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.8 + Math.random() * 0.2,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/multimodal/voice/recognition/src/speaker/speaker-types.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``profile_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`) as
    VoiceProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `enroll*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as EnrollmentSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `verify*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as VerificationSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-call-recording.ts`

- **L319** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-call-translation.ts`

- **L309** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L386** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `call_translation_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-journaling-features.ts`

- **L310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-memo-reminders.ts`

- **L183** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-note-organization.ts`

- **L265** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/voice-transcription-editing.ts`

- **L219** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L340** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `transcript_edit_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/recognition/src/whisper/whisper-types.ts`

- **L32** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `model*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as WhisperModelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as WhisperRequestId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L951** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `transcript*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}` as any,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/synthesis/src/cartesia/cartesia-provider.ts`

- **L828** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/synthesis/src/elevenlabs/elevenlabs-provider.ts`

- **L440** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``cloned_${Date.now()}_${Math.random().toString(36).slice(2, 9)}` as
    ElevenLabsVoiceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/synthesis/src/personas/persona-provider.ts`

- **L72** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/multimodal/voice/synthesis/src/synthesis-types.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `synth*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as SynthesisSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}_${Math.random().toString(36).slice(2,
    11)}` as VoiceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `chunk*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}` as AudioChunkId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/billing/src/billing-calculator.ts`

- **L115** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `statementId: `stmt*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/billing/src/invoice-generator.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const invoiceId = `inv*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/billing/src/payment-integration.ts`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `paymentId: `pay*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L70** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `paymentId: `pay*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/billing/src/usage-tracker.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `usage*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/streaming/src/protocol/index.ts`

- **L127** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sub*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L348** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conn*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/streaming/src/types.ts`

- **L302** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/streaming/src/websocket/index.ts`

- **L513** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `this.id = `client*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L784** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sub*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/webhooks/src/event-dispatcher.ts`

- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L164** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `deliveryId: `del*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/platform/webhooks/src/webhook-manager.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `wh*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/integration/src/hathor-integration.ts`

- **L487** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `hathor-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/integration/src/maya-integration.ts`

- **L379** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `maya-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/integration/src/nyx-integration.ts`

- **L551** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `nyx-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/integration/src/oshun-integration.ts`

- **L755** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/integration/src/yemaya-integration.ts`

- **L475** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `yemaya-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/sync/src/notification-unification.ts`

- **L747** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `notif-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/sync/src/state-sync.ts`

- **L876** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/presence/sync/src/task-handoff.ts`

- **L688** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/audit/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/dashboard/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/local/src/acceleration/gpu-accelerator.ts`

- **L1132** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `gpu-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/local/src/hybrid/hybrid-cloud-edge.ts`

- **L879** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/local/src/offline/offline-sync.ts`

- **L1053** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sync-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/safety/behavior/src/action-confirmation.ts`

- **L229** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const phrase = phrases[Math.floor(Math.random() * phrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/privacy/safety/transparency/src/uncertainty-disclosure.ts`

- **L268** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return phrases[Math.floor(Math.random() * phrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/iris/privacy/security/injection/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/security/logging/src/utils.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/security/pentest/src/utils.ts`

- **L13** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/security/threats/src/utils.ts`

- **L8** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/sovereignty/src/compliance/ccpa-compliance.ts`

- **L1133** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/sovereignty/src/compliance/gdpr-compliance.ts`

- **L1371** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/sovereignty/src/index.ts`

- **L1080** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const deletionId = `del*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1183** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const workflowId = `dwf*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1584** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `selectionId: `rsel*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2147** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `roundId: `flr*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2219** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `updateId: `flu*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2503** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pae*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2934** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `reportId: `par*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4357** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `audit*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/privacy/sovereignty/src/residency/data-residency.ts`

- **L844** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/sdk/typescript/src/http/client.ts`

- **L579** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 0.3 + 0.85; // 0.85-1.15`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/iris/testing/src/fixtures/conversation.ts`

- **L493** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `const messageCount = Math.floor(Math.random() * 10) + 2;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `libs/iris/testing/src/mocks/model-provider.ts`

- **L638** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/testing/src/mocks/voice-provider.ts`

- **L683** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.15,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/testing/src/regression/baseline.ts`

- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/testing/src/regression/tests.ts`

- **L232** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `const score = 0.8 + Math.random() * 0.2; // 0.8-1.0 range`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L270** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `const score = 0.85 + Math.random() * 0.15; // 0.85-1.0 range`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L308** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `const score = 0.95 + Math.random() * 0.05; // 0.95-1.0 range (should be high)`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/iris/testing/synthetic/src/alert-integration.ts`

- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `deps.alertIdFactory ?? (() => `alert-${Date.now()}-${Math.random().toString(16).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/testing/synthetic/src/health-check-probes.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `deps.runIdFactory ?? (() => `probe-run-${Date.now()}-${Math.random().toString(16).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/testing/synthetic/src/synthetic-monitor.ts`

- **L59** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `synthetic-run-${Date.now()}-${Math.random().toString(16).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/testing/synthetic/src/user-journey-tests.ts`

- **L38** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `journey-run-${Date.now()}-${Math.random().toString(16).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/agent.ts`

- **L634** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/conversation.ts`

- **L653** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/events.ts`

- **L664** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/memory.ts`

- **L552** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/tool.ts`

- **L487** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/types/src/user.ts`

- **L510** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/voice/ultra-low-latency/src/context-preserver.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `contextId: `ctx-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/iris/voice/ultra-low-latency/src/streaming-tts-pipeline.ts`

- **L66** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `ultra-tts-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-asset-library/src/core/ingestion-pipeline.ts`

- **L1810** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `asset*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/images/multiview.ts`

- **L438** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/images/preprocessing.ts`

- **L959** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/images/upload.ts`

- **L456** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/processing/mesh-processor.ts`

- **L1126** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `topology-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2050** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const jobId = `rig-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2156** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rig-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/processing/texture-processor.ts`

- **L253** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const textureId = `upscale-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L575** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const textureId = `seamless-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L693** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const textureId = `material-id-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L788** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const textureId = `udim-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/prompts/history.ts`

- **L523** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/prompts/optimizer.ts`

- **L913** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/providers/base-provider.ts`

- **L156** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${this.type}_${Date.now()}\_${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/results/comparison.ts`

- **L420** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/results/preview.ts`

- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L371** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/results/selection.ts`

- **L373** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/results/storage.ts`

- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-generation/src/workflow/generation-service.ts`

- **L220** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `queue*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L263** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `queue*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/3d-inference-local/src/server/provider-rest-api.ts`

- **L370** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `local*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/orchestration/analytics-reporting.ts`

- **L731** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/orchestration/cost-optimization-engine.ts`

- **L574** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/orchestration/quality-assurance-pipeline.ts`

- **L769** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/orchestration/unified-generation-pipeline.ts`

- **L753** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/animation/animatediff-lightning-provider.ts`

- **L1226** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const seed = request.seed ?? Math.floor(Math.random() * 2147483647);`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).
- **L1277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `animdiff-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/civitai-link-provider.ts`

- **L730** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/collection-management-provider.ts`

- **L958** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `col*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1163** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `item*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `link*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1308** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `url: `https://civitai.com/collections/${collection.id}/shared/${Math.random().toString(36).substring(2,
    15)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/content-safety-provider.ts`

- **L553** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/creator-monetization-provider.ts`

- **L705** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/model-comparison-provider.ts`

- **L1069** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `gen*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1138** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cmp*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1230** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `diff*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1303** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `batch*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1448** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `report*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1508** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `suite*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/model-quality-provider.ts`

- **L676** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/model-versioning-provider.ts`

- **L1317** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pin*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1490** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sub*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/civitai/usage-control-provider.ts`

- **L1239** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `policy*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1484** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1654** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/controlnet/controlnet-provider.ts`

- **L1417** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/audio-enhancement/audio-isolation.ts`

- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `iso*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as IsolationJobId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/audio-enhancement/audio-restoration.ts`

- **L179** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rest*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as RestorationJobId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/audio-enhancement/stem-separation.ts`

- **L76** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `stem*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as StemJobId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/conversational-ai-provider.ts`

- **L100** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/dubbing-studio/multi-speaker.ts`

- **L70** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `speaker*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}` as SpeakerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/pronunciation-dictionary/learning-service.ts`

- **L277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/streaming-optimization/latency-monitoring.ts`

- **L310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/streaming-optimization/latency-optimizer.ts`

- **L83** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conn*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L87** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/voice-analytics/ab-testing.ts`

- **L49** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `test*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as TestId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L53** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `var*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as VariantId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/voice-analytics/quality-metrics.ts`

- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `analytics*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}` as AnalyticsId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `alert*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/voice-analytics/usage-analytics.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `analytics*${Date.now()}*${Math.random().toString(36).substring(2,
    10)}` as AnalyticsId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/conversational-ai/voice-marketplace/monetization.ts`

- **L511** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `payout*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/image-generation/stability-provider.ts`

- **L885** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `stab*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/tts/elevenlabs-provider.ts`

- **L420** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `session-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1394** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `eventId: `evt-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/usage/usage-tracker.ts`

- **L1254** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `usage*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-generation/hunyuan-provider.ts`

- **L653** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `hyvideo*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-generation/ltx-provider.ts`

- **L717** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ltx*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-generation/wan-provider.ts`

- **L756** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `wan*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-processing/rife-provider.ts`

- **L786** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-processing/rtx-provider.ts`

- **L1312** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-providers/src/providers/video-processing/topaz-provider.ts`

- **L1447** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substring(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-video/src/providers/runway-client.ts`

- **L738** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `runway*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-video/src/providers/video-provider-client.ts`

- **L1829** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `${provider}_${Date.now()}\_${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-video/src/self-hosted/svd-server.ts`

- **L414** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `svd*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/ai-video/src/workflow/video-workflow-manager.ts`

- **L204** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const jobId = `job*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/anomaly-detection/src/anomaly-detection-service.ts`

- **L1063** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `det*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}` as DetectionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/generation/music-generator.ts`

- **L176** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generationId = `gen*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/generation/self-hosted.ts`

- **L780** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sa*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1053** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mg*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1253** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ac*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `voice*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1694** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `qa*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/generation/sfx-provider.ts`

- **L683** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * envelope;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L705** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * envelope;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L717** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * modulation;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L745** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const noise = (Math.random() * 2 - 1) * envelope * 0.3;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L839** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sfx*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/generation/suno-provider.ts`

- **L739** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ref*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L814** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ref*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L845** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ref*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1156** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `sep*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2315** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `ext*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2391** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `cont*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/generation/udio-provider.ts`

- **L589** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `analysis*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L746** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `separation*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L975** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `preview*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/audio-generation/src/voice/elevenlabs-client.ts`

- **L1098** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tts*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1293** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const projectId = `project*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1400** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `chapter*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1795** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const dictionaryId = `dict*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1796** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const versionId = `v*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1865** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const versionId = `v*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1907** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const versionId = `v*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1963** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const versionId = `v*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2328** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `session*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2411** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const takeId = `take*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2907** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `direction*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2923** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const templateId = `template*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3013** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const profileId = `profile*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3147** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const contextId = `scene*${Date.now()}*${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3393** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `correction-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3412** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `suggestion-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3518** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `suggestion-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3863** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const newId = `correction-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4047** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `validation-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4441** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `consistency-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/client/src/http.ts`

- **L369** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/llm-providers/src/client/llm-client.ts`

- **L1317** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Fallback: manual v4 — uses Math.random as the entropy source ONLY when`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/isis/llm-providers/src/rate-limiter/rate-limiter.ts`

- **L295** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 0.5 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/isis/operation-orchestrator/src/retry-orchestrator/retry-orchestrator.ts`

- **L285** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = (Math.random() * 2 - 1) * jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/isis/seedance-provider/src/fal-seedance-client.ts`

- **L471** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.round(delay * 0.2 * Math.random());`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/isis/seedance-provider/src/piapi-seedance-client.ts`

- **L405** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.round(delay * 0.2 * Math.random());`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/isis/seedance-provider/src/volcengine-ark-client.ts`

- **L469** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.round(exponentialDelay * 0.2 * Math.random());`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/isis/workflows/src/consistency/identity-profiles.ts`

- **L157** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/workflows/src/consistency/scene-profiles.ts`

- **L120** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/workflows/src/consistency/shot-profiles.ts`

- **L126** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/workflows/src/consistency/wardrobe-profiles.ts`

- **L135** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/isis/workflows/src/seed/seed-manager.ts`

- **L93** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `return Math.floor(Math.random() * (MAX_SEED + 1));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `libs/isis/workflows/src/templates/keyframe-interpolation-flows.ts`

- **L395** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: asNonEmptyString(profile.id) ?? `variant-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ai-ml-models/src/behavioral-pattern.ts`

- **L179** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2677** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L2678** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/kuanyin/ai-ml-models/src/cognitive-reframing.ts`

- **L177** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ai-ml-models/src/community-health-model.ts`

- **L182** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ai-ml-models/src/emotional-state-detection.ts`

- **L181** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts`

- **L182** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2693** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const region = culturalRegions[Math.floor(Math.random() * culturalRegions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L4807** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const dropoutNoise = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L4821** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const memberNoise = (Math.random() - 0.5) * 0.08;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/kuanyin/ai-ml-models/src/intent-classification.ts`

- **L180** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4621** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const perturbedValues = baseDistValues.map((v) => v + (Math.random() - 0.5) * 0.05);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/kuanyin/community-harmony/src/conflict-detection.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/community-harmony/src/culture-cultivation.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/community-harmony/src/post-incident-healing.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/community-harmony/src/raid-defense.ts`

- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/community-harmony/src/temperature-monitor.ts`

- **L82** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/cross-domain/src/aphrodite-integration.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/cross-domain/src/hathor-integration.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/cross-domain/src/lilith-integration.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/cross-domain/src/platform-wide-integration.ts`

- **L169** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/cross-domain/src/yemaya-integration.ts`

- **L41** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/dharma-analytics/src/community-health-metrics.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/dharma-analytics/src/individual-dharma-path.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/dharma-analytics/src/moderation-transparency.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/dharma-analytics/src/predictive-wellness.ts`

- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/dharma-analytics/src/wisdom-reports.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/foundation/src/errors.ts`

- **L688** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1739** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `delay = options.baseDelayMs * Math.pow(2, attempt - 1) * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/kuanyin/merit-karma/src/achievement-system.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/merit-karma/src/karma-visibility.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/merit-karma/src/merit-accumulation.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/merit-karma/src/merit-calculation.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/merit-karma/src/privilege-tiers.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/alternative-expression.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ae-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/cognitive-reframing.ts`

- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cr-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/compassion-nudges.ts`

- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cn-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/pause-breathe.ts`

- **L73** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pb-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/perspective-shift.ts`

- **L54** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ps-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/mindful-friction/src/samma-vaca.ts`

- **L61** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sv-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/boundary-enforcement.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/ncii-deepfake-protection.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/parasocial-detection.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/performer-dashboard.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/performer-wellness.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/performer-protection/src/real-time-shield.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/accountability-tracking.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/empathy-training.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/journey-progress.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/reintegration-pathways.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/restorative-circles.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/rehabilitation/src/shadow-work-journeys.ts`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/sdk-api/src/event-system.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L135** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/kuanyin/sdk-api/src/graphql-api.ts`

- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L135** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/kuanyin/sdk-api/src/rest-api-endpoints.ts`

- **L29** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L134** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/kuanyin/sdk-api/src/typescript-sdk.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L133** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L1860** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L2452** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noiseComponent = (Math.random() - 0.5) * 10;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2784** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = expDelay * jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/kuanyin/ui-components/src/analytics-dashboard-components.ts`

- **L66** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ui-components/src/merit-karma-components.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ui-components/src/mindful-friction-components.ts`

- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mfc-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ui-components/src/performer-dashboard-components.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kuanyin/ui-components/src/rehabilitation-journey-components.ts`

- **L64** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rjc-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/lakshmi/accounts/src/sync/mfa.ts`

- **L246** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// for a security-relevant session id rather than Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/lakshmi/core/src/calculations/risk-metrics.ts`

- **L215** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L217** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/lakshmi/investments/src/risk/var.ts`

- **L361** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.max(1e-10, Math.random());`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L362** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/lakshmi/security/src/differential-privacy.ts`

- **L214** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code:
    `export function gaussianNoise(sigma: number, rng: () => number = Math.random): number {`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/lilith/common/csprng-ids.ts`

- **L4** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* (`crypto.randomBytes`/`crypto.randomUUID`) rather than `Math.random`, so`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L11** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* migrate off `Math.random`.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L20** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* shape of prior `Math.random().toString(36).substr(2,
    N)` callsites.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L44** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* for `` `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    N)}` ``.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L53** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* for `` `${prefix}-${Date.now()}-${Math.random().toString(36).substr(2,
    N)}` ``.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L94** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* anti-pattern `arr[Math.floor(Math.random() *
    arr.length)]` which leaks`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/lilith/common/index.ts`

- **L66** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// CSPRNG identifier helpers — use these everywhere in place of Math.random.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/lilith/common/language-detection.ts`

- **L917** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `lang-det-${Date.now()}-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/lilith/sdk/src/auth.ts`

- **L926** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionId: result.sessionId ?? `session-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/lilith/service-lib/ai-error-recovery.ts`

- **L554** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterAmount = delay * 0.25 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/lilith/service-lib/comfyui/RunComfyClient.ts`

- **L262** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = cappedDelay * config.jitterFactor * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/lilith/service-lib/test-helpers.ts`

- **L541** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `email: `test.${Date.now()}.${Math.random().toString(36).substring(7)}@example.com`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/lilith/service-lib/tracing.ts`

- **L441** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `correlation-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maat/agents/src/federated-learning-framework.ts`

- **L322** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `while (u1 === 0) u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L323** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `while (u2 === 0) u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L394** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `new Float32Array(len).map(() => (Math.random() - 0.5) * 1e-8)`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L624** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...data].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L884** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const selected = [...allIds].sort(() => Math.random() - 0.5).slice(0, numSelected);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/maat/agents/src/rl-capital-allocation-env.ts`

- **L389** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.max(1e-10, Math.random());`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L390** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L601** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `scenario = all[Math.floor(Math.random() * all.length)] as MarketScenario;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/maat/intelligence/src/voice-command-interface.ts`

- **L1102** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `0.05 * (Math.random() - 0.5); // noise floor`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/maat/reporting/src/adhoc-report-builder.ts`

- **L282** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    6)}`.toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maat/reporting/src/report-distribution.ts`

- **L160** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    6)}`.toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maat/sdk/src/webhook-manager.ts`

- **L171** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = exponential * (0.8 + Math.random() * 0.4);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L433** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `EVT-${Date.now().toString(36).toUpperCase()}-${Math.random().toString(36).slice(2,
    6).toUpperCase()}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maat/workforce/src/org-design-modeler.ts`

- **L330** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `structureId: `org-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/client/src/launcher-integration.ts`

- **L774** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `launch*${Math.random().toString(36).slice(2,
    10)}*${Date.now().toString(36)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/client/src/offline-mode-support.ts`

- **L281** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `offline*op*${Math.random().toString(36).slice(2, 10)}_${Date.now().toString(36)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/database/src/backup-restore.ts`

- **L139** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const backupId = `bkp-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/database/src/data-export-tools.ts`

- **L46** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const jobId = `export-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/testing/src/visual-testing/particle-effect-tests.ts`

- **L61** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const angle = (Math.random() - 0.5) * spreadRad;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/maya/testing/src/visual-testing/post-processing-tests.ts`

- **L66** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * intensity * 255;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/maya/tooling/src/asset-tools/navmesh-generation-tools.ts`

- **L65** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `center: { x: (Math.random() - 0.5) * 200, y: 0, z: (Math.random() - 0.5) * 200 },`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/maya/tooling/src/profiling/telemetry-collection.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `session*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/tooling/src/world-editor/asset-browser.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const assetId = `asset*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/maya/tooling/src/world-editor/foliage-painting-tools.ts`

- **L71** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jx = (Math.random() - 0.5) * brush.jitter_m;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L72** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jz = (Math.random() - 0.5) * brush.jitter_m;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/meditation/breathing/src/builder.ts`

- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = `custom-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L493** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `cloned.id = `custom-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/breathing/src/exercise.ts`

- **L59** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `breathing-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/breathing/src/patterns.ts`

- **L610** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `custom-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/offline/src/queue.ts`

- **L87** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/progress/src/sync.ts`

- **L494** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/session/src/manager.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/session/src/scheduling.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/timer/src/presets.ts`

- **L638** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `custom-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/meditation/timer/src/timer.ts`

- **L68** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `session-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/agents-types/src/communication/communication.ts`

- **L581** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `knowledgeId: `knowledge*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L598** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `taskId: `bb*task*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/agents/src/agents/feedback-agent.ts`

- **L323** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const message = templates[Math.floor(Math.random() * templates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/metis/agents/src/agents/tutor-agent.ts`

- **L1247** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``handoff_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/agents/src/core/types.ts`

- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/api-client/src/retry/retry.ts`

- **L84** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/metis/api-client/src/websocket/websocket.ts`

- **L393** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitteredDelay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/metis/assessment/src/feedback/feedback.ts`

- **L435** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return arr[Math.floor(Math.random() * arr.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/metis/assessment/src/feedback/portfolio-generator.ts`

- **L416** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `id: `entry*${Date.now()}*${Math.floor(Math.random() \* 10000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/metis/integrations/src/hathor-integration.ts`

- **L102** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `world*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L129** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `region*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L228** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `flow*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/integrations/src/lilith-integration.ts`

- **L153** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `turn*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L304** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `lilith*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/integrations/src/shared-libraries.ts`

- **L426** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/integrations/src/sophia-integration.ts`

- **L1098** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cm*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/integrations/src/yemaya-integration.ts`

- **L215** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `st*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L216** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `outputImageId: `img*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L586** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ve*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L587** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `outputVideoId: `vid*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L694** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `thumb*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L697** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `imageId: `img*thumb*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L923** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `anim*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L924** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `outputAssetId: `asset*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L967** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sequenceId = `diag*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1017** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const vizId = `dviz*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/knowledge-graph/src/applications/curriculum-planner.ts`

- **L12** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/knowledge-graph/src/construction/graph-store.ts`

- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/knowledge-graph/src/construction/graph-versioning.ts`

- **L19** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `v-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/llm-client/src/content-generator/content-generator.ts`

- **L1437** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/llm-client/src/llm-client/llm-client.ts`

- **L941** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * exponentialDelay * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/metis/prompt-management/src/pedagogical-prompt/pedagogical-prompt.ts`

- **L786** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// previous `Math.random()` introduced run-to-run variation that`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/metis/quality/src/infrastructure/types.ts`

- **L289** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `report-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/metis/tutoring/src/scaffolding/scaffolding.ts`

- **L173** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return items[Math.floor(Math.random() * items.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/mnemosyne/aesthetics/src/aesthetics.ts`

- **L597** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `styleAttributes: attributes.map((a) => ({ attribute: a, score: 0.5 + Math.random() * 0.4 })),`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/mnemosyne/classical-tools/src/classical-tools.ts`

- **L464** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `alignmentId: `align*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L736** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `annotationId: `ann*${textId}*${Date.now()}_${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L866** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `editId: `edit*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L908** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exportId: `export*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/community/src/community.ts`

- **L218** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `reportId: `report*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L254** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionId: `session*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L386** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `messageId: `msg*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L402** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `corr*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L610** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `elementId: `el*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L666** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `momentId: `moment*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L694** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `correctionId: `mc*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L900** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `roomId: `room*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1038** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `segmentId: `seg*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1207** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `feedbackId: `fb*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1366** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `annotationId: `ann*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1392** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `replyId: `reply*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1529** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `groupId: `grp*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/experience/src/experience.ts`

- **L336** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return actions[Math.floor(Math.random() * actions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/mnemosyne/gamification-plus/src/gamification-plus.ts`

- **L240** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `xp*event*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L293** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `challengeId: `challenge*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L363** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `teamId: `team*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L952** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `eventId: `event*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1123** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `proposalId: `proposal*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/heritage/src/heritage.ts`

- **L647** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ann-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/knowledge-graph/src/knowledge-graph.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return { termType: 'BlankNode', value: id ?? `b${Math.random().toString(36).slice(2,
    8)}` };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/philology/src/philology.ts`

- **L1928** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `const char = chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/mnemosyne/platform/src/platform.ts`

- **L319** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `urn:uuid:${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1845** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sync-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1901** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `deviceId: `${platform}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2136** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `content-${type}-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2196** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `course-${Date.now()}-${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2220** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `module-${Date.now()}-${Math.random().toString(36).slice(2,
    4)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/polyglot/src/vocab-grammar-extended.ts`

- **L1570** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `goal-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/pronunciation/src/pronunciation.ts`

- **L511** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `recordingId: `rec*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L598** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `requestId: `req*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L886** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `sessionId: `vcs*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L911** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `turnId: `turn*${Date.now()}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1059** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const verificationCode = Math.random().toString(36).slice(2, 14).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/mnemosyne/writing/src/writing.ts`

- **L242** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `ruleId: `custom*${language}*${Date.now()}_${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L589** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `entryId: `hist*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L637** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `checkId: `check*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L915** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exerciseId: `ex*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L958** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `submissionId: `sub*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1112** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `reviewId: `review*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/docs/src/api/api-explorer.ts`

- **L215** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const token = `neith-col-${Math.random().toString(36).slice(2,
    18)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/docs/src/api/rate-limits.ts`

- **L56** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 1000;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/neith/integration-maya/src/metaverse-platform/economy.ts`

- **L207** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `listingId: `auction*${now.getTime()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L359** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `listingId: `listing*${now.getTime()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/qa/src/code-quality/security.ts`

- **L172** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// ── Math.random() for security ───────────────────────────────────────────`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L179** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Look for Math.random() near security-sensitive keywords`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/neith/release/src/distribution/cdn.ts`

- **L190** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `inv-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/distribution/signature.ts`

- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sig-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/distribution/trial-versions.ts`

- **L96** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `trial-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/distribution/volume-licensing.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `assign-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L233** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).slice(2, 10).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/pipeline/beta-programs.ts`

- **L200** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `fb-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/pipeline/early-access.ts`

- **L332** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).slice(2, 10).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/pipeline/hotfix.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `hf-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/pipeline/lts-support.ts`

- **L116** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = `bp-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/release/src/pipeline/release-automation.ts`

- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `run-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/testing/src/e2e/vr-xr.ts`

- **L270** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `anchor-${Date.now()}-${Math.random().toString(36).slice(2,
    7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/testing/src/integration/isolation.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.namespace = testId ?? `test*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/testing/src/integration/retry.ts`

- **L41** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = 1 + (Math.random() * 2 - 1) * this.jitterFactor;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/neith/testing/src/unit/factories.ts`

- **L222** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return names[Math.floor(Math.random() * names.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L239** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return names[Math.floor(Math.random() * names.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L275** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return `${protocol}://${domains[Math.floor(Math.random() *
    domains.length)]}${paths[Math.floor(Math.random() * paths.length)]}`;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L291** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `pick: <T>(arr: T[]): T => arr[Math.floor(Math.random() * arr.length)]!,`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L295** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `Array.from({ length }, () => charset[Math.floor(Math.random() * charset.length)]).join(''),`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/neith/testing/src/unit/fixtures.ts`

- **L180** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const dirPath = `/tmp/${prefix}-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/testing/src/unit/ts-infra.ts`

- **L439** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const basePath = `/tmp/test-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/training/src/user/community-forums.ts`

- **L101** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `thread-${Date.now()}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L181** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `reply-${Date.now()}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/neith/training/src/user/webinars.ts`

- **L134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `verificationCode: `NWB-${Math.random().toString(36).slice(2,
    10).toUpperCase()}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nisaba/annotations/src/collaborative-annotations.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nisaba/client/src/api-client.ts`

- **L1324** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const randomOffset = (Math.random() * 2 - 1) * jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/nisaba/standards/src/reference-linked-data.ts`

- **L4053** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: options?.id ?? `urn:annotation:${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nisaba/workspace/src/personal-library-export.ts`

- **L804** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const r = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nisaba/workspace/src/research-environment.ts`

- **L345** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/core/src/temperature-sampling.ts`

- **L266** — `ALLOW` (HIGH, rule `rng-factory`)
  - Code: `this.random = () => Math.random();`
  - Rationale: RNG abstraction wrapper exposing Math.random as a default;
    callers can override with seeded RNG.

### `libs/nous/image-control/src/concept-sliders-lora-directions.ts`

- **L584** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/image-control/src/controlnet-plus-plus-training-pipeline.ts`

- **L370** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/image-control/src/omini-control-training-pipeline.ts`

- **L384** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/image-control/src/streamdiffusion-image-control-integration.ts`

- **L686** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/agent-communication.ts`

- **L263** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `msg-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L266** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `sub-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L269** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `q-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/agent-coordination.ts`

- **L296** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `coord-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L299** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `action-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L302** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `decision-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/agent-delegation.ts`

- **L329** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `delegation-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/agent-memory.ts`

- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.idFactory ?? (() => `memory-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/agent-supervision.ts`

- **L361** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `signal-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L364** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `incident-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/episodic-memory.ts`

- **L375** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `episode-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/long-term-memory.ts`

- **L427** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.idFactory ?? (() => `ltm-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/multi-agent-systems.ts`

- **L292** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `multi-task-${this.now()}-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/prompt-versioning.ts`

- **L263** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `(() => `${Math.random().toString(36).slice(2, 10)}${Math.random().toString(36).slice(2,
    6)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/semantic-memory.ts`

- **L440** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `concept-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L443** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `relation-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/short-term-memory.ts`

- **L315** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.idFactory ?? (() => `stm-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/llm/src/working-memory.ts`

- **L350** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.slotIdFactory ?? (() => `wm-${this.now()}-${Math.random().toString(36).slice(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/adapter-tuning.ts`

- **L609** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/best-of-n-sampling.ts`

- **L571** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/bradley-terry-model.ts`

- **L191** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/catastrophic-forgetting-prevention.ts`

- **L875** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/chat-fine-tuning.ts`

- **L442** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/checkpoint-management.ts`

- **L366** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/combined-diffusion-acceleration-stack.ts`

- **L462** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/comparison-data-collection.ts`

- **L324** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/concept-sliders-training.ts`

- **L479** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/consistency-model-inference.ts`

- **L399** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/consistency-model-training.ts`

- **L934** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/consistency-training-data-pipeline.ts`

- **L400** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/constitutional-ai.ts`

- **L600** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/continual-learning.ts`

- **L510** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/curriculum-learning.ts`

- **L677** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/deepcache-training-free-acceleration.ts`

- **L694** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/demofusion-progressive-upscaling.ts`

- **L481** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-acceleration-benchmark.ts`

- **L493** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `accel-bench-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-boft-training.ts`

- **L1027** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-curriculum-dpo.ts`

- **L956** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-dora-training.ts`

- **L1035** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-dpo-training.ts`

- **L802** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-lokr-training.ts`

- **L1044** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-oft-training.ts`

- **L1040** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-preference-dataset-preparation.ts`

- **L579** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `diffusion-pref-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-rich-preference-optimization.ts`

- **L607** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `diffusion-rpo-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/diffusion-spo-training.ts`

- **L467** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `diffusion-spo-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/dora-tuning.ts`

- **L436** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/dpo-training.ts`

- **L580** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/fault-tolerance.ts`

- **L343** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/few-step-generation-quality-benchmark.ts`

- **L734** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flow-matching-lcm-lora.ts`

- **L1383** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flow-matching-progressive-score-distillation.ts`

- **L962** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flow-matching-scheduler-optimization.ts`

- **L705** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `flow-solver-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flux-distilled-model-deployment.ts`

- **L959** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `(() => `flux-distilled-deploy-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flux-distilled-model-quality-comparison.ts`

- **L665** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.randomId ?? (() => `flux-distill-${Math.random().toString(36).slice(2,
    10)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/flux-dpo-training.ts`

- **L645** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/fora-attention-reuse-temporal-acceleration.ts`

- **L705** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/freefuse-multi-lora-routing.ts`

- **L367** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/freeu-skip-backbone-boosting.ts`

- **L384** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/harmlessness-training.ts`

- **L567** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/helpfulness-training.ts`

- **L592** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/hidiffusion-training-free-high-resolution-generation.ts`

- **L583** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/high-resolution-quality-validation.ts`

- **L351** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/honesty-training.ts`

- **L586** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/ia3-tuning.ts`

- **L507** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/instruction-tuning.ts`

- **L320** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/ipo-training.ts`

- **L546** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/iterative-refinement.ts`

- **L490** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/knowledge-distillation.ts`

- **L614** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/kto-training.ts`

- **L581** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lcm-lora-training.ts`

- **L951** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lora-composition-visualization.ts`

- **L632** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lora-conflict-detection.ts`

- **L958** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lora-fine-tuning.ts`

- **L550** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lora-semantic-registry.ts`

- **L489** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lora-variant-comparison.ts`

- **L450** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/lycoris-framework-integration.ts`

- **L1438** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/multi-lora-weight-interpolation.ts`

- **L288** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/multi-scale-generation-pipeline.ts`

- **L478** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/multi-task-fine-tuning.ts`

- **L518** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/orpo-training.ts`

- **L567** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/p-tuning.ts`

- **L569** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/peft-integration.ts`

- **L155** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/ppo-training.ts`

- **L318** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/preference-aligned-inference.ts`

- **L369** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/preference-learning.ts`

- **L505** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/prefix-tuning.ts`

- **L512** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/progressive-few-step-refinement.ts`

- **L613** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/progressive-training.ts`

- **L623** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/prompt-tuning.ts`

- **L443** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/pyramid-attention-broadcast-video-acceleration.ts`

- **L632** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/qlora-fine-tuning.ts`

- **L458** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/red-teaming.ts`

- **L775** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/rejection-sampling.ts`

- **L593** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/resolution-adaptive-inference.ts`

- **L451** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/reward-modeling.ts`

- **L539** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/rlaif.ts`

- **L513** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/safety-training.ts`

- **L557** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/sageattention-diffusion-integration.ts`

- **L526** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/scot-training.ts`

- **L1350** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/self-distillation.ts`

- **L564** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/self-play-training.ts`

- **L498** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/senseflow-flow-matching-distillation.ts`

- **L1061** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-batch-of-one-optimization.ts`

- **L287** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-io-streaming.ts`

- **L306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-realtime-controlnet.ts`

- **L671** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-realtime-generation-pipeline.ts`

- **L561** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-realtime-style-transfer.ts`

- **L451** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-residual-denoising.ts`

- **L320** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/streamdiffusion-vram-optimization.ts`

- **L483** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/supervised-fine-tuning.ts`

- **L312** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/teacher-student-training.ts`

- **L528** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/tiled-diffusion-overlap-blending.ts`

- **L484** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/token-merging-diffusion-acceleration.ts`

- **L397** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/training/src/unified-adapter-loading.ts`

- **L526** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 10));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nous/vision/src/dreambooth-training.ts`

- **L252** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.randomId = options.randomId ?? (() => Math.random().toString(36).slice(2, 12));`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nyx/catalogs/deep-sky/messier/src/index.ts`

- **L643** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...this.objects].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/nyx/catalogs/deep-sky/pulsars/src/index.ts`

- **L218** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...ALL_PULSARS].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/nyx/catalogs/deep-sky/snr/src/index.ts`

- **L698** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...ALL_SNRS].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/nyx/catalogs/star-query/src/deduplication.ts`

- **L591** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `merged:${Date.now()}:${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nyx/catalogs/supernovae/src/historical.ts`

- **L2254** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const shuffled = [...HISTORICAL_SUPERNOVAE].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/nyx/education/quiz-system/src/feedback.ts`

- **L483** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const prefix = encouragements[Math.floor(Math.random() * encouragements.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L492** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const prefix = softenings[Math.floor(Math.random() * softenings.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/nyx/education/quiz-system/src/state.ts`

- **L843** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `attempt-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/nyx/orbital/src/n-body.ts`

- **L1918** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const theta = Math.random() * 2 * Math.PI;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/nyx/renderer/background/src/cmb.ts`

- **L1616** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const theta2 = theta1 + (Math.random() - 0.5) * angularScale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1617** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const phi2 = phi1 + (Math.random() - 0.5) * angularScale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/nyx/renderer/post-processing/src/motion-blur.ts`

- **L299** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * jitterScale;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oshun/analytics/src/client.ts`

- **L110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt\_${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/auth/src/billing-store.ts`

- **L1512** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/auth/src/customer-support-history-store.ts`

- **L256** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `msg*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/auth/src/data-rights-store.ts`

- **L315** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/auth/src/privacy-store.ts`

- **L334** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `consent\_${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/auth/src/sso-coordinator.ts`

- **L424** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sso-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/domain-tara/src/ritual-scheduling.ts`

- **L491** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `tara-ritual-plan-${templateId}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/offline/src/queue.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `private readonly randomId: () => string = () => Math.random().toString(36).slice(2, 10)`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/shell-assistant/src/iris-memory-bridge.ts`

- **L1343** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/shell-assistant/src/psyche-session-bridge.ts`

- **L560** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/shell-assistant/src/types.ts`

- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L149** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/shell-desktop/src/types.ts`

- **L696** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}${Date.now().toString(36)}_${(idCounter++).toString(36)}_${Math.random().toString(36).slice(2,
    6)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oshun/shell-routines/src/types.ts`

- **L421** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L427** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L433** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L439** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oya/core/src/advanced-pose-estimation.ts`

- **L3328** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code:
    `.map((a) => ({ action: a, confidence: clamp(confidence * 0.3 * Math.random(), 0, 1) }))`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/oya/core/src/airsim-integration.ts`

- **L361** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const gpsNoise = () => (Math.random() - 0.5) * 3.0;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L362** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const imuNoise = () => (Math.random() - 0.5) * 0.04;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L371** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const baroAlt = homeAltitude - truePosition.z + (Math.random() - 0.5) * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/camera-gimbal-api.ts`

- **L844** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `rollDeg: 0.02 * (Math.random() - 0.5),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L845** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pitchDeg: 0.03 * (Math.random() - 0.5),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L846** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `yawDeg: 0.01 * (Math.random() - 0.5),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/enterprise-platform.ts`

- **L1708** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `for (let i = 0; i < n; i++) r += hex[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/oya/core/src/faa-bvlos-compliance.ts`

- **L1093** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const authId = `LAANC-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1152** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const planId = `UTM-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oya/core/src/gaussian-splatting-integration.ts`

- **L3185** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `this.currentParams.pose[j] += (Math.random() - 0.5) * step;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/gazebo-integration.ts`

- **L201** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L202** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L385** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L386** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L389** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u3 = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L390** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u4 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L562** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `heights[y * samplesX + x] = (tl + tr + bl + br) / 4 + (Math.random() - 0.5) * amplitude;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L585** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `heights[y * samplesX + x] = sum / count + (Math.random() - 0.5) * amplitude;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/gnn-swarm-intelligence.ts`

- **L3702** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const newLogProb = oldLogProb + (Math.random() - 0.5) * 0.01;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L3821** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const perturbation = 1 + (Math.random() - 0.5) * 0.4; // +/- 20%`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/gps-navigation.ts`

- **L4873** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L4874** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/jmavsim-integration.ts`

- **L411** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noiseSmall = () => (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L424** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const gpsNoise = () => (Math.random() - 0.5) * 2.0;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L536** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `elevations[j * res + i] = baseElevation + (Math.random() - 0.5) * 2 * noiseAmplitude;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/kinematics.ts`

- **L1624** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `while (u === 0) u = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1625** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `while (v === 0) v = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/model-inference.ts`

- **L320** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `data[i] = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L473** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `data[i] = (Math.random() - 0.5) * 2.0;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L3155** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L3156** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/modern-simulation-platforms.ts`

- **L2567** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `entity.heading += (Math.random() - 0.5) * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/natural-language-control.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1085** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `bestPos.x + (Math.random() - 0.5) * perturbScale * 10,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1086** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `bestPos.y + (Math.random() - 0.5) * perturbScale * 10,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1087** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `bestPos.z + (Math.random() - 0.5) * perturbScale * 5`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1089** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const candidateYaw = normalizeAngle(bestYaw + (Math.random() - 0.5) * perturbScale);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1091** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `bestPitch + (Math.random() - 0.5) * perturbScale * 0.5,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/path-planning.ts`

- **L3161** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L3162** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/physics-simulation.ts`

- **L323** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L324** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const v = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L600** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L601** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L604** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code:
    `Math.sqrt(-2 * Math.log(Math.random() || 1e-10)) * Math.cos(2 * Math.PI * Math.random());`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L657** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L658** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const v = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L728** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L729** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const v = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L874** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const dropped = Math.random() < channel.packetLossProbability;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L875** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random() || 1e-10;`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L876** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/sam-integration.ts`

- **L3444** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const px = clamp(point[0] + (Math.random() - 0.5) * 0.05, 0, 1);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L3445** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const py = clamp(point[1] + (Math.random() - 0.5) * 0.05, 0, 1);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L4321** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/oya/core/src/sapiens-integration.ts`

- **L2330** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/sdk-core.ts`

- **L197** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `id += h[Math.floor(Math.random() * 16)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L205** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = exp * 0.2 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/oya/core/src/sitl-integration-framework.ts`

- **L355** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L356** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/oya/core/src/swarm-collision-avoidance.ts`

- **L2743** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* @param rng - Random number generator function. Default Math.random`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/oya/core/src/task-allocation.ts`

- **L1301** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const velocity = Array.from({ length: dim }, () => (Math.random() - 0.5) * 2);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1442** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `Array.from({ length: Math.max(1, actionSize) }, () => (Math.random() - 0.5) * 0.1)`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/oya/core/src/video-streaming.ts`

- **L1210** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `session*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3467** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `aph*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/oya/core/src/visual-slam.ts`

- **L1734** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* no Math.random, no fixed return literals. Real CUDA backends should`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L3087** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const sample = matches[Math.floor(Math.random() * matches.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/accessibility/src/visual-alerts.ts`

- **L354** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/action-safety/src/confirmation.ts`

- **L57** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `confirm-${now}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/action-safety/src/safety-checker.ts`

- **L285** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `audit-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/aiops-anomaly/src/statistical-detection.ts`

- **L81** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/attention-tracker/src/heatmap-generator.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `heatmap*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/attention-tracker/src/lapse-detector.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/attention-tracker/src/shift-detector.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `shift*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/attention-tracker/src/tracker.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/avatar-expressions/src/blendshapes.ts`

- **L368** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const addVariation = () => (Math.random() - 0.5) * 2 * randomVariation;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/avatar-expressions/src/micro-expressions.ts`

- **L283** — `ALLOW` (HIGH, rule `probability-gate`)
  - Code: `return Math.random() < probability;`
  - Rationale: Compares Math.random() against a configured probability threshold
    for stochastic gating.

### `libs/psyche/avatar-expressions/src/presets.ts`

- **L289** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const randomOffset = (Math.random() - 0.5) * 2 * variation;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/avatar-training/src/backend.ts`

- **L226** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const noise = () => (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/avatar-training/src/preprocessing.ts`

- **L727** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.95 + Math.random() * 0.05,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L746** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.9 + Math.random() * 0.1,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L769** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `.map(() => (Math.random() - 0.5) * 0.5 * Math.sin(index / 10)),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/behavior-anomaly-detector/src/conflict-detector.ts`

- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `conflict-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/behavior-anomaly-detector/src/erratic-behavior-detector.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `erratic-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/behavior-anomaly-detector/src/inactivity-detector.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `inact-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/behavior-prediction/src/behavior-modeler.ts`

- **L157** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/browser-automation/src/utils.ts`

- **L672** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return value + (Math.random() * 2 - 1) * jitter;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/psyche/conferencing-core/src/conference-session.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return Math.random().toString(36).substring(2, 11);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/conferencing-core/src/multi-language-audio.ts`

- **L557** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/conferencing-core/src/stream-recording.ts`

- **L746** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rnd = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/conferencing-core/src/virtual-camera-switching.ts`

- **L1989** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `${layer.id}-copy-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/database-sharding/src/shard-routing.ts`

- **L176** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/dialogue-manager/src/conversation-state.ts`

- **L187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/dialogue-manager/src/need-prediction.ts`

- **L1029** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${idCounter}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/disaster-recovery/src/backup-management.ts`

- **L92** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/emotion-recognition/src/learned-fusion.ts`

- **L708** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L709** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L2414** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/engagement-detector/src/detector.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `eng*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/gaze-control/src/microsaccade.ts`

- **L171** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L172** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L175** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u3 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L176** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u4 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/psyche/gaze-control/src/saccade.ts`

- **L88** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L89** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/psyche/gaze-control/src/targets.ts`

- **L113** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `direction = (['left', 'right', 'up'] as const)[Math.floor(Math.random() * 3)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L119** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pitch = (Math.random() - 0.5) * 0.4; // -0.2 to 0.2`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L124** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `pitch = (Math.random() - 0.5) * 0.4;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L128** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `yaw = (Math.random() - 0.5) * 0.6; // -0.3 to 0.3`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L133** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `yaw = (Math.random() - 0.5) * 0.6;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/gesture-system/src/controller.ts`

- **L268** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const gesture = available[Math.floor(Math.random() * available.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/gesture-system/src/variation.ts`

- **L178** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `return (Math.random() - 0.5) * 2 * maxJitter;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/head-movement/src/idle.ts`

- **L94** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 0.01,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L95** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 0.01,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L96** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `(Math.random() - 0.5) * 0.005`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/head-movement/src/nods.ts`

- **L184** — `ALLOW` (HIGH, rule `probability-gate`)
  - Code: `return Math.random() < probability;`
  - Rationale: Compares Math.random() against a configured probability threshold
    for stochastic gating.

### `libs/psyche/head-movement/src/tilts.ts`

- **L379** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `this.nextPauseMs = this.minPauseMs + Math.random() * (this.maxPauseMs - this.minPauseMs);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L386** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitterScale = 1 + (Math.random() - 0.5) * 2 * this.poseJitter;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/k8s-federation/src/cluster-management.ts`

- **L124** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/k8s-security/src/irsa.ts`

- **L655** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `audit*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/k8s-security/src/pod-security.ts`

- **L740** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `audit*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/latency-analysis/src/alerting.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as AlertId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L217** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: existingAlert?.id ?? `alert*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L324** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/latency-analysis/src/components.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `comp*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as ComponentId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L395** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.traceId = `trace*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as TraceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L405** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const spanId = `span*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as SpanId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/latency-analysis/src/regression.ts`

- **L532** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `reg*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as RegressionId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/meet-integration/src/api.ts`

- **L265** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `requestId: `meet-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/meeting-summarizer/src/summarizer.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-archival/src/types.ts`

- **L473** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-core/src/types.ts`

- **L515** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-in-context/src/types.ts`

- **L344** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-persistence/src/persistence-manager.ts`

- **L712** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-tools/src/types.ts`

- **L325** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/memory-working/src/types.ts`

- **L213** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/micro-expressions/src/blink-patterns.ts`

- **L450** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const asymmetry = (Math.random() - 0.5) * 0.15;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/micro-expressions/src/eye-moisture.ts`

- **L109** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const asymmetry = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L180** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const variance = (Math.random() - 0.5) * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/micro-expressions/src/micro-expressions.ts`

- **L354** — `ALLOW` (HIGH, rule `probability-gate`)
  - Code: `return Math.random() < probability;`
  - Rationale: Compares Math.random() against a configured probability threshold
    for stochastic gating.

### `libs/psyche/micro-expressions/src/subtle-movements.ts`

- **L431** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const direction = directions[Math.floor(Math.random() * directions.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L475** — `ALLOW` (HIGH, rule `probability-gate`)
  - Code: `if (Math.random() < probability) {`
  - Rationale: Compares Math.random() against a configured probability threshold
    for stochastic gating.

### `libs/psyche/ml-log-analysis/src/log-clustering.ts`

- **L165** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/mobile-sdk/src/cross-platform.ts`

- **L148** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rn*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/mobile-sdk/src/edge-offline.ts`

- **L429** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cache*${now}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/mobile-sdk/src/multi-agent.ts`

- **L169** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return withExpertise[Math.floor(Math.random() * withExpertise.length)]!.agentId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L172** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return agentList[Math.floor(Math.random() * agentList.length)]!.agentId;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L270** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `msg*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L396** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionId: `session*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/nps/src/segmentation.ts`

- **L523** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/nps/src/survey-manager.ts`

- **L590** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/body-emotion-correlation.ts`

- **L488** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L489** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/body-language-mirror.ts`

- **L685** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L686** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/body-language-trends.ts`

- **L523** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L524** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/confusion-detector.ts`

- **L505** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L506** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/distributed-processing.ts`

- **L609** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/eating-drinking-detector.ts`

- **L605** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L606** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/engagement-scorer.ts`

- **L650** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L651** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/fatigue-detector.ts`

- **L485** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L486** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/informal-leader-detector.ts`

- **L510** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/intervention-trigger.ts`

- **L1038** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1039** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/meeting-history-context.ts`

- **L585** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L586** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/micro-movement-detector.ts`

- **L561** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L562** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/off-camera-talking-detector.ts`

- **L742** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L743** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/participant-state-prediction.ts`

- **L475** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/processing-latency-monitor.ts`

- **L605** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L606** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/recording-manager.ts`

- **L409** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L410** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/relationship-inference.ts`

- **L628** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L629** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/stepped-away-detector.ts`

- **L545** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L546** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participant-manager/src/subtle-emotion-detector.ts`

- **L515** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L516** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const counter = Math.random().toString(36).substring(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/participation-tracker/src/tracker.ts`

- **L49** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/proactive-suggestions/src/signal-analyzer.ts`

- **L208** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/sandbox/src/types.ts`

- **L690** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `sandbox*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/satisfaction/src/survey-manager.ts`

- **L1034** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/aria-complex-widget-optimizer.ts`

- **L357** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L364** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/aria-live-region-optimizer.ts`

- **L338** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `lr*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L345** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `lri*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/asl-fingerspelling-generation.ts`

- **L573** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/asl-sign-library.ts`

- **L4445** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `asl*sign*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4672** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = pool.sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L4679** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `.sort(() => Math.random() - 0.5)`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L4683** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `() => Math.random() - 0.5`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/screen-analysis/src/bsl-sign-support.ts`

- **L3091** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `bsl*sign*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/caption-position-memory.ts`

- **L390** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/content-change-tracker.ts`

- **L352** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/content-relevance-scorer.ts`

- **L453** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L464** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/crowdsourced-evaluation.ts`

- **L533** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/cultural-sign-variation.ts`

- **L363** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/deaf-community-testing.ts`

- **L697** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/haptic-feedback-option.ts`

- **L1129** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Math.random() — same input (waveform, frequency,`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/psyche/screen-analysis/src/human-evaluation.ts`

- **L397** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/input-purpose-identifier.ts`

- **L672** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ipr*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/pip-sign-overlay.ts`

- **L379** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/pm-tool-detector.ts`

- **L765** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/screen-reader-user-testing.ts`

- **L309** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-accuracy-validation.ts`

- **L308** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-avatar-positioning.ts`

- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-avatar-size-config.ts`

- **L397** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-language-avatar-model.ts`

- **L602** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-language-synthesis.ts`

- **L844** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L853** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-language-toggle.ts`

- **L332** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-recognition-feedback.ts`

- **L358** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/sign-timing-synchronization.ts`

- **L428** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/slide-annotation-detector.ts`

- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L849** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `cluster*${clusterIdCounter.toString(36)}*${Math.random().toString(36).slice(2,
    6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/transcript-translation.ts`

- **L1125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/whiteboard-analyzer.ts`

- **L398** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L409** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const rand = Math.random().toString(36).slice(2, 6);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/screen-analysis/src/zoom-reflow-analyzer.ts`

- **L347** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rfi*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/slo-alerting/src/burn-rate.ts`

- **L280** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `rule*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as AlertRuleId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L386** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``alert_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`) as
    AlertRuleId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/slo-alerting/src/sli.ts`

- **L297** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sli*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as SLIId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/slo-alerting/src/slo.ts`

- **L59** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `slo*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as SLOId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/sophia-integration/src/adapter.ts`

- **L556** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = baseDelay * this.retryConfig.jitterFactor * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/psyche/tavus-bridge/src/bridge-failover.ts`

- **L1350** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `fo_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/bridge.ts`

- **L92** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `config.id ?? createBridgeId(`bridge*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/conference.ts`

- **L425** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `createConferenceId(`conf*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1875** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `meet*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1980** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `meet*bot*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2850** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `teams*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2973** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `teams*bot*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/frame-drop-strategy.ts`

- **L817** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedIndex = eligible[Math.floor(Math.random() * eligible.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-bridge/src/meet-captions.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `cap*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as CaptionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``cmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    CaptionManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/meet-recording.ts`

- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `mrec*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as MeetRecordingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``mrf_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    MeetRecordingFileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``mrmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    MeetRecordingManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/multi-output.ts`

- **L1530** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `dist_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/multi-platform-camera.ts`

- **L649** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `vcam_${this.platform}_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/screen-share-receiver.ts`

- **L1309** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = createStreamId(`screenshare*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/teams-chat.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `tcm*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as TeamsChatId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L48** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``tcmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsChatManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L56** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``tct_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsChatThreadId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/teams-recording.ts`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``trec_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsRecordingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L31** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``trf_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsRecordingFileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``trmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsRecordingManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/teams-screen-share.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``tss_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsScreenShareId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L59** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``tssm_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    TeamsScreenShareManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/virtual-audio.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `createDeviceId(`vaud*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/virtual-camera.ts`

- **L95** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `createDeviceId(`vcam*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/webrtc-receiver.ts`

- **L94** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.id ?? createStreamId(`webrtc*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/zoom-breakout-rooms.ts`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return (id ?? `br*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as BreakoutRoomId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L32** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return (id ?? `bs*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as BreakoutSessionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``bmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    BreakoutManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1383** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `bcast*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/zoom-chat.ts`

- **L328** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = createStreamId(`zoomchat*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L429** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: options.messageId ?? `msg*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-bridge/src/zoom-recording.ts`

- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `rec*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as RecordingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L32** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return (id ?? `rf*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`) as RecordingFileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``rmgr_${Date.now()}_${Math.random().toString(36).slice(2, 10)}`) as
    RecordingManagerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-client/src/batcher.ts`

- **L349** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-client/src/failover.ts`

- **L201** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = delay * config.jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/psyche/tavus-conversation/src/analytics.ts`

- **L114** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `analytics_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L535** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `analytics_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-conversation/src/recording.ts`

- **L125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `rec_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L533** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const token = Math.random().toString(36).substring(2);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-conversation/src/transcripts.ts`

- **L110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `transcript_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createTranscriptSegmentId(`seg*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L655** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.85 + Math.random() * 0.14,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L662** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `? emotions[Math.floor(Math.random() * emotions.length)]`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L672** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: 0.88 + Math.random() * 0.11,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/psyche/tavus-expression/src/expression-ab-testing.ts`

- **L272** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `exp*${Date.now()}*${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-expression/src/expression-analytics.ts`

- **L191** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `evt*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-expression/src/expression-channel.ts`

- **L117** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `expr_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-expression/src/lipsync-bridge.ts`

- **L204** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `lipsync_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/ab-testing.ts`

- **L328** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const experimentId = `exp*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/automatic-mode-selection.ts`

- **L301** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sel_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/dynamic-component-selection.ts`

- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `snap_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L352** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `dec_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/failover-manager.ts`

- **L201** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createFailoverEventId(`failover*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L267** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createFailoverEventId(`failover*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L347** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `recovery*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/failover-notifications.ts`

- **L739** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `notif*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/failover-testing.ts`

- **L806** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `fault*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L958** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `run*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/health-checker.ts`

- **L106** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createHealthCheckId(`check*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L126** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createHealthCheckId(`check*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L351** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createHealthCheckId(`check*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/hybrid-manager.ts`

- **L181** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `hybrid_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts`

- **L287** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L288** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L493** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `selectedMode = ML_MODES[Math.floor(Math.random() * ML_MODES.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L521** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `selectedMode = ML_MODES[Math.floor(Math.random() * ML_MODES.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-hybrid/src/mode-transition.ts`

- **L351** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `plan*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/multi-region-failover.ts`

- **L237** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `ep_${regionCode}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 6)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/optimal-component-finder.ts`

- **L246** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `search_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-hybrid/src/predictive-failover.ts`

- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `pred_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `alert_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/bulk-document-operations.ts`

- **L465** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `doc_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/custom-retrieval-strategies.ts`

- **L39** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``cstrat_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as CustomStrategyId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``spipe_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as StrategyPipelineId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/document-access-controls.ts`

- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``apol_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as AccessPolicyId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L53** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``arule_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as AccessRuleId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L60** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `alog*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`) as AuditLogId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/document-analytics.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `dar*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as DocumentAnalyticsRecordId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L49** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `de*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as DocumentEventId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/document-categorization.ts`

- **L482** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createCategoryId(`cat*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/document-manager.ts`

- **L146** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `doc_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/document-search.ts`

- **L40** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sq*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as SearchQueryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `ss*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`) as SavedSearchId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/hybrid-retrieval.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``hsrc_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as HybridSourceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``hqry_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as HybridQueryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/knowledge-manager.ts`

- **L213** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `col_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/rag-config-manager.ts`

- **L171** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createRAGConfigId(`rag*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/retrieval-ab-testing.ts`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `exp*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`) as ExperimentId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `var*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`) as VariantId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L58** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `xpo*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`) as ExposureId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/retrieval-analytics.ts`

- **L31** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ret*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as RetrievalRecordId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/retrieval-quality-monitoring.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `qr*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as QualityRecordId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/selective-document-sync.ts`

- **L556** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createSyncRuleId(`rule*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-knowledge/src/unified-search.ts`

- **L42** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``usrc_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as UnifiedSearchId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``sprof_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`)
    as SearchProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-llm/src/claude-proxy.ts`

- **L313** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `requestId: `req*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-llm/src/llm-ab-testing.ts`

- **L1064** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exp_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1069** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createVariantId(v.id ?? `var*${i}*${Math.random().toString(36).substring(2,
    8)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1301** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createObservationId(`obs*${Date.now()}*${Math.random().toString(36).substring(2,
    8)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-llm/src/speculative-inference.ts`

- **L365** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const requestId = `spec*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L446** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const requestId = `spec*stream*${Date.now()}_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-llm/src/stream-translator.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.systemFingerprint = `fp\_${Math.random().toString(36).substring(2,
    15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-backup-restore.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `bak*${Date.now()}*${Math.random().toString(36).slice(2)}`) as BackupId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L41** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `rp*${Date.now()}*${Math.random().toString(36).slice(2)}`) as RestorePointId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `pol*${Date.now()}*${Math.random().toString(36).slice(2)}`) as BackupPolicyId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-conflict-resolution.ts`

- **L41** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `cfl*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as ConflictId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `cpol*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as ConflictPolicyId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``cres_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`) as
    ConflictResolutionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-export-import.ts`

- **L787** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `backup_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-manager.ts`

- **L146** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createMemoryId(`mem*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-persona-sharing.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `pool*${Date.now()}*${Math.random().toString(36).slice(2)}`) as SharePoolId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L55** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `req*${Date.now()}*${Math.random().toString(36).slice(2)}`) as ShareRequestId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L59** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `sub*${Date.now()}*${Math.random().toString(36).slice(2)}`) as SubscriptionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `xfer*${Date.now()}*${Math.random().toString(36).slice(2)}`) as TransferId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2171** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `shared_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/memory-privacy-controls.ts`

- **L43** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `ppol*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as PrivacyPolicyId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L47** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `cons*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as ConsentRecordId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id || `aud*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`) as AuditEntryId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/selective-memory-sync.ts`

- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `prof*${Date.now()}*${Math.random().toString(36).slice(2)}`) as SyncProfileId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L41** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `rule*${Date.now()}*${Math.random().toString(36).slice(2)}`) as SyncRuleId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L45** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return (id ?? `sched*${Date.now()}*${Math.random().toString(36).slice(2)}`) as SyncScheduleId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/store-manager.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createMemoryStoreId(`store*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-memories/src/tag-manager.ts`

- **L162** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createMemoryTagId(`tag*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/custom-compliance-frameworks.ts`

- **L704** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createCustomFrameworkId(`ccf*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L910** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createComplianceRuleId(`crule*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1042** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createComplianceControlId(`cctrl*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1365** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createAuditReportId(`audit*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/guardrail-ab-testing.ts`

- **L1763** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `gexp_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1772** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createGuardrailVariantId(`gvar*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2060** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createGuardrailExposureId(`gexpo*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/guardrail-manager.ts`

- **L168** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `tmpl_guard_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L744** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `trigger*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L806** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `eventId: `trigger*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/guardrail-notifications.ts`

- **L516** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `handler_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L804** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createNotificationId(`notif*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L974** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `batch*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/guardrail-suggestion-system.ts`

- **L1107** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `gsrule_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1179** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `gsprof_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `context.requestId ?? `gsreq*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1531** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createGuardrailSuggestionId(`gsug*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/multi-objective-conversations.ts`

- **L497** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `sess_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1019** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createTransitionRuleId(`rule*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/objective-manager.ts`

- **L105** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `tmpl_obj_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L241** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `inst_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-call-analytics.ts`

- **L407** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createToolCallLogId(`log*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L554** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createCacheEntryId(`cache*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1291** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/psyche/tavus-objectives/src/tool-call-anomaly-detection.ts`

- **L310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `anom_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L335** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `alrt_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-call-approval-workflows.ts`

- **L276** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `areq_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-call-monitoring-dashboard.ts`

- **L732** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.id = createDashboardId(`dash*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L810** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createWidgetId(`wgt*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1181** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createAlertRuleId(`alert*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1463** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createSnapshotId(`snap*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2122** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-call-prediction-prefetch.ts`

- **L613** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createPredictionId(`pred*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L702** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createPrefetchId(`pf*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-marketplace-integration.ts`

- **L348** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return createReviewId(`rev*${Date.now().toString(36)}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L355** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return createInstallationId(`inst*${Date.now().toString(36)}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-objectives/src/tool-registration-interface.ts`

- **L1083** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createToolHookId(`hook*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-perception/src/index.ts`

- **L306** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionIdStr ?? `perception*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-perception/src/learning-perception-optimizer.ts`

- **L637** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L638** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1193** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const mode = modes[Math.floor(Math.random() * modes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-perception/src/screen-content-analysis.ts`

- **L368** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `elem*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-perception/src/video-forwarder.ts`

- **L129** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.streamId = `video*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-persona-manager/src/manager.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-persona-manager/src/validation.ts`

- **L617** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: createValidationResultId(`vr*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-phoenix/src/frame-sync.ts`

- **L153** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `sync_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-phoenix/src/multi-avatar.ts`

- **L276** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `slot*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-phoenix/src/render-pipeline.ts`

- **L143** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `pipeline_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-phoenix/src/rendering-fallback.ts`

- **L297** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `fb*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L304** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = capped * config.jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/psyche/tavus-phoenix/src/stream-receiver.ts`

- **L193** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `phoenix_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/cost-monitoring.ts`

- **L1288** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `createCostSessionId(`cost*session*${Date.now()}_${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/custom-stt-processor.ts`

- **L1042** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `session_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/custom-tts-processor.ts`

- **L1594** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `synth_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/deployment-automation.ts`

- **L293** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `deploy*${Date.now()}*${Math.random().toString(36).substring(7)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/monitoring.ts`

- **L596** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1017** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/multimodal-fusion-processor.ts`

- **L1562** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `fusion_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2460** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `fusion_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/performance-optimization.ts`

- **L376** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `prof_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 6)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L386** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `bn_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 6)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/pipeline.ts`

- **L84** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `: createPipelineId(`pipeline*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/plugin-marketplace.ts`

- **L321** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `review_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 6)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/processor.ts`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `config.id ?? createProcessorId(`proc*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipecat/src/services.ts`

- **L63** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `config.id ?? createServiceId(`svc*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipeline/src/conversation-templates.ts`

- **L567** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `tpl*${now}*${Math.random().toString(36).substring(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipeline/src/data-channel.ts`

- **L483** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return createInferenceId(`inf*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipeline/src/lifecycle-manager.ts`

- **L429** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `session_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-pipeline/src/multi-conversation.ts`

- **L444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mc*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-replica-manager/src/ab-testing.ts`

- **L746** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L747** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/psyche/tavus-replica-manager/src/cloning.ts`

- **L175** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-replica-manager/src/manager.ts`

- **L943** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random()`-based fabrication produced scores that downstream`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/psyche/tavus-replica-manager/src/types.ts`

- **L645** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* fabricating with `Math.random()`.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L680** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* fabricating scores with `Math.random()`. Typed as `unknown` so`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/psyche/tavus-tools/src/builtin-tools.ts`

- **L191** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `event*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L270** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `${entity.type}_${Date.now()}\_${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L325** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `msg*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tools/src/extended-tools.ts`

- **L552** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `mtg*${Date.now()}*${Math.random().toString(36).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L564** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `passcode: Math.random().toString(36).slice(2, 8).toUpperCase(),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tools/src/security-advanced.ts`

- **L585** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createRateLimitRuleId(`rule*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1182** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `sandbox_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tools/src/security-manager.ts`

- **L237** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `audit*${Date.now()}*${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tools/src/tool-executor.ts`

- **L134** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `exec_${Date.now()}_${Math.random().toString(36).slice(2)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L232** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `callId: createToolCallId(`call*${Date.now()}*${Math.random().toString(36).slice(2)}`),`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tools/src/tool-manager.ts`

- **L97** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createToolId(`tool*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tts/src/custom-tts-provider.ts`

- **L1447** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `synth_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1509** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `synth_stream_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1961** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `selected = activeProviders[Math.floor(Math.random() * activeProviders.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-tts/src/tavus-tts-manager.ts`

- **L339** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = createVoiceProfileId(`vp*${Date.now()}*${Math.random().toString(36).slice(2)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tts/src/voice-cloning.ts`

- **L270** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sampleId = `sample*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L435** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const cloneId = `clone*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tts/src/voice-quality-analytics.ts`

- **L1062** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `qs_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1157** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `qm_${Date.now()}_${Math.random().toString(36).substring(2, 8)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-tts/src/voice-switch-manager.ts`

- **L619** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const switchId = `switch*${now}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-turntaking/src/ab-testing.ts`

- **L274** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `exp*tt*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L281** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `var*tt*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-turntaking/src/custom-rules.ts`

- **L283** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rule*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L290** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ruleset*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-turntaking/src/hesitation-handling.ts`

- **L653** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const phrase = phrases[Math.floor(Math.random() * phrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1044** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return phrases[Math.floor(Math.random() * phrases.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-turntaking/src/index.ts`

- **L126** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.streamId = `stream*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L695** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionIdStr ?? `session*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-turntaking/src/learning-optimizer.ts`

- **L485** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L486** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L833** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const mode = modes[Math.floor(Math.random() * modes.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/psyche/tavus-turntaking/src/multi-speaker.ts`

- **L843** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `sessionIdStr ?? `ms*session*${Date.now()}_${Math.random().toString(36).substring(2,
    9)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L913** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.id ?? `participant*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tavus-turntaking/src/speaker-adaptation.ts`

- **L504** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `options.speakerId ?? `speaker*${now}*${Math.random().toString(36).substring(2,
    9)}``
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/teams-integration/src/bot-sdk.ts`

- **L204** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.callId = `call-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L713** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `participant-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/teams-integration/src/teams-conference-session.ts`

- **L648** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `teams-room-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/tool-execution/src/parser.ts`

- **L391** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `call*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/viseme-generator/src/timing.ts`

- **L275** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const variation = 1 + (Math.random() - 0.5) * 2 * this.config.durationVariation;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/psyche/voice-consistency/src/voice-identity.ts`

- **L553** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `voice*${Date.now().toString(36)}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/voice-streaming/src/stream-session.ts`

- **L561** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `stream-${Date.now()}-${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/psyche/zoom-integration/src/sdk.ts`

- **L1036** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `p*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1040** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `m*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/saraswati/battery/src/cell/cell-catalog.ts`

- **L821** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `const orderId = `PO-${Date.now()}-${Math.floor(Math.random() \*
    1000)}` as ProcurementOrderId;`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/saraswati/battery/src/module/module-engineering.ts`

- **L128** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `const moduleId = `MOD-${Date.now()}-${Math.floor(Math.random() \*
    1000)}` as ModuleDesignId;`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/saraswati/drones/src/delivery/delivery.ts`

- **L813** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `const confidence = model.mAP50 * (0.8 + Math.random() * 0.2);`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/saraswati/robotics/src/sota/swarm.ts`

- **L64** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Deterministic LCG to avoid Math.random() in computation`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/saraswati/telecom/src/equipment/equipment.ts`

- **L261** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `antennaId: `ANT-${Date.now()}-${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L680** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `transmissionId: `TX-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L965** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `tankId: `TNK-${Date.now()}-${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/saraswati/telecom/src/maintenance/maintenance.ts`

- **L753** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `partId: `PRT-${Date.now()}-${Math.floor(Math.random() \* 1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/saraswati/telecom/src/site/site.ts`

- **L567** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `keyHolderId: `KH-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L870** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `stakeholderId: `STK-${Date.now()}-${Math.floor(Math.random() \*
    1000)}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).

### `libs/seshat/sustainability/src/certification.ts`

- **L137** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `cert*${params.type}*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai-advanced/src/benchmarks/benchmark-manager.ts`

- **L69** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `suite*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L185** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `bench*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as BenchmarkId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai-advanced/src/edge/edge-manager.ts`

- **L85** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `edge*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L388** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `deploy*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L542** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sessionId = `session*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai-advanced/src/research/research-manager.ts`

- **L112** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `proj*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as ResearchProjectId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `exp*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L214** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `run*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L362** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `dataset*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as DatasetId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L444** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `repro*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L537** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `collab*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai-advanced/src/selection/model-selector.ts`

- **L50** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `profile*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as ModelProfileId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai/src/advanced/index.ts`

- **L20** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai/src/local/inference-engine.ts`

- **L1125** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `req*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai/src/prompts/testing.ts`

- **L25** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tc*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as TestCaseID;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L96** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tr*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as TestRunID;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L268** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ab*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as ABTestID;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai/src/prompts/versioning.ts`

- **L81** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pv*${Date.now()}*${Math.random().toString(36).substring(2,
    11)}` as PromptVersionID;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/ai/src/usage/index.ts`

- **L186** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `usage*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L216** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `usage*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/auth/src/service.ts`

- **L868** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const suffix = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/cache/src/distributed-lock.ts`

- **L273** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${process.pid}-${Date.now()}-${Math.random().toString(36).substring(2,
    15)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/cache/src/key-builder.ts`

- **L253** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/gpu-dispatcher/src/retry.ts`

- **L364** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = (Math.random() * 2 - 1) * jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/shared/http-client/src/retry.ts`

- **L55** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterAmount = delay * 0.5 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/shared/migration/src/scripts/lilith-ingestion-to-sophia.ts`

- **L591** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Fallback RFC 4122 v4 via getRandomValues. Math.random is NOT a valid`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/shared/migration/src/scripts/yemaya-engine-to-bellona.ts`

- **L725** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Fallback RFC 4122 v4 via getRandomValues. Math.random is NOT a valid`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/shared/migration/src/scripts/yemaya-generation-to-isis.ts`

- **L771** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Fallback RFC 4122 v4 via getRandomValues. Math.random is NOT a valid`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/shared/rate-limit/src/limiters/exemptions.ts`

- **L164** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `exempt*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/rate-limit/src/monitoring/alerts.ts`

- **L92** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `alert*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/runpod-client/src/client.ts`

- **L504** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterFactor = 0.75 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/shared/runpod-client/src/polling.ts`

- **L55** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterFactor = 0.75 + Math.random() * 0.5; // 0.75 to 1.25`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/shared/service-discovery/src/service-discovery.ts`

- **L266** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return instances[Math.floor(Math.random() * instances.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/shared/testing/src/fixtures/index.ts`

- **L20** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `result += chars.charAt(Math.floor(Math.random() * chars.length));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L36** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `return Math.floor(Math.random() * (max - min + 1)) + min;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L43** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return items[Math.floor(Math.random() * items.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L51** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `const r = (Math.random() * 16) | 0;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L61** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L68** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `return Math.random() < 0.5;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `libs/shared/types/src/legacy.ts`

- **L606** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterAmount = calculatedDelay * jitter * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/shared/websocket/src/queue.ts`

- **L75** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `msg*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/shared/websocket/src/state.ts`

- **L623** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/sophia/evaluation/src/benchmarks/benchmark-runner.ts`

- **L114** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `bench-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/sophia/evaluation/src/citation/citation-checker.ts`

- **L103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `citation-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/sophia/evaluation/src/groundedness/groundedness-scorer.ts`

- **L66** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `ground-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/sophia/evaluation/src/retrieval/retrieval-evaluator.ts`

- **L86** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `eval-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/sophia/semantic-search/src/search-orchestration/search-orchestration.ts`

- **L727** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `session-${Date.now()}-${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/analytics/src/events/index.ts`

- **L709** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/analytics/src/providers/internal.ts`

- **L215** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/analytics/src/tracking/tracker.ts`

- **L346** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${Date.now().toString(36)}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/content/src/api/client.ts`

- **L1254** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = Math.random() * 0.3 * exponentialDelay;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/tara/monitoring/src/error-tracking/error-tracker.ts`

- **L470** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/tara/monitoring/src/performance/performance-monitor.ts`

- **L125** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L291** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).
- **L300** — `ALLOW` (HIGH, rule `token-char-pick`)
  - Code: `id += chars[Math.floor(Math.random() * chars.length)];`
  - Rationale: Random index into a `chars` alphabet to assemble a token;
    non-secret token codepath (secret keys are handled by csprng helpers).

### `libs/tara/monitoring/src/providers/console.ts`

- **L249** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(16).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/monitoring/src/providers/memory.ts`

- **L416** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(16).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/monitoring/src/providers/server.ts`

- **L357** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(16).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/tara/ui/src/animations/micro.tsx`

- **L424** — `ALLOW` (HIGH, rule `animation-visual-jitter`)
  - Code: `const distance = 20 + Math.random() * 10;`
  - Rationale: Animation/particle/effect surface — randomness drives visual
    variety (rotation, position, duration).

### `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx`

- **L440** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `color: colors[Math.floor(Math.random() * colors.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/kalika/notebooks/src/collaboration.ts`

- **L1217** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `notebook-session-${String(clientId)}-${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kalika/notebooks/src/sharing.ts`

- **L153** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `nextLinkToken: () => `unb*${nextGeneratedSharingId()}*${Math.random().toString(36).slice(2,
    14)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/kalika/quantum-field-theory/src/large-expression.ts`

- **L1102** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/agents-social-media/src/social-media-manager.ts`

- **L957** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random()` so the id is collision-free without being`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1952** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* fallback platformPostId. Replaces the prior `Math.random()``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/ai-next-gen/src/investigations.ts`

- **L2364** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/ai-next-gen/src/osint.ts`

- **L195** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* generated `probability: Math.random() \* 0.5` and a fixed list`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L314** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* The previous `detectBots`returned`probability: Math.random() \*`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/analytics/src/types.ts`

- **L1087** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const randomPart = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1096** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const randomPart = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/archive/src/archive.ts`

- **L478** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/archive/src/collections.ts`

- **L462** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/archive/src/on-this-day.ts`

- **L400** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/archive/src/story-tracking.ts`

- **L447** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/article-generation/src/article-generator.ts`

- **L458** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/audio-production/src/clients/ghana-nlp.ts`

- **L684** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/veritas/automated-content/src/generators/fuel-generator.ts`

- **L368** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 1.5; // -0.75 to +0.75 GHS`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/veritas/automated-content/src/generators/loadshed-generator.ts`

- **L502** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `const selectedZones = ECG_ZONES.sort(() => Math.random() - 0.5).slice(0, count);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L556** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `return POWER_TIPS.sort(() => Math.random() - 0.5).slice(0, count);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L568** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return reasons[Math.floor(Math.random() * reasons.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/automated-content/src/generators/market-generator.ts`

- **L388** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 4; // -2% to +2%`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L420** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 10;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L442** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `change: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L443** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `percentChange: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L450** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `change: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L451** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `percentChange: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L458** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `change: (Math.random() - 0.5) * 0.3,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L459** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `percentChange: (Math.random() - 0.5) * 2,`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/veritas/automated-content/src/generators/sports-data-fetcher.ts`

- **L27** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* positions, and top-scorer tables — the previous `Math.random()``
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/automated-content/src/generators/sports-generator.ts`

- **L77** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* tables — the previous `Math.random()` synthesis was removed in`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/automated-content/src/generators/traffic-generator.ts`

- **L359** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const type = types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L360** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const route = ACCRA_ROUTES[Math.floor(Math.random() * ACCRA_ROUTES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/automated-content/src/generators/weather-data-fetcher.ts`

- **L26** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `*   stack used `Math.random()` for temperatures, humidity, wind`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/automated-content/src/generators/weather-generator.ts`

- **L74** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* synthesis stack used `Math.random()` for temperatures,`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/automated-content/src/types.ts`

- **L239** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* every previous "default" reading was `Math.random()` driven.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/veritas/b2b-sdk/src/resources/base.ts`

- **L212** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return delay + Math.random() * 500;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/veritas/cms/src/ai-assist.ts`

- **L833** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/cms/src/breaking.ts`

- **L469** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/cms/src/content.ts`

- **L623** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/cms/src/workflow.ts`

- **L636** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/comments/src/comments.ts`

- **L717** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cmt*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/comments/src/community.ts`

- **L410** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `report*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L509** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `expert*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/comments/src/dashboard.ts`

- **L468** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `appeal*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/comments/src/moderation.ts`

- **L608** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `queue*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/community/src/citizen-journalism.ts`

- **L1071** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/community/src/gamification.ts`

- **L924** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* The output is deterministic (no `Math.random`) so quiz seeds and`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L1628** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/community/src/securedrop.ts`

- **L159** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const adjective = ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L160** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const noun = NOUNS[Math.floor(Math.random() * NOUNS.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/database/src/utils.ts`

- **L337** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const suffix = Math.random().toString(36).substring(2, 8);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/emergency/src/alerts.ts`

- **L633** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/emergency/src/distribution.ts`

- **L683** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/emergency/src/election.ts`

- **L721** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/fact-checking/src/ai-assist/verdict-generator.ts`

- **L447** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ev*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L536** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ev*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L547** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `ev*${Date.now()}*${Math.random().toString(36).substr(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/ghana-nlp/src/config.ts`

- **L293** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterFactor = 0.75 + Math.random() * 0.5;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/veritas/headline-service/src/testing/ab-testing.ts`

- **L290** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `test*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L355** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return variants[Math.floor(Math.random() * variants.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/knowledge-graph/src/temporal/tracker.ts`

- **L623** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `event*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/live-stream/src/archive/breaking-news-archive.ts`

- **L905** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `arc*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L909** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `upd*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/live-stream/src/interactive/viewer-qa.ts`

- **L1183** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `q*${Date.now()}*${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1187** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `r*${Date.now()}*${Math.random().toString(36).slice(2, 10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/live-stream/src/scheduler/stream-scheduler.ts`

- **L519** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `breaking*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/live-stream/src/video/live-video-generator.ts`

- **L488** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return greetings[Math.floor(Math.random() * greetings.length)] ?? 'Hello and welcome.';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L500** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return signOffs[Math.floor(Math.random() * signOffs.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/newsletter/src/email-service.ts`

- **L196** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `sandbox*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L344** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `sandbox*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L469** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `sandbox*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L559** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `sandbox*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L679** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `messageId: `sandbox*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/newsletter/src/newsletters.ts`

- **L1083** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: Math.random() * 0.3 + 0.7,`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.

### `libs/veritas/notifications/src/types.ts`

- **L1310** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).substring(2, 8).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/payments/src/types.ts`

- **L1231** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const random = Math.random().toString(36).substring(2, 8).toUpperCase();`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/platforms/src/enterprise.ts`

- **L279** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L747** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const deploymentId = `deploy*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/realtime-data/src/financial.ts`

- **L39** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* `Math.random()` value.`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L979** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1043** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 0.1;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1081** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * info.price * 0.02;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L1107** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/realtime-data/src/utilities.ts`

- **L740** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const severity = severities[Math.floor(Math.random() * severities.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L767** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const change = (Math.random() - 0.5) * 0.5;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L807** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const airline = airlines[Math.floor(Math.random() * airlines.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L808** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const dest = destinations[Math.floor(Math.random() * destinations.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L822** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const status = i < 3 ? statuses[Math.floor(Math.random() * 3)] : 'scheduled';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L927** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/realtime-data/src/weather.ts`

- **L1029** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/recommendations/src/realtime.ts`

- **L318** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/regional/src/anchors.ts`

- **L156** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const name = options.name || nameList[Math.floor(Math.random() * nameList.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/research-assistant/src/briefing-generator.ts`

- **L199** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `briefing-${Date.now()}-${Math.random().toString(36).substring(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/seo/src/web-stories.ts`

- **L561** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `page*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/seo/src/web-vitals.ts`

- **L554** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `id: `alert*${Date.now()}*${Math.random().toString(36).substring(7)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/social-automation/src/adapters/base.ts`

- **L141** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${this.platform}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/veritas/story-clustering/src/quality/assessment.ts`

- **L65** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `.sort(() => Math.random() - 0.5)`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/veritas/video-production/src/avatars/ewe-anchors.ts`

- **L442** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return greetings[Math.floor(Math.random() * greetings.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L450** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return signOffs[Math.floor(Math.random() * signOffs.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L543** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const template = intros[Math.floor(Math.random() * intros.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L562** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const template = outros[Math.floor(Math.random() * outros.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/video-production/src/avatars/ga-anchors.ts`

- **L440** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return greetings[Math.floor(Math.random() * greetings.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L448** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return signOffs[Math.floor(Math.random() * signOffs.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L541** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const template = intros[Math.floor(Math.random() * intros.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L560** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const template = outros[Math.floor(Math.random() * outros.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/video-production/src/avatars/presets.ts`

- **L337** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const template = intros[Math.floor(Math.random() * intros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L354** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return outros[Math.floor(Math.random() * outros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/video-production/src/avatars/sync.ts`

- **L286** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return featured[Math.floor(Math.random() * featured.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L290** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/video-production/src/avatars/twi-anchors.ts`

- **L509** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return timeIntros[Math.floor(Math.random() * timeIntros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L527** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return contextOutros[Math.floor(Math.random() * contextOutros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L542** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return breakingIntros[Math.floor(Math.random() * breakingIntros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/veritas/video-production/src/sync/voice-avatar-sync.ts`

- **L476** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `vas*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/agents/src/constraints/index.ts`

- **L1976** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `let best = population[Math.floor(Math.random() * population.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1979** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const competitor = population[Math.floor(Math.random() * population.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2041** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const mutation = (Math.random() - 0.5) * 2 * sigma;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/yemaya/agents/src/npc-ai/advanced-npc-ai.ts`

- **L2827** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const supplyVariation = 1 + (Math.random() - 0.5) * 0.2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2828** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const demandVariation = 1 + (Math.random() - 0.5) * 0.2;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/yemaya/agents/src/optimization/performance-optimizer.ts`

- **L1763** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shuffled = [...examples].sort(() => Math.random() - 0.5);`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/yemaya/agents/src/optimization/schedule-optimizer.ts`

- **L1958** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shiftHours = (Math.random() - 0.5) * 48;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2116** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shiftHours = (Math.random() - 0.5) * 24;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L2127** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `availableResources[Math.floor(Math.random() * availableResources.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2145** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedItem = movableItems[Math.floor(Math.random() * movableItems.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2152** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const shiftHours = (Math.random() - 0.5) * 12;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `libs/yemaya/agents/src/orchestration/competitive-differentiation-advisor.ts`

- **L2525** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return options[Math.floor(Math.random() * options.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/orchestration/consensus-decision.ts`

- **L1506** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const winner = tied[Math.floor(Math.random() * tied.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/orchestration/decision-conflict.ts`

- **L1332** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedOption = options[Math.floor(Math.random() * options.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/orchestration/decision-impact.ts`

- **L1652** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u1 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.
- **L1653** — `ALLOW` (HIGH, rule `gaussian-sampling`)
  - Code: `const u2 = Math.random();`
  - Rationale: Math.random feeds a Box-Muller or related transform;
    uniform-to-Gaussian conversion needs a uniform RNG.

### `libs/yemaya/agents/src/orchestration/delegation.ts`

- **L349** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return candidates[Math.floor(Math.random() * candidates.length)] ?? null;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/orchestration/retry-strategy-selector.ts`

- **L572** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `return baseDelay / 2 + (Math.random() * baseDelay) / 2;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L577** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `Math.random() * baseDelay * 3 * jitterFactor + baseDelay * (1 - jitterFactor)`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L642** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `baseDelay = baseDelay - jitterRange / 2 + Math.random() * jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/yemaya/agents/src/orchestration/workflow-recovery.ts`

- **L304** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = baseDelay * this.config.jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/yemaya/agents/src/pipelines/game-pipeline.ts`

- **L7828** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code:
    `const jitter = boundedDelay * jitterFactor * (Math.random() * 2 - 1);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L14587** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * 0.1 * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/yemaya/agents/src/procedural-animation/procedural-animation.ts`

- **L2460** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `return (base + (Math.random() * 2 - 1) * variance) * emotionMod * 1000;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L2690** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `if (Math.random() > this.config.microExpressionChance) return;`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L2692** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `const randomIndex = Math.floor(Math.random() * this.microExpressions.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L2871** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code:
    `this.blinkState.blinkDuration = 0.1 + Math.random() * 0.1; // 100-200ms`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/yemaya/agents/src/quality-assurance/visual-anomaly-detector.ts`

- **L1341** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `? available[Math.floor(Math.random() * available.length)]`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1342** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `: enabledMethods[Math.floor(Math.random() * enabledMethods.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/registry/index.ts`

- **L212** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/testing/index.d.ts`

- **L929** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* - IssueDetector for real issue detection (replaces Math.random())`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/yemaya/agents/src/testing/index.ts`

- **L1885** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomKey = moveKeys[Math.floor(Math.random() * moveKeys.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1940** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const move = exploreMoves[Math.floor(Math.random() * exploreMoves.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1972** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return combatActions[Math.floor(Math.random() * combatActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1995** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return puzzleActions[Math.floor(Math.random() * puzzleActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2010** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return dialogueActions[Math.floor(Math.random() * dialogueActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2034** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return stressActions[Math.floor(Math.random() * stressActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2048** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const actionType = actionTypes[Math.floor(Math.random() * actionTypes.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2063** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `key: keys[Math.floor(Math.random() * keys.length)]!,`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2076** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return escapeActions[Math.floor(Math.random() * escapeActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L2558** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* - IssueDetector for real issue detection (replaces Math.random())`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L2675** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Initialize issue detector with real detection (not Math.random())`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L2968** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `// Get real issues (replaces Math.random() synthetic issues)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L5809** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return escapeActions[Math.floor(Math.random() * escapeActions.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L5814** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const randomKey = moveKeys[Math.floor(Math.random() * moveKeys.length)]!;`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/agents/src/testing/test-execution-infrastructure.d.ts`

- **L9** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* - Real issue detection (replaces synthetic Math.random() issues)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L626** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Detects real issues from game testing (replaces Math.random() fake issues)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L774** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* This replaces the synthetic Math.random()-based testing with real test execution`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/yemaya/agents/src/testing/test-execution-infrastructure.ts`

- **L9** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code: `* - Real issue detection (replaces synthetic Math.random() issues)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L2102** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* Detects real issues from game testing (replaces Math.random() fake issues)`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L2536** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `* This replaces the synthetic Math.random()-based testing with real test execution`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.

### `libs/yemaya/assets/src/indexing/metadata-indexing.ts`

- **L975** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = `bulk*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/assets/src/search/index.ts`

- **L14** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/assets/src/versioning/lfs-transfer-acceleration.ts`

- **L569** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = request.id || `transfer*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L583** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = request.id || `transfer*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L660** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const batchId = batch.id || `batch*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/auth/src/services/password.ts`

- **L273** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const char = lowercase[Math.floor(Math.random() * lowercase.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L279** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const char = uppercase[Math.floor(Math.random() * uppercase.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L285** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const char = numbers[Math.floor(Math.random() * numbers.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L291** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const char = symbols[Math.floor(Math.random() * symbols.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/budget-management/src/compute-budget.ts`

- **L129** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/budget-management/src/optimization.ts`

- **L175** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `scenario*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/canon-enforcement/src/canon-manager.ts`

- **L35** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `canon*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L140** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `style*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L182** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `viol*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L277** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `char*viol*${Date.now()}_${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts`

- **L1275** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const synonym = synonyms[Math.floor(Math.random() * synonyms.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1287** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const token = extraTokens[Math.floor(Math.random() * extraTokens.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/comfyui-integration/src/provider-manager/provider-manager.ts`

- **L716** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterValue = (Math.random() * 2 - 1) * jitterRange;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L2450** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const newProviderJobId = `${provider.type}_retry_${Date.now()}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2533** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const newProviderJobId = `${alternative.type}_failover_${Date.now()}\_${Math.random().toString(36).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/core/src/advanced/security-performance-sota.ts`

- **L31** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/core/src/advanced/testing-sota.ts`

- **L26** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1334** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const mutation = mutations[Math.floor(Math.random() * mutations.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1400** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const type = types[Math.floor(Math.random() * types.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1437** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return payloads[Math.floor(Math.random() * payloads.length)] ?? '';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1442** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return payloads[Math.floor(Math.random() * payloads.length)] ?? '';`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `libs/yemaya/core/src/cost-management.ts`

- **L710** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const id = `budget*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as BudgetId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L891** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1011** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cost*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as CostEntryId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1441** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `report*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}` as CostReportId,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/core/src/index.ts`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `: `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/core/src/monitoring.ts`

- **L593** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2,
    11)}` as CorrelationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L931** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: ``pipeline_${Date.now()}_${Math.random().toString(36).slice(2, 9)}` as
    PipelineExecutionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1737** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).slice(2,
    11)}` as CorrelationId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/enterprise/src/analytics/analytics-dashboard.ts`

- **L460** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `dash*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L478** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `panel*${Date.now()}*${Math.random().toString(36).slice(2, 6)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L551** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L644** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/human-override/src/override-system.ts`

- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `override*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `cp*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L138** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `esc*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L203** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `recovery*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/orchestration/src/execution/retry-manager.ts`

- **L91** — `ALLOW` (HIGH, rule `comment-reference`)
  - Code:
    `// Math.random() is intentionally used here for jitter — the goal is to`
  - Rationale: Hit appears inside a JSDoc/inline comment, not executable code.
- **L97** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = Math.random() * capped;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/yemaya/organizations/src/services/accessibility-preferences-service.ts`

- **L355** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/activity-tracking-service.ts`

- **L514** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/ai-preferences-service.ts`

- **L366** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/analytics-service.ts`

- **L270** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L715** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `seg*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L826** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `alert*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L924** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `trigger*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L992** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `export*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/anomaly-detection-service.ts`

- **L280** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/billing-service.ts`

- **L475** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sub*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L863** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pm*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/branding-service.ts`

- **L289** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `branding*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L831** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/bulk-invitation-service.ts`

- **L289** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `bjob*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/checklist-service.ts`

- **L607** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `chk*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/compliance-reporting-service.ts`

- **L217** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/data-export-preferences-service.ts`

- **L258** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/export-service.ts`

- **L1023** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `exp*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/invitation-tracking-service.ts`

- **L178** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `evt*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/keyboard-shortcuts-service.ts`

- **L713** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/language-preferences-service.ts`

- **L830** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `lang*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/notification-preferences-service.ts`

- **L683** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `notif*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L690** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `unsub*${Date.now()}*${Math.random().toString(36).slice(2,
    16)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/onboarding-wizard-service.ts`

- **L120** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `wiz*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L127** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `wevt*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/privacy-settings-service.ts`

- **L192** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/progress-tracking-service.ts`

- **L184** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now().toString(36)}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/project-settings-service.ts`

- **L494** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/sample-project-service.ts`

- **L954** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `proj*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/settings-service.ts`

- **L252** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.generateId = options?.generateId ?? (() => `setting-change-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/sso-service.ts`

- **L375** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `sso*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L624** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const requestId = `req*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1307** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `session*${Date.now()}*${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1445** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `evt*${Date.now()}*${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/theme-preferences-service.ts`

- **L532** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `theme*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/organizations/src/services/welcome-tour-service.ts`

- **L626** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `tour*${Date.now()}*${Math.random().toString(36).slice(2,
    11)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/production-verification/src/verification.ts`

- **L34** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `check*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `bench*${Date.now()}*${Math.random().toString(36).slice(2, 8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L165** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `coherence*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L245** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `signoff*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/rbac/src/custom-roles.ts`

- **L304** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `custom-role-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/rbac/src/role-audit.ts`

- **L203** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.generateId = options?.generateId ?? (() => `audit-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/rbac/src/role-templates.ts`

- **L528** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.generateId = options?.generateId ?? (() => `template-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/rbac/src/temporary-grants.ts`

- **L229** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `this.generateId = options?.generateId ?? (() => `temp-grant-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/sdk/src/advanced/sdk-sota.ts`

- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}_${Date.now()}\_${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1058** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitter = delay * policy.jitterFactor * Math.random();`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `libs/yemaya/self-improvement/src/self-improvement.ts`

- **L36** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `outcome*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L205** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `pattern*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L232** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `lesson*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/AIImageGeneration/useAIImageGeneration.ts`

- **L111** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `job*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/AudioSync/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sync*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as SyncPointId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `syncg*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as SyncGroupId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `atrack*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as AudioTrackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/AudioWaveform/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `waveform*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as WaveformId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `marker*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as MarkerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `region*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as RegionId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/AutoFraming/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `frame*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as FrameId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `subj*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as SubjectId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CanvasItems/LayerPanel.tsx`

- **L460** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `layer*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CanvasItems/UndoRedo.tsx`

- **L215** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `action*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CanvasItems/types.ts`

- **L537** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `item*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CharacterDesigner/types.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `char-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L20** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `layer-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L24** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pose-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L28** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `annot-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L334** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L948** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `panel-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L955** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sheet-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1448** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `expr-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1455** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `exprsheet-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2199** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `costume-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2206** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `item-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2213** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `csheet-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2965** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `chargen-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L2972** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `genimg-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3445** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `styleref-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3452** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `anchor-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3459** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `profile-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3466** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `analysis-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3473** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `comparison-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3480** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `drift-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3487** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `issue-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4103** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `workflow-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `iter-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4117** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `variant-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4124** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `comp-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4131** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `refine-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4234** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `seed: options?.seed ?? Math.floor(Math.random() * 2147483647),`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L4848** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-input-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4855** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-group-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4862** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-gen-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4869** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `ref-result-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4876** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-lib-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4883** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-comp-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4890** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref-hist-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CharacterTimeline/types.ts`

- **L316** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `event-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ColorPalette/colorMatching.ts`

- **L605** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const idx = Math.floor(Math.random() * colors.length);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/yemaya/ui/src/components/ColorPalette/paletteCollaboration.ts`

- **L303** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `change-${Date.now()}-${Math.random().toString(36).slice(2)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ColorPalette/types.ts`

- **L530** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pal*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L537** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `sw*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ColorPalette/usePaletteGeneration.ts`

- **L248** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const h = Math.floor(Math.random() * 360);`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L249** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const s = Math.floor(Math.random() * 40) + 50; // 50-90`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.
- **L250** — `ALLOW` (MEDIUM, rule `procedural-generation-path`)
  - Code: `const l = Math.floor(Math.random() * 30) + 40; // 40-70`
  - Rationale: File path is in a procedural-content-generation surface
    (svc-metaverse, star-map, virtual-rooms FX, character/scene generators);
    randomness drives content variety.

### `libs/yemaya/ui/src/components/ColorScriptTool/types.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `scene*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `color*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `cscript*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `beat*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `trans*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L51** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `spal*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/CustomTraitManager/types.ts`

- **L87** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `custom-trait-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L94** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `library-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/DialogueExampleEditor/types.ts`

- **L176** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `dialogue-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/EnvironmentConcepting/types.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `env-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `vp-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `pgs-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `gl-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1027** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `layer-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1034** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `group-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1955** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `mood-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1962** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `light-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3053** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `keyframe-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L3057** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `timeline-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4264** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `style-ref-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L4268** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `check-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L5062** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `transfer-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L5066** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `transfer-preset-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L5937** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `callout-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L5944** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `callout-group-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L5951** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `marker-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L6550** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `layer-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L6569** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `preset-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ImageOrganization/DragAndDrop.tsx`

- **L151** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `drop*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ImageOrganization/types.ts`

- **L385** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `col*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L392** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `img*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ImageSequenceExport/types.ts`

- **L482** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ImageUpload/types.ts`

- **L110** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `img-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/MultiTrack/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `mtrack*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as MultiTrackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `aclip*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as AudioClipId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `tgroup*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as TrackGroupId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L33** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `bus*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as BusId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/PanelGrid/types.ts`

- **L18** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `panel*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as PanelId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L22** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `template*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as TemplateId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/PropDesigner/types.ts`

- **L16** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `view-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `template-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L30** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `guide-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L37** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `dim-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1304** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `scale-ref-${Date.now()}-${Math.random().toString(36).slice(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1803** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `layer-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ReferenceOverlay/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `ref*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as ReferenceId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/SchedulingEngine/types.ts`

- **L642** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const random = Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/ScratchRecording/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `rec*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as RecordingId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `track*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as TrackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L281** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `seg*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/StructureBuilder/StructureBuilder.tsx`

- **L67** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/StyleTransfer/types.ts`

- **L15** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `style*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as StyleId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L21** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `preset*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as StylePresetId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/TimelineEditor/types.ts`

- **L19** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `clip*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as ClipId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L23** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `track*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as TrackId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L27** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `marker*${Date.now()}*${Math.random().toString(36).substring(2,
    9)}` as MarkerId;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/TimingEditor/types.ts`

- **L564** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `id: `group-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/Toast.tsx`

- **L144** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `const id = data.id || Math.random().toString(36).substring(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/TraitSelector/types.ts`

- **L80** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `trait-${Date.now()}-${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/ui/src/components/XMLExport/types.ts`

- **L533** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `${prefix}-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `libs/yemaya/video-generation/src/provider-router/provider-router.ts`

- **L746** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `const jitterValue = Math.random() * exponential;`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.
- **L1131** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const providerJobId = `pjob*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L1324** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const providerJobId = `pjob*${Date.now()}*${Math.random().toString(36).slice(2,
    8)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `minerva/minerva/multimedia/diagram_runtime.py`

- **L170** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const generated = "diagram-" + Math.random().toString(36).slice(2, 10);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `scripts/lilith/comprehensive-todos-implementation.ts`

- **L687** — `REPLACE` (HIGH, rule `fake-confidence-score`)
  - Code: `confidence: Math.random() * 0.3 + 0.7, // 70-100% confidence`
  - Rationale: `confidence`/`score`/`accuracy`/etc. assigned from Math.random;
    must come from real model output, not fabricated.
- **L1143** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `responseTime: Math.floor(Math.random() * 100) + 50`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/master-automation-controller.ts`

- **L31** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `executionTime: Math.random() * 5000 + 1000,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/performance/run-load-profile.ts`

- **L296** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `latencies.push(simulatedLatency * (0.8 + Math.random() * 0.4));`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/quality-gates-pipeline.ts`

- **L841** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `Math.random() * Math.random();`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L854** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `const testArray = new Array(100000).fill(0).map(() => Math.random());`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/seed-databases.ts`

- **L138** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 90 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L141** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `preferred_locale: locales[Math.floor(Math.random() * locales.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L143** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `preferred_persona: personas[Math.floor(Math.random() * personas.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L145** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `screen_reader: Math.random() > 0.9,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L146** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `high_contrast: Math.random() > 0.8,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L147** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `reduced_motion: Math.random() > 0.85`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L150** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `push_enabled: Math.random() > 0.3,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L151** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `email_enabled: Math.random() > 0.2,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L159** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `tier: Math.random() > 0.7 ? 'premium' : 'free',`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L160** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `expires_at: Math.random() > 0.7 ? new Date(Date.now() + 365 * 24 * 60 * 60 * 1000).toISOString() : null`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L163** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `total_sessions: Math.floor(Math.random() * 100),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L164** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `total_messages: Math.floor(Math.random() * 500),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L165** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `total_audio_minutes: Math.floor(Math.random() * 1000),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L166** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `last_active: new Date(Date.now() - Math.random() * 7 * 24 * 60 * 60 * 1000).toISOString()`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L184** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `tradition: traditions[Math.floor(Math.random() * traditions.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L185** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `content_type: contentTypes[Math.floor(Math.random() * contentTypes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L186** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `language: languages[Math.floor(Math.random() * languages.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L187** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `status: Math.random() > 0.1 ? 'published' : 'draft',`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L188** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 180 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L189** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `updated_at: new Date(Date.now() - Math.random() * 30 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L191** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `duration_minutes: Math.floor(Math.random() * 60) + 5,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L192** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `difficulty_level: Math.floor(Math.random() * 5) + 1,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L193** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `tags: ['mindfulness', 'wisdom', 'philosophy'].slice(0, Math.floor(Math.random() * 3) + 1),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L194** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `author: `Author ${Math.floor(Math.random() \* 10) + 1}`,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L196** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `transcript_available: Math.random() > 0.3,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L197** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `audio_available: Math.random() > 0.2`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L199** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `content_text: `This is sample content
    ${i} for the
    ${traditions[Math.floor(Math.random() * traditions.length)]}
    tradition. It contains wisdom and guidance fo...`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L200** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `embedding_vector: Array.from({ length: 384 }, () => Math.random() - 0.5)`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L212** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `const userId = userIds[Math.floor(Math.random() * userIds.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L213** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `const messageCount = Math.floor(Math.random() * 20) + 1;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L219** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 60 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L220** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `updated_at: new Date(Date.now() - Math.random() * 7 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L222** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `persona: ['zen', 'stoic', 'sufi'][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L225** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `language: ['en', 'es', 'zh-CN', 'ar', 'fr'][Math.floor(Math.random() * 5)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L226** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `context_length: Math.floor(Math.random() * 4000) + 1000,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L227** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `total_tokens: Math.floor(Math.random() * 10000) + 2000,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L228** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `audio_enabled: Math.random() > 0.4,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L229** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `citations_count: Math.floor(Math.random() * 10)`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L245** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `content_id: contentIds[Math.floor(Math.random() * contentIds.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L246** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `file_path: `/media/audio/${i.toString().padStart(3, '0')}.${formats[Math.floor(Math.random()
    - formats.length)]}`,`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L247** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `file_size_bytes: Math.floor(Math.random() * 50000000) + 1000000, // 1-50MB`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L248** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `duration_seconds: Math.floor(Math.random() * 3600) + 60, // 1min - 1hour`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L249** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `format: formats[Math.floor(Math.random() * formats.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L250** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `quality: ['standard', 'high', 'premium'][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L251** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 90 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L253** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `bitrate: Math.floor(Math.random() * 320) + 64,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L254** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `sample_rate: [22050, 44100, 48000][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L255** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `channels: Math.random() > 0.5 ? 'stereo' : 'mono',`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L256** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `codec: ['aac', 'mp3', 'opus'][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L258** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `waveform_generated: Math.random() > 0.2,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L259** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `transcript_extracted: Math.random() > 0.3`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L280** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `type: entityTypes[Math.floor(Math.random() * entityTypes.length)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L281** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `tradition: ['zen', 'stoic', 'sufi', 'general'][Math.floor(Math.random() * 4)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L284** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `importance_score: Math.random(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L285** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `frequency_mentioned: Math.floor(Math.random() * 100),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L286** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `verified: Math.random() > 0.2`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L288** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 365 * 24 * 60 * 60 * 1000).toISOString()`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L294** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `const fromEntity = Math.floor(Math.random() * 200) + 1;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L295** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `const toEntity = Math.floor(Math.random() * 200) + 1;`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L302** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `relationship_type: ['teaches', 'influences', 'practices', 'references'][Math.floor(Math.random() * 4)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L303** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `strength: Math.random(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L304** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `verified: Math.random() > 0.3,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L305** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `created_at: new Date(Date.now() - Math.random() * 180 * 24 * 60 * 60 * 1000).toISOString()`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L315** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `tradition: ['zen', 'stoic', 'sufi'][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L317** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code:
    `semantic_vector: Array.from({ length: 384 }, () => Math.random() - 0.5),`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.
- **L319** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `{ length: Math.floor(Math.random() * 5) + 1 },`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L320** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `() => `content\_${(Math.floor(Math.random() \* 100) +
    1).toString().padStart(3, '0')}``
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L323** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `complexity_level: Math.floor(Math.random() * 5) + 1,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L324** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `practical_applications: Math.floor(Math.random() * 10),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L325** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `scholarly_references: Math.floor(Math.random() * 20)`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L575** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `const userId = `user\_${Math.floor(Math.random() \* 50 +
    1).toString().padStart(3, '0')}`;`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L580** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `persona: ['zen', 'stoic', 'sufi'][Math.floor(Math.random() * 3)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L582** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `audio_enabled: Math.random() > 0.3,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L583** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `language: ['en', 'es', 'zh-CN', 'ar', 'fr'][Math.floor(Math.random() * 5)]`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L598** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `messages: Math.floor(Math.random() * 20) + 1,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L599** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `tokens: Math.floor(Math.random() * 4000) + 1000,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L787** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code:
    `timestamp: new Date(Date.now() - Math.random() * 30 * 24 * 60 * 60 * 1000).toISOString(),`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L788** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `service: ['auth', 'content', 'conversation', 'media'][Math.floor(Math.random() * 4)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L789** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `action: ['create', 'read', 'update', 'delete'][Math.floor(Math.random() * 4)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L790** — `ALLOW` (HIGH, rule `id-suffix-template`)
  - Code: `user_id: `user\_${Math.floor(Math.random() \* 50 +
    1).toString().padStart(3, '0')}`,`
  - Rationale: Random integer suffix in a template-string ID composition (e.g.,
    ORD-${Date.now()}-${Math.floor(Math.random()\*10000)}).
- **L791** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `resource_type: ['user', 'content', 'conversation', 'media'][Math.floor(Math.random() * 4)],`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L792** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `success: Math.random() > 0.1,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.
- **L793** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `ip_address: `192.168.1.${Math.floor(Math.random() \* 254) + 1}`,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/service-orchestrator.ts`

- **L76** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `responseTime: Math.floor(Math.random() * 100) + 50`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `scripts/lilith/test-result-reporter.ts`

- **L88** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return `run-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `scripts/lilith/todos-compliance-enforcer.ts`

- **L431** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `return 'user_' + Math.random().toString(36).substr(2, 9);`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `scripts/lilith/todos-final-implementation.ts`

- **L945** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `executionTime: Math.random() * 5000 + 1000,`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `serwaa/services/admin-dashboard/src/app/dashboard/knowledge/sources/new/page.tsx`

- **L44** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const sourceId = `src*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `serwaa/services/admin-dashboard/src/app/dashboard/knowledge/upload/page.tsx`

- **L65** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return { documentId: `doc*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}` };`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.
- **L117** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code: `fileId: `file*${Date.now()}*${Math.random().toString(36).substr(2,
    9)}`,`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `tests/integration/fixtures/test-event-bus.ts`

- **L216** — `ALLOW` (MEDIUM, rule `seed-or-fixture-script`)
  - Code: `if (failureRate > 0 && Math.random() < failureRate) {`
  - Rationale: Seed/fixture/script context — Math.random is acceptable for
    spreading seed data; not part of production runtime.

### `yaa/packages/ai/agents/agents/content-strategist/db.ts`

- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const experimentId = input.experimentId?.trim().length ? input.experimentId.trim() : `ab\_${Math.random().toString(16).slice(2,
    10)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/ai/original-content/src/pitch-generation.ts`

- **L334** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const selectedAngle = angles[0] || angles[Math.floor(Math.random() * angles.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `yaa/packages/ingestion/source-discovery/src/wire-service-automation.ts`

- **L1378** — `ALLOW` (HIGH, rule `shuffle-sort-key`)
  - Code: `const jitter = (Math.random() - 0.5) * 2 * config.jitterSeconds;`
  - Rationale: `Math.random() - 0.5` is a Fisher-Yates-style sort key for
    shuffle; non-determinism is the feature.

### `yaa/packages/nlp/ghana-nlp/src/ner-client.ts`

- **L178** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `yaa/packages/nlp/ghana-nlp/src/stt-client.ts`

- **L130** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `yaa/packages/nlp/ghana-nlp/src/translation-client.ts`

- **L208** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `yaa/packages/nlp/ghana-nlp/src/tts-client.ts`

- **L230** — `ALLOW` (HIGH, rule `timer-jitter`)
  - Code: `delay = delay * (0.5 + Math.random() * 0.5);`
  - Rationale: Timer/retry jitter — adding randomness to backoff or scheduling
    so calls don't synchronize.

### `yaa/packages/nlp/ghana-nlp/src/twi-audio-queue.ts`

- **L300** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `twi-audio-${Date.now()}-${Math.random().toString(36).substr(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/social/analytics-dashboard/src/mock-datasource.ts`

- **L163** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const postsToday = Math.floor(Math.random() * 3) + 1;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L166** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const contentType = contentTypes[Math.floor(Math.random() * contentTypes.length)]!;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L167** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const impressions = Math.round(account.followers * (0.2 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L168** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const reach = Math.round(impressions * (0.5 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L169** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const engagementRate = account.avgEngagementRate * (0.5 + Math.random());`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L171** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `const likes = Math.round(engagements * (0.5 + Math.random() * 0.3));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L172** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const comments = Math.round(engagements * (0.1 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L173** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const shares = Math.round(engagements * (0.05 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L174** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const saves = Math.round(engagements * (0.02 + Math.random() * 0.05));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L175** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `const clicks = Math.round(engagements * (0.1 + Math.random() * 0.1));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L185** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `9 + Math.floor(Math.random() * 12),`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L186** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `Math.floor(Math.random() * 60)`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L227** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value = Math.round(account.followers * (0.2 + Math.random() * 0.2));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L230** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value = Math.round(account.followers * (0.1 + Math.random() * 0.15));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L233** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value = Math.round(account.followers * account.avgEngagementRate * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L236** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value = Math.round(account.followers * account.avgEngagementRate * 0.6 * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L239** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code:
    `value = Math.round(account.followers * account.avgEngagementRate * 0.2 * (0.8 + Math.random() * 0.4));`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L242** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value = account.followers + Math.round(Math.random() * 50 - 10);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L245** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value = Math.round(Math.random() * 40 - 5);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L248** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `value = Math.round(Math.random() * 100);`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.
- **L351** — `REPLACE` (HIGH, rule `analytics-fake-metric`)
  - Code: `return headlines[Math.floor(Math.random() * headlines.length)]!;`
  - Rationale: Analytics/BI/compliance/revenue route synthesizes a metric value
    via Math.random(); these must be computed from the corresponding data source
    (Postgres/Redis/Kafka), not fabricated.

### `yaa/packages/video/avatar-profiles/src/twi-anchors.ts`

- **L1175** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return timeIntros[Math.floor(Math.random() * timeIntros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1195** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return contextOutros[Math.floor(Math.random() * contextOutros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1211** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `return breakingIntros[Math.floor(Math.random() * breakingIntros.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1274** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return featured[Math.floor(Math.random() * featured.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.
- **L1277** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code: `return candidates[Math.floor(Math.random() * candidates.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `yaa/packages/video/instagram-reels-producer/src/producer.ts`

- **L125** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const cta = CTA_TEMPLATES[Math.floor(Math.random() * CTA_TEMPLATES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `yaa/packages/video/instagram-stories-producer/src/producer.ts`

- **L110** — `ALLOW` (MEDIUM, rule `random-pick-from-array`)
  - Code:
    `const cta = STORY_CTA_TEMPLATES[Math.floor(Math.random() * STORY_CTA_TEMPLATES.length)];`
  - Rationale: Random index into an array — typical for
    shuffle/sample/diversification; non-determinism intended.

### `yaa/packages/web/src/app/api/v1/factcheck/[id]/route.ts`

- **L139** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `req*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/web/src/app/api/v1/factcheck/batch/route.ts`

- **L240** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `req*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/web/src/app/api/v1/factcheck/route.ts`

- **L261** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `req*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/web/src/app/api/v1/factcheck/stats/route.ts`

- **L81** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `return `req*${Date.now().toString(36)}*${Math.random().toString(36).substring(2,
    9)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

### `yaa/packages/web/src/lib/push/pushTokenClient.ts`

- **L58** — `ALLOW` (HIGH, rule `id-token-toString`)
  - Code:
    `const next = typeof crypto?.randomUUID === 'function' ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(16).slice(2)}`;`
  - Rationale: Math.random().toString(36|16) used to mint a non-secret ID/token
    suffix; covered by V1-P2-08xx CSPRNG-id audit which carved out true secrets.

## Appendix — Default-Allow Rows (LOW confidence)

1996 sites fell through to `default-allow`. Per V1-P2-3403, each requires an
inline `// random:legitimate <reason>` annotation; the annotation step is the
second-pass review.

- `apps/aphrodite/streaming/src/routes/streams.ts:368` —
  `key += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/arete/web/src/pages/habits/HabitDetailPage.tsx:62` —
  `const rand = Math.random();`
- `apps/arete/web/src/pages/wellness/WellnessPage.tsx:71` —
  `const mood = moods[Math.floor(Math.random() * 5) + 1];`
- `apps/asase/marketplace/src/b2b-portal.ts:349` —
  `return `ORD-B2B-${Date.now()}-${Math.floor(Math.random() \* 10000)`
- `apps/asase/marketplace/src/b2b-portal.ts:355` —
  `return `SCH-${Date.now()}-${Math.floor(Math.random() \* 10000)`
- `apps/asase/marketplace/src/farmer-input-store.ts:469` —
  `return `IORD-${Date.now()}-${Math.floor(Math.random() \* 10000)`
- `apps/cybele/api/src/routes/gateway.ts:380` —
  `const latencyMs = Math.floor(Math.random() * 30) + 5;`
- `apps/demeter/api/src/routes/weather.ts:156` —
  `windSpeedKmh: Math.round(Math.random() * 20 + 5),`
- `apps/demeter/api/src/routes/weather.ts:159` —
  `rainfallMm: Math.random() > 0.7 ? Math.round(Math.random() * 5 * 10) / 10 : 0,`
- `apps/demeter/api/src/routes/weather.ts:188` —
  `const variation = Math.round((Math.random() * 6 - 3) * 10) / 10;`
- `apps/demeter/api/src/routes/weather.ts:198` —
  `humidity: Math.round(50 + Math.random() * 40),`
- `apps/demeter/api/src/routes/weather.ts:199` —
  `rainfallMm: Math.random() > 0.6 ? Math.round(Math.random() * 15 * 10) / 10 : 0,`
- `apps/demeter/api/src/routes/weather.ts:200` —
  `windSpeedKmh: Math.round(Math.random() * 25 + 3),`
- `apps/demeter/api/src/routes/weather.ts:201` —
  `uvIndex: isSummer ? Math.round(Math.random() * 4 + 5) : Math.round(Math.random() * 3 + 1),`
- `apps/demeter/api/src/routes/weather.ts:206` — `: Math.random() > 0.5`
- `apps/demeter/api/src/routes/weather.ts:619` —
  `const variation = Math.round((Math.sin(i * 0.3) * 4 + Math.random() * 3 - 1.5) * 10) / 10;`
- `apps/demeter/api/src/routes/weather.ts:630` —
  `humidity: Math.round(50 + Math.sin(i * 0.5) * 20 + Math.random() * 10),`
- `apps/demeter/api/src/routes/weather.ts:631` —
  `rainfallMm: Math.random() > 0.65 ? Math.round(Math.random() * 12 * 10) / 10 : 0,`
- `apps/demeter/api/src/routes/weather.ts:632` —
  `windSpeedKmh: Math.round(8 + Math.random() * 15),`
- `apps/demeter/api/src/routes/weather.ts:638` — `: Math.random() > 0.5`
- `apps/demeter/web/src/pages/gardens/BulkEditPage.tsx:272` —
  `const isError = Math.random() < 0.05;`
- `apps/demeter/web/src/pages/sensors/SensorVisualizationPage.tsx:84` —
  `const value = Math.round(base + Math.random() * 5);`
- `apps/demeter/web/src/pages/sensors/SensorVisualizationPage.tsx:93` —
  `moisture: 30 + Math.round(Math.random() * 30),`
- `apps/demeter/web/src/pages/sensors/SensorVisualizationPage.tsx:94` —
  `temperature: 60 + Math.round(Math.random() * 25),`
- `apps/demeter/web/src/pages/tasks/CalendarPage.tsx:345` —
  `isCompleted: isBeforeToday && Math.random() > 0.3,`
- `apps/freya/api/src/other-routes.ts:232` —
  `const qty = Math.floor(Math.random() * 30);`
- `apps/hathor/narrative-api/src/services/dialogue.service.ts:965` —
  `let roll = Math.random() * totalWeight;`
- `apps/hathor/svc-veilborn-core/src/abilities.ts:1188` —
  `if (!effect.spreads || Math.random() * 100 > (effect.spreadChance ?? 50)) {`
- `apps/hathor/svc-veilborn-core/src/asset-gen.ts:92` —
  `const seed = params.seed || Math.floor(Math.random() * 1000000);`
- `apps/hathor/svc-veilborn-core/src/asset-gen.ts:104` —
  `processingTime: 50 + Math.random() * 50,`
- `apps/hathor/svc-veilborn-core/src/beta-program.ts:444` —
  `code += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/hathor/svc-veilborn-core/src/cards.ts:594` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `apps/hathor/svc-veilborn-core/src/cards.ts:1040` —
  `value = Math.random() * 100;`
- `apps/hathor/svc-veilborn-core/src/cards.ts:1782` —
  `randomFn: () => number = Math.random`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:313` —
  `if (difficultyNoise > 0 && Math.random() < difficultyNoise) {`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:315` —
  `const randomIndex = Math.floor(Math.random() * Math.min(3, threats.length));`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:467` —
  `if (difficultyNoise > 0 && Math.random() < difficultyNoise && positions.length > 1) {`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:468` —
  `const randomIndex = Math.floor(Math.random() * Math.min(3, positions.length));`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:1042` —
  `if (difficultyNoise > 0 && Math.random() < difficultyNoise && decisions.length > 1) {`
- `apps/hathor/svc-veilborn-core/src/combat-ai.ts:1045` —
  `const randomIndex = Math.floor(Math.random() * numToConsider);`
- `apps/hathor/svc-veilborn-core/src/combat.ts:763` —
  `value: Math.floor(Math.random() * 20) + 1, // Initial roll`
- `apps/hathor/svc-veilborn-core/src/data-access.ts:323` —
  `const r = (Math.random() * 16) | 0;`
- `apps/hathor/svc-veilborn-core/src/data-access.ts:887` —
  `code += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/hathor/svc-veilborn-core/src/dice.ts:80` —
  `return Math.floor(Math.random() * DICE_SIDES) + 1;`
- `apps/hathor/svc-veilborn-core/src/multiplayer.ts:402` —
  `code += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/hathor/svc-veilborn-core/src/multiplayer.ts:1219` —
  `results.push(Math.floor(Math.random() * parsed.sides) + 1);`
- `apps/hathor/svc-veilborn-core/src/veylmaster.ts:234` —
  `results.push(Math.floor(Math.random() * sides) + 1);`
- `apps/hathor/svc-veilborn-core/src/veylmaster.ts:1017` —
  `const first = this.firstNames[Math.floor(Math.random() * this.firstNames.length)];`
- `apps/hathor/svc-veilborn-core/src/veylmaster.ts:1018` —
  `const last = this.lastNames[Math.floor(Math.random() * this.lastNames.length)];`
- `apps/hathor/svc-veilborn-core/src/veylmaster.ts:1098` —
  `const traitCount = 2 + Math.floor(Math.random() * 2);`
- `apps/hathor/svc-veilborn-core/src/wargame.ts:1358` —
  `const die1 = Math.floor(Math.random() * 6) + 1;`
- `apps/hathor/svc-veilborn-core/src/wargame.ts:1359` —
  `const die2 = Math.floor(Math.random() * 6) + 1;`
- `apps/hathor/svc-veilborn-strategy/src/ai-opponent.ts:768` —
  `if (Math.random() < this.difficultyParams.mistakeChance) {`
- `apps/hathor/svc-veilborn-strategy/src/ai-opponent.ts:1018` —
  `if (Math.random() > randomFactor) {`
- `apps/hathor/svc-veilborn-strategy/src/ai-opponent.ts:1024` —
  `let random = Math.random() * totalScore;`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-common.ts:465` —
  `this.randomGen = Math.random;`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-common.ts:790` —
  `return Math.random() > 0.5 ? 'deceptive' : 'analytical';`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-common.ts:793` —
  `return Math.random() > 0.5 ? 'methodical' : 'defensive';`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-common.ts:796` —
  `return Math.random() > 0.5 ? 'analytical' : 'methodical';`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-common.ts:799` —
  `return Math.random() > 0.5 ? 'deceptive' : 'diplomatic';`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-game-master.ts:293` —
  `title = templates.titles[Math.floor(Math.random() * templates.titles.length)];`
- `apps/hathor/svc-veilborn-strategy/src/ai/ai-game-master.ts:295` —
  `templates.descriptions[Math.floor(Math.random() * templates.descriptions.length)];`
- `apps/hathor/svc-veilborn-strategy/src/balance/tournament-runner.ts:159` —
  `Math.random() > 0.5 ? sortedParticipants[i]!.id : sortedParticipants[j]!.id;`
- `apps/hathor/svc-veilborn-strategy/src/echoes-of-fate/timeline-engine.ts:731`
  — `const roll = Math.random();`
- `apps/hathor/svc-veilborn-strategy/src/echoes-of-fate/timeline-engine.ts:809`
  — `const roll = Math.random();`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:254`
  — `const j = Math.floor(Math.random() * (i + 1));`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:285`
  — `if (sacredSitesPlaced < sacredSites && Math.random() < 0.15) {`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:288`
  — `} else if (nexusesPlaced < nexuses && Math.random() < 0.1) {`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:293`
  — `} else if (Math.random() < 0.1) {`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:332`
  —
  `const prefix = prefixes[type][Math.floor(Math.random() * prefixes[type].length)];`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/campaign-manager.ts:578`
  — `const j = Math.floor(Math.random() * (i + 1));`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:566`
  —
  `const attackerDamage = Math.random() * this.battleState.attacker.strength * 0.2;`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:567`
  —
  `const defenderDamage = Math.random() * this.battleState.defender.strength * 0.2;`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:703`
  — `const action = Math.random();`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:710`
  — `currentInfluence + 10 + Math.random() * 10`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:719`
  — `if (Math.random() < 0.3) {`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:841`
  — `const intentSuccess = Math.random();`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:962`
  — `const sabotageChance = Math.random();`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:966`
  —
  `this.context.participants[Math.floor(Math.random() * this.context.participants.length)];`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:1110`
  — `const x = Math.floor(Math.random() * this.gameState.boardSize);`
- `apps/hathor/svc-veilborn-strategy/src/grand-campaign/mode-orchestrator.ts:1111`
  — `const y = Math.floor(Math.random() * this.gameState.boardSize);`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:67`
  — `const j = Math.floor(Math.random() * (i + 1));`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:265`
  —
  `Math.random() * (agendaDistribution.maxTraitors - agendaDistribution.minTraitors + 1)`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:606`
  — `if (Math.random() < mission.penaltyOnFailure.casualtiesRisk) {`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:607`
  —
  `const casualtyIndex = Math.floor(Math.random() * mission.teamMembers.length);`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:717`
  — `const isAccurate = Math.random() < ability.accuracy;`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:728`
  — `: `Agenda progress: ${Math.floor(Math.random() \* 100)}%`;`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:745`
  — `: Math.random() < 0.5`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:756`
  — `: Math.random() < 0.5`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:1148`
  — `const wasDetected = Math.random() < detectionChance;`
- `apps/hathor/svc-veilborn-strategy/src/weave-conspiracy/conspiracy-engine.ts:1305`
  —
  `const resisted = Math.random() < 0.3 - player.voidCorruption.resistanceRolls * 0.1;`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:53` —
  `calories: 1800 + Math.floor(Math.random() * 600),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:54` —
  `protein: 90 + Math.floor(Math.random() * 50),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:55` —
  `carbs: 200 + Math.floor(Math.random() * 100),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:56` —
  `fat: 50 + Math.floor(Math.random() * 40),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:57` —
  `fiber: 18 + Math.floor(Math.random() * 15),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:58` —
  `sugar: 30 + Math.floor(Math.random() * 30),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:59` —
  `sodium: 1600 + Math.floor(Math.random() * 1000),`
- `apps/hestia/web/src/app/(app)/nutrition/page.tsx:60` —
  `water: 1500 + Math.floor(Math.random() * 1500),`
- `apps/hestia/web/src/app/(app)/recipes/analytics/page.tsx:180` —
  `count: Math.floor(Math.random() * 4),`
- `apps/iris/developer-portal/src/services/model-distillation-edge-service.ts:121`
  — `random: options.random ?? Math.random,`
- `apps/iris/developer-portal/src/services/model-ensemble-voting-service.ts:96`
  — `random: options.random ?? Math.random,`
- `apps/iris/developer-portal/src/services/model-explanation-generation-service.ts:94`
  — `random: options.random ?? Math.random,`
- `apps/iris/developer-portal/src/services/model-specialization-fine-tuning-service.ts:123`
  — `random: options.random ?? Math.random,`
- `apps/iris/mobile/src/services/StorageService.ts:98` —
  `key += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/iris/web/widget/src/lib/api.ts:432` —
  `this.mockResponses[Math.floor(Math.random() * this.mockResponses.length)];`
- `apps/iris/web/widget/src/lib/api.ts:451` —
  `this.mockResponses[Math.floor(Math.random() * this.mockResponses.length)];`
- `apps/lilith/contracts/scripts/soak-test.ts:277` —
  `let random = Math.random() * totalWeight;`
- `apps/lilith/contracts/scripts/soak-test.ts:293` —
  `const tokenId = Math.floor(Math.random() * 1000000);`
- `apps/lilith/contracts/scripts/soak-test.ts:386` —
  `Math.floor(Math.random() * 500) + 100 // 1-6% royalty`
- `apps/lilith/contracts/scripts/soak-test.ts:477` —
  `Math.floor(Math.random() * 10) + 1, // 1-10 points`
- `apps/lilith/mobile/src/components/meditation/StatsChart.tsx:155` —
  `<View key={i} style={[styles.skeletonBar, { height: Math.random() * sizeConfig.height * 0.8 + 20 }]} />`
- `apps/lilith/mobile/src/components/skeleton/SkeletonText.tsx:66` —
  `const variance = Math.random() * 10;`
- `apps/lilith/mobile/src/services/ComfyUIService.ts:418` —
  `await this.delay(2000 + Math.random() * 3000);`
- `apps/lilith/mobile/src/services/download/ResumableDownloader.ts:196` —
  `await new Promise((resolve) => setTimeout(resolve, 50 + Math.random() * 100));`
- `apps/lilith/mobile/src/services/meditation/BackgroundSoundsService.ts:880` —
  `const white = Math.random() * 2 - 1;`
- `apps/lilith/mobile/src/services/metaverse/GroupMeditationTempleService.ts:555`
  — `position: { x: Math.random() * 10 - 5, y: 0, z: Math.random() * 10 - 5 },`
- `apps/lilith/mobile/src/services/themes/AIArtFusionService.ts:122` —
  `? baseSeed + Math.floor(Math.random() * preset.mutationRate * 1000)`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:647` —
  `score += Math.random() * 30;`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:671` —
  `if (Math.random() < mistakeRate && scoredMoves.length > 2) {`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:673` —
  `const index = Math.floor(Math.random() * Math.min(5, scoredMoves.length - 1)) + 1;`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:687` —
  `let random = Math.random() * totalScore;`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:755` —
  `const delay = delayConfig.min + Math.random() * (delayConfig.max - delayConfig.min);`
- `apps/lilith/mobile/src/services/veilborn/VeilbornOfflineAI.ts:859` —
  `scores[intent] += Math.random() * config.randomness * 20;`
- `apps/lilith/shared/common/index.ts:14` —
  `bytes[index] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-ai/src/adaptive-content/adaptive-content-service.ts:616` —
  `if (Math.random() < 0.3) {`
- `apps/lilith/svc-ai/src/agent-coordination.ts:318` —
  `execution_time: 100 + Math.random() * 500,`
- `apps/lilith/svc-ai/src/agent-coordination.ts:356` —
  `agreement_level: 0.8 + Math.random() * 0.15,`
- `apps/lilith/svc-ai/src/agent-coordination.ts:439` —
  `const improvementBoost = 0.05 + Math.random() * 0.1;`
- `apps/lilith/svc-ai/src/agent-coordination.ts:561` —
  `const improvementScore = 0.85 + Math.random() * 0.1;`
- `apps/lilith/svc-ai/src/ambient-soundscape/ambient-soundscape-service.ts:1475`
  — `const distance = 5 + Math.random() * 20;`
- `apps/lilith/svc-ai/src/biometric-integration/biometric-integration-service.ts:1082`
  — `phase: Math.random() * Math.PI * 2,`
- `apps/lilith/svc-ai/src/daily-content/autonomous-daily-content-service.ts:1146`
  — `durationSeconds: 60 + Math.floor(Math.random() * 120), // 1-3 minutes`
- `apps/lilith/svc-ai/src/document-processing/service.ts:938` —
  `confidence[field.name] = 0.85 + Math.random() * 0.1;`
- `apps/lilith/svc-ai/src/facial-animation-lipsync/facial-animation-lipsync-service.ts:2179`
  — `id += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/lilith/svc-ai/src/generative-nft/generative-nft-service.ts:422` —
  `return Math.random() >= 1 - (rule.probability ?? 1);`
- `apps/lilith/svc-ai/src/generative-nft/generative-nft-service.ts:842` —
  `const cx = Math.random() * 100;`
- `apps/lilith/svc-ai/src/generative-nft/generative-nft-service.ts:843` —
  `const delay = Math.random() * config.duration;`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/edge-deployment.ts:43` —
  `bytes[i] = Math.floor(Math.random() * 256)`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:43` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:56` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:266`
  — `return Math.random() < this.probability;`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:272`
  — `return Math.random() < this.probability;`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:308`
  — `return Math.random() < Math.min(1, this.probability * 3);`
- `apps/lilith/svc-ai/src/low-latency-infrastructure/latency-monitoring.ts:312`
  — `return Math.random() < this.probability;`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:1998`
  — `y: 0.8 + Math.random() * 1.2,`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:2003`
  — `y: Math.random() * 0.2,`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:2007`
  — `size: 0.02 + Math.random() * 0.03,`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:2008`
  — `lifetime: 2 + Math.random() * 3,`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:2009`
  — `opacity: 0.5 + Math.random() * 0.5`
- `apps/lilith/svc-ai/src/movement-meditation-animation/movement-meditation-animation-service.ts:2574`
  — `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/personality-engine.ts:399` —
  `let random = Math.random() * totalWeight;`
- `apps/lilith/svc-ai/src/personality-response.ts:44` —
  `random: RandomGenerator = Math.random`
- `apps/lilith/svc-ai/src/providers/openrouter-provider.ts:2319` —
  `const random = Math.random();`
- `apps/lilith/svc-ai/src/realtime-processing/realtime-processing-service.ts:310`
  — `seed: input.seed ?? Math.floor(Math.random() * 1000000),`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:207` —
  `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:917` —
  `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:938` —
  `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:955` —
  `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:993` —
  `const randomIndex = Math.floor(Math.random() * typeNames.length);`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:1032` —
  `position: { x: Math.floor(Math.random() * 10), y: Math.floor(Math.random() * 10) }`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:1108` —
  `x: Math.floor(Math.random() * mapSize.width),`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:1109` —
  `y: Math.floor(Math.random() * mapSize.height)`
- `apps/lilith/svc-ai/src/rpg-combat-tactics/combat-tactics-service.ts:1810` —
  `const typeIndex = Math.floor(Math.random() * types.length);`
- `apps/lilith/svc-ai/src/rpg-game-mechanics/game-mechanics-service.ts:203` —
  `const roll = Math.floor(Math.random() * DICE_SIDES) + 1;`
- `apps/lilith/svc-ai/src/rpg-game-mechanics/game-mechanics-service.ts:212` —
  `const roll = Math.floor(Math.random() * DICE_SIDES) + 1;`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:127` —
  `ability.charges = 3 + Math.floor(Math.random() * 5);`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:147` —
  `if (rarityWeight >= 5) {return Math.random() < 0.3 ? 'ultimate' : 'active';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:148` —
  `if (rarityWeight >= 3) {return Math.random() < 0.5 ? 'active' : 'triggered';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:149` —
  `if (rarityWeight >= 1) {return Math.random() < 0.5 ? 'triggered' : 'passive';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:172` —
  `magnitude: 10 * rarityMultiplier + Math.floor(Math.random() * 20 * rarityMultiplier),`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:177` —
  `effect.duration = 10 + Math.floor(Math.random() * 20);`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:191` —
  `if (['damage', 'debuff'].includes(effectType)) {return Math.random() < 0.5 ? 'single' : 'area';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:208` —
  `const action = actions[type][Math.floor(Math.random() * actions[type].length)];`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:297` —
  `if (Math.random() < 0.5) {`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:719` —
  `{return Math.random() < 0.7 ? 'pristine' : 'battle-scarred';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:720` —
  `if (['rare', 'uncommon'].includes(rarity)) {return Math.random() < 0.5 ? 'worn' : 'pristine';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:741` —
  `attack: Math.floor(baseValue * (1 + Math.random() * 0.2)),`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:751` —
  `defense: Math.floor(baseValue * (1 + Math.random() * 0.2)),`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:786` —
  `const isPercentage = Math.random() < 0.3;`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:942` —
  `if (effectType === 'damage') {return Math.random() < 0.5 ? 'single' : 'area';}`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:1058` —
  `quantity: 1 + Math.floor(Math.random() * 3),`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:1146` —
  `Math.ceil(Math.random() * 3) as 1 | 2 | 3`
- `apps/lilith/svc-ai/src/rpg-items-artifacts/items-artifacts-service.ts:1151` —
  `Math.ceil(Math.random() * 4) as 1 | 2 | 3 | 4`
- `apps/lilith/svc-ai/src/rpg-multiplayer-social/multiplayer-social-service.ts:705`
  — `const j = Math.floor(Math.random() * (i + 1));`
- `apps/lilith/svc-ai/src/rpg-multiplayer-social/multiplayer-social-service.ts:1310`
  — `let random = Math.random() * totalWeight;`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:129`
  — `loyalty: 90 + Math.floor(Math.random() * 10),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:130`
  — `usefulness: 80 + Math.floor(Math.random() * 20),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:132`
  — `suspicionLevel: 10 + Math.floor(Math.random() * 20)`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:144`
  — `loyalty: 50 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:145`
  — `usefulness: 40 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:147`
  — `suspicionLevel: Math.floor(Math.random() * 30)`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:172`
  — `autonomy: 50 + Math.floor(Math.random() * 30),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:331`
  — `? 70 + Math.floor(Math.random() * 30)`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:332`
  — `: 40 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:525`
  — `? 30 + Math.floor(Math.random() * 30)`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:526`
  — `: 60 + Math.floor(Math.random() * 30),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:751`
  — `? 20 + Math.floor(Math.random() * 30)`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:752`
  — `: 60 + Math.floor(Math.random() * 30),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:774`
  — `plausibility: 50 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:775`
  — `detectability: 30 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-political-intrigue/political-intrigue-service.ts:790`
  — `const detected = Math.random() * 100 < detectionChance;`
- `apps/lilith/svc-ai/src/rpg-rewards-progression/rewards-progression-service.ts:595`
  —
  `const prefix = prefixes[category][Math.floor(Math.random() * prefixes[category].length)];`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:103`
  — `divergenceLevel: parentTimeline ? 30 + Math.floor(Math.random() * 40) : 0,`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:152`
  — `strength: 50 + Math.floor(Math.random() * 50),`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:153`
  — `protectedRadius: 10 + Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:180`
  — `divergenceLevel: 20 + Math.floor(Math.random() * 30),`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:181`
  — `mergeability: 70 - Math.floor(Math.random() * 40),`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:469`
  — `const success = Math.random() * 100 < resolution.successChance;`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:511`
  —
  `const prefix = prefixes[type][Math.floor(Math.random() * prefixes[type].length)];`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:524`
  — `return baseStrength[type] + Math.floor(Math.random() * 10);`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:536`
  — `return baseRadius[type] + Math.floor(Math.random() * 15);`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:789`
  — `if (Math.random() < 0.2) {`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:791`
  — `} else if (Math.random() < 0.1 && index < progression.length - 1) {`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:1002`
  — `const hasOpposite = Math.random() < 0.3;`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:1003`
  — `const isAware = Math.random() < 0.1;`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:1009`
  —
  `alignment: hasOpposite ? 'opposite' : Math.random() < 0.5 ? 'same' : 'neutral',`
- `apps/lilith/svc-ai/src/rpg-temporal-mechanics/temporal-mechanics-service.ts:1083`
  — `iterations: 1 + Math.floor(Math.random() * 10),`
- `apps/lilith/svc-ai/src/rpg-veylmaster/veylmaster-service.ts:806` —
  `return Math.floor(Math.random() * 30) + 5; // 5-35 minutes estimate`
- `apps/lilith/svc-ai/src/sacred-environments/sacred-environments-service.ts:141`
  — `const r = (Math.random() * 16) | 0;`
- `apps/lilith/svc-ai/src/strength-training-instruction/strength-training-instruction-service.ts:742`
  — `const j = Math.floor(Math.random() * (i + 1));`
- `apps/lilith/svc-ai/src/text-to-3d/text-to-3d-service.ts:939` —
  `return minTimestep + Math.random() * (maxTimestep - minTimestep);`
- `apps/lilith/svc-ai/src/text-to-3d/text-to-3d-service.ts:1531` —
  `if (tri && (Math.random() < ratio || newTriangles.length < targetFaces * 0.9)) {`
- `apps/lilith/svc-ai/src/text-to-3d/text-to-3d-service.ts:2159` —
  `const seed = request.seed ?? Math.floor(Math.random() * 1000000);`
- `apps/lilith/svc-ai/src/water-rendering/water-rendering-service.ts:363` —
  `data[idx] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-ai/src/water-rendering/water-rendering-service.ts:364` —
  `data[idx + 1] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-ai/src/water-rendering/water-rendering-service.ts:365` —
  `data[idx + 2] = Math.floor(Math.random() * 256);`
- `apps/lilith/svc-conversation/src/app.ts:1598` —
  `if (Math.random() < failureRate) {`
- `apps/lilith/svc-error-handler/src/app.ts:717` —
  `retryAfter = Date.now() + Math.random() * 5000 + 1000; // 1-6 second delay`
- `apps/lilith/svc-meditation-generation/src/time-optimizer.ts:584` —
  `const pickIndex = options.length > 0 ? Math.floor(Math.random() * options.length) : 0;`
- `apps/lilith/svc-meditation-generation/src/time-optimizer.ts:626` —
  `const pickIndex = options.length > 0 ? Math.floor(Math.random() * options.length) : 0;`
- `apps/lilith/svc-notification/src/dispatch/providers/mock.ts:48` —
  `if (this.shouldFail || Math.random() < this.failureRate) {`
- `apps/lilith/svc-payment-orchestrator/src/promotions/promotion-service.ts:388`
  — `const randomIndex = Math.floor(Math.random() * this.charset.length);`
- `apps/lilith/svc-tts/src/audio-tags/audio-tag-processor.ts:528` —
  `if (Math.random() > prob) {continue;}`
- `apps/lilith/svc-tts/src/audio-tags/audio-tag-processor.ts:560` —
  `const insertIndex = Math.floor(Math.random() * (sentences.length - 1));`
- `apps/lilith/web/src/components/AudioPlayer.tsx:388` —
  `height: `${Math.random() \* 20 + 5}px`,`
- `apps/lilith/web/src/components/MetaverseCanvas.tsx:491` —
  `const rockGeometry = new THREE.DodecahedronGeometry(Math.random() * 0.5 + 0.3, 0);`
- `apps/lilith/web/src/components/MetaverseCanvas.tsx:499` —
  `Math.random() * 0.3,`
- `apps/lilith/web/src/components/metaverse/MetaverseCanvas.tsx:94` —
  `args={[0.3 + Math.random() * 0.5, 0.2 + Math.random() * 0.3, 0.3 + Math.random() * 0.5]}`
- `apps/lilith/web/src/components/metaverse/MetaverseCanvas.tsx:96` —
  `rotation={[Math.random() * 0.3, Math.random() * Math.PI * 2, Math.random() * 0.3]}`
- `apps/lilith/web/src/components/metaverse/MetaverseEngine.tsx:163` —
  `<FloatingCrystal key={i} position={[x, y, z]} rotationSpeed={0.5 + Math.random() * 0.5} />`
- `apps/lilith/web/src/components/research/NetworkVisualization.stories.tsx:421`
  — `const sourceIdx = Math.floor(Math.random() * nodes.length);`
- `apps/lilith/web/src/components/research/NetworkVisualization.stories.tsx:422`
  — `let targetIdx = Math.floor(Math.random() * nodes.length);`
- `apps/lilith/web/src/components/research/NetworkVisualization.stories.tsx:424`
  — `targetIdx = Math.floor(Math.random() * nodes.length);`
- `apps/lilith/web/src/components/research/NetworkVisualization.stories.tsx:432`
  — `Math.floor(Math.random() * 4)`
- `apps/lilith/web/src/components/topics/TopicWordCloud.tsx:155` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `apps/lilith/web/src/components/ui/Skeleton.tsx:341` — `width={`${60 +
  Math.random() \* 40}%`}`
- `apps/lilith/web/src/components/ui/scroll-area.stories.tsx:75` —
  `{Math.floor(Math.random() * 60)} min`
- `apps/lilith/web/src/design-system/typography/textRendering.ts:391` —
  `if (Math.random() < 0.3) {`
- `apps/lilith/web/src/features/veilborn/EchoesOfFateEngine.ts:829` —
  `const roll = Math.random();`
- `apps/lilith/web/src/features/veilborn/EchoesOfFateEngine.ts:835` —
  `const roll = Math.random();`
- `apps/lilith/web/src/hooks/use-advanced-audio.ts:262` —
  `const noise = (Math.random() * 2 - 1) * decay * wetness;`
- `apps/lilith/web/src/hooks/use-audio-streaming.ts:124` —
  `data[i] = (Math.random() * 2 - 1) * decay * 0.3;`
- `apps/lilith/web/src/lib/advanced-audio-engine.ts:12247` —
  `data[i] = (Math.random() * 2 - 1) * Math.pow(1 - i / length, decay);`
- `apps/lilith/web/src/lib/api-client-mock-chat.ts:108` —
  `if (currentIndex === Math.floor(words.length / 2) && Math.random() > 0.5) {`
- `apps/lilith/web/src/lib/asmr-synth.ts:100` —
  `const noise = (Math.random() * 2 - 1) * 0.6;`
- `apps/lilith/web/src/lib/asmr-synth.ts:134` —
  `const noise = (Math.random() * 2 - 1) * 0.4;`
- `apps/lilith/web/src/lib/asmr-synth.ts:148` —
  `const noise = (Math.random() * 2 - 1) * 0.25;`
- `apps/lilith/web/src/lib/asmr-synth.ts:163` —
  `const crackle = (Math.random() * 2 - 1) * 0.8 + Math.random() * 0.2;`
- `apps/lilith/web/src/lib/binaural-beat-generator.ts:71` —
  `const noise = noiseLevel ? (Math.random() * 2 - 1) * noiseLevel : 0;`
- `apps/lilith/web/src/lib/biometric-hardware-adapter.ts:50` —
  `eeg: [Math.random(), Math.random(), Math.random(), Math.random()],`
- `apps/lilith/web/src/lib/biometric-hardware-adapter.ts:51` —
  `heartRate: 60 + Math.random() * 20,`
- `apps/lilith/web/src/lib/biometric-hardware-adapter.ts:52` —
  `gsr: 1 + Math.random() * 10,`
- `apps/lilith/web/src/lib/biometric-hardware-adapter.ts:53` —
  `breath: 12 + Math.random() * 4,`
- `apps/lilith/web/src/lib/content-browser-3d.ts:457` —
  `positions[i * 3 + 1] = Math.random() * 20;`
- `apps/lilith/web/src/lib/persona-avatar-accessories.ts:94` —
  `const crystalGeometry = new THREE.OctahedronGeometry(0.03 + Math.random() * 0.02, 0);`
- `apps/lilith/web/src/lib/persona-avatar-accessories.ts:106` —
  `0.4 + Math.random() * 0.1`
- `apps/lilith/web/src/lib/persona-avatar-aura.ts:17` —
  `const radius = 0.5 + Math.random() * 0.3;`
- `apps/lilith/web/src/lib/spatial-audio-3d.ts:504` — `Math.random() * 20 + 5,`
- `apps/lilith/web/src/services/CrossDeviceHandoffManager.ts:1000` —
  `channelData[i] = (Math.random() * 2 - 1) * Math.pow(1 - i / length, 2);`
- `apps/maat/agent-console/src/lib/agent-data.ts:669` —
  `successRatePct: 94 + Math.random() * 6,`
- `apps/maat/agent-console/src/lib/agent-data.ts:670` —
  `avgLatencyMs: 2_400 + Math.random() * 800,`
- `apps/maat/agent-console/src/lib/agent-data.ts:671` —
  `tasksCompleted: Math.floor(8 + Math.random() * 6),`
- `apps/maat/agent-console/src/lib/agent-data.ts:672` —
  `costUsd: 3.5 + Math.random() * 2,`
- `apps/maat/agent-console/src/lib/agent-data.ts:696` —
  `successRatePct: 95 + Math.random() * 4,`
- `apps/maat/agent-console/src/lib/agent-data.ts:697` —
  `avgLatencyMs: 10_000 + Math.random() * 4_000,`
- `apps/maat/agent-console/src/lib/agent-data.ts:698` —
  `tasksCompleted: Math.floor(2 + Math.random() * 3),`
- `apps/maat/agent-console/src/lib/agent-data.ts:699` —
  `costUsd: 2.2 + Math.random() * 1.8,`
- `apps/metis/admin/src/components/DataTable.tsx:154` —
  `key={String(row[keyField] ?? Math.random())}`
- `apps/metis/web/src/app/assessments/[assessmentId]/page.tsx:899` —
  `const swapIndex = Math.floor(Math.random() * (index + 1));`
- `apps/nyx/education/challenges/orbital-mechanics/src/challenge-service.ts:218`
  —
  `const challengeType = config.types[Math.floor(Math.random() * config.types.length)];`
- `apps/nyx/education/challenges/orbital-mechanics/src/challenge-service.ts:242`
  —
  `? config.centralBodies[Math.floor(Math.random() * config.centralBodies.length)]`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:210`
  — `Math.floor(Math.random() * 5)`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:216`
  — `Math.floor(Math.random() * (OUTER_PLANETS.length + INNER_PLANETS.length))`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:282`
  — `const calculatePeriod = Math.random() < 0.5;`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:379`
  —
  `const planet = OUTER_PLANETS[Math.floor(Math.random() * Math.min(3, OUTER_PLANETS.length))];`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:455`
  — `const questionType = Math.random() < 0.5 ? 'longest' : 'shortest';`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:511`
  —
  `const orderingType = Math.random() < 0.5 ? 'orbital_period' : 'orbital_velocity';`
- `apps/nyx/education/challenges/orbital-mechanics/src/conjunction-prediction.ts:684`
  — `return min + Math.random() * (max - min);`
- `apps/nyx/education/challenges/orbital-mechanics/src/escape-velocity.ts:361` —
  `calculateProperty = Math.random() < 0.5 ? 'totalDeltaV' : 'transferTime';`
- `apps/nyx/education/challenges/orbital-mechanics/src/escape-velocity.ts:468` —
  `const questionType = Math.random() < 0.5 ? 'highest' : 'lowest';`
- `apps/nyx/education/challenges/orbital-mechanics/src/escape-velocity.ts:638` —
  `return min + Math.random() * (max - min);`
- `apps/nyx/education/challenges/orbital-mechanics/src/orbit-classification.ts:222`
  — `return min + Math.random() * (max - min);`
- `apps/nyx/education/challenges/orbital-mechanics/src/orbit-classification.ts:251`
  — `const orbitTypeRoll = Math.random();`
- `apps/nyx/education/challenges/star-identification/src/constellations.ts:2083`
  —
  `intermediate: { showNeighbors: true, showStarNames: false, rotation: Math.random() * 30 - 15 },`
- `apps/nyx/education/challenges/star-identification/src/constellations.ts:2084`
  —
  `advanced: { showNeighbors: false, showStarNames: false, rotation: Math.random() * 60 - 30 },`
- `apps/nyx/education/challenges/star-identification/src/constellations.ts:2085`
  —
  `expert: { showNeighbors: false, showStarNames: false, rotation: Math.random() * 180 },`
- `apps/nyx/education/challenges/star-identification/src/coordinate-pointing.ts:201`
  — `ra: Math.random() * 360,`
- `apps/nyx/education/challenges/star-identification/src/coordinate-pointing.ts:202`
  — `dec: Math.random() * 180 - 90,`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:139` —
  `const ra = Math.random() * 360;`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:141` —
  `const dec = (Math.acos(2 * Math.random() - 1) - Math.PI / 2) * (180 / Math.PI);`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:145` —
  `const magRandom = Math.random();`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:150` —
  `const tempBase = 3000 + Math.random() * 7000;`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:188` —
  `let random = Math.random() * totalWeight;`
- `apps/nyx/vr-planetarium/src/dome/star-dome.ts:249` —
  `twinklePhases[i] = Math.random() * Math.PI * 2;`
- `apps/nyx/vr-planetarium/src/scenes/PlanetariumScene.tsx:210` —
  `const phi = Math.acos(2 * Math.random() - 1);`
- `apps/nyx/vr-planetarium/src/scenes/PlanetariumScene.tsx:215` —
  `const magnitude = -1.5 + Math.pow(Math.random(), 0.5) * 8;`
- `apps/nyx/vr-planetarium/src/scenes/PlanetariumScene.tsx:220` —
  `const r = Math.random();`
- `apps/oshun/bff/src/admin/state.ts:29613` —
  `const random = Math.floor(Math.random() * 1e10)`
- `apps/oshun/mobile/src/network/http-client.ts:134` —
  `const jitterMs = Math.floor(Math.random() * 100);`
- `apps/oshun/web/src/components/activity/ActivityDashboard.tsx:2022` —
  `const x = Math.random() * 200 - 100;`
- `apps/oshun/web/src/components/activity/ActivityDashboard.tsx:2023` —
  `const y = Math.random() * -150 - 50;`
- `apps/oshun/web/src/components/activity/ActivityDashboard.tsx:2024` —
  `const r = Math.random() * 720;`
- `apps/oshun/web/src/components/activity/ActivityDashboard.tsx:2025` —
  `const delay = Math.random() * 0.3;`
- `apps/oshun/web/src/components/activity/ActivityDashboard.tsx:2038` —
  `borderRadius: Math.random() > 0.5 ? tokens.radii.full : '1px',`
- `apps/oshun/web/src/components/assistant/AssistantPanel.tsx:1482` —
  `progress += Math.random() * 30 + 10;`
- `apps/oshun/web/src/components/assistant/AssistantPanel.tsx:1675` —
  `const bars = Array.from({ length: 12 }, () => Math.random() * 24 + 4);`
- `apps/oshun/web/src/components/domains/arete/AreteBalance.tsx:451` —
  `const dist = 40 + Math.random() * 60;`
- `apps/oshun/web/src/components/domains/arete/AreteBalance.tsx:454` —
  `const size = 4 + Math.random() * 5;`
- `apps/oshun/web/src/components/domains/arete/AreteBalance.tsx:457` —
  `const delay = Math.random() * 0.3;`
- `apps/oshun/web/src/components/domains/arete/AreteBalance.tsx:465` —
  `borderRadius: Math.random() > 0.5 ? '50%' : '2px',`
- `apps/oshun/web/src/components/domains/arete/AreteCoach.tsx:875` —
  `1200 + Math.random() * 800`
- `apps/oshun/web/src/components/domains/arete/AreteGoalSystem.tsx:851` —
  `setScores((prev) => ({ ...prev, [key]: filled ? 80 + Math.floor(Math.random() * 20) : 0 }));`
- `apps/oshun/web/src/components/domains/arete/AreteGoalSystem.tsx:1645` —
  `completed: i < 7 ? Math.random() > 0.2 : false,`
- `apps/oshun/web/src/components/domains/arete/AreteGoalSystem.tsx:1650` —
  `completed: i < 7 ? Math.random() > 0.3 : false,`
- `apps/oshun/web/src/components/domains/arete/AreteGoalSystem.tsx:1655` —
  `completed: i < 7 ? Math.random() > 0.5 : false,`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:195` —
  `ccy: `${-80 - Math.random() \* 120}px`,`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:196` —
  `cr: `${Math.random() \* 720 - 360}deg`,`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:198` —
  `delay: `${Math.random() \* 0.3}s`,`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:199` —
  `size: 4 + Math.random() * 4,`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:210` —
  `history.push({ date: dateStr, done: Math.random() < completionRate });`
- `apps/oshun/web/src/components/domains/arete/AreteHabits.tsx:524` —
  `? `color-mix(in srgb, ${ACCENT} ${60 + Math.random() \* 40}%, transparent)``
- `apps/oshun/web/src/components/domains/arete/AreteJournal.tsx:261` —
  `const wordCount = 150 + Math.floor(Math.random() * 600);`
- `apps/oshun/web/src/components/domains/arete/AreteJournal.tsx:278` —
  `createdAt: Date.now() - 86400000 * i - Math.random() * 43200000,`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:312` —
  `const distance = 30 + Math.random() * 30;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:315` —
  `const rotation = Math.random() * 720 - 360;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:318` —
  `const size = 4 + Math.random() * 4;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:328` —
  `borderRadius: Math.random() > 0.5 ? '50%' : '2px',`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:362` —
  `const left = 10 + Math.random() * 80;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:363` —
  `const top = 10 + Math.random() * 80;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:365` —
  `const size = 3 + Math.random() * 3;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:366` —
  `const delay = Math.random() * 3;`
- `apps/oshun/web/src/components/domains/arete/AreteTime.tsx:367` —
  `const duration = 3 + Math.random() * 2;`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:574` —
  `top: `${10 + Math.random() \* 30}%`,`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:575` —
  `left: `${10 + Math.random() \* 80}%`,`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:576` —
  `width: 6 + Math.random() * 6,`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:577` —
  `height: 6 + Math.random() * 6,`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:578` —
  `borderRadius: Math.random() > 0.5 ? '50%' : '2px',`
- `apps/oshun/web/src/components/domains/arete/AreteVision.tsx:580` —
  `animation: `vis-confetti-fall ${0.8 + Math.random() _ 0.8}s ease-out ${i _
  0.05}s forwards`,`
- `apps/oshun/web/src/components/domains/nyx/NyxAnalysisTools.tsx:702` —
  `r={2 + Math.random() * 3}`
- `apps/oshun/web/src/components/domains/nyx/NyxCelestialEvents.tsx:460` —
  `const visiblePlanets = ['Jupiter', 'Saturn', 'Mars'].filter(() => Math.random() > 0.3);`
- `apps/oshun/web/src/components/domains/nyx/NyxLearningCenter.tsx:81` —
  `readingTimeMinutes: 5 + Math.floor(Math.random() * 10),`
- `apps/oshun/web/src/components/domains/nyx/NyxSatelliteTracker.tsx:1020` —
  `opacity={0.3 + Math.random() * 0.4}`
- `apps/oshun/web/src/components/domains/nyx/NyxSolarMonitor.tsx:209` —
  `kpIndex: Math.round(3 + Math.random() * 4),`
- `apps/oshun/web/src/components/domains/nyx/NyxSonification.tsx:1236` —
  `const mag = 2.5 + Math.random() * 3;`
- `apps/oshun/web/src/components/domains/nyx/NyxSonification.tsx:1240` —
  `x: 20 + Math.random() * 360,`
- `apps/oshun/web/src/components/domains/nyx/NyxSonification.tsx:1241` —
  `y: 20 + Math.random() * 260,`
- `apps/oshun/web/src/components/domains/nyx/NyxTelescopeControl.tsx:601` —
  `currentAltitude: 30 + Math.random() * 50,`
- `apps/oshun/web/src/components/domains/nyx/NyxTelescopeControl.tsx:602` —
  `currentAzimuth: Math.random() * 360,`
- `apps/oshun/web/src/components/domains/nyx/education/EducationDashboard.tsx:249`
  — `left: Math.random() * 100,`
- `apps/oshun/web/src/components/domains/nyx/education/EducationDashboard.tsx:250`
  — `delay: Math.random() * 0.5,`
- `apps/oshun/web/src/components/domains/nyx/education/EducationDashboard.tsx:251`
  — `size: 4 + Math.random() * 6,`
- `apps/oshun/web/src/components/domains/nyx/education/EducationDashboard.tsx:253`
  — `duration: 1 + Math.random() * 1.5,`
- `apps/oshun/web/src/components/domains/nyx/solar-activity/data/solar-simulation.ts:522`
  — `if (dist <= 3) prob = 90 + Math.round(Math.random() * 10);`
- `apps/oshun/web/src/components/domains/nyx/solar-activity/data/solar-simulation.ts:523`
  — `else if (dist <= 8) prob = 60 + Math.round(Math.random() * 15);`
- `apps/oshun/web/src/components/domains/nyx/solar-activity/data/solar-simulation.ts:524`
  — `else if (dist <= 15) prob = 25 + Math.round(Math.random() * 10);`
- `apps/oshun/web/src/components/domains/nyx/solar-activity/data/solar-simulation.ts:525`
  — `else if (dist <= 22) prob = 5 + Math.round(Math.random() * 5);`
- `apps/oshun/web/src/components/domains/nyx/sonification/SonificationDashboard.tsx:58`
  — `'--bar-height': `${20 + Math.sin(i _ 0.7) _ 15 + Math.random() \* 10}px`,`
- `apps/oshun/web/src/components/domains/tara/BreathworkTimer.tsx:364` —
  `x: Math.random() * 300 - 150,`
- `apps/oshun/web/src/components/domains/tara/BreathworkTimer.tsx:365` —
  `delay: Math.random() * 0.4,`
- `apps/oshun/web/src/components/domains/tara/BreathworkTimer.tsx:366` —
  `duration: 1.5 + Math.random() * 1,`
- `apps/oshun/web/src/components/domains/tara/BreathworkTimer.tsx:367` —
  `size: 4 + Math.random() * 6,`
- `apps/oshun/web/src/components/domains/tara/BreathworkTimer.tsx:368` —
  `rotation: Math.random() * 360,`
- `apps/oshun/web/src/components/domains/tara/SessionPlayer.tsx:553` —
  `x: Math.random() * 300 - 150,`
- `apps/oshun/web/src/components/domains/tara/SessionPlayer.tsx:554` —
  `delay: Math.random() * 0.4,`
- `apps/oshun/web/src/components/domains/tara/SessionPlayer.tsx:555` —
  `duration: 1.5 + Math.random() * 1,`
- `apps/oshun/web/src/components/domains/tara/SessionPlayer.tsx:556` —
  `size: 4 + Math.random() * 6,`
- `apps/oshun/web/src/components/domains/tara/SessionPlayer.tsx:557` —
  `rotation: Math.random() * 360,`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:220` —
  `left: `${10 + Math.random() \* 80}%`,`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:221` —
  `top: `${-5 - Math.random() \* 10}%`,`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:222` —
  `width: 6 + Math.random() * 4,`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:223` —
  `height: 6 + Math.random() * 4,`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:224` —
  `borderRadius: Math.random() > 0.5 ? '50%' : '2px',`
- `apps/oshun/web/src/components/domains/tara/TaraCourseDetail.tsx:226` —
  `animation: `tcd-confetti-fall
  ${1.5 + Math.random() _ 1.5}s ease
  ${Math.random() \_ 0.5}s both`,`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:648` —
  `left: `${10 + Math.random() \* 80}%`,`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:649` —
  `top: `${-5 - Math.random() \* 10}%`,`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:650` —
  `width: 6 + Math.random() * 4,`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:651` —
  `height: 6 + Math.random() * 4,`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:652` —
  `borderRadius: Math.random() > 0.5 ? '50%' : '2px',`
- `apps/oshun/web/src/components/domains/tara/TaraCourses.tsx:654` —
  `animation: `tc-confetti-fall
  ${1.5 + Math.random() _ 1.5}s ease
  ${Math.random() \_ 0.5}s both`,`
- `apps/oshun/web/src/components/domains/tara/TaraTeacherProfile.tsx:127` —
  `rating: 4.5 + Math.round(Math.random() * 5) / 10,`
- `apps/oshun/web/src/components/domains/tara/TaraTeacherProfile.tsx:143` —
  `available: Math.random() > 0.3,`
- `apps/oshun/web/src/components/domains/veritas/VeritasArticleAnalyzer.tsx:777`
  — `const idx = Math.floor(Math.random() * SAMPLE_ARTICLES.length);`
- `apps/oshun/web/src/components/domains/veritas/VeritasClaimChecker.tsx:1937` —
  `left: 20 + Math.random() * 60,`
- `apps/oshun/web/src/components/domains/veritas/VeritasClaimChecker.tsx:1939` —
  `delay: Math.random() * 0.5,`
- `apps/oshun/web/src/components/domains/veritas/VeritasClaimChecker.tsx:1940` —
  `size: 6 + Math.random() * 8,`
- `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx:3393` —
  `const angle = Math.random() * Math.PI * 2;`
- `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx:3394` —
  `const speed = 2 + Math.random() * 5;`
- `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx:3400` —
  `size: 4 + Math.random() * 6,`
- `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx:3402` —
  `rotation: Math.random() * Math.PI * 2,`
- `apps/oshun/web/src/components/onboarding/OnboardingWizard.tsx:3405` —
  `decay: 0.008 + Math.random() * 0.012,`
- `apps/oshun/web/src/components/routines/RoutineExecutionUI.tsx:876` —
  `const cx = (Math.random() * 200 - 100).toFixed(0);`
- `apps/oshun/web/src/components/routines/RoutineExecutionUI.tsx:877` —
  `const cy = (Math.random() * -120 - 20).toFixed(0);`
- `apps/oshun/web/src/components/search/SearchResultsView.tsx:4592` —
  `width={200 + Math.random() * 200}`
- `apps/oshun/web/src/components/studio/StudioBellonaBuildTemplatesWorkspace.tsx:2374`
  — `const delta = Math.round(Math.random() * 16) - 6;`
- `apps/oshun/web/src/components/studio/StudioBellonaBuildToExportOrchestrationWorkspace.tsx:1620`
  — `const varianceSeed = Math.random() * 8 - 4;`
- `apps/oshun/web/src/components/studio/StudioBellonaBuildToExportOrchestrationWorkspace.tsx:2208`
  — `const delta = Math.floor(Math.random() * 19) - 9;`
- `apps/oshun/web/src/components/studio/StudioBellonaContentAddressableBuildCacheWorkspace.tsx:2322`
  — `const delta = Math.round(Math.random() * 14) - 5;`
- `apps/oshun/web/src/components/studio/StudioBellonaEngineSynchronizationWorkspace.tsx:1011`
  — `p95Latency: 58 + baseline * 6 + Math.floor(Math.random() * 8),`
- `apps/oshun/web/src/components/studio/StudioBellonaEngineSynchronizationWorkspace.tsx:1012`
  —
  `failureRate: Number((0.7 + baseline * 0.4 + Math.random() * 0.3).toFixed(2)),`
- `apps/oshun/web/src/components/studio/StudioBellonaEngineSynchronizationWorkspace.tsx:1013`
  — `throughputPerHour: 120 + baseline * 24 + Math.floor(Math.random() * 15),`
- `apps/oshun/web/src/components/studio/StudioBellonaEngineSynchronizationWorkspace.tsx:1014`
  —
  `costPerHour: Number((82 + baseline * 4.5 + Math.random() * 3.2).toFixed(2)),`
- `apps/oshun/web/src/components/studio/StudioBellonaEngineSynchronizationWorkspace.tsx:1934`
  — `const delta = Math.floor(Math.random() * 19) - 9;`
- `apps/oshun/web/src/components/studio/StudioBellonaExportPipelineWorkspace.tsx:1778`
  — `const varianceSeed = Math.random() * 8 - 4;`
- `apps/oshun/web/src/components/studio/StudioBellonaExportPipelineWorkspace.tsx:2145`
  — `const delta = Math.round(Math.random() * 14) - 5;`
- `apps/oshun/web/src/components/studio/StudioBellonaMetaHumanPipelineWorkspace.tsx:1479`
  — `const variance = Math.random() * 12 - 6;`
- `apps/oshun/web/src/components/studio/StudioBellonaMetaHumanPipelineWorkspace.tsx:2555`
  — `const lagDelta = Math.round(Math.random() * 18) - 6;`
- `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdLayerCompositionWorkspace.tsx:2221`
  — `const lagDelta = Math.round(Math.random() * 20) - 10;`
- `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdMaterialXWorkspace.tsx:2212`
  — `const lagDelta = Math.round(Math.random() * 20) - 10;`
- `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdStageManagementWorkspace.tsx:2402`
  — `const lagDelta = Math.round(Math.random() * 18) - 6;`
- `apps/oshun/web/src/components/studio/StudioBellonaOpenUsdVariantManagementWorkspace.tsx:2225`
  — `const lagDelta = Math.round(Math.random() * 20) - 10;`
- `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx:1091`
  — `p95Latency: 64 + baseline * 8 + Math.floor(Math.random() * 7),`
- `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx:1092`
  —
  `failureRate: Number((0.8 + baseline * 0.45 + Math.random() * 0.35).toFixed(2)),`
- `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx:1093`
  — `throughputPerHour: 88 + baseline * 22 + Math.floor(Math.random() * 14),`
- `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx:1094`
  —
  `costPerHour: Number((66 + baseline * 4.1 + Math.random() * 2.8).toFixed(2)),`
- `apps/oshun/web/src/components/studio/StudioBellonaSyncConflictResolutionWorkspace.tsx:2210`
  — `const delta = Math.floor(Math.random() * 19) - 9;`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:188` —
  `x: Math.random() * canvas.offsetWidth,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:189` —
  `y: Math.random() * canvas.offsetHeight,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:190` —
  `size: 0.5 + Math.random() * 1.5,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:191` —
  `opacity: 0.1 + Math.random() * 0.3,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:192` —
  `speed: 0.05 + Math.random() * 0.15,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:193` —
  `phase: Math.random() * Math.PI * 2,`
- `apps/oshun/web/src/components/welcome/WelcomePageView.tsx:212` —
  `star.x = Math.random() * canvas.offsetWidth;`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:163` —
  `output[i] = (Math.random() * 2 - 1) * (1 - i / bufferSize);`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:209` —
  `const speed = config.velocity * (0.5 + Math.random() * 0.5);`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:216` —
  `vy: Math.sin(angle) * speed - Math.random() * 10,`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:217` —
  `rotation: Math.random() * 360,`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:219` —
  `scale: 0.6 + Math.random() * 0.4,`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:220` —
  `color: config.colors[Math.floor(Math.random() * config.colors.length)],`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:221` —
  `shape: config.shapes[Math.floor(Math.random() * config.shapes.length)],`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:222` —
  `emoji: config.emojis[Math.floor(Math.random() * config.emojis.length)],`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:223` —
  `size: config.sizeRange[0] + Math.random() * (config.sizeRange[1] - config.sizeRange[0]),`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:225` —
  `drag: 0.02 + Math.random() * 0.03,`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:226` —
  `wobble: Math.random() * 10,`
- `apps/oshun/web/src/design-system/components/Confetti.tsx:227` —
  `wobbleSpeed: 0.05 + Math.random() * 0.1,`
- `apps/oshun/web/src/design-system/components/HabitCheckbox.tsx:55` —
  `speed: 20 + Math.random() * 30,`
- `apps/oshun/web/src/design-system/components/HabitCheckbox.tsx:56` —
  `scale: 0.4 + Math.random() * 0.6,`
- `apps/oshun/web/src/design-system/components/HabitCheckbox.tsx:58` —
  `rotation: Math.random() * 360,`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:47` —
  `const completed = Math.random() < completionRate;`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:51` —
  `frozen: !completed && Math.random() < 0.1,`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:60` —
  `const count = Math.floor(Math.random() * 9);`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:78` —
  `const entryCount = Math.random() < 0.6 ? Math.floor(Math.random() * 3) + 1 : 0;`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:82` —
  `wordCount: entryCount * (150 + Math.floor(Math.random() * 400)),`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:1712` —
  `timesUsed: Math.floor(Math.random() * 8),`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:1713` —
  `averageRating: 3.5 + Math.random() * 1.5,`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:1714` —
  `isFavorite: Math.random() < 0.1,`
- `apps/oshun/web/src/lib/arete/arete-simulation-data.ts:1973` —
  `predictedMood: 6.5 + Math.random() * 2,`
- `apps/oshun/web/src/lib/nyx/nyx-extended-simulation.ts:83` —
  `surfaceBrightness: mag + 3 + Math.random() * 2,`
- `apps/oshun/web/src/lib/nyx/nyx-extended-simulation.ts:2142` —
  `surfaceBrightness: mag + 2.5 + Math.random() * 2,`
- `apps/oshun/web/src/lib/nyx/nyx-extended-simulation.ts:2719` —
  `surfaceBrightness: mag + 2 + Math.random() * 2,`
- `apps/oshun/web/src/lib/nyx/nyx-extended-simulation.ts:3106` —
  `value: Math.round((3 + Math.sin(i * 0.8) * 2 + Math.random() * 1.5) * 10) / 10,`
- `apps/oshun/web/src/lib/nyx/nyx-extended-simulation.ts:3114` —
  `count: Math.round(140 + Math.sin(i * 0.3) * 25 + Math.random() * 15),`
- `apps/oshun/web/src/lib/nyx/nyx-renderer-simulation.ts:48` —
  `const drawCalls = 200 + Math.sin(phase * 0.7) * 50 + Math.floor(Math.random() * 20);`
- `apps/oshun/web/src/lib/nyx/nyx-renderer-simulation.ts:49` —
  `const gpuMemory = 300 + Math.sin(phase * 0.3) * 100 + Math.random() * 20;`
- `apps/oshun/web/src/lib/nyx/nyx-renderer-simulation.ts:58` —
  `cpuTimeMs: Math.round((2.5 + Math.random() * 1.5) * 100) / 100,`
- `apps/oshun/web/src/lib/nyx/nyx-renderer-simulation.ts:59` —
  `gpuTimeMs: Math.round((8 + Math.sin(phase) * 3 + Math.random() * 1.5) * 100) / 100,`
- `apps/oshun/web/src/lib/nyx/nyx-widgets-simulation.ts:615` —
  `const maxAlt = 25 + Math.round(Math.random() * 55);`
- `apps/oshun/web/src/lib/nyx/nyx-widgets-simulation.ts:616` —
  `const mag = -(1.0 + Math.random() * 2.5);`
- `apps/oshun/web/src/lib/nyx/nyx-widgets-simulation.ts:622` —
  `durationSec: 180 + Math.round(Math.random() * 240),`
- `apps/oshun/web/src/lib/nyx/nyx-widgets-simulation.ts:2238` —
  `windSpeedKmh: 8 + Math.round(Math.random() * 15),`
- `apps/oshun/web/src/lib/nyx/nyx-widgets-simulation.ts:2282` —
  `jetStreamSpeedKmh: jetStream + Math.round(Math.random() * 30),`
- `apps/oshun/web/src/lib/tara/tara-cache.ts:516` —
  `const increment = totalBytes * (0.03 + Math.random() * 0.05);`
- `apps/oshun/web/src/lib/tara/tara-cache.ts:582` —
  `const increment = dl.totalBytes * (0.03 + Math.random() * 0.05);`
- `apps/oshun/web/src/lib/veritas/veritas-simulation-data.ts:2547` —
  `agree: Math.floor(Math.random() * 200) + 50,`
- `apps/oshun/web/src/lib/veritas/veritas-simulation-data.ts:2548` —
  `disagree: Math.floor(Math.random() * 80) + 10,`
- `apps/oshun/web/src/lib/veritas/veritas-simulation-data.ts:2549` —
  `unsure: Math.floor(Math.random() * 40) + 5,`
- `apps/oshun/web/src/observability/error-monitoring.ts:186` —
  `if (Math.random() < 1 - (config.sampleRate ?? 1.0)) {`
- `apps/psyche/admin/src/app/dashboard/knowledge/upload/page.tsx:93` —
  `chunksCreated: Math.floor(Math.random() * 50) + 10,`
- `apps/psyche/admin/src/app/dashboard/knowledge/upload/page.tsx:94` —
  `embeddingsGenerated: Math.floor(Math.random() * 50) + 10,`
- `apps/psyche/admin/src/app/dashboard/knowledge/upload/page.tsx:95` —
  `processingTimeMs: Math.floor(Math.random() * 5000) + 2000,`
- `apps/psyche/admin/src/components/forms/persona/avatar-form.tsx:1012` —
  `return prev + Math.random() * 2;`
- `apps/psyche/admin/src/components/forms/persona/voice-form.tsx:289` —
  `height: `${Math.random() \* 100}%`,`
- `apps/tara/mobile/src/store/meditationStore.ts:175` —
  `playCount: Math.floor(Math.random() * 10000),`
- `apps/tara/mobile/src/store/meditationStore.ts:176` —
  `rating: 4 + Math.random(),`
- `apps/tara/mobile/src/store/meditationStore.ts:177` —
  `ratingCount: Math.floor(Math.random() * 500),`
- `apps/tara/mobile/src/store/meditationStore.ts:178` —
  `createdAt: new Date(Date.now() - Math.random() * 365 * 24 * 60 * 60 * 1000).toISOString(),`
- `apps/tara/web/src/app/[locale]/(app)/progress/page.tsx:137` —
  `if (Math.random() < 0.6) {`
- `apps/tara/web/src/app/[locale]/(app)/progress/page.tsx:138` —
  `const sessions = Math.random() < 0.8 ? 1 : 2; // 20% chance of 2 sessions`
- `apps/tara/web/src/app/[locale]/(app)/progress/page.tsx:139` —
  `const minutes = Math.floor(Math.random() * 40) + 10; // 10-50 minutes`
- `apps/tara/web/src/app/[locale]/(app)/progress/page.tsx:152` —
  `minutes: Math.floor(Math.random() * 30) + 15,`
- `apps/tara/web/src/lib/utils.ts:123` —
  `result += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/veritas/api/src/domain/ad-networks.ts:1021` —
  `correlator: Math.floor(Math.random() * 1_000_000_000),`
- `apps/veritas/api/src/domain/sandbox.ts:1010` —
  `if (config.errorRate && Math.random() < config.errorRate) {`
- `apps/veritas/api/src/interfaces/http/middleware/rateLimit.ts:90` —
  `pipeline.zadd(key, now, `${now}:${Math.random()}`);`
- `apps/veritas/mobile/app/(tabs)/watch.tsx:489` —
  `likes: Math.floor(Math.random() * 50000) + 1000,`
- `apps/veritas/mobile/app/(tabs)/watch.tsx:490` —
  `comments: Math.floor(Math.random() * 5000) + 100,`
- `apps/veritas/mobile/app/(tabs)/watch.tsx:491` —
  `shares: Math.floor(Math.random() * 2000) + 50,`
- `apps/veritas/mobile/src/stores/player-store.ts:471` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `apps/veritas/nlp/src/services/base/helpers.ts:195` —
  `const r = (Math.random() * 16) | 0;`
- `apps/veritas/social/src/services/instagram-stories-automation.ts:676` —
  `Math.floor(Math.random() * IG_STORY_HOOK_TEMPLATES.length)`
- `apps/veritas/social/src/services/instagram-stories-automation.ts:682` —
  `Math.floor(Math.random() * IG_STORY_CTA_TEMPLATES.length)`
- `apps/veritas/social/src/services/instagram-stories-automation.ts:1025` —
  `Math.random() < 0.5`
- `apps/veritas/video/src/services/advertising/ad-service.ts:1039` —
  `const random = Math.random() * 100;`
- `apps/veritas/video/src/services/advertising/youtube-monetization.ts:1034` —
  `currentPosition += minInterval + Math.floor(Math.random() * 120); // 2-4 minute intervals`
- `apps/veritas/video/src/services/broll/prompt-generator.ts:361` —
  `return Math.random() > 0.5 ? 'aerial' : 'panning';`
- `apps/veritas/video/src/services/broll/prompt-generator.ts:365` —
  `return Math.random() > 0.5 ? 'slow_motion' : 'tracking';`
- `apps/veritas/video/src/services/broll/prompt-generator.ts:367` —
  `return Math.random() > 0.5 ? 'zoom' : 'static';`
- `apps/veritas/video/src/services/live-stream.ts:1095` —
  `viewerCount = Math.max(0, viewerCount + Math.floor(Math.random() * 10) - 5);`
- `apps/veritas/video/src/services/payments/premium-features.ts:750` —
  `const random = Math.random() * 100;`
- `apps/veritas/video/src/services/podcast/discussion-generator.ts:468` —
  `topic.keyPoints?.[Math.floor(Math.random() * (topic.keyPoints?.length ?? 1))] ??`
- `apps/veritas/video/src/services/podcast/personas.ts:512` —
  `return persona.verbalHabits[Math.floor(Math.random() * persona.verbalHabits.length)];`
- `apps/veritas/video/src/services/video-script.ts:390` —
  `const randomIndex = Math.floor(Math.random() * intro.length);`
- `apps/veritas/video/src/services/video-script.ts:404` —
  `const randomIndex = Math.floor(Math.random() * outro.length);`
- `apps/veritas/web/src/components/Skeleton/SkeletonNavigation.tsx:103` —
  `width={60 + Math.random() * 40}`
- `apps/veritas/web/src/components/Skeleton/SkeletonNavigation.tsx:168` —
  `width={80 + Math.random() * 60}`
- `apps/veritas/web/src/components/Skeleton/SkeletonNavigation.tsx:226` —
  `width={50 + Math.random() * 50}`
- `apps/veritas/web/src/components/Skeleton/SkeletonNavigation.tsx:249` —
  `width={60 + Math.random() * 40}`
- `apps/yemaya/api/src/middleware/rate-limit.ts:229` —
  `pipeline.zadd(fullKey, now + i, `${now}-${Math.random()}`);`
- `apps/yemaya/api/src/middleware/rate-limit.ts:621` —
  `pipeline.zadd(fullKey, now, `${now}-${Math.random()}`);`
- `apps/yemaya/api/src/middleware/rate-limit.ts:1236` —
  `pipeline.zadd(burstKey, Date.now(), `${Date.now()}-${Math.random()}`);`
- `apps/yemaya/api/src/routes/auth.ts:435` —
  `suggestions.push(`${cleanBase}${Math.floor(Math.random() \* 100)}`);`
- `apps/yemaya/api/src/routes/auth.ts:436` —
  `suggestions.push(`${cleanBase}_${Math.floor(Math.random() \* 1000)}`);`
- `apps/yemaya/api/src/services/schedule-export.ts:1809` —
  `token += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/yemaya/api/src/services/schedule-export.ts:1821` —
  `code += chars.charAt(Math.floor(Math.random() * chars.length));`
- `apps/yemaya/studio-desktop/makers/maker-dmg.ts:254` —
  `const r = (Math.random() * 16) | 0;`
- `apps/yemaya/studio-desktop/makers/maker-pkg.ts:271` —
  `const r = (Math.random() * 16) | 0;`
- `apps/yemaya/studio-desktop/src/main/file-lock.ts:155` —
  `.update(`${process.pid}-${Date.now()}-${Math.random()}`)`
- `apps/yemaya/studio-desktop/src/main/update-analytics.ts:130` —
  `.update(Date.now().toString() + Math.random().toString())`
- `apps/yemaya/studio-web/src/lib/routeAnalytics.ts:187` —
  `isSampled = Math.random() < config.sampleRate;`
- `docs/training/examples/comfyui-examples.ts:110` —
  `seed: Math.floor(Math.random() * 2147483647),`
- `libs/aglaea/events/src/consumer.ts:23` —
  `const r = (Math.random() * 16) | 0;`
- `libs/aglaea/events/src/helpers.ts:23` — `const r = (Math.random() * 16) | 0;`
- `libs/aglaea/inspiration-feed/src/feed-algorithms.ts:457` —
  `const rng = seed !== undefined ? createSeededRandom(seed) : Math.random;`
- `libs/aglaea/inspiration-feed/src/implementation.ts:492` —
  `Math.random() < preferences.discoveryOpenness * 0.3);`
- `libs/aglaea/personal-shopper-ai/src/response-generator.ts:1361` —
  `score += Math.random() * 0.5;`
- `libs/aglaea/testing/src/chaos.ts:52` — `this._rng = Math.random;`
- `libs/aglaea/virtual-tryon-accessories/src/material-rendering.ts:696` —
  `size: 0.03 + Math.random() * 0.07 * (1 + dispersionFactor * 5),`
- `libs/aglaea/virtual-tryon-fashion/src/garment-visualization.ts:800` —
  `const depth = (1 - stiffness) * 0.5 * (0.5 + Math.random() * 0.5);`
- `libs/airmid/docking/src/molecular-docking.ts:793` —
  `indices.add(Math.floor(Math.random() * atoms.length));`
- `libs/airmid/docking/src/qsar-modeling.ts:633` —
  `const idx = Math.floor(Math.random() * nSamples);`
- `libs/airmid/docking/src/qsar-modeling.ts:815` —
  `const j = i + Math.floor(Math.random() * (n - i));`
- `libs/airmid/docking/src/qsar-modeling.ts:958` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/airmid/ml/src/explainable-ai.ts:226` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/airmid/ml/src/graph-neural-networks.ts:611` —
  `const vec = Array.from({ length: dim }, () => (Math.random() * 2 - 1) * scale);`
- `libs/airmid/ml/src/graph-neural-networks.ts:695` —
  `const corruptHead = Math.random() < 0.5;`
- `libs/aja/avatar-preview-ui/src/hooks/useABTest.ts:157` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aja/depth-sensing/src/sensor-driver.ts:356` —
  `depthData[idx] = Math.round(depth + Math.random() * 10);`
- `libs/aja/depth-sensing/src/sensor-driver.ts:359` —
  `depthData[idx] = Math.round(3.0 / depthScale + Math.random() * 50);`
- `libs/aja/depth-sensing/src/sensor-driver.ts:393` —
  `colorData[i] = 128 + Math.floor(Math.random() * 64); // R`
- `libs/aja/depth-sensing/src/sensor-driver.ts:394` —
  `colorData[i + 1] = 100 + Math.floor(Math.random() * 64); // G`
- `libs/aja/depth-sensing/src/sensor-driver.ts:395` —
  `colorData[i + 2] = 80 + Math.floor(Math.random() * 64); // B`
- `libs/aja/distributed-workers/src/fault-tolerance.ts:221` —
  `if (Math.random() < 0.01) {`
- `libs/aja/fitness-animation/src/secondary/secondary-motion.ts:440` —
  `hairLength * (0.8 + Math.random() * 0.4),`
- `libs/aja/fitness-animation/src/secondary/secondary-motion.ts:444` —
  `stiffness: 0.6 + Math.random() * 0.3,`
- `libs/aja/fitness-animation/src/secondary/secondary-motion.ts:445` —
  `damping: 0.92 + Math.random() * 0.05,`
- `libs/aja/fitness-animation/src/secondary/secondary-motion.ts:446` —
  `windInfluence: 0.8 + Math.random() * 0.4,`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:794` —
  `const jointConfidences = mesh.joints.map(() => 0.9 + Math.random() * 0.1);`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:969` —
  `const jointConfidences = mesh.joints.map(() => 0.88 + Math.random() * 0.12);`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:1179` —
  `jointConfidences: mesh.joints.map(() => 0.85 + Math.random() * 0.15),`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:1281` —
  `expression: new Array(10).fill(0).map(() => Math.random() * 0.3),`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:1352` —
  `jointConfidences: mesh.joints.map(() => 0.9 + Math.random() * 0.1),`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:1508` —
  `jointConfidences: mesh.joints.map(() => 0.92 + Math.random() * 0.08),`
- `libs/aja/human-mesh-recovery/src/smpl-recovery.ts:1700` —
  `jointConfidences: mesh.joints.map(() => 0.88 + Math.random() * 0.12),`
- `libs/aja/motion-formats/src/fbx.ts:1337` — `id: String(Math.random()),`
- `libs/aja/motion-formats/src/fbx.ts:1467` — `id: String(Math.random()),`
- `libs/aja/motion-validation/src/edge-case-testing.ts:210` —
  `shouldOcclude = Math.random() < (options.probability ?? 0.3);`
- `libs/aja/motion-validation/src/edge-case-testing.ts:441` —
  `gapStart = Math.floor(Math.random() * (frameCount - options.frameCount));`
- `libs/aja/motion-validation/src/edge-case-testing.ts:524` —
  `location = startFrame + Math.floor(Math.random() * availableFrames);`
- `libs/aja/motion-validation/src/human-evaluation.ts:93` —
  `let currentSeed = seed ?? Math.random() * 10000;`
- `libs/aja/multi-view-reconstruction/src/calibration.ts:530` —
  `Math.max(2, contours.length || Math.floor(Math.random() * 8) + 2)`
- `libs/aja/multi-view-reconstruction/src/calibration.ts:533` —
  `const cx = 100 + i * 100 + Math.random() * 50;`
- `libs/aja/multi-view-reconstruction/src/calibration.ts:534` —
  `const cy = 100 + (i % 2) * 150 + Math.random() * 50;`
- `libs/aja/multi-view-reconstruction/src/calibration.ts:1716` —
  `return cameras.map(() => Math.random() * 2);`
- `libs/aja/multi-view-reconstruction/src/calibration.ts:1760` —
  `const idx = Math.floor(Math.random() * max);`
- `libs/aja/multi-view-reconstruction/src/triangulation.ts:1042` —
  `const idx = Math.floor(Math.random() * max);`
- `libs/aja/neural-retargeting/src/networks/transformer.ts:640` —
  `if (Math.random() < maskRatio) {`
- `libs/aja/pose-lifting/src/camera-estimation.ts:642` —
  `const idx = Math.floor(Math.random() * max);`
- `libs/aphrodite/advanced-music/src/generative-ambient-types.ts:617` —
  `randomSource: () => Math.random(),`
- `libs/aphrodite/advanced-music/src/world-music/world-music-types.ts:1003` —
  `randomSource: () => Math.random(),`
- `libs/aphrodite/agent-platform/src/data/pipeline.ts:449` —
  `value: Math.round(Math.random() * 1000) / 10,`
- `libs/aphrodite/agent-platform/src/monitoring/training-pipeline.ts:416` —
  `this._rng = config.splitSeed !== undefined ? createMulberry32(config.splitSeed) : Math.random;`
- `libs/aphrodite/agent-platform/src/monitoring/training-pipeline.ts:792` —
  `customMetrics.set(name, accuracy * (0.8 + Math.random() * 0.2));`
- `libs/aphrodite/agent-platform/src/testing/simulation-framework.ts:389` —
  `if (effectiveFailureRate > 0 && Math.random() < effectiveFailureRate) {`
- `libs/aphrodite/agent-platform/src/testing/simulation-framework.ts:426` —
  `if (effectiveFailureRate > 0 && Math.random() < effectiveFailureRate) {`
- `libs/aphrodite/ai-assistant/src/afk-responder.ts:544` —
  `if (Math.random() > 0.7) {`
- `libs/aphrodite/ai-assistant/src/afk-responder.ts:554` — `Math.random() > 0.5`
- `libs/aphrodite/ai-assistant/src/afk-responder.ts:733` —
  `return min + Math.random() * (max - min);`
- `libs/aphrodite/ai-assistant/src/question-answerer.ts:761` —
  `if (style.catchphrases.length > 0 && Math.random() < 0.2) {`
- `libs/aphrodite/ai-assistant/src/question-answerer.ts:762` —
  `const catchphrase = style.catchphrases[Math.floor(Math.random() * style.catchphrases.length)];`
- `libs/aphrodite/ai-assistant/src/question-answerer.ts:807` —
  `if (Math.random() < 0.3) {`
- `libs/aphrodite/ai-assistant/src/question-answerer.ts:816` —
  `if (viewer.displayName && Math.random() < 0.4) {`
- `libs/aphrodite/ai-assistant/src/question-answerer.ts:818` —
  `if (Math.random() < 0.5) {`
- `libs/aphrodite/ai-music/src/variation.ts:503` —
  `const offset = Math.random() > 0.5 ? 4 : 3;`
- `libs/aphrodite/analytics/src/events/index.ts:137` —
  `if (this.config.samplingRate < 1.0 && Math.random() > this.config.samplingRate) {`
- `libs/aphrodite/animation-triggers/src/trigger-evaluator.ts:69` —
  `return Math.random();`
- `libs/aphrodite/animation-triggers/src/trigger-evaluator.ts:275` —
  `return Math.random() < chance;`
- `libs/aphrodite/ar-overlays/src/index.ts:354` —
  `quality: 0.8 + Math.random() * 0.2,`
- `libs/aphrodite/arousal-engine/src/desire-types.ts:456` —
  `randomSource: () => Math.random(),`
- `libs/aphrodite/arousal-engine/src/simulator-types.ts:744` —
  `randomSource: () => Math.random(),`
- `libs/aphrodite/auteur-camera/src/auteur-camera.ts:1058` —
  `if (Math.random() < this.config.shotChangeProbability) {`
- `libs/aphrodite/auteur-camera/src/montage.ts:141` —
  `let r = Math.random() * totalWeight;`
- `libs/aphrodite/auteur-camera/src/montage.ts:574` —
  `let r = Math.random() * totalWeight;`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:426`
  — `Math.floor(Math.random() * 16777215)`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:434`
  — `height: 0.85 + Math.random() * 0.3,`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:435`
  — `shoulderWidth: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:436`
  — `hipWidth: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:437`
  — `chestSize: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:438`
  — `waistSize: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:439`
  — `legLength: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:440`
  — `armLength: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:441`
  — `muscleDefinition: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/components/AvatarCustomizationPanel.tsx:442`
  — `bodyFat: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:549`
  — `Math.floor(Math.random() * 16777215)`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:557`
  — `height: 0.85 + Math.random() * 0.3,`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:558`
  — `shoulderWidth: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:559`
  — `hipWidth: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:560`
  — `chestSize: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:561`
  — `waistSize: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:562`
  — `legLength: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:563`
  — `armLength: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:564`
  — `muscleDefinition: Math.random(),`
- `libs/aphrodite/avatar-customization-ui/src/hooks/useAvatarCustomization.ts:565`
  — `bodyFat: Math.random(),`
- `libs/aphrodite/avatar-physics/src/wind-system.ts:243` —
  `return baseInterval * (0.5 + Math.random());`
- `libs/aphrodite/biometric-engine/src/bluetooth/bluetooth.ts:416` —
  `Math.random() < this.dataConfig.disconnectProbability`
- `libs/aphrodite/biometric-engine/src/gsr/gsr.ts:635` —
  `const interval = -meanInterval * Math.log(Math.max(0.001, Math.random()));`
- `libs/aphrodite/biometric-engine/src/gsr/gsr.ts:683` —
  `const amplitude = this.config.scrAmplitude * (0.5 + Math.random()); // Random amplitude variation`
- `libs/aphrodite/biometric-engine/src/mediapipe/mediapipe.ts:1083` —
  `visibility: 0.95 + Math.random() * 0.05,`
- `libs/aphrodite/biometric-engine/src/microphone/microphone.ts:870` —
  `samples.push((Math.random() * 2 - 1) * amplitude);`
- `libs/aphrodite/biometric-engine/src/microphone/microphone.ts:881` —
  `return samples.map((s) => s + (Math.random() * 2 - 1) * clampedLevel);`
- `libs/aphrodite/biometric-engine/src/websocket/websocket.ts:742` —
  `Math.random() < this.dataConfig.disconnectProbability`
- `libs/aphrodite/biometric-engine/src/websocket/websocket.ts:835` —
  `if (this.dataConfig.parseErrorRate > 0 && Math.random() < this.dataConfig.parseErrorRate) {`
- `libs/aphrodite/biometric-engine/src/websocket/websocket.ts:859` —
  `quality: 0.95 - Math.random() * 0.1,`
- `libs/aphrodite/body-art/src/education/body-art-education.ts:315` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/body-art/src/patterns/custom-designer.ts:630` —
  `const seed = Math.floor(Math.random() * 10000);`
- `libs/aphrodite/ceremony/src/anointing/anointing-ritual.ts:1947` —
  `const size = sizeRange[0] + Math.random() * (sizeRange[1] - sizeRange[0]);`
- `libs/aphrodite/ceremony/src/fire/fire-capture.ts:366` —
  `flickerRate: 0.1 + Math.random() * 0.2,`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:241` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:272` —
  `revealed.add(Math.floor(Math.random() * chars.length));`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:732` —
  `const target = Math.floor(Math.random() * (max - min + 1)) + min;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:746` —
  `const target = Math.floor(Math.random() * (max - min + 1)) + min;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:767` —
  `a = Math.floor(Math.random() * maxNum) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:768` —
  `b = Math.floor(Math.random() * maxNum) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:782` —
  `a = Math.floor(Math.random() * 12) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:783` —
  `b = Math.floor(Math.random() * 12) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:789` —
  `result = Math.floor(Math.random() * 12) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:790` —
  `b = Math.floor(Math.random() * 12) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:815` —
  `const type = types[Math.floor(Math.random() * (difficulty === 'hard' ? 3 : 2))];`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:822` —
  `const start = Math.floor(Math.random() * 10) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:823` —
  `const diff = Math.floor(Math.random() * 5) + 1;`
- `libs/aphrodite/chat-entertainment/src/minigames.ts:830` —
  `const start = Math.floor(Math.random() * 3) + 2;`
- `libs/aphrodite/chat-entertainment/src/trivia.ts:440` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/chat-entertainment/src/trivia.ts:769` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/cloud-recording/src/index.ts:535` —
  `this.state.metrics.cpuUsage = 20 + Math.random() * 30;`
- `libs/aphrodite/cloud-recording/src/index.ts:536` —
  `this.state.metrics.memoryUsage = 500 + Math.random() * 200;`
- `libs/aphrodite/cloud-recording/src/index.ts:953` —
  `tierStatus.speed = `${(1 + Math.random()).toFixed(1)}x`;`
- `libs/aphrodite/cloud-recording/src/index.ts:968` —
  `const outputSize = Math.floor(Math.random() * 500000000) + 100000000;`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:411` —
  `? Math.floor(Math.random() * (minAge - 13)) + 13`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:412` —
  `: Math.floor(Math.random() * 52) + minAge;`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:415` —
  `const birthMonth = String(Math.floor(Math.random() * 12) + 1).padStart(2, '0');`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:416` —
  `const birthDay = String(Math.floor(Math.random() * 28) + 1).padStart(2, '0');`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:459` —
  `const latency = Math.round(latencyBase * multiplier * (0.8 + Math.random() * 0.4));`
- `libs/aphrodite/compliance/src/testing/compliance-test-framework.ts:593` —
  `recordCount: Math.floor(Math.random() * 1000) + 1,`
- `libs/aphrodite/content-tagging/src/content-tagger.ts:140` —
  `if (Math.random() > 0.3) {`
- `libs/aphrodite/content-tagging/src/similarity-analyzer.ts:439` —
  `createdAt: Date.now() - Math.random() * 86400000,`
- `libs/aphrodite/content-tagging/src/similarity-analyzer.ts:448` —
  `viewCount: Math.floor(Math.random() * 10000),`
- `libs/aphrodite/content-tagging/src/similarity-analyzer.ts:449` —
  `duration: Math.floor(Math.random() * 14400),`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:71` —
  `usageCount: Math.floor(Math.random() * 10000) + 1000,`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:112` —
  `usageCount: Math.floor(Math.random() * 5000) + 500,`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:146` —
  `usageCount: Math.floor(Math.random() * 8000) + 1000,`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:177` —
  `usageCount: Math.floor(Math.random() * 6000) + 800,`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:497` —
  `if (Math.random() > 0.5) {`
- `libs/aphrodite/content-tagging/src/tag-suggester.ts:507` —
  `if (Math.random() > 0.7) {`
- `libs/aphrodite/crowd-control/src/collaborative/collaborative.ts:255` —
  `let rand = Math.random() * total;`
- `libs/aphrodite/crowd-control/src/collaborative/collaborative.ts:733` —
  `const isCritical = Math.random() < CRITICAL_HIT_CHANCE;`
- `libs/aphrodite/crypto-payments/src/index.ts:247` —
  `change24h: Math.random() * 10 - 5, // Mock 24h change`
- `libs/aphrodite/crypto-payments/src/index.ts:1162` —
  `'0x' + Array.from({ length: 40 }, () => Math.floor(Math.random() * 16).toString(16)).join('');`
- `libs/aphrodite/crypto-payments/src/index.ts:1189` —
  `'0x' + Array.from({ length: 40 }, () => Math.floor(Math.random() * 16).toString(16)).join('');`
- `libs/aphrodite/crypto-payments/src/index.ts:1404` —
  `Math.floor(Math.random() * 10 * Math.pow(10, cryptoConfig.decimals))`
- `libs/aphrodite/device-protocols/src/commands/index.ts:264` —
  `const randomIntensity = Math.round(Math.random() * intensity);`
- `libs/aphrodite/device-reaction-engine/src/choreography/choreography.ts:470` —
  `const rng = seed !== undefined ? seededRandom(seed) : () => Math.random();`
- `libs/aphrodite/drone-integration/src/reconstruction/reconstruction.ts:1100` —
  `const idx = Math.floor(Math.random() * matches.length);`
- `libs/aphrodite/drone-integration/src/reconstruction/reconstruction.ts:2301` —
  `gradients[s] = totalLoss * (0.0001 + Math.random() * 0.0001);`
- `libs/aphrodite/drone-integration/src/swarm-display/swarm-display.ts:692` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/eye-tracking/src/index.ts:432` —
  `openness: 0.9 + Math.random() * 0.1,`
- `libs/aphrodite/eye-tracking/src/index.ts:439` —
  `openness: 0.9 + Math.random() * 0.1,`
- `libs/aphrodite/face-identity/src/testing/overlay-ab-testing.ts:316` —
  `const rng = seed !== undefined ? seededRandom(seed) : Math.random();`
- `libs/aphrodite/game-accessibility/src/audio/audio.ts:977` —
  `const lane = opts.lanes ? Math.floor(Math.random() * opts.lanes) : 0;`
- `libs/aphrodite/game-audio/src/sfx/sfx-system.ts:202` —
  `return min + Math.random() * (max - min);`
- `libs/aphrodite/game-audio/src/sfx/sfx-system.ts:306` —
  `const index = Math.floor(Math.random() * candidates.length);`
- `libs/aphrodite/game-event-bus/src/debug/event-debugger.ts:481` —
  `const random = Math.floor(Math.random() * 0xffff)`
- `libs/aphrodite/game-input/src/viewer-input/viewer-input-router.ts:386` —
  `const index = Math.floor(Math.random() * queue.length);`
- `libs/aphrodite/game-monetization/src/collectibles/collectibles.ts:559` —
  `if (Math.random() > chance) return null;`
- `libs/aphrodite/game-monetization/src/collectibles/collectibles.ts:586` —
  `let roll = Math.random() * totalWeight;`
- `libs/aphrodite/game-networking/src/broadcast/event-broadcaster.ts:249` —
  `const rand = Math.floor(Math.random() * 0xffffffff)`
- `libs/aphrodite/game-networking/src/matchmaking/matchmaking.ts:616` —
  `bytes[i] = Math.floor(Math.random() * 256)`
- `libs/aphrodite/game-networking/src/matchmaking/matchmaking.ts:633` —
  `bytes[i] = Math.floor(Math.random() * 256)`
- `libs/aphrodite/game-networking/src/matchmaking/matchmaking.ts:1045` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/game-networking/src/server/game-server.ts:198` —
  `bytes[i] = Math.floor(Math.random() * 256)`
- `libs/aphrodite/game-networking/src/server/game-server.ts:213` —
  `bytes[i] = Math.floor(Math.random() * 256)`
- `libs/aphrodite/game-networking/src/spectator/game-spectator.ts:570` —
  `random[i] = Math.floor(Math.random() * 256)`
- `libs/aphrodite/game-openworld/src/music/music.ts:366` —
  `velocity: phaseTheme.intensity * (0.7 + Math.random() * 0.3),`
- `libs/aphrodite/game-platformer/src/boss/boss.ts:266` —
  `const radius = 3 + Math.random() * 2;`
- `libs/aphrodite/game-platformer/src/boss/boss.ts:669` —
  `private rng: RngFn = Math.random;`
- `libs/aphrodite/game-platformer/src/collectible/collectible.ts:212` —
  `bobOffset: Math.random() * Math.PI * 2,`
- `libs/aphrodite/game-platformer/src/enemy/enemy.ts:326` —
  `const offset = (Math.random() > 0.5 ? 1 : -1) * (1.5 + Math.random() * 2);`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:329` —
  `const spread = 0.15 + Math.random() * 0.2;`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:334` —
  `0.5 + Math.random() * 0.5,`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:335` —
  `300 + Math.random() * 200,`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:337` —
  `r: 200 + Math.floor(Math.random() * 55),`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:338` —
  `g: 200 + Math.floor(Math.random() * 55),`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:339` —
  `b: 200 + Math.floor(Math.random() * 55),`
- `libs/aphrodite/game-rhythm/src/visuals/visuals.ts:347` —
  `speed: 0.3 + Math.random() * 0.7,`
- `libs/aphrodite/game-rpg/src/combat/combat.ts:224` —
  `const roll = Math.random();`
- `libs/aphrodite/game-rpg/src/combat/combat.ts:243` —
  `return Math.random() < hitChance;`
- `libs/aphrodite/game-rpg/src/combat/combat.ts:551` —
  `return Math.random() < chance;`
- `libs/aphrodite/game-rpg/src/combat/combat.ts:1027` —
  `const idx = Math.floor(Math.random() * aliveEnemies.length);`
- `libs/aphrodite/game-rpg/src/combat/combat.ts:1192` —
  `return Math.random() < fleeChance;`
- `libs/aphrodite/game-rpg/src/dialogue/dialogue.ts:441` —
  `let roll = Math.random() * totalWeight;`
- `libs/aphrodite/game-rpg/src/equipment/equipment.ts:747` —
  `let roll = Math.random() * totalWeight;`
- `libs/aphrodite/game-rpg/src/equipment/equipment.ts:754` —
  `Math.floor(Math.random() * (entry.maxQuantity - entry.minQuantity + 1));`
- `libs/aphrodite/game-rpg/src/integration/integration.ts:514` —
  `const intensity = config.burnIntensity * (0.7 + Math.random() * 0.3);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:249` —
  `const idx = Math.floor(Math.random() * alivePlayers.length);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:303` —
  `const idx = Math.floor(Math.random() * all.length);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:500` —
  `const idx = Math.floor(Math.random() * available.length);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:614` —
  `const count = encounterConfig.minMonsters + Math.floor(Math.random() * range);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:617` —
  `const hasElite = Math.random() < encounterConfig.eliteChance;`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:618` —
  `const hasMiniboss = Math.random() < encounterConfig.minibossChance;`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:625` —
  `const templateIdx = Math.floor(Math.random() * eligible.length);`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:647` —
  `Math.floor(Math.random() * (encounterConfig.levelVariance * 2 + 1)) -`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:721` —
  `return Math.random() > noEncounterChance;`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:781` —
  `if (Math.random() < adjustedChance) {`
- `libs/aphrodite/game-rpg/src/monster/monster.ts:785` —
  `const quantity = entry.minQuantity + Math.floor(Math.random() * range);`
- `libs/aphrodite/haptics/src/index.ts:156` — `return Math.random() * 2 - 1;`
- `libs/aphrodite/highlight-clipping/src/index.ts:786` —
  `if (Math.random() > 0.7) {`
- `libs/aphrodite/highlight-clipping/src/index.ts:789` —
  `value: 0.3 + Math.random() * 0.7,`
- `libs/aphrodite/highlight-clipping/src/index.ts:791` —
  `duration: 2 + Math.random() * 5,`
- `libs/aphrodite/lilith-game-bridge/src/lilith-game-bridge.ts:1120` —
  `const discoveryRoll = Math.random();`
- `libs/aphrodite/lilith-game-bridge/src/lilith-game-bridge.ts:1169` —
  `const rarity = Math.min(1, rarityBase + Math.random() * 0.3);`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:401` —
  `const radius = displayConfig.spread * (0.5 + Math.random() * 0.5);`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:413` —
  `opacity: 0.6 + Math.random() * 0.4,`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:414` —
  `scale: 0.8 + Math.random() * 0.4,`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:437` —
  `y: displayConfig.gravity * 0.5 + Math.random() * 0.5,`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:442` —
  `weight: 0.8 + Math.random() * 0.4,`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:454` —
  `const scatterAngle = Math.random() * Math.PI * 2;`
- `libs/aphrodite/literary-engine/src/calligraphy.ts:455` —
  `const scatterDist = displayConfig.spread * (1 + Math.random());`
- `libs/aphrodite/literary-engine/src/collaborative.ts:409` —
  `x = Math.random() * width;`
- `libs/aphrodite/literary-engine/src/collaborative.ts:410` —
  `y = Math.random() * height;`
- `libs/aphrodite/literary-engine/src/collaborative.ts:631` —
  `x: Math.random() * 80 + 10,`
- `libs/aphrodite/literary-engine/src/collaborative.ts:632` —
  `y: Math.random() * 80 + 10,`
- `libs/aphrodite/literary-engine/src/collaborative.ts:633` —
  `fontSize: 14 + Math.random() * 10,`
- `libs/aphrodite/literary-engine/src/collaborative.ts:634` —
  `color: `hsl(${Math.floor(Math.random() \* 360)}, 60%, 70%)`,`
- `libs/aphrodite/literary-engine/src/literary-engine.ts:1311` —
  `let r = Math.random() * totalWeight;`
- `libs/aphrodite/literary-engine/src/text-env.ts:441` —
  `const speed = 0.3 + Math.random() * 0.7;`
- `libs/aphrodite/literary-engine/src/text-env.ts:447` —
  `y: (Math.random() - 0.3) * speed,`
- `libs/aphrodite/literary-engine/src/text-env.ts:452` —
  `size: 12 + Math.random() * 8,`
- `libs/aphrodite/literary-engine/src/text-env.ts:512` —
  `y: 0.5 + Math.random() * roomSize * 0.3,`
- `libs/aphrodite/literary-engine/src/text-env.ts:517` —
  `y: Math.random() * 360,`
- `libs/aphrodite/maya-bridge/src/maya-bridge.ts:225` —
  `outputSizeBytes: Math.floor(Math.random() * 10_000_000) + 100_000,`
- `libs/aphrodite/meditation/src/body-celebration/celebration-engine.ts:491` —
  `const idx = Math.floor(Math.random() * BODY_POSITIVE_PHRASES.length);`
- `libs/aphrodite/meditation/src/body-celebration/celebration-engine.ts:495` —
  `const idx = Math.floor(Math.random() * filtered.length);`
- `libs/aphrodite/meditation/src/body-positive/body-positive.ts:236` —
  `const idx = Math.floor(Math.random() * filtered.length);`
- `libs/aphrodite/meditation/src/body-positive/body-positive.ts:241` —
  `const idx = Math.floor(Math.random() * BPOS_TEXT_AFFIRMATIONS.length);`
- `libs/aphrodite/meditation/src/body-positive/body-positive.ts:280` —
  `Math.floor(Math.random() * BPOS_MODIFICATION_CELEBRATIONS.length)`
- `libs/aphrodite/meditation/src/body-positive/body-positive.ts:286` —
  `Math.floor(Math.random() * BPOS_MODIFICATION_CELEBRATIONS.length)`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:211` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:212` —
  `const speed = 0.02 + Math.random() * 0.08;`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:213` —
  `const colorIdx = Math.floor(Math.random() * this.config.colors.length);`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:219` —
  `size: this.config.minSize + Math.random() * (this.config.maxSize - this.config.minSize),`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:220` —
  `opacity: 0.6 + Math.random() * 0.4,`
- `libs/aphrodite/meditation/src/breath-visualization/breath-viz.ts:226` —
  `lifetime: 2 + Math.random() * 4,`
- `libs/aphrodite/meditation/src/voice-guide/voice-guide.ts:1205` —
  `const simulatedLatencyMs = 50 + Math.random() * 150;`
- `libs/aphrodite/meditation/src/voice-guide/voice-guide.ts:1303` —
  `const latencyMs = 30 + Math.random() * 100;`
- `libs/aphrodite/multi-performer/src/biometrics/group-effects.ts:616` —
  `y: 50 + Math.random() * 100,`
- `libs/aphrodite/multi-performer/src/scenes/jungle-biodiversity.ts:369` —
  `const ft = type ?? selectFloraType(Math.random());`
- `libs/aphrodite/multi-performer/src/scenes/jungle-biodiversity.ts:375` —
  `scale: 0.5 + Math.random() * 1.5,`
- `libs/aphrodite/multi-performer/src/scenes/jungle-biodiversity.ts:378` —
  `ft === FloraType.BIOLUMINESCENT_MUSHROOM ? 0.8 + Math.random() * 0.2 : 0,`
- `libs/aphrodite/multi-source/src/index.ts:2359` —
  `const delay = min + Math.random() * (max - min);`
- `libs/aphrodite/multi-source/src/index.ts:2421` —
  `const randomIndex = Math.floor(Math.random() * availableSources.length);`
- `libs/aphrodite/multi-source/src/test-setup.ts:370` —
  `array[i] = Math.random() * 0.2 - 0.1;`
- `libs/aphrodite/neuro-design/src/dopamine-schedule.ts:408` —
  `if (Math.random() > config.anticipationProbability) return;`
- `libs/aphrodite/neuro-design/src/reward-system.ts:395` —
  `/** Simple LCG for deterministic "random" numbers without Math.random(). */`
- `libs/aphrodite/nft-integration/src/index.ts:1193` —
  `result.passed = Math.random() > 0.7;`
- `libs/aphrodite/notification-intelligence/src/content-personalizer.ts:489` —
  `let random = Math.random() * totalWeight;`
- `libs/aphrodite/notification-intelligence/src/timing-optimizer.ts:588` —
  `if (Math.random() < this.config.explorationRate) {`
- `libs/aphrodite/notification-intelligence/src/timing-optimizer.ts:802` —
  `const randomOffset = Math.floor(Math.random() * 120) - 60; // -60 to +60 minutes`
- `libs/aphrodite/performer-presence/src/artistic.ts:962` —
  `const usedSize = size ?? 10 + Math.random() * 15;`
- `libs/aphrodite/performer-presence/src/nature.ts:890` —
  `ripplePhase: Math.random() * Math.PI * 2,`
- `libs/aphrodite/production/src/emergency/emergency-control.ts:517` —
  `responseTimeMs: Math.floor(Math.random() * 80) + 10, // simulated sub-100ms`
- `libs/aphrodite/recommendations/src/realtime.ts:749` —
  `if (Math.random() > this.config.explorationRate) return;`
- `libs/aphrodite/recommendations/src/realtime.ts:756` —
  `const randomIndex = minPosition + Math.floor(Math.random() * (items.length - minPosition));`
- `libs/aphrodite/recommendations/src/realtime.ts:997` —
  `if (Math.random() < this.config.explorationRate && liveBroadcasters.length > 5) {`
- `libs/aphrodite/recommendations/src/realtime.ts:1000` —
  `liveBroadcasters.length * 0.7 + Math.random() * liveBroadcasters.length * 0.3`
- `libs/aphrodite/recommendations/src/realtime.ts:1002` —
  `const highIdx = Math.floor(Math.random() * 3);`
- `libs/aphrodite/recommendations/src/test-helpers.ts:304` —
  `const timestamp = new Date(Date.now() - Math.random() * daysAgo * 24 * 60 * 60 * 1000);`
- `libs/aphrodite/recommendations/src/test-helpers.ts:312` —
  `duration: type === 'watch_duration' ? Math.floor(Math.random() * 60 * 60) : undefined,`
- `libs/aphrodite/recommendations/src/test-helpers.ts:313` —
  `amount: type === 'tip' ? Math.floor(Math.random() * 100) + 10 : undefined,`
- `libs/aphrodite/revenue-sharing/src/index.ts:53` —
  `code += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/aphrodite/sacred-architecture/src/destruction-rebirth.ts:376` —
  `const speed = preset.spreadForce * (0.5 + Math.random() * 0.5);`
- `libs/aphrodite/sacred-architecture/src/destruction-rebirth.ts:381` —
  `preset.particleMinSize + Math.random() * (preset.particleMaxSize - preset.particleMinSize);`
- `libs/aphrodite/sacred-architecture/src/destruction-rebirth.ts:392` —
  `opacity: 0.8 + Math.random() * 0.2,`
- `libs/aphrodite/sacred-architecture/src/destruction-rebirth.ts:393` —
  `rotation: Math.random() * 360,`
- `libs/aphrodite/sacred-architecture/src/japanese-space.ts:443` —
  `const idx = Math.floor(Math.random() * types.length);`
- `libs/aphrodite/sacred-dance/src/devices/dance-device-profiles.ts:491` —
  `durationMs: Math.round(Math.random() * 5000 + 1000),`
- `libs/aphrodite/scene-fantasy/src/fairy-forest/fairy-forest.ts:1131` —
  `y: 0.5 + Math.random() * 1.0,`
- `libs/aphrodite/scene-fantasy/src/temple/temple.ts:409` —
  `const seed = Date.now() * 0.001 + Math.random() * 1000;`
- `libs/aphrodite/scene-fantasy/src/temple/temple.ts:519` —
  `if (Math.random() < fractional) {`
- `libs/aphrodite/scene-goddess/src/ocean/ocean.ts:407` —
  `const dist = 50 + Math.random() * 200;`
- `libs/aphrodite/scene-goddess/src/ocean/ocean.ts:459` — `Math.random() *`
- `libs/aphrodite/scene-goddess/src/ocean/ocean.ts:2089` —
  `const intensity = 0.8 + Math.random() * 0.2;`
- `libs/aphrodite/scene-nature/src/storm/storm.ts:876` —
  `const seed = Date.now() * 0.001 + Math.random() * 1000;`
- `libs/aphrodite/scene-nature/src/storm/storm.ts:980` —
  `if (Math.random() < fractional) {`
- `libs/aphrodite/scene-nature/src/underwater/underwater.ts:1125` —
  `const seed = Date.now() * 0.001 + Math.random() * 100;`
- `libs/aphrodite/scene-nature/src/underwater/underwater.ts:1231` —
  `if (Math.random() < fractionalEmit) {`
- `libs/aphrodite/scene-nature/src/volcanic/volcanic.ts:953` —
  `const seed = Date.now() * 0.001 + Math.random() * 100;`
- `libs/aphrodite/scene-nature/src/volcanic/volcanic.ts:1876` —
  `if (Math.random() < fractionalSpawn && this.lavaPools.length > 0) {`
- `libs/aphrodite/scene-nature/src/volcanic/volcanic.ts:1877` —
  `const poolIdx = Math.floor(Math.random() * this.lavaPools.length);`
- `libs/aphrodite/scene-nature/src/zen/zen.ts:327` —
  `rotation: Math.random() * Math.PI * 2,`
- `libs/aphrodite/spatial-audio/src/index.ts:1389` —
  `const noise = (Math.random() * 2 - 1) * config.density;`
- `libs/aphrodite/stream-upscaling/src/index.ts:859` —
  `const variance = Math.random() * 7_000_000; // 0-7 Mbps variance`
- `libs/aphrodite/stream-upscaling/src/index.ts:888` —
  `packetLossPercent: Math.random() * 2, // Simulated`
- `libs/aphrodite/stream-upscaling/src/index.ts:889` —
  `rttMs: 20 + Math.random() * 30, // Simulated 20-50ms`
- `libs/aphrodite/stream-upscaling/src/index.ts:890` —
  `jitterMs: Math.random() * 10, // Simulated`
- `libs/aphrodite/stream-watermarking/src/viewer-watermark.ts:177` —
  `spatialSeed: Math.floor(Math.random() * 0xffffffff),`
- `libs/aphrodite/symbol-engine/src/dream-logic.ts:19` —
  `if (seed === undefined) return () => Math.random();`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:367` —
  `const edgeDist = 0.5 + Math.random() * 0.5;`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:371` —
  `const maxLifetime = 1 + Math.random() * 2;`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:375` —
  `x: Math.cos(angle) * speed * (0.5 + Math.random() * 0.5),`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:376` —
  `y: Math.sin(angle) * speed * (0.5 + Math.random() * 0.5) - speed * 0.3,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:378` —
  `size: 2 + Math.random() * 4,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:379` —
  `opacity: 0.8 + Math.random() * 0.2,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:381` —
  `0.85 + Math.random() * 0.15,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:382` —
  `0.7 + Math.random() * 0.2,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:383` —
  `0.2 + Math.random() * 0.3,`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:579` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/aphrodite/symbol-engine/src/tarot-overlay.ts:638` —
  `Math.random() < config.reversalProbability`
- `libs/aphrodite/symbol-engine/src/tarot.ts:783` —
  `return () => Math.random();`
- `libs/aphrodite/technical-direction/src/ai-camera/ai-camera-direction.ts:443`
  —
  `const latencyMs = Math.round(Math.random() * this.config.maxDecisionLatencyMs);`
- `libs/aphrodite/tip-acknowledgment/src/thank-you-messages.ts:822` —
  `let random = Math.random() * totalWeight;`
- `libs/aphrodite/tip-acknowledgment/src/thank-you-messages.ts:847` —
  `return Math.random() < 0.1;`
- `libs/aphrodite/tip-acknowledgment/src/thank-you-messages.ts:849` —
  `return Math.random() < 0.3;`
- `libs/aphrodite/tip-acknowledgment/src/thank-you-messages.ts:851` —
  `return Math.random() < 0.6;`
- `libs/aphrodite/tip-effects/src/index.ts:154` —
  `return min + Math.random() * (max - min);`
- `libs/aphrodite/tip-effects/src/index.ts:346` —
  `rotation: Math.random() * Math.PI * 2,`
- `libs/aphrodite/tip-effects/src/index.ts:544` —
  `if (Math.random() < finaleProgress * this.config.finaleIntensity * deltaTime * 5) {`
- `libs/aphrodite/tip-effects/src/index.ts:597` —
  `crackleEffect: Math.random() > 0.7,`
- `libs/aphrodite/tip-effects/src/index.ts:598` —
  `flashEffect: Math.random() > 0.5,`
- `libs/aphrodite/tip-effects/src/index.ts:711` —
  `const willowAngle = Math.random() * Math.PI * 2;`
- `libs/aphrodite/tip-effects/src/index.ts:712` —
  `const willowElevation = Math.random() * Math.PI * 0.4 + 0.1;`
- `libs/aphrodite/tip-effects/src/index.ts:724` —
  `const theta = Math.acos(2 * Math.random() - 1);`
- `libs/aphrodite/tip-effects/src/index.ts:725` —
  `const speed = config.burstRadius * (3 + Math.random() * 2);`
- `libs/aphrodite/tip-effects/src/index.ts:746` —
  `maxLifetime: Math.max(0.1, config.fadeTime) + 2 + Math.random() * 0.5,`
- `libs/aphrodite/tip-effects/src/index.ts:806` —
  `if (shell.config.crackleEffect && Math.random() < 0.01) {`
- `libs/aphrodite/tip-effects/src/index.ts:2018` —
  `crackleEffect: Math.random() > 0.6,`
- `libs/aphrodite/tip-effects/src/index.ts:2019` —
  `flashEffect: Math.random() > 0.5,`
- `libs/aphrodite/tip-effects/src/index.ts:2022` —
  `launchTime: i * 0.5 + Math.random() * 0.3,`
- `libs/aphrodite/vfx-particles/src/physics.ts:1559` —
  `const r = Math.random() * flockConfig.boundaryRadius * 0.5;`
- `libs/aphrodite/virtual-gifts/src/index.ts:158` —
  `x: min.x + Math.random() * (max.x - min.x),`
- `libs/aphrodite/virtual-gifts/src/index.ts:159` —
  `y: min.y + Math.random() * (max.y - min.y),`
- `libs/aphrodite/virtual-gifts/src/index.ts:160` —
  `z: min.z + Math.random() * (max.z - min.z),`
- `libs/aphrodite/virtual-gifts/src/index.ts:735` —
  `Math.floor(Math.random() * this.config.giftDefinitionIds.length)`
- `libs/aphrodite/virtual-gifts/src/index.ts:749` —
  `rotation: Math.random() * Math.PI * 2,`
- `libs/aphrodite/virtual-gifts/src/index.ts:1049` — `y: 1 + Math.random() * 2,`
- `libs/aphrodite/virtual-gifts/src/index.ts:1050` — `z: 1 + Math.random() * 2,`
- `libs/aphrodite/vod-chaptering/src/index.ts:273` —
  `const frameDiff = Math.random();`
- `libs/aphrodite/vod-chaptering/src/index.ts:279` —
  `histogramDifference: Math.random() * 0.5,`
- `libs/aphrodite/vod-chaptering/src/index.ts:280` —
  `motionMagnitude: Math.random(),`
- `libs/aphrodite/vod-chaptering/src/index.ts:300` —
  `level: -30 + Math.random() * 40,`
- `libs/aphrodite/vod-chaptering/src/index.ts:301` —
  `isSpeech: Math.random() > 0.3,`
- `libs/aphrodite/vod-chaptering/src/index.ts:302` —
  `isMusic: Math.random() > 0.7,`
- `libs/aphrodite/vod-chaptering/src/index.ts:303` —
  `isSilence: Math.random() > 0.9,`
- `libs/aphrodite/vod-chaptering/src/index.ts:304` —
  `speakerChange: Math.random() > 0.85,`
- `libs/aphrodite/vod-chaptering/src/index.ts:326` —
  `activityLevel: Math.random(),`
- `libs/aphrodite/vod-chaptering/src/index.ts:327` —
  `motionScore: Math.random(),`
- `libs/aphrodite/vod-chaptering/src/index.ts:328` —
  `chatActivity: Math.random(),`
- `libs/aphrodite/vod-chaptering/src/index.ts:329` —
  `reactionActivity: Math.random(),`
- `libs/aphrodite/vod-chaptering/src/index.ts:347` —
  `const segmentDuration = 30 + Math.random() * 60;`
- `libs/aphrodite/wearables/src/index.ts:1382` —
  `const numRR = Math.floor(Math.random() * 3) + 1;`
- `libs/arete/ai-coach/src/coaching.ts:263` —
  `const index = Math.floor(Math.random() * MOTIVATIONAL_QUOTES.length);`
- `libs/arete/gamification/src/accountability.ts:15` —
  `const r = (Math.random() * 16) | 0;`
- `libs/arete/gamification/src/badges.ts:15` —
  `const r = (Math.random() * 16) | 0;`
- `libs/arete/gamification/src/challenges.ts:15` —
  `const r = (Math.random() * 16) | 0;`
- `libs/arete/gamification/src/contracts.ts:15` —
  `const r = (Math.random() * 16) | 0;`
- `libs/arete/gamification/src/points.ts:44` —
  `const r = (Math.random() * 16) | 0;`
- `libs/arete/gamification/src/rewards.ts:15` —
  `const r = (Math.random() * 16) | 0;`
- `libs/asase/export/src/logistics-optimizer.ts:1441` —
  `availableSlotsTEU: Math.floor(50 + Math.random() * 200),`
- `libs/asase/supply-chain/src/delivery-proof.ts:334` —
  `const code = Math.floor(Math.random() * 10 ** OTP_CODE_LENGTH);`
- `libs/bellona/gameplay-systems/src/combat/index.ts:453` —
  `const critRoll = Math.random();`
- `libs/bellona/gameplay-systems/src/combat/index.ts:472` —
  `const dodgeRoll = Math.random();`
- `libs/bellona/gameplay-systems/src/combat/index.ts:485` —
  `const blockRoll = Math.random();`
- `libs/bellona/gameplay-systems/src/combat/index.ts:1000` —
  `if (effect.chance !== undefined && Math.random() > effect.chance) {`
- `libs/bellona/unity/src/gaussian-splatting/index.ts:2315` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:752` —
  `const r = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:753` —
  `const g = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:754` —
  `const b = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:763` —
  `const r = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:764` —
  `const g = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:765` —
  `const b = Math.random();`
- `libs/bellona/unreal/src/metahuman/appearance-editor.ts:768` —
  `waviness: Math.random(),`
- `libs/bellona/video/src/processing/index.ts:5085` —
  `lifetime: emitter.lifetime * (0.7 + Math.random() * 0.6), // 70-130% lifetime variation`
- `libs/brigid/ai-industrial/src/edge-ai.ts:1036` —
  `const replaceIdx = Math.floor(Math.random() * this.samplesProcessed);`
- `libs/brigid/ai-industrial/src/process-optim.ts:52` —
  `const u = (intervals[i] + Math.random()) / n;`
- `libs/brigid/ai-industrial/src/sota.ts:1225` —
  `if (Math.random() < this.currentEpsilon) {`
- `libs/brigid/ai-industrial/src/sota.ts:1227` —
  `const randomActionIdx = Math.floor(Math.random() * this.actionCount);`
- `libs/brigid/factory/src/communications.ts:408` —
  `Math.floor(Math.random() * 256)`
- `libs/brigid/factory/src/production.ts:630` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/brigid/factory/src/production.ts:637` —
  `const cut1 = Math.floor(Math.random() * n);`
- `libs/brigid/factory/src/production.ts:638` —
  `const cut2 = Math.floor(Math.random() * n);`
- `libs/brigid/factory/src/production.ts:646` —
  `if (Math.random() > mutationRate) return individual;`
- `libs/brigid/factory/src/production.ts:648` —
  `const i = Math.floor(Math.random() * n);`
- `libs/brigid/factory/src/production.ts:649` —
  `const j = Math.floor(Math.random() * n);`
- `libs/brigid/financials/src/portfolio-analysis.ts:551` —
  `const u = Math.random();`
- `libs/brigid/financials/src/portfolio-analysis.ts:578` —
  `const rng = seed ?? Math.random;`
- `libs/brigid/financials/src/portfolio-analysis.ts:579` —
  `const originalRandom = Math.random;`
- `libs/brigid/robotics/src/robot-programming.ts:1010` —
  `const latencyMs = Math.round(Math.random() * 5 + 1); // 1–6ms simulated latency`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:467` —
  `const i = Math.floor(Math.random() * n);`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:468` —
  `const j = Math.floor(Math.random() * n);`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:476` —
  `if (delta < 0 || Math.random() < Math.exp(-delta / temp)) {`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:526` —
  `.map(() => Math.round(Math.random())) as number[];`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:546` —
  `.map(() => Math.round(Math.random())) as number[];`
- `libs/brigid/sota-enhancements/src/digital-thread-quantum.ts:561` —
  `const solution = new Array(problem.numVariables).fill(0).map(() => Math.random()) as number[];`
- `libs/brigid/sota-enhancements/src/federated-learning.ts:79` —
  `localLoss: 0.1 + Math.random() * 0.1,`
- `libs/brigid/sota-enhancements/src/reinforcement-learning.ts:87` —
  `if (Math.random() < epsilon) {`
- `libs/brigid/sota-enhancements/src/reinforcement-learning.ts:88` —
  `return Math.floor(Math.random() * NUM_ACTIONS) as ProcessAction;`
- `libs/brigid/sota-enhancements/src/reinforcement-learning.ts:412` —
  `: Math.floor(Math.random() * 2);`
- `libs/contracts/src/llm/test-utils.ts:590` —
  `for (let i = 0; i < 16; i++) bytes[i] = Math.floor(Math.random() * 256);`
- `libs/cybele/common/src/ids.ts:29` —
  `const random = Math.floor(Math.random() * 0xffffff)`
- `libs/demeter/journal/src/insights.ts:86` —
  `const r = (Math.random() * 16) | 0;`
- `libs/demeter/journal/src/observations.ts:160` —
  `const r = (Math.random() * 16) | 0;`
- `libs/demeter/journal/src/photos.ts:63` —
  `const r = (Math.random() * 16) | 0;`
- `libs/euterpe/core/src/intervals/intervals.ts:1613` —
  `const rng = seed !== undefined ? mulberry32(seed) : () => Math.random();`
- `libs/euterpe/genesis/src/stems/stems.ts:609` —
  `return { ...note, pitch: note.pitch + (Math.random() < vary ? interval : 0) };`
- `libs/euterpe/genesis/src/voice/voice.ts:583` —
  `for (let bar = 0; bar < bars; bar += 2 + Math.floor(Math.random() * 3)) {`
- `libs/euterpe/iot/src/smart-studio/index.ts:978` —
  `result += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/euterpe/score/src/wwise/wwise.ts:556` —
  `return Math.floor(Math.random() * count);`
- `libs/euterpe/stage/src/crowd-interaction/crowd-interaction.ts:1030` —
  `const idx = Math.floor(Math.random() * fans.length);`
- `libs/euterpe/studio/src/instruments/instruments.ts:212` —
  `return Math.random() * 2 - 1;`
- `libs/euterpe/studio/src/instruments/instruments.ts:235` —
  `return Math.random() * 2 - 1;`
- `libs/euterpe/studio/src/instruments/instruments.ts:779` —
  `sample += (Math.random() * 2 - 1) * cfg.noiseLevel;`
- `libs/euterpe/studio/src/instruments/instruments.ts:1553` —
  `unisonPhases: new Array(unisonCount).fill(0).map(() => Math.random()),`
- `libs/euterpe/studio/src/instruments/instruments.ts:1950` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/euterpe/studio/src/instruments/instruments.ts:2534` —
  `delayLine[i] = (Math.random() * 2 - 1) * pickEnv * (velocity / 127);`
- `libs/euterpe/studio/src/instruments/instruments.ts:2536` —
  `delayLine[i] = i < delayLength / 2 ? (Math.random() * 2 - 1) * (velocity / 127) : 0;`
- `libs/euterpe/studio/src/instruments/instruments.ts:2539` —
  `delayLine[i] = (Math.random() * 2 - 1) * pickEnv * (velocity / 127) * 0.7;`
- `libs/euterpe/studio/src/instruments/instruments.ts:2545` —
  `delayLine[i] = (Math.random() * 2 - 1) * 0.01 * (velocity / 127);`
- `libs/euterpe/studio/src/instruments/instruments.ts:2639` —
  `const excitation = wgConfig.breathPressure * v.energy * (Math.random() * 2 - 1) * 0.01;`
- `libs/euterpe/video/src/beat-sync/index.ts:428` —
  `(beat.strength === 'medium' && Math.random() < config.onBeatBias) ||`
- `libs/freya/sota/src/nlp.ts:323` —
  `Math.floor(Math.random() * MarketingContentGenerator.AFRICAN_ELEMENTS.length)`
- `libs/hathor/client/src/helpers/quest-generation.ts:234` —
  `? rewardTemplate.itemPool[Math.floor(Math.random() * rewardTemplate.itemPool.length)]`
- `libs/hathor/client/src/helpers/quest-generation.ts:448` —
  `return Math.floor(Math.random() * (max - min + 1)) + min;`
- `libs/hathor/domain-models/src/common/utils.ts:210` —
  `let r = Math.random() * totalWeight;`
- `libs/hathor/domain-models/src/economy/utils.ts:61` —
  `randomFactor = Math.random(),`
- `libs/hathor/llm-npc/src/behavior/npc-conversation.ts:38` —
  `const idx = Math.floor(Math.random() * arr.length);`
- `libs/hathor/llm-npc/src/behavior/npc-conversation.ts:338` —
  `intent = Math.random() > 0.5 ? 'question' : 'inform';`
- `libs/hathor/llm-npc/src/behavior/npc-conversation.ts:475` —
  `return Math.random() < acceptChance;`
- `libs/hathor/llm-npc/src/brain/emotional-state.ts:404` —
  `if (adjacent && adjacent.length > 0 && Math.random() > 0.5) {`
- `libs/hathor/llm-npc/src/dialogue/dialogue-generator.ts:536` —
  `const selectedIndex = Math.floor(Math.random() * options.length);`
- `libs/hathor/llm-npc/src/dialogue/dialogue-generator.ts:578` —
  `const selectedIndex = Math.floor(Math.random() * options.length);`
- `libs/hathor/llm-npc/src/dialogue/safety-filter.ts:373` —
  `const selectedIndex = Math.floor(Math.random() * fallbacks.length);`
- `libs/hathor/llm-npc/src/provider-chain.ts:705` —
  `let random = Math.random() * totalWeight;`
- `libs/hathor/narrative/src/branching/branching-utils.ts:150` —
  `const idx = Math.floor(Math.random() * eligible.length);`
- `libs/hathor/narrative/src/branching/branching-utils.ts:158` —
  `const roll = Math.random() * totalWeight;`
- `libs/hathor/narrative/src/dialogue/dialogue-engine.ts:1816` —
  `const randomIndex = Math.floor(Math.random() * outgoing.length);`
- `libs/hathor/simulation/src/culture/manager.ts:71` —
  `/** Returns a float in [0, 1) — drop-in replacement for Math.random(). */`
- `libs/hathor/simulation/src/economy/manager.ts:66` —
  `/** Returns a float in [0, 1) — drop-in replacement for Math.random(). */`
- `libs/hathor/simulation/src/npc/behavior-tree.ts:650` —
  `this.selectedIndex = Math.floor(Math.random() * this.children.length);`
- `libs/hathor/simulation/src/npc/behavior-tree.ts:1501` —
  `let random = Math.random() * totalWeight;`
- `libs/hathor/simulation/src/politics/manager.ts:70` —
  `/** Returns a float in [0, 1) — drop-in replacement for Math.random(). */`
- `libs/hestia/ai-ml/src/flavor-pairing.ts:980` —
  `(1 - score.overlapScore / 100) * 50 + categoryDiff * 30 + Math.random() * 20,`
- `libs/hestia/ai-ml/src/recipe-generation.ts:771` —
  `amount: Math.round((1 + Math.random() * 2) * servings * 10) / 10,`
- `libs/hestia/ai-ml/src/recipe-generation.ts:813` —
  `durationMinutes: 3 + Math.floor(Math.random() * 8),`
- `libs/hestia/ai-ml/src/recipe-generation.ts:1594` —
  `durationMinutes: 5 + Math.floor(Math.random() * 5),`
- `libs/hestia/social/src/community-challenges.ts:2369` —
  `const noise = () => Math.round((Math.random() * 2 - 1) * 10) / 10;`
- `libs/hestia/social/src/recipe-sharing.ts:820` —
  `views: Math.floor(Math.random() * 5000) + 100,`
- `libs/hestia/social/src/recipe-sharing.ts:821` —
  `saves: Math.floor(Math.random() * 500) + 10,`
- `libs/hestia/social/src/recipe-sharing.ts:822` —
  `ratings: Math.floor(Math.random() * 200) + 5,`
- `libs/hestia/social/src/recipe-sharing.ts:823` —
  `averageRating: parseFloat((3.5 + Math.random() * 1.5).toFixed(1)),`
- `libs/hestia/social/src/recipe-sharing.ts:824` —
  `cooksCount: Math.floor(Math.random() * 300) + 5,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:784` —
  `cpuPercent: Math.random() * 100,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:785` —
  `memoryMb: Math.floor(Math.random() * 1000),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:786` —
  `threads: Math.floor(Math.random() * 50) + 1,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:809` —
  `usage: Math.random() * 100,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:817` —
  `usedMb: Math.floor(Math.random() * 16384),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:818` —
  `freeMb: Math.floor(Math.random() * 16384),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:819` —
  `usagePercent: Math.random() * 100,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:825` —
  `usedGb: Math.floor(Math.random() * 500),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:826` —
  `freeGb: Math.floor(Math.random() * 500),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:827` —
  `usagePercent: Math.random() * 100,`
- `libs/iris/agents/archetypes/src/operations-agent.ts:842` —
  `sizeKb: Math.floor(Math.random() * 10000),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:843` —
  `errorCount: Math.floor(Math.random() * 10),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:844` —
  `warningCount: Math.floor(Math.random() * 50),`
- `libs/iris/agents/archetypes/src/operations-agent.ts:1019` —
  `size: Math.floor(Math.random() * 10000000),`
- `libs/iris/agents/computer-use/desktop/src/index.ts:511` —
  `const processId = createProcessId(Math.floor(Math.random() * 100000));`
- `libs/iris/agents/computer-use/desktop/src/window-manager.ts:736` —
  `processId: window.processId ?? createProcessId(Math.floor(Math.random() * 10000)),`
- `libs/iris/agents/computer-use/vision/src/change-detector.ts:60` —
  `const similarity = dimensionsMatch ? 0.85 + Math.random() * 0.1 : 0.5;`
- `libs/iris/agents/computer-use/vision/src/change-detector.ts:281` —
  `if (Math.random() > 0.3) {`
- `libs/iris/agents/computer-use/vision/src/change-detector.ts:295` —
  `if (Math.random() > 0.5) {`
- `libs/iris/agents/computer-use/vision/src/change-detector.ts:309` —
  `if (Math.random() > 0.7) {`
- `libs/iris/agents/multi-agent/src/orchestrator.ts:502` —
  `50 + Math.random() * 100,`
- `libs/iris/agents/multi-agent/src/orchestrator.ts:512` —
  `success: Math.random() > 0.1, // 90% success rate`
- `libs/iris/agents/multi-agent/src/orchestrator.ts:519` —
  `tokensUsed: Math.floor(Math.random() * 1000) + 100,`
- `libs/iris/agents/multi-agent/src/orchestrator.ts:523` —
  `quality: 0.6 + Math.random() * 0.4,`
- `libs/iris/agents/tools/learning/src/tool-registration.ts:1023` —
  `if (param.required || Math.random() > 0.5) {`
- `libs/iris/analytics/src/analytics-engine.ts:244` —
  `if (this.config.enableSampling && Math.random() > this.config.samplingRate) {`
- `libs/iris/code/quality/src/security-detector.ts:459` —
  `message: 'Math.random() is not cryptographically secure',`
- `libs/iris/conversation-orchestration/src/load-balancer.ts:322` —
  `let random = Math.random() * totalWeight;`
- `libs/iris/conversation-orchestration/src/load-balancer.ts:379` —
  `const index = Math.floor(Math.random() * providers.length);`
- `libs/iris/conversation/benchmarking/src/benchmark-suite.ts:59` —
  `if (Math.random() < this.failureRate) {`
- `libs/iris/conversation/benchmarking/src/benchmark-suite.ts:65` —
  `this.latencyRange.min + Math.random() * (this.latencyRange.max - this.latencyRange.min);`
- `libs/iris/conversation/benchmarking/src/benchmark-suite.ts:71` —
  `const outputTokens = Math.floor(Math.random() * maxTokens) + 10;`
- `libs/iris/conversation/finetuning/src/model-version-manager.ts:78` —
  `latencyMs: Math.floor(Math.random() * 500) + 100,`
- `libs/iris/conversation/prompts/src/prompt-testing.ts:117` —
  `let random = Math.random() * totalAllocation;`
- `libs/iris/conversation/prompts/src/prompt-testing.ts:191` —
  `return gammaSample(shape + 1) * Math.pow(Math.random(), 1 / shape);`
- `libs/iris/conversation/prompts/src/prompt-testing.ts:205` —
  `const u = Math.random();`
- `libs/iris/core/src/tracing/correlation.ts:302` —
  `const bytes = Array.from({ length: 16 }, () => Math.floor(Math.random() * 256));`
- `libs/iris/core/src/tracing/correlation.ts:310` —
  `const bytes = Array.from({ length: 8 }, () => Math.floor(Math.random() * 256));`
- `libs/iris/embeddings/src/client.ts:480` —
  `return Math.floor(Math.random() * capped);`
- `libs/iris/emotional/ethics/src/human-relationship-respect.ts:374` —
  `const index = Math.floor(Math.random() * templates.length);`
- `libs/iris/integrations/maya/src/agents/npc-control-agent.ts:750` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/iris/integrations/maya/src/agents/npc-control-agent.ts:751` —
  `const distance = Math.random() * wanderRadius;`
- `libs/iris/integrations/maya/src/companion/maya-companion.ts:736` —
  `if (context.threats.length > 0 && Math.random() < 0.5) {`
- `libs/iris/integrations/maya/src/companion/maya-companion.ts:741` —
  `if (context.nearbyPOIs.length > 0 && Math.random() < 0.3) {`
- `libs/iris/integrations/maya/src/companion/maya-companion.ts:747` —
  `if (context.relevantQuests.length > 0 && Math.random() < 0.3) {`
- `libs/iris/integrations/nyx/src/observations/observation-planning-service.ts:598`
  — `return new Date(date.getTime() + Math.random() * 8 * 3600000);`
- `libs/iris/integrations/psyche/src/agents/avatar-presenter-agent.ts:606` —
  `const random = Math.random();`
- `libs/iris/integrations/psyche/src/emotion/emotion-service.ts:636` —
  `if (Math.random() < 0.1) {`
- `libs/iris/integrations/psyche/src/emotion/emotion-service.ts:647` —
  `const intensity = 0.2 + Math.random() * 0.3; // Low intensity`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:275` —
  `totalFound: papers.length + Math.floor(Math.random() * 100),`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:448` —
  `citationCount: Math.floor(Math.random() * 200),`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:510` —
  `paperCount: 5 + Math.floor(Math.random() * 15),`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:600` —
  `nodeCount: 10 + Math.floor(Math.random() * 30),`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:613` —
  `citationCount: 100 + Math.floor(Math.random() * 500),`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:639` —
  `const publicationCount = baseCount + Math.floor(Math.random() * 30);`
- `libs/iris/integrations/sophia/src/agents/literature-reviewer-agent.ts:640` —
  `const citationCount = publicationCount * (5 + Math.floor(Math.random() * 10));`
- `libs/iris/integrations/sophia/src/agents/research-assistant-agent.ts:326` —
  `const supports = Math.random() > 0.3;`
- `libs/iris/integrations/sophia/src/agents/research-assistant-agent.ts:338` —
  `} else if (Math.random() > 0.5) {`
- `libs/iris/integrations/sophia/src/knowledge/knowledge-base-service.ts:139` —
  `mentionCount: Math.floor(Math.random() * 50) + 1,`
- `libs/iris/integrations/sophia/src/knowledge/knowledge-base-service.ts:140` —
  `createdAt: now - Math.floor(Math.random() * 86400000),`
- `libs/iris/integrations/sophia/src/knowledge/knowledge-base-service.ts:156` —
  `weight: Math.random() * 0.5 + 0.5,`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:204`
  — `Math.random() > 0.5`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:205`
  — `? `0000-000${Math.floor(Math.random() * 10)}-${Math.floor(Math.random() \*
  10000)`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:207`
  — `.padStart(4, '0')}-${Math.floor(Math.random() * 10000)`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:241`
  — `year: 2020 + Math.floor(Math.random() * 5),`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:255`
  — `if (index > 0 && Math.random() > 0.4 && sources.length > 0) {`
- `libs/iris/integrations/sophia/src/research/research-assistant-service.ts:256`
  —
  `const sourceIndex = Math.floor(Math.random() * Math.min(sources.length, 3));`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:203` —
  `Math.random() > 0.5`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:268` —
  `citationCount: Math.floor(Math.random() * 500),`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:663` —
  `const publicationCount = baseCount + Math.floor(Math.random() * 30);`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:664` —
  `const citationCount = publicationCount * (5 + Math.floor(Math.random() * 10));`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:732` —
  `const documentCount = 10 + Math.floor(Math.random() * 90);`
- `libs/iris/integrations/sophia/src/search/literature-search-service.ts:733` —
  `const citationCount = documentCount * (20 + Math.floor(Math.random() * 100));`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:866` —
  `const similarity = 0.85 + Math.random() * 0.1;`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1022` —
  `const usageScore = Math.random();`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1200` —
  `metadata.hasAlpha = Math.random() > 0.5;`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1204` —
  `metadata.duration = 30 + Math.random() * 300;`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1209` —
  `metadata.duration = 60 + Math.random() * 240;`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1214` —
  `metadata.pageCount = Math.floor(1 + Math.random() * 20);`
- `libs/iris/integrations/yemaya/src/agents/asset-organizer-agent.ts:1215` —
  `metadata.wordCount = Math.floor(100 + Math.random() * 5000);`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:919` —
  `const simulatedPeak = -3 + Math.random() * 6;`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:920` —
  `const simulatedRms = -18 + Math.random() * 12;`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:921` —
  `const simulatedLoudness = -16 + Math.random() * 8;`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:953` —
  `spectrum.push(-60 + Math.random() * 50);`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:975` —
  `range: 8 + Math.random() * 6,`
- `libs/iris/integrations/yemaya/src/agents/audio-mixer-agent.ts:981` —
  `crest: 12 + Math.random() * 8,`
- `libs/iris/knowledge/retrieval/src/dense-retriever.ts:412` —
  `while (Math.random() < 0.5 && level < this.maxLevel) {`
- `libs/iris/knowledge/retrieval/src/evaluation.ts:618` —
  `const idx = Math.floor(Math.random() * scores.length);`
- `libs/iris/knowledge/retrieval/src/multi-vector-retriever.ts:332` —
  `centroid[j] = Math.random() * 2 - 1;`
- `libs/iris/knowledge/retrieval/src/multi-vector-retriever.ts:387` —
  `const firstIdx = Math.floor(Math.random() * embeddings.length);`
- `libs/iris/knowledge/retrieval/src/multi-vector-retriever.ts:409` —
  `let sample = Math.random() * totalDist;`
- `libs/iris/memory/episodic/src/milestone-tracker.ts:514` —
  `const index = Math.floor(Math.random() * categoryTemplates.length);`
- `libs/iris/memory/persistence/src/backup-automation.ts:489` —
  `return this.options.random ? this.options.random() : Math.random();`
- `libs/iris/memory/persistence/src/redis-cache.ts:606` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/iris/memory/personalization/testing/src/variant-assignment.ts:70` —
  `const randomValue = Math.random() * 100;`
- `libs/iris/memory/personalization/testing/src/variant-assignment.ts:122` —
  `const randomIndex = Math.floor(Math.random() * closeCandidates.length);`
- `libs/iris/memory/privacy/src/encryption/secure-recovery.ts:392` —
  `userData.securityQuestions[Math.floor(Math.random() * userData.securityQuestions.length)];`
- `libs/iris/memory/visualization/src/memory-graph.ts:273` —
  `x: Math.random() * 1000 - 500,`
- `libs/iris/memory/visualization/src/memory-graph.ts:274` —
  `y: Math.random() * 1000 - 500,`
- `libs/iris/memory/visualization/src/topic-cluster-view.ts:221` —
  `centroidIndices.add(Math.floor(Math.random() * n));`
- `libs/iris/multimodal/bci/src/bci-device.ts:597` —
  `channelQuality.set(label, 0.8 + Math.random() * 0.15);`
- `libs/iris/multimodal/spatial/src/spatial-impl.ts:403` —
  `const distance = 2 + Math.random() * 3;`
- `libs/iris/multimodal/spatial/src/spatial-impl.ts:737` —
  `const distance = 1.5 + Math.random() * 2;`
- `libs/iris/multimodal/spatial/src/spatial-impl.ts:1380` —
  `ambientIntensity: 0.5 + Math.random() * 0.1 - 0.05,`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:197` —
  `pageCount: 5 + Math.floor(Math.random() * 10),`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:199` —
  `hasForms: Math.random() > 0.7,`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:200` —
  `hasTables: Math.random() > 0.5,`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:201` —
  `hasImages: Math.random() > 0.6,`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:246` —
  `const numBlocks = 3 + Math.floor(Math.random() * 5);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:262` —
  `headingLevel: isHeading ? Math.floor(Math.random() * 3) + 1 : undefined,`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:313` —
  `if (Math.random() > 0.5) return [];`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:329` —
  `if (Math.random() > 0.5) return [];`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:380` —
  `if (Math.random() > 0.7) return [];`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:690` —
  `const amount = 10 + Math.random() * 200;`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:702` —
  `const numItems = 2 + Math.floor(Math.random() * 5);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:716` —
  `const quantity = Math.random() > 0.7 ? 2 : 1;`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:813` —
  `const numTables = Math.floor(Math.random() * 3);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:817` —
  `const rows = 3 + Math.floor(Math.random() * 5);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:818` —
  `const cols = 2 + Math.floor(Math.random() * 3);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:882` —
  `return String(Math.floor(Math.random() * 1000));`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:884` —
  `return `$${(Math.random() \* 1000).toFixed(2)}`;`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:886` —
  `return `Data ${Math.floor(Math.random() \* 100)}`;`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:1022` —
  `const numElements = 5 + Math.floor(Math.random() * 5);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:1036` —
  `if (Math.random() > 0.3) {`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:1048` —
  `const numParagraphs = 2 + Math.floor(Math.random() * 3);`
- `libs/iris/multimodal/vision/documents/src/document-parser.ts:1067` —
  `if (Math.random() > 0.3) {`
- `libs/iris/multimodal/vision/generation/src/generation-impl.ts:146` —
  `seed: Math.floor(Math.random() * 2147483647),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:225` —
  `const numObjects = Math.floor(Math.random() * config.maxObjects * 0.1) + 1;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:257` —
  `const x = Math.floor(Math.random() * imageSize.width * 0.7);`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:258` —
  `const y = Math.floor(Math.random() * imageSize.height * 0.7);`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:259` —
  `const width = Math.floor(Math.random() * (imageSize.width - x) * 0.5) + 50;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:260` —
  `const height = Math.floor(Math.random() * (imageSize.height - y) * 0.5) + 50;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:357` —
  `orientation: Math.random() > 0.7 ? 'upright' : 'unknown',`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:464` —
  `i === count - 1 ? remainingPct : Math.floor(remainingPct * (0.3 + Math.random() * 0.4));`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:480` —
  `sharpness: 0.6 + Math.random() * 0.4,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:481` —
  `exposure: 0.7 + Math.random() * 0.3,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:482` —
  `colorAccuracy: 0.75 + Math.random() * 0.25,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:483` —
  `contrast: 0.65 + Math.random() * 0.35,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:484` —
  `saturation: 0.6 + Math.random() * 0.4,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:485` —
  `noiseLevel: Math.random() * 0.3,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:487` —
  `aestheticScore: 0.6 + Math.random() * 0.4,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:768` —
  `const numBlocks = Math.floor(Math.random() * 5) + 1;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:786` —
  `fontSize: 12 + Math.floor(Math.random() * 12),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:795` —
  `const numLines = Math.floor(Math.random() * 3) + 1;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:816` —
  `const numWords = Math.floor(Math.random() * 5) + 2;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:827` —
  `isHandwritten: config.enableHandwriting && Math.random() > 0.8,`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:839` —
  `x: 50 + Math.floor(Math.random() * 100),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:840` —
  `y: 50 + Math.floor(Math.random() * 200),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:841` —
  `width: 400 + Math.floor(Math.random() * 200),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:842` —
  `height: 50 + Math.floor(Math.random() * 100),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:943` —
  `value1: Math.floor(Math.random() * 100),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:944` —
  `value2: Math.floor(Math.random() * 100),`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:956` —
  `return Math.random() > 0.3 ? 'Sample Chart Title' : undefined;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:974` —
  `const numSeries = chartType === 'pie' ? 1 : Math.floor(Math.random() * 3) + 1;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:993` —
  `const numPoints = Math.min(Math.floor(Math.random() * 10) + 3, maxPoints, categories.length);`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:998` —
  `const value = i === numPoints - 1 ? total : Math.floor(Math.random() * total * 0.5) + 5;`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:1011` —
  `const value = Math.floor(Math.random() * 100);`
- `libs/iris/multimodal/vision/understanding/src/image-analyzer.ts:1013` —
  `x: chartType === 'scatter' ? Math.random() * 100 : categories[i],`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:385` —
  `const startFrame = Math.floor(Math.random() * Math.floor(frames.length / 2));`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:386` —
  `const endFrame = startFrame + Math.floor(Math.random() * (frames.length - startFrame));`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:453` —
  `averageLoudness: -18 + Math.random() * 6,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:454` —
  `dynamicRange: 10 + Math.random() * 10,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:601` —
  `return 30 + Math.random() * 270; // 30s to 5min`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:614` —
  `return Math.floor(10000000 + Math.random() * 100000000);`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:621` —
  `data.push(Math.floor(Math.random() * 1000));`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:693` —
  `const count = 3 + Math.floor(Math.random() * 3);`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:698` —
  `return 0.3 + Math.random() * 0.4;`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:798` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:799` —
  `const magnitude = Math.random() * 10;`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:814` —
  `const startTime = time + Math.random() * 10;`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:815` —
  `const segmentDuration = 2 + Math.random() * 8;`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:838` —
  `if (Math.random() > 0.3) {`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:854` —
  `const count = Math.floor(3 + Math.random() * 5);`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:857` —
  `timestamp: Math.random() * duration,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:979` —
  `(duration / numActions) * (0.5 + Math.random() * 0.5)`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:984` —
  `mergedConfig.minConfidence + Math.random() * (1 - mergedConfig.minConfidence);`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1173` —
  `x: 100 + Math.random() * 200,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1174` —
  `y: 100 + Math.random() * 200,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1175` —
  `width: 80 + Math.random() * 40,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1176` —
  `height: 150 + Math.random() * 50,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1964` —
  `const count = Math.floor(Math.random() * 3);`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1970` —
  `x: Math.random() * 800,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1971` —
  `y: Math.random() * 400,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1972` —
  `width: 50 + Math.random() * 150,`
- `libs/iris/multimodal/vision/video/src/video-analyzer.ts:1973` —
  `height: 50 + Math.random() * 200,`
- `libs/iris/multimodal/voice/conversation/src/full-duplex-engine.ts:571` —
  `if (Math.random() > this.config.frequency) {`
- `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts:343` —
  `output[i] += (Math.random() * 2 - 1) * noiseLevel;`
- `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts:1567` —
  `inputLevelDb: this.localMuted ? -100 : -30 + Math.random() * 20,`
- `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts:1568` —
  `outputLevelDb: -35 + Math.random() * 25,`
- `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts:1569` —
  `isSpeaking: !this.localMuted && Math.random() > 0.5,`
- `libs/iris/multimodal/voice/conversation/src/webrtc/webrtc-voice.ts:1570` —
  `vadConfidence: Math.random(),`
- `libs/iris/multimodal/voice/synthesis/src/cartesia/cartesia-provider.ts:650` —
  `const latencyMs = baseLatency + textLatency + Math.random() * 20;`
- `libs/iris/multimodal/voice/synthesis/src/cartesia/cartesia-provider.ts:708` —
  `await this.sleep(chunkLatency + Math.random() * 10);`
- `libs/iris/multimodal/voice/synthesis/src/local/local-provider.ts:886` —
  `const processingMs = durationMs * qualityFactor + Math.random() * 50;`
- `libs/iris/multimodal/voice/synthesis/src/local/local-provider.ts:943` —
  `await this.sleep(durationMs * qualityFactor + Math.random() * 20);`
- `libs/iris/platform/customization/agents/src/utils/id.ts:12` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `libs/iris/platform/webhooks/src/retry-handler.ts:39` —
  `this.random = deps.random ?? Math.random;`
- `libs/iris/privacy/safety/behavior/src/action-confirmation.ts:243` —
  `const code = Math.floor(100000 + Math.random() * 900000).toString();`
- `libs/iris/privacy/safety/behavior/src/action-confirmation.ts:258` —
  `const a = Math.floor(10 + Math.random() * 90);`
- `libs/iris/privacy/safety/behavior/src/action-confirmation.ts:259` —
  `const b = Math.floor(10 + Math.random() * 90);`
- `libs/iris/privacy/safety/transparency/src/utils.ts:12` —
  `const r = (Math.random() * 16) | 0;`
- `libs/iris/privacy/sovereignty/src/index.ts:4114` — `return Math.random();`
- `libs/iris/testing/load/src/load-test-suite.ts:50` —
  `this.rng = deps.rng ?? Math.random;`
- `libs/iris/testing/src/e2e/agent-tasks.ts:405` —
  `if (this.config.failingTasks.has(task.id) || Math.random() < this.config.failureRate) {`
- `libs/iris/testing/src/e2e/memory-persistence.ts:358` —
  `Memory entry ${i} with unique content ${Math.random()}`
- `libs/iris/testing/src/mocks/http-client.ts:366` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/memory-store.ts:829` —
  `embedding.push(Math.random() * 2 - 1); // Random values between -1 and 1`
- `libs/iris/testing/src/mocks/model-provider.ts:349` —
  `Math.random() < this.responseConfig.errorProbability`
- `libs/iris/testing/src/mocks/storage.ts:529` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/storage.ts:868` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/storage.ts:1228` —
  `vector.push(Math.random() * 2 - 1);`
- `libs/iris/testing/src/mocks/storage.ts:1315` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/voice-provider.ts:352` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/voice-provider.ts:377` —
  `audioData[i] = Math.floor(Math.random() * 256);`
- `libs/iris/testing/src/mocks/voice-provider.ts:437` —
  `chunk[j] = Math.floor(Math.random() * 256);`
- `libs/iris/testing/src/mocks/voice-provider.ts:577` —
  `if (this.config.errorProbability && Math.random() < this.config.errorProbability) {`
- `libs/iris/testing/src/mocks/voice-provider.ts:678` —
  `const duration = avgWordDuration * (0.5 + Math.random());`
- `libs/iris/testing/src/mocks/voice-provider.ts:701` —
  `const duration = avgSentenceDuration * (0.7 + Math.random() * 0.6);`
- `libs/iris/testing/src/performance/load-tests.ts:486` —
  `let random = Math.random() * totalWeight;`
- `libs/iris/testing/src/regression/tests.ts:33` —
  `await simulateLatency(50 + Math.random() * 50);`
- `libs/iris/testing/src/regression/tests.ts:64` —
  `const tokens = 100 + Math.floor(Math.random() * 100);`
- `libs/iris/testing/src/regression/tests.ts:99` —
  `const ttft = 20 + Math.random() * 30;`
- `libs/iris/testing/src/regression/tests.ts:103` —
  `await simulateLatency(50 + Math.random() * 50);`
- `libs/iris/testing/src/regression/tests.ts:144` —
  `const data = new Array(10000).fill(0).map(() => Math.random());`
- `libs/iris/testing/src/regression/tests.ts:356` —
  `await simulateLatency(30 + Math.random() * 20);`
- `libs/iris/testing/src/regression/tests.ts:359` —
  `instructionFollowing: 0.9 + Math.random() * 0.1,`
- `libs/iris/testing/src/regression/tests.ts:360` —
  `formatAdherence: 0.85 + Math.random() * 0.15,`
- `libs/iris/testing/src/regression/tests.ts:361` —
  `reasoning: 0.8 + Math.random() * 0.2,`
- `libs/iris/testing/src/regression/tests.ts:416` —
  `capabilities.coding.push(0.85 + Math.random() * 0.15);`
- `libs/iris/testing/src/regression/tests.ts:417` —
  `capabilities.analysis.push(0.8 + Math.random() * 0.2);`
- `libs/iris/testing/src/regression/tests.ts:418` —
  `capabilities.writing.push(0.9 + Math.random() * 0.1);`
- `libs/iris/testing/src/regression/tests.ts:419` —
  `capabilities.math.push(0.75 + Math.random() * 0.25);`
- `libs/iris/testing/src/regression/tests.ts:517` —
  `const relevance = 0.7 + Math.random() * 0.3;`
- `libs/iris/testing/src/regression/tests.ts:518` —
  `const coherence = 0.75 + Math.random() * 0.25;`
- `libs/iris/testing/src/regression/tests.ts:519` —
  `const completeness = 0.65 + Math.random() * 0.35;`
- `libs/iris/testing/src/regression/tests.ts:520` —
  `const fluency = 0.8 + Math.random() * 0.2;`
- `libs/iris/voice/ultra-low-latency/src/backchannel-generator.ts:60` —
  `if (Math.random() > this.config.frequency) {`
- `libs/isis/3d-generation/src/processing/mesh-cleanup-utils.ts:740` —
  `const i = Math.floor(Math.random() * faceCount);`
- `libs/isis/3d-generation/src/processing/mesh-cleanup-utils.ts:741` —
  `const j = Math.floor(Math.random() * faceCount);`
- `libs/isis/3d-inference-local/src/models/trellis2-seed-control.ts:63` —
  `return Math.floor(Math.random() * (LOCAL_3D_TRELLIS2_MAX_SEED + 1));`
- `libs/isis/3d-quality-gates/src/operations/annotation-tools.ts:199` —
  `return `annotation*${nowIso.replace(/[^0-9]/g, '').slice(0,
  14)}*${Math.random()`
- `libs/isis/ai-providers/src/orchestration/unified-generation-pipeline.ts:761`
  — `return baseDelayMs * Math.pow(2, attempt) + Math.random() * 1000;`
- `libs/isis/ai-providers/src/providers/civitai/civitai-link-provider.ts:741` —
  `key += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/isis/ai-providers/src/providers/comfy/runpod-adapter.ts:3963` —
  `return Math.floor(Math.random() * 100);`
- `libs/isis/ai-providers/src/providers/image-generation/flux-workflows.ts:194`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/flux-workflows.ts:373`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/flux-workflows.ts:573`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/flux-workflows.ts:815`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/sd35-workflows.ts:317`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/sd35-workflows.ts:481`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/sd35-workflows.ts:658`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/image-generation/sd35-workflows.ts:897`
  — `const seed = params.seed ?? Math.floor(Math.random() * 2147483647);`
- `libs/isis/ai-providers/src/providers/instantid/instantid-provider.ts:1561` —
  `seed: params.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/isis/ai-providers/src/providers/instantid/instantid-provider.ts:1593` —
  `seed: params.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/isis/ai-providers/src/providers/ip-adapter/ip-adapter-provider.ts:1749`
  — `seed: params.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/isis/llm-providers/src/client/llm-client.ts:1224` —
  `return half + Math.random() * half;`
- `libs/isis/llm-providers/src/client/llm-client.ts:1227` —
  `return Math.min(policy.maxBackoffMs, policy.initialBackoffMs + Math.random() * capped * 3);`
- `libs/isis/llm-providers/src/client/llm-client.ts:1230` —
  `return Math.random() * capped;`
- `libs/isis/llm-providers/src/client/llm-client.ts:1322` —
  `for (let i = 0; i < 16; i++) bytes[i] = Math.floor(Math.random() * 256);`
- `libs/isis/prompt-engineering/src/few-shot-manager/few-shot-manager.ts:314` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/kuanyin/ai-ml-models/src/cognitive-reframing.ts:5133` —
  `const batchAccuracy = crSigmoid(rewardModelAccuracy * 3 - 1.2 + Math.random() * 0.1);`
- `libs/kuanyin/ai-ml-models/src/cognitive-reframing.ts:5145` —
  `currentKL = crClamp(0.01 + epoch * 0.005 * (1 - clampedKLWeight) + Math.random() * 0.005, 0, 1);`
- `libs/kuanyin/ai-ml-models/src/cognitive-reframing.ts:5159` —
  `const valAccuracyDrop = 0.02 + Math.random() * 0.03; // generalization gap`
- `libs/kuanyin/ai-ml-models/src/emotional-state-detection.ts:2766` —
  `culturalContexts.map((c) => [c, 0.8 + Math.random() * 0.2])`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:2867` —
  `processingTimeMs: hpsFormatOutput(5 + Math.random() * 20, 1),`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4562` —
  `const positiveRate = hpsClamp(0.15 + baseVariation + Math.random() * 0.02, 0.05, 0.35);`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4563` —
  `const tpr = hpsClamp(0.8 + baseVariation * 0.5 + Math.random() * 0.03, 0.6, 0.98);`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4564` —
  `const fpr = hpsClamp(0.1 - baseVariation * 0.3 + Math.random() * 0.02, 0.02, 0.25);`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4770` —
  `const idx = Math.floor(Math.random() * predictionScores.length);`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4964` —
  `const itemDifficulty = 0.3 + Math.random() * 0.4;`
- `libs/kuanyin/ai-ml-models/src/harm-potential-scoring.ts:4966` —
  `const agreed = Math.random() < agreementProb;`
- `libs/kuanyin/ai-ml-models/src/intent-classification.ts:3633` —
  `const preCalibrationECE = icFormatOutput(baselinePreECE * (1 + (Math.random() * 0.1 - 0.05)), 4);`
- `libs/kuanyin/community-harmony/src/raid-defense.ts:2004` —
  `Math.floor(Math.random() * REASSURANCE_TEMPLATES_EMPATHETIC.length)`
- `libs/kuanyin/community-harmony/src/raid-defense.ts:2008` —
  `Math.floor(Math.random() * REASSURANCE_TEMPLATES_ACTION.length)`
- `libs/kuanyin/community-harmony/src/raid-defense.ts:2013` —
  `Math.floor(Math.random() * REASSURANCE_TEMPLATES_CALM.length)`
- `libs/kuanyin/cross-domain/src/aphrodite-integration.ts:3930` —
  `const responseTimeMs = safeWordDetected ? 75 + Math.floor(Math.random() * 50) : 0;`
- `libs/kuanyin/cross-domain/src/aphrodite-integration.ts:4023` —
  `? 30 + Math.floor(Math.random() * 20)`
- `libs/kuanyin/cross-domain/src/aphrodite-integration.ts:4024` —
  `: 100 + Math.floor(Math.random() * 50);`
- `libs/kuanyin/cross-domain/src/lilith-integration.ts:3375` —
  `resonanceScore: lilRound4(resonanceBase + Math.random() * 0.1),`
- `libs/kuanyin/dharma-analytics/src/community-health-metrics.ts:4202` —
  `const dimImpact = delta * (0.8 + Math.random() * 0.4);`
- `libs/kuanyin/precognition/src/intent-analysis.ts:78` —
  `result += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/kuanyin/rehabilitation/src/accountability-tracking.ts:4215` —
  `? Math.ceil(Math.random() * 3) + 1`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:3550` —
  `options.facilitatorPreference ?? `fac-${Math.floor(200 + Math.random() \*
  10)}`;`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:3553` —
  `: clamp(0.6 + Math.random() * 0.3, 0.6, 0.95);`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:3904` —
  `? clamp(0.6 + Math.random() * 0.35, 0.5, 1.0)`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:3905` —
  `: clamp(0.3 + Math.random() * 0.3, 0.2, 0.7);`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:7403` —
  `accessibilityChecked: scope === 'accessibility_enhancement' || Math.random() > 0.3,`
- `libs/kuanyin/rehabilitation/src/journey-progress.ts:7404` —
  `culturalSensitivityReviewed: scope === 'cultural_adaptation' || Math.random() > 0.4,`
- `libs/kuanyin/rehabilitation/src/reintegration-pathways.ts:5252` —
  `connectionScore: Math.round(clamp(0.5 + Math.random() * 0.4, 0, 1) * 1000) / 1000,`
- `libs/kuanyin/rehabilitation/src/restorative-circles.ts:6906` —
  `priorScore: ms.score * (0.9 + Math.random() * 0.15),`
- `libs/kuanyin/rehabilitation/src/restorative-circles.ts:6907` —
  `changePercentage: Math.round((Math.random() * 20 - 5) * 100) / 100,`
- `libs/kuanyin/sdk-api/src/rest-api-endpoints.ts:4556` —
  `const uptimeSeconds = Math.floor(Math.random() * 86400) + 3600; // 1 hour to 24 hours`
- `libs/kuanyin/sdk-api/src/typescript-sdk.ts:2623` —
  `state === 'reconnecting' ? Math.min(Math.floor(Math.random() * maxReconnect), maxReconnect) : 0;`
- `libs/kuanyin/sdk-api/src/typescript-sdk.ts:3500` —
  `const avgLatencyMs = input.mockServerEnabled ? sdkRound2(2 + Math.random() * 5) : 0;`
- `libs/kuanyin/ui-components/src/performer-dashboard-components.ts:4179` —
  `const currentValue = Math.random() * rule.threshold * 1.5;`
- `libs/kuanyin/ui-components/src/performer-dashboard-components.ts:4681` —
  `const overlapEstimate = clamp(Math.random() * 30, 0, 100);`
- `libs/kuanyin/ui-components/src/performer-dashboard-components.ts:5210` —
  `achievedAt: now - Math.round(Math.random() * 30 * 86400000),`
- `libs/kuanyin/ui-components/src/rehabilitation-journey-components.ts:3899` —
  `const relevanceScore = interestMatch ? 0.9 : 0.5 + Math.random() * 0.3;`
- `libs/kuanyin/ui-components/src/rehabilitation-journey-components.ts:3903` —
  `participantCount: Math.floor(bestGroup!.currentMembers * (0.5 + Math.random() * 0.5)),`
- `libs/lakshmi/core/src/calculations/monte-carlo.ts:66` —
  `/** Optional custom RNG for testing (default: Math.random) */`
- `libs/lakshmi/core/src/calculations/monte-carlo.ts:277` —
  `const rng = config.rng ?? Math.random;`
- `libs/lakshmi/core/src/calculations/tvm.ts:148` —
  `rate = guess * (0.5 + Math.random()); // restart with perturbed guess`
- `libs/lakshmi/retirement/src/monte-carlo-projection.ts:94` —
  `const rng = input.rng ?? Math.random;`
- `libs/lakshmi/security/src/differential-privacy.ts:135` —
  `const noisyValue = raw + calibratedNoise(config, sensitivity, input.rng ?? Math.random);`
- `libs/lakshmi/security/src/differential-privacy.ts:207` —
  `export function laplaceNoise(scale: number, rng: () => number = Math.random): number {`
- `libs/lilith/service-lib/comfyui/workflow-builder.ts:160` —
  `return Math.floor(Math.random() * 2147483647);`
- `libs/lilith/service-lib/comfyui/workflow-builder.ts:470` —
  `return this.setSeed(nodeId, Math.floor(Math.random() * 2147483647));`
- `libs/lilith/service-lib/comfyui/workflow-builder.ts:767` —
  `seed: options?.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/lilith/service-lib/lilith-logger.ts:532` —
  `return Math.random() < rate;`
- `libs/lilith/service-lib/rate-limiting-middleware.ts:194` —
  `pipeline.zadd(key, now, `${now}-${Math.random()}`);`
- `libs/lilith/service-lib/test-data-factories.ts:72` —
  `token_count: Math.floor(Math.random() * 100) + 10,`
- `libs/lilith/service-lib/test-database-manager.ts:463` —
  `user.id = (result.rows[0]?.['id'] as number) || Math.floor(Math.random() * 1000) + 1;`
- `libs/lilith/service-lib/test-database-manager.ts:487` —
  ``conv_${Math.floor(Math.random() * 1000) + 1}`;`
- `libs/maat/agents/src/federated-learning-framework.ts:111` —
  `W[i] = (Math.random() * 2 - 1) * scale;`
- `libs/maat/agents/src/federated-learning-framework.ts:1065` —
  `const features = Array.from({ length: inputSize }, () => Math.random() + bias);`
- `libs/maat/agents/src/rl-capital-allocation-env.ts:915` —
  `indices.add(Math.floor(Math.random() * this.buffer.length));`
- `libs/maat/agents/src/rl-capital-allocation-env.ts:1008` —
  `if (Math.random() < this.epsilon) {`
- `libs/maat/agents/src/rl-capital-allocation-env.ts:1009` —
  `return Math.floor(Math.random() * TEMPLATE_NAMES.length);`
- `libs/maat/agents/src/rl-capital-allocation-env.ts:1158` —
  `let r = Math.random();`
- `libs/maat/agents/src/rl-capital-allocation-env.ts:1321` —
  `let r = Math.random();`
- `libs/maat/capital/src/black-litterman.ts:318` —
  `const assetId = makeId(`bla-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/capital/src/black-litterman.ts:347` —
  `viewId: makeId(`view-${input.assetId}-${Date.now()}-${Math.random()}`),`
- `libs/maat/capital/src/black-litterman.ts:385` —
  `const resultId = makeId(`blopt-${now}-${Math.random()}`);`
- `libs/maat/capital/src/capital-budgeting.ts:289` —
  `const projectId = makeId(`proj-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/capital/src/capital-budgeting.ts:331` —
  `constraintId: makeId(`cstr-${input.type}-${Date.now()}-${Math.random()}`),`
- `libs/maat/capital/src/capital-budgeting.ts:350` —
  `const resultId = makeId(`opt-${now}-${Math.random()}`);`
- `libs/maat/capital/src/hurdle-rate.ts:338` —
  `const unitId = makeId(`unit-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/capital/src/hurdle-rate.ts:467` —
  `const comparisonId = makeId(`comp-${now}-${Math.random()}`);`
- `libs/maat/capital/src/investment-evaluation.ts:309` —
  `opp-${input.company}-${input.name}-${Date.now()}-${Math.random()}`
- `libs/maat/capital/src/investment-evaluation.ts:481` —
  `const rankingId = makeId(`rank-${now}-${Math.random()}`);`
- `libs/maat/capital/src/treasury-management.ts:284` —
  `acct-${input.company}-${input.accountName}-${Date.now()}-${Math.random()}`
- `libs/maat/capital/src/treasury-management.ts:349` —
  `loan-${lenderAccount.company}-${borrowerAccount.company}-${Date.now()}-${Math.random()}`
- `libs/maat/capital/src/treasury-management.ts:434` —
  `const poolId = makeId(`pool-${poolCurrency}-${now}-${Math.random()}`);`
- `libs/maat/capital/src/treasury-management.ts:469` —
  `transactionId: makeId(`sweep-${surplus.accountId}-${deficit.accountId}-${Math.random()}`),`
- `libs/maat/capital/src/treasury-management.ts:498` —
  `sweep-${surplus.accountId}-${poolMaster.accountId}-${Math.random()}`
- `libs/maat/integrations/src/iris-integration.ts:258` —
  `intentConfidence = 0.8 + Math.random() * 0.15; // Simulate confidence`
- `libs/maat/knowledge/src/document-ingestion-pipeline.ts:259` —
  `.update(`${key}|${Date.now()}|${Math.random()}`)`
- `libs/maat/knowledge/src/knowledge-access-analytics.ts:295` —
  `access-${input.knowledgeItemId}-${input.userId}-${now}-${Math.random()}`
- `libs/maat/knowledge/src/knowledge-access-analytics.ts:327` —
  `const decisionId = makeId(`decision-${input.userId}-${now}-${Math.random()}`);`
- `libs/maat/risk/src/business-continuity.ts:346` —
  `const functionId = makeId(`bcf-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/business-continuity.ts:389` —
  `pbk-${input.company}-${input.scenarioType}-${Date.now()}-${Math.random()}`
- `libs/maat/risk/src/business-continuity.ts:398` —
  `stepId: makeId(`step-${s.description.slice(0, 20)}-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:658` —
  `stepId: makeId(`step-activate-1-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:671` —
  `stepId: makeId(`step-activate-2-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:684` —
  `stepId: makeId(`step-activate-3-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:704` —
  `stepId: makeId(`step-respond-1-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:717` —
  `stepId: makeId(`step-respond-2-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:730` —
  `stepId: makeId(`step-respond-3-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:750` —
  `stepId: makeId(`step-short-1-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:763` —
  `stepId: makeId(`step-short-2-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:776` —
  `stepId: makeId(`step-short-3-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:796` —
  `stepId: makeId(`step-long-1-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:809` —
  `stepId: makeId(`step-long-2-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:825` —
  `stepId: makeId(`step-normal-1-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:839` —
  `stepId: makeId(`step-normal-2-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:893` —
  `templateId: makeId(`tmpl-activation-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:902` —
  `templateId: makeId(`tmpl-update-${Math.random()}`),`
- `libs/maat/risk/src/business-continuity.ts:911` —
  `templateId: makeId(`tmpl-resolve-${Math.random()}`),`
- `libs/maat/risk/src/climate-risk.ts:521` —
  `const facilityId = makeId(`fac-${input.name}-${input.company}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/climate-risk.ts:769` —
  `analysisId: makeId(`portfolio-climate-${now}-${Math.random()}`),`
- `libs/maat/risk/src/commodity-price-risk.ts:822` —
  `cpr-${input.company}-${input.commodity}-${Date.now()}-${Math.random()}`
- `libs/maat/risk/src/commodity-price-risk.ts:872` —
  `const simulationId = makeId(`sim-${commodity}-${now}-${Math.random()}`);`
- `libs/maat/risk/src/commodity-price-risk.ts:1064` —
  `const analysisId = makeId(`portfolio-${now}-${Math.random()}`);`
- `libs/maat/risk/src/currency-risk-hedging.ts:434` —
  `exp-${input.company}-${input.foreignCurrency}-${Date.now()}-${Math.random()}`
- `libs/maat/risk/src/currency-risk-hedging.ts:629` —
  `const resultId = makeId(`opt-portfolio-${now}-${Math.random()}`);`
- `libs/maat/risk/src/cybersecurity-risk.ts:484` —
  `const systemId = makeId(`sys-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/cybersecurity-risk.ts:537` —
  `const vulnId = makeId(`vuln-${input.systemId}-${input.title}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/emerging-risk-radar.ts:506` —
  `const signalId = makeId(`sig-${input.title.slice(0, 30)}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/emerging-risk-radar.ts:586` —
  `const riskId = makeId(`erisk-${input.name.slice(0, 30)}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/insurance-portfolio.ts:414` —
  `const profileId = makeId(`prof-${input.company}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/insurance-portfolio.ts:450` —
  `pol-${input.company}-${input.coverageType}-${Date.now()}-${Math.random()}`
- `libs/maat/risk/src/insurance-portfolio.ts:499` —
  `const resultId = makeId(`opt-ins-${now}-${Math.random()}`);`
- `libs/maat/risk/src/key-risk-indicators.ts:305` —
  `const kriId = makeId(`kri-${input.name}-${input.company}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/key-risk-indicators.ts:353` —
  `const dataPointId = makeId(`dp-${input.kriId}-${timestamp}-${Math.random()}`);`
- `libs/maat/risk/src/key-risk-indicators.ts:432` —
  `alertId: makeId(`alert-${kri.kriId}-${dataPoint.timestamp}-${Math.random()}`),`
- `libs/maat/risk/src/political-risk.ts:574` —
  `const assessmentId = makeId(`pr-${country}-${now}-${Math.random()}`);`
- `libs/maat/risk/src/risk-appetite.ts:303` —
  `const limitId = makeId(`lim-${input.company}-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/risk-appetite.ts:359` —
  `const observationId = makeId(`obs-${input.limitId}-${now}-${Math.random()}`);`
- `libs/maat/risk/src/risk-appetite.ts:579` —
  `breachId: makeId(`breach-${limit.limitId}-${Date.now()}-${Math.random()}`),`
- `libs/maat/risk/src/supply-chain-risk.ts:344` —
  `const nodeId = makeId(`node-${input.name}-${input.company}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/supply-chain-risk.ts:394` —
  `link-${input.sourceNodeId}-${input.targetNodeId}-${Date.now()}-${Math.random()}`
- `libs/maat/risk/src/supply-chain-risk.ts:432` —
  `const disruptionId = makeId(`disrupt-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/value-at-risk.ts:468` —
  `const positionId = makeId(`pos-${input.name}-${Date.now()}-${Math.random()}`);`
- `libs/maat/risk/src/value-at-risk.ts:642` —
  `const resultId = makeId(`var-param-${now}-${Math.random()}`);`
- `libs/maat/risk/src/value-at-risk.ts:741` —
  `const resultId = makeId(`var-hist-${now}-${Math.random()}`);`
- `libs/maat/risk/src/value-at-risk.ts:842` —
  `const resultId = makeId(`var-mc-${now}-${Math.random()}`);`
- `libs/maat/sdk/src/typed-client.ts:228` —
  `durationMs: Math.floor(Math.random() * 50) + 10,`
- `libs/maya/client/src/crash-reporting-and-diagnostics.ts:341` —
  `random: config.random ?? Math.random,`
- `libs/maya/database/src/data-anonymization.ts:50` —
  `const noise = (Math.random() * 2 - 1) * magnitude * Math.abs(value);`
- `libs/maya/documentation/src/api-documentation/interactive-api-explorer.ts:67`
  — `duration_ms: Math.random() * 50 + 5,`
- `libs/maya/documentation/src/tutorials-guides/deployment-guide.ts:119` —
  `return { status: 'healthy', activeUsers: Math.floor(Math.random() * 100), errorRate_pct: 0.1 };`
- `libs/maya/testing/src/integration-testing/load-testing.ts:35` —
  `let r = Math.random() * totalWeight;`
- `libs/maya/testing/src/integration-testing/world-streaming-tests.ts:62` —
  `entities: Math.floor(Math.random() * 20),`
- `libs/maya/tooling/src/asset-tools/batch-processing-tools.ts:83` —
  `if (type === 'Validate' && Math.random() < 0.05) {`
- `libs/maya/tooling/src/profiling/gpu-profiler-integration.ts:59` —
  `return baseTimes[stage] * (0.9 + Math.random() * 0.2);`
- `libs/maya/tooling/src/profiling/telemetry-collection.ts:68` —
  `if (Math.random() > this.config.sampleRate) return;`
- `libs/maya/tooling/src/world-editor/foliage-painting-tools.ts:44` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/maya/tooling/src/world-editor/foliage-painting-tools.ts:45` —
  `const r = Math.random() * radius;`
- `libs/maya/tooling/src/world-editor/foliage-painting-tools.ts:75` —
  `const scale = brush.scaleMin + Math.random() * (brush.scaleMax - brush.scaleMin);`
- `libs/maya/tooling/src/world-editor/foliage-painting-tools.ts:76` —
  `const rotation = brush.randomRotation ? { y_deg: Math.random() * 360 } : { y_deg: 0 };`
- `libs/maya/tooling/src/world-editor/play-in-editor-mode.ts:79` —
  `physicsMs: 1.5 + Math.random() * 0.5,`
- `libs/maya/tooling/src/world-editor/play-in-editor-mode.ts:80` —
  `aiMs: 0.8 + Math.random() * 0.2,`
- `libs/meditation/player/src/queue.ts:786` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/meditation/session/src/analytics.ts:554` —
  `if (Math.random() > this.config.sampleRate) {`
- `libs/metis/ab-testing/src/variant-assigner/variant-assigner.ts:315` —
  `const randomValue = Math.random();`
- `libs/metis/adaptive/src/adaptation/content-selector.ts:59` —
  `this.randomFn = randomFn ?? Math.random;`
- `libs/metis/agents/src/agents/research-agent.ts:263` —
  `reliabilityScore: tmpl.baseReliability + (Math.random() > 0.5 ? 5 : -5),`
- `libs/metis/integrations/src/yemaya-integration.ts:691` —
  `const quality = Math.round(Math.max(30, 85 - positionPenalty + Math.random() * 10));`
- `libs/metis/knowledge-graph/src/applications/visualization-data.ts:122` —
  `x: Math.random() * this.config.width,`
- `libs/metis/knowledge-graph/src/applications/visualization-data.ts:123` —
  `y: Math.random() * this.config.height,`
- `libs/metis/knowledge-graph/src/operations/graph-analytics.ts:257` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/metis/model-registry/src/task-router/task-router.ts:642` —
  `let roll = Math.random() * totalWeight;`
- `libs/metis/multimedia/src/video/gpu-worker-pool.ts:213` —
  `idleWorker.memoryUsageMB = Math.min(this.config.memoryLimitMB, 200 + Math.random() * 300);`
- `libs/metis/prompt-management/src/few-shot-library/few-shot-library.ts:309` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/metis/prompt-management/src/few-shot-library/few-shot-library.ts:330` —
  `let threshold = Math.random() * totalWeight;`
- `libs/mnemosyne/core/src/ai-infrastructure.ts:2060` —
  `const factor = Math.random() > 0.5 ? 10 : 0.1;`
- `libs/mnemosyne/core/src/assessment.ts:383` —
  `const r = rng !== undefined ? rng : Math.random();`
- `libs/mnemosyne/experience/src/experience.ts:335` —
  `if (Math.random() < epsilon) {`
- `libs/mnemosyne/linguistics/src/linguistics.ts:2407` —
  `const vocd = Math.random() * 30 + 60; // D approximation`
- `libs/mnemosyne/linguistics/src/linguistics.ts:2430` —
  `return { word, ...entry, strength: 0.7 + Math.random() * 0.3 };`
- `libs/neith/integration-isis/src/generation-pipeline/ab-testing.ts:282` —
  `const rand = seed !== undefined ? (seed % 1000) / 1000 : Math.random();`
- `libs/neith/integration-isis/src/types.ts:278` —
  `seed: req.seed ?? Math.floor(Math.random() * 0xffffffff),`
- `libs/neith/integration-isis/src/types.ts:299` —
  `embeddings: inputs.map(() => Array.from({ length: dims }, () => Math.random() * 2 - 1)),`
- `libs/neith/integration-maya/src/metaverse-platform/social-features.ts:213` —
  `return `${prefix}_${now.getTime()}\_${Math.random()`
- `libs/neith/integration-yemaya/src/dcc-tools/sculptor-adapter.ts:411` —
  `seed: Math.floor(Math.random() * 2 ** 31),`
- `libs/neith/observability/src/logging/correlation.ts:181` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `libs/neith/observability/src/logging/correlation.ts:205` —
  `for (let i = 0; i < 16; i++) bytes[i] = Math.floor(Math.random() * 256);`
- `libs/neith/observability/src/logging/correlation.ts:217` —
  `for (let i = 0; i < 8; i++) bytes[i] = Math.floor(Math.random() * 256);`
- `libs/neith/qa/src/code-quality/duplication.ts:203` —
  `() => Math.floor(Math.random() * (MinHashDetector.LARGE_PRIME - 1)) + 1`
- `libs/neith/qa/src/code-quality/duplication.ts:206` —
  `Math.floor(Math.random() * MinHashDetector.LARGE_PRIME)`
- `libs/neith/qa/src/code-quality/security.ts:177` —
  `description: 'Math.random() used for security-sensitive operations',`
- `libs/neith/qa/src/code-quality/security.ts:192` —
  `'Math.random() used in security-sensitive context — not cryptographically secure',`
- `libs/neith/testing/src/e2e/load.ts:509` — `let rand = Math.random() * total;`
- `libs/neith/testing/src/performance/latency.ts:161` —
  `if (Math.random() <= this.samplingRate) {`
- `libs/neith/testing/src/unit/factories.ts:247` —
  `const local = `${fake.firstName().toLowerCase()}.${fake.lastName().toLowerCase()}${Math.floor(Math.random() \*
  100)}`;`
- `libs/neith/testing/src/unit/factories.ts:255` —
  `integer: (min = 0, max = 1000): number => min + Math.floor(Math.random() * (max - min + 1)),`
- `libs/neith/testing/src/unit/factories.ts:258` —
  `float: (min = 0, max = 1): number => min + Math.random() * (max - min),`
- `libs/neith/testing/src/unit/factories.ts:261` —
  `boolean: (): boolean => Math.random() > 0.5,`
- `libs/neith/testing/src/unit/factories.ts:265` —
  `return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));`
- `libs/neith/testing/src/unit/factories.ts:280` —
  `const octet = () => Math.floor(Math.random() * 256);`
- `libs/neith/testing/src/unit/factories.ts:286` —
  ``#${Math.floor(Math.random() * 0xffffff)`
- `libs/neith/testing/src/unit/factories.ts:315` —
  `phone: (): string => `+1${Math.floor(Math.random() \* 9000000000 +
  1000000000)}`,`
- `libs/neith/testing/src/unit/factories.ts:318` —
  `zipCode: (): string => String(Math.floor(Math.random() * 90000 + 10000)),`
- `libs/neith/testing/src/unit/fixtures.ts:223` —
  `const serverPort = port ?? 3000 + Math.floor(Math.random() * 5000);`
- `libs/nisaba/annotations/src/annotation-exports.ts:64` —
  `Math.floor(Math.random() * 0x10000)`
- `libs/nisaba/annotations/src/standoff-annotations.ts:49` —
  `Math.floor(Math.random() * 0x10000)`
- `libs/nisaba/criticism/src/stemmatic-analysis.ts:1714` —
  `config.randomSeed !== undefined ? seededRandom(config.randomSeed) : () => Math.random();`
- `libs/nisaba/translations/src/alignment/manual-alignment.ts:268` —
  `Math.floor(Math.random() * 0x10000)`
- `libs/nous/audio/src/streaming-asr.ts:798` —
  `const entropy = Math.floor(stableUnit(`streaming:${now}:${Math.random()}`) * 1e9)`
- `libs/nous/llm/src/action-selection.ts:297` —
  `this.rng = options.rng ?? (() => Math.random());`
- `libs/nous/llm/src/agent-delegation.ts:1015` —
  `const index = Math.floor(Math.random() * ranked.length);`
- `libs/nous/llm/src/error-recovery.ts:328` —
  `this.rng = options.rng ?? (() => Math.random());`
- `libs/nous/llm/src/tool-selection.ts:305` —
  `this.rng = options.rng ?? (() => Math.random());`
- `libs/nyx/audio/sonification/src/sonification.ts:586` —
  `audioPeriod = 500 + Math.random() * 2000;`
- `libs/nyx/catalogs/deep-sky/messier/src/index.ts:631` —
  `const index = Math.floor(Math.random() * this.objects.length);`
- `libs/nyx/catalogs/deep-sky/pulsars/src/index.ts:210` —
  `const index = Math.floor(Math.random() * ALL_PULSARS.length);`
- `libs/nyx/catalogs/deep-sky/snr/src/index.ts:690` —
  `const index = Math.floor(Math.random() * ALL_SNRS.length);`
- `libs/nyx/catalogs/supernovae/src/historical.ts:2246` —
  `const index = Math.floor(Math.random() * HISTORICAL_SUPERNOVAE.length);`
- `libs/nyx/education/quiz-system/src/quiz-service.ts:760` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/nyx/education/quiz-system/src/state.ts:866` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/nyx/integrations/stellarium/src/utils.ts:382` —
  `const r = (Math.random() * 16) | 0;`
- `libs/nyx/integrations/telescope/src/alpaca-client.ts:247` —
  `clientId: config.clientId ?? Math.floor(Math.random() * 65536),`
- `libs/nyx/lilith-integration/src/lilith-integration.ts:847` —
  `const index = Math.floor(Math.random() * COSMIC_VISUALIZATIONS.length);`
- `libs/nyx/lilith-integration/src/lilith-integration.ts:895` —
  `const index = Math.floor(Math.random() * SPACE_PARALLELS.length);`
- `libs/nyx/lilith-integration/src/lilith-integration.ts:986` —
  `const index = Math.floor(Math.random() * allFacts.length);`
- `libs/nyx/orbital/src/n-body.ts:1888` —
  `x = (Math.random() * 2 - 1) * radius;`
- `libs/nyx/orbital/src/n-body.ts:1889` —
  `y = (Math.random() * 2 - 1) * radius;`
- `libs/nyx/orbital/src/n-body.ts:1890` —
  `z = (Math.random() * 2 - 1) * radius;`
- `libs/nyx/orbital/src/n-body.ts:1919` —
  `const phi = Math.acos(2 * Math.random() - 1);`
- `libs/nyx/orbital/src/n-body.ts:1920` —
  `const v = velocityScale * Math.random();`
- `libs/nyx/renderer/background/src/cmb.ts:1614` —
  `const theta1 = Math.random() * PI;`
- `libs/nyx/renderer/background/src/cmb.ts:1615` —
  `const phi1 = Math.random() * TWO_PI - PI; // [-π, π]`
- `libs/nyx/renderer/hdr/src/tonemapping.ts:423` —
  `const noise = () => (Math.random() + Math.random() - 1) / levels;`
- `libs/nyx/renderer/stars/src/point-stars.ts:1106` —
  `const ra = Math.random() * Math.PI * 2;`
- `libs/nyx/renderer/stars/src/point-stars.ts:1107` —
  `const dec = Math.asin(Math.random() * 2 - 1);`
- `libs/nyx/renderer/stars/src/point-stars.ts:1111` —
  `const mag = minMag + Math.pow(Math.random(), 0.5) * magRange;`
- `libs/nyx/renderer/stars/src/point-stars.ts:1114` —
  `const temp = 3000 + Math.pow(Math.random(), 2) * 27000;`
- `libs/oshun/domain-tara/src/ritual-completion-events.ts:185` —
  ``tara-ritual-completed-${ritualId}-${Date.parse(occurredAt).toString(36)}-${Math.random()`
- `libs/oya/core/src/advanced-slam-vio.ts:2928` —
  `patchDescriptor: Math.random(),`
- `libs/oya/core/src/airsim-integration.ts:298` —
  `const elevation = -0.3 + 0.6 * Math.random();`
- `libs/oya/core/src/airsim-integration.ts:299` —
  `const range = maxRange * (0.3 + 0.7 * Math.random());`
- `libs/oya/core/src/airsim-integration.ts:305` —
  `intensity: Math.floor(Math.random() * 256),`
- `libs/oya/core/src/body-reconstruction-3d.ts:211` —
  `const radius = 0.03 + Math.random() * 0.02;`
- `libs/oya/core/src/camera-gimbal-api.ts:146` —
  `sizeBytes: 5_000_000 + Math.floor(Math.random() * 3_000_000),`
- `libs/oya/core/src/consensus-algorithms.ts:1297` —
  `this.rng = rng ?? Math.random;`
- `libs/oya/core/src/consensus-algorithms.ts:2519` —
  `this.rng = rng ?? Math.random;`
- `libs/oya/core/src/consensus-algorithms.ts:3186` —
  `this.rng = rng ?? Math.random;`
- `libs/oya/core/src/depth-sensors.ts:2384` —
  `const i0 = Math.floor(Math.random() * points.length);`
- `libs/oya/core/src/depth-sensors.ts:2385` —
  `let i1 = Math.floor(Math.random() * points.length);`
- `libs/oya/core/src/depth-sensors.ts:2386` —
  `let i2 = Math.floor(Math.random() * points.length);`
- `libs/oya/core/src/depth-sensors.ts:2527` —
  `const i0 = Math.floor(Math.random() * points.length);`
- `libs/oya/core/src/depth-sensors.ts:2528` —
  `const i1 = (i0 + 1 + Math.floor(Math.random() * (points.length - 1))) % points.length;`
- `libs/oya/core/src/depth-sensors.ts:2529` —
  `let i2 = (i0 + 2 + Math.floor(Math.random() * (points.length - 2))) % points.length;`
- `libs/oya/core/src/depth-sensors.ts:2651` —
  `const i0 = Math.floor(Math.random() * remainingPoints.length);`
- `libs/oya/core/src/depth-sensors.ts:2653` —
  `(i0 + 1 + Math.floor(Math.random() * (remainingPoints.length - 1))) %`
- `libs/oya/core/src/depth-sensors.ts:2656` —
  `(i0 + 2 + Math.floor(Math.random() * (remainingPoints.length - 2))) %`
- `libs/oya/core/src/edge-deployment.ts:2327` —
  `return Math.random() * 100 < this.canaryPercentage ? this.canaryModelId : this.stableModelId;`
- `libs/oya/core/src/enterprise-platform.ts:1711` —
  `return `${s(8)}-${s(4)}-4${s(3)}-${hex[8 + Math.floor(Math.random() *
  4)]}${s(3)}-${s(12)}`;`
- `libs/oya/core/src/enterprise-platform.ts:3761` —
  `const swapTimeMs = 45000 + Math.random() * 15000; // 45-60 seconds`
- `libs/oya/core/src/gnn-swarm-intelligence.ts:3913` —
  `const episodeLength = 50 + Math.floor(Math.random() * 150);`
- `libs/oya/core/src/gnn-swarm-intelligence.ts:3918` —
  `const win = Math.random() < progressFactor * 0.7;`
- `libs/oya/core/src/gnn-swarm-intelligence.ts:3921` —
  `const epReturn = win ? 20 + Math.random() * 5 : -10 + Math.random() * 15;`
- `libs/oya/core/src/gnn-swarm-intelligence.ts:3925` —
  `totalDeaths += Math.floor(this.config.numAgents * (1 - progressFactor * 0.6) * Math.random());`
- `libs/oya/core/src/gnn-swarm-intelligence.ts:4492` —
  `const idx = Math.floor(Math.random() * available.length);`
- `libs/oya/core/src/gps-navigation.ts:4973` —
  `const elevDeg = 10 + Math.random() * 70;`
- `libs/oya/core/src/gps-navigation.ts:4974` —
  `const azDeg = (i / n) * 360 + Math.random() * 30;`
- `libs/oya/core/src/gps-navigation.ts:4976` —
  `const cnoDB = 25 + elevDeg * 0.3 + Math.random() * 10;`
- `libs/oya/core/src/inter-drone-communication.ts:1315` —
  `this.sendSequenceNum = Math.floor(Math.random() * 65536);`
- `libs/oya/core/src/mission-execution.ts:138` —
  `Math.floor(Math.random() * 16 ** n)`
- `libs/oya/core/src/mission-execution.ts:141` —
  `return `${hex(8)}-${hex(4)}-4${hex(3)}-${(8 + Math.floor(Math.random() \*
  4)).toString(16)}${hex(3)}-${hex(12)}`;`
- `libs/oya/core/src/model-inference.ts:275` —
  `this.cudaStreamId = Math.floor(Math.random() * 65536);`
- `libs/oya/core/src/model-inference.ts:641` — `data[i] = Math.random() * 0.5;`
- `libs/oya/core/src/model-inference.ts:770` — `data[i] = Math.random() * 0.3;`
- `libs/oya/core/src/model-inference.ts:813` — `data[i] = Math.random() * 0.3;`
- `libs/oya/core/src/model-inference.ts:1741` —
  `for (let i = 0; i < elements; i++) data[i] = Math.floor(Math.random() * 256);`
- `libs/oya/core/src/model-inference.ts:1745` —
  `for (let i = 0; i < elements; i++) data[i] = Math.floor(Math.random() * 256) - 128;`
- `libs/oya/core/src/model-inference.ts:1749` —
  `for (let i = 0; i < elements; i++) data[i] = Math.random() * 2 - 1;`
- `libs/oya/core/src/model-optimization.ts:985` —
  `kernelSize: ss.kernelSizes[Math.floor(Math.random() * ss.kernelSizes.length)],`
- `libs/oya/core/src/model-optimization.ts:986` —
  `expansion: ss.expansionRatios[Math.floor(Math.random() * ss.expansionRatios.length)],`
- `libs/oya/core/src/model-optimization.ts:987` —
  `channels: ss.channelMultipliers[Math.floor(Math.random() * ss.channelMultipliers.length)],`
- `libs/oya/core/src/model-optimization.ts:988` —
  `depth: ss.depthOptions[Math.floor(Math.random() * ss.depthOptions.length)],`
- `libs/oya/core/src/model-optimization.ts:989` —
  `useSE: ss.includeSeBlock && Math.random() > 0.5,`
- `libs/oya/core/src/model-optimization.ts:990` —
  `useSkip: ss.includeSkipConnections && Math.random() > 0.3,`
- `libs/oya/core/src/model-optimization.ts:1013` —
  `const idx = Math.floor(Math.random() * this.population.length);`
- `libs/oya/core/src/model-optimization.ts:1025` — `const r = Math.random();`
- `libs/oya/core/src/model-optimization.ts:1028` —
  `mutated.kernelSize = ss.kernelSizes[Math.floor(Math.random() * ss.kernelSizes.length)];`
- `libs/oya/core/src/model-optimization.ts:1031` —
  `ss.expansionRatios[Math.floor(Math.random() * ss.expansionRatios.length)];`
- `libs/oya/core/src/model-optimization.ts:1034` —
  `ss.channelMultipliers[Math.floor(Math.random() * ss.channelMultipliers.length)];`
- `libs/oya/core/src/model-optimization.ts:1036` —
  `mutated.depth = ss.depthOptions[Math.floor(Math.random() * ss.depthOptions.length)];`
- `libs/oya/core/src/modern-simulation-platforms.ts:530` —
  `this.ros2Bridge.latencyMs = 0.1 + Math.random() * 0.5;`
- `libs/oya/core/src/modern-simulation-platforms.ts:2569` —
  `const targetSpeed = maxSpeed * (0.5 + Math.random() * 0.5);`
- `libs/oya/core/src/multi-camera-coordination.ts:698` —
  `phaseOffset: initialPhaseOffset ?? Math.random() * 0.5 - 0.25,`
- `libs/oya/core/src/observability.ts:210` —
  `bytes[i] = Math.floor(Math.random() * 256);`
- `libs/oya/core/src/observability.ts:876` —
  `const sampled = parentContext?.sampled ?? Math.random() < this.config.sampleRate;`
- `libs/oya/core/src/obstacle-avoidance.ts:2443` —
  `const startIdx = Math.floor(Math.random() * len);`
- `libs/oya/core/src/path-planning.ts:794` —
  `this.bounds.min.x + Math.random() * (this.bounds.max.x - this.bounds.min.x),`
- `libs/oya/core/src/path-planning.ts:795` —
  `this.bounds.min.y + Math.random() * (this.bounds.max.y - this.bounds.min.y),`
- `libs/oya/core/src/path-planning.ts:796` —
  `this.bounds.min.z + Math.random() * (this.bounds.max.z - this.bounds.min.z)`
- `libs/oya/core/src/path-planning.ts:848` —
  `const sample = Math.random() < this.goalBias ? goal : this.sampleRandom();`
- `libs/oya/core/src/path-planning.ts:923` —
  `const sample = Math.random() < this.goalBias ? goal : this.sampleRandom();`
- `libs/oya/core/src/path-planning.ts:1013` —
  `this.bounds.min.x + Math.random() * (this.bounds.max.x - this.bounds.min.x),`
- `libs/oya/core/src/path-planning.ts:1014` —
  `this.bounds.min.y + Math.random() * (this.bounds.max.y - this.bounds.min.y),`
- `libs/oya/core/src/path-planning.ts:1015` —
  `this.bounds.min.z + Math.random() * (this.bounds.max.z - this.bounds.min.z)`
- `libs/oya/core/src/path-planning.ts:1191` — `bx = 2 * Math.random() - 1;`
- `libs/oya/core/src/path-planning.ts:1192` — `by = 2 * Math.random() - 1;`
- `libs/oya/core/src/path-planning.ts:1193` — `bz = 2 * Math.random() - 1;`
- `libs/oya/core/src/path-planning.ts:1226` —
  `if (Math.random() < this.goalBias) {`
- `libs/oya/core/src/path-planning.ts:1344` —
  `this.bounds.min.x + Math.random() * (this.bounds.max.x - this.bounds.min.x),`
- `libs/oya/core/src/path-planning.ts:1345` —
  `this.bounds.min.y + Math.random() * (this.bounds.max.y - this.bounds.min.y),`
- `libs/oya/core/src/path-planning.ts:1346` —
  `this.bounds.min.z + Math.random() * (this.bounds.max.z - this.bounds.min.z)`
- `libs/oya/core/src/path-planning.ts:1768` —
  `const angle = Math.random() * 2 * Math.PI;`
- `libs/oya/core/src/path-planning.ts:2006` —
  `vx = (2 * Math.random() - 1) * maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2007` —
  `vy = (2 * Math.random() - 1) * maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2008` —
  `vz = (2 * Math.random() - 1) * maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2075` —
  `vx = (2 * Math.random() - 1) * agent.maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2076` —
  `vy = (2 * Math.random() - 1) * agent.maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2077` —
  `vz = (2 * Math.random() - 1) * agent.maxSpeed;`
- `libs/oya/core/src/path-planning.ts:2803` —
  `this.bounds.min.x + Math.random() * (this.bounds.max.x - this.bounds.min.x),`
- `libs/oya/core/src/path-planning.ts:2804` —
  `this.bounds.min.y + Math.random() * (this.bounds.max.y - this.bounds.min.y),`
- `libs/oya/core/src/path-planning.ts:2805` —
  `this.bounds.min.z + Math.random() * (this.bounds.max.z - this.bounds.min.z)`
- `libs/oya/core/src/path-planning.ts:2884` —
  `const sample = Math.random() < 0.1 ? goalState : this.sampleRandomState();`
- `libs/oya/core/src/physics-simulation.ts:828` —
  `if (Math.random() < failure.intermittentProbability) result[idx] = 0;`
- `libs/oya/core/src/physics-simulation.ts:1125` —
  `randomSeed: Math.floor(Math.random() * 2147483647),`
- `libs/oya/core/src/physics-simulation.ts:1178` —
  `conditions[name] = min + Math.random() * (max - min);`
- `libs/oya/core/src/sam-integration.ts:4076` —
  `confMap[i] = classMap[i] === cls ? 0.85 + Math.random() * 0.15 : Math.random() * 0.05;`
- `libs/oya/core/src/sam-integration.ts:4606` —
  `const range: [number, number] = [-(2 + Math.random()), 2 + Math.random()];`
- `libs/oya/core/src/sapiens-integration.ts:1138` —
  `const x = clamp(offsetX + spread * Math.sin(angle) * (0.8 + Math.random() * 0.4), 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:1139` —
  `const y = clamp(offsetY + spread * t * (0.9 + Math.random() * 0.2), 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:1140` —
  `const conf = clamp(baseConf * (0.85 + Math.random() * 0.15), 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:1284` —
  `const conf = clamp(baseConf * (0.88 + Math.random() * 0.12), 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:2289` —
  `const conf = clamp(0.7 + Math.random() * 0.25, 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:2632` —
  `const personCount = Math.min(maxPersons, 1 + Math.floor(Math.random() * 3));`
- `libs/oya/core/src/sapiens-integration.ts:2777` —
  `const faceCount = Math.min(maxFaces, 1 + Math.floor(Math.random() * 2));`
- `libs/oya/core/src/sapiens-integration.ts:3310` —
  `const trainLoss = 2.5 * Math.exp(-3 * progress) + 0.1 + Math.random() * 0.05;`
- `libs/oya/core/src/sapiens-integration.ts:3311` —
  `const valLoss = trainLoss * (1.1 + Math.random() * 0.1);`
- `libs/oya/core/src/sapiens-integration.ts:3320` —
  `valMetric = clamp(0.4 + progress * 0.45 + Math.random() * 0.03, 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:3324` —
  `valMetric = clamp(3.5 - progress * 2.5 + Math.random() * 0.2, 0.5, 5);`
- `libs/oya/core/src/sapiens-integration.ts:3328` —
  `valMetric = clamp(0.35 + progress * 0.4 + Math.random() * 0.02, 0, 1);`
- `libs/oya/core/src/sapiens-integration.ts:3332` —
  `valMetric = clamp(0.25 - progress * 0.18 + Math.random() * 0.01, 0.05, 0.5);`
- `libs/oya/core/src/sapiens-integration.ts:3336` —
  `valMetric = clamp(25 - progress * 18 + Math.random(), 5, 30);`
- `libs/oya/core/src/sapiens-integration.ts:3398` —
  `rotation: (Math.random() * 2 - 1) * aug.rotationRange,`
- `libs/oya/core/src/sapiens-integration.ts:3399` —
  `scale: aug.scaleRange[0] + Math.random() * (aug.scaleRange[1] - aug.scaleRange[0]),`
- `libs/oya/core/src/sapiens-integration.ts:3400` —
  `perspectiveWarp: Math.random() * aug.perspectiveStrength,`
- `libs/oya/core/src/sapiens-integration.ts:3401` —
  `horizontalFlip: Math.random() < aug.horizontalFlipProb,`
- `libs/oya/core/src/sapiens-integration.ts:3402` —
  `colorJitter: Math.random() * aug.colorJitter,`
- `libs/oya/core/src/sapiens-integration.ts:3403` —
  `blur: Math.random() < aug.blurProb,`
- `libs/oya/core/src/sapiens-integration.ts:3405` —
  `aug.altitudeRange[0] + Math.random() * (aug.altitudeRange[1] - aug.altitudeRange[0]),`
- `libs/oya/core/src/sapiens-integration.ts:3406` —
  `motionBlur: Math.random() < aug.motionBlurProb,`
- `libs/oya/core/src/sapiens-integration.ts:3407` —
  `lensDistortion: (Math.random() * 2 - 1) * aug.lensDistortion,`
- `libs/oya/core/src/sapiens-integration.ts:4045` —
  `const buildTimeMs = Math.round(spec.parametersBillions * 30000 + Math.random() * 5000);`
- `libs/oya/core/src/sdk-core.ts:625` —
  `const jittered = raw + raw * 0.1 * Math.random();`
- `libs/oya/core/src/sitl-integration-framework.ts:335` —
  `uuid += hex[(Math.random() * 4) | 8];`
- `libs/oya/core/src/sitl-integration-framework.ts:337` —
  `uuid += hex[(Math.random() * 16) | 0];`
- `libs/oya/core/src/sitl-integration-framework.ts:1303` —
  `if (this.packetLossRate > 0 && Math.random() < this.packetLossRate) {`
- `libs/oya/core/src/sitl-integration-framework.ts:1319` —
  `if (this.packetLossRate > 0 && Math.random() < this.packetLossRate) {`
- `libs/oya/core/src/swarm-collision-avoidance.ts:1436` —
  `this.rng = rngSeed ?? Math.random;`
- `libs/oya/core/src/swarm-collision-avoidance.ts:2747` —
  `this.rng = rng ?? Math.random;`
- `libs/oya/core/src/task-allocation.ts:1087` —
  `const genes = this.tasks.map(() => Math.floor(Math.random() * this.drones.length));`
- `libs/oya/core/src/task-allocation.ts:1123` —
  `const point = Math.floor(Math.random() * this.tasks.length);`
- `libs/oya/core/src/task-allocation.ts:1131` —
  `if (Math.random() < this.mutationRate) {`
- `libs/oya/core/src/task-allocation.ts:1132` —
  `chrom.genes[i] = Math.floor(Math.random() * this.drones.length);`
- `libs/oya/core/src/task-allocation.ts:1141` —
  `const idx = Math.floor(Math.random() * population.length);`
- `libs/oya/core/src/task-allocation.ts:1300` —
  `const position = Array.from({ length: dim }, () => Math.random() * maxVal);`
- `libs/oya/core/src/task-allocation.ts:1320` — `const r1 = Math.random();`
- `libs/oya/core/src/task-allocation.ts:1321` — `const r2 = Math.random();`
- `libs/oya/core/src/task-allocation.ts:1463` —
  `if (Math.random() < this.epsilon) {`
- `libs/oya/core/src/task-allocation.ts:1466` —
  `action[t] = Math.floor(Math.random() * this.drones.length);`
- `libs/oya/core/src/task-allocation.ts:1524` —
  `const idx = Math.floor(Math.random() * this.replayBuffer.length);`
- `libs/oya/core/src/video-streaming.ts:1059` —
  `const handshakeLatency = 50 + Math.random() * 150;`
- `libs/oya/core/src/video-streaming.ts:1521` —
  `const lossRate = 0.001 + Math.random() * 0.01;`
- `libs/oya/core/src/video-streaming.ts:1529` —
  `this.rttMs = 10 + Math.random() * 40;`
- `libs/oya/core/src/yolov12-integration.ts:2428` —
  `const ap = this.bestMAP50 * difficulty * (0.9 + Math.random() * 0.2);`
- `libs/psyche/avatar-expressions/src/micro-expressions.ts:131` —
  `const duration = minDuration + Math.random() * (maxDuration - minDuration);`
- `libs/psyche/avatar-expressions/src/micro-expressions.ts:344` —
  `this.generator.trigger(this.suppressedEmotion, 0.5 + Math.random() * 0.3);`
- `libs/psyche/avatar-expressions/src/micro-expressions.ts:470` —
  `return min + Math.random() * (max - min);`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:271` —
  `const phi = Math.acos(2 * Math.random() - 1);`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:272` —
  `const theta = 2 * Math.PI * Math.random();`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:305` —
  `colors[i] = 0.5 + Math.random() * 0.5; // Random colors`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:369` —
  `const idx1 = Math.floor(Math.random() * points.length);`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:370` —
  `const idx2 = Math.floor(Math.random() * points.length);`
- `libs/psyche/avatar-isis-integration/src/mesh-to-gaussian.ts:375` —
  `const t = Math.random();`
- `libs/psyche/avatar-training/src/backend.ts:100` —
  `gaussianCount: this.metrics!.gaussianCount + Math.floor(Math.random() * 1000),`
- `libs/psyche/avatar-training/src/preprocessing.ts:706` —
  `.map(() => Math.random() * 0.1)`
- `libs/psyche/avatar-training/src/preprocessing.ts:721` —
  `const isValid = Math.random() > 0.05; // 95% valid frames`
- `libs/psyche/avatar-training/src/preprocessing.ts:729` —
  `x: 200 + Math.random() * 50,`
- `libs/psyche/avatar-training/src/preprocessing.ts:730` —
  `y: 100 + Math.random() * 30,`
- `libs/psyche/avatar-training/src/preprocessing.ts:745` —
  `.map(() => [300 + Math.random() * 100, 300 + Math.random() * 100]) as [number, number][],`
- `libs/psyche/avatar-training/src/preprocessing.ts:766` —
  `.map(() => Math.random() * 0.1),`
- `libs/psyche/avatar-training/src/preprocessing.ts:773` —
  `loss: 0.001 + Math.random() * 0.001,`
- `libs/psyche/avatar-training/src/preprocessing.ts:774` —
  `reprojectionError: 1 + Math.random() * 0.5,`
- `libs/psyche/avatar-training/src/preprocessing.ts:789` —
  `sharpness: 80 + Math.random() * 40,`
- `libs/psyche/avatar-training/src/preprocessing.ts:790` —
  `brightness: 100 + Math.random() * 50,`
- `libs/psyche/avatar-training/src/preprocessing.ts:791` —
  `contrast: 50 + Math.random() * 20,`
- `libs/psyche/browser-automation/src/utils.ts:654` —
  `return Math.floor(Math.random() * (max - min + 1)) + min;`
- `libs/psyche/browser-automation/src/utils.ts:662` —
  `x: box.x + Math.random() * box.width,`
- `libs/psyche/browser-automation/src/utils.ts:663` —
  `y: box.y + Math.random() * box.height,`
- `libs/psyche/emotion-recognition/src/learned-fusion.ts:2403` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/psyche/gaze-control/src/conversation.ts:194` —
  `if (Math.random() < threshold) {`
- `libs/psyche/gaze-control/src/conversation.ts:203` —
  `if (authority > 0 && Math.random() < this.authorityDownwardAversionRatio * authority) {`
- `libs/psyche/gaze-control/src/conversation.ts:217` —
  `if (Math.random() < threshold) {`
- `libs/psyche/gaze-control/src/conversation.ts:225` —
  `if (Math.random() < mouthRatio) {`
- `libs/psyche/gaze-control/src/conversation.ts:233` —
  `if (authority > 0 && Math.random() < this.authorityDownwardAversionRatio * authority) {`
- `libs/psyche/gaze-control/src/conversation.ts:246` —
  `if (Math.random() < threshold) {`
- `libs/psyche/gaze-control/src/conversation.ts:261` —
  `if (Math.random() < 0.5) {`
- `libs/psyche/gaze-control/src/fixation.ts:122` —
  `let baseDuration = range[0] + Math.random() * (range[1] - range[0]);`
- `libs/psyche/gaze-control/src/fixation.ts:263` —
  `const baseDuration = range[0] + Math.random() * (range[1] - range[0]);`
- `libs/psyche/gaze-control/src/microsaccade.ts:84` —
  `const freq = minFreq + Math.random() * (maxFreq - minFreq);`
- `libs/psyche/gaze-control/src/microsaccade.ts:88` —
  `interval *= 0.7 + Math.random() * 0.6;`
- `libs/psyche/gaze-control/src/microsaccade.ts:100` —
  `Math.random() * (this.params.maxAmplitude - this.params.minAmplitude);`
- `libs/psyche/gaze-control/src/microsaccade.ts:103` —
  `const angle = Math.random() * 2 * Math.PI;`
- `libs/psyche/gaze-control/src/microsaccade.ts:113` —
  `Math.random() * (this.params.durationRange[1] - this.params.durationRange[0]);`
- `libs/psyche/gaze-control/src/microsaccade.ts:290` —
  `return params.minAmplitude + Math.random() * (params.maxAmplitude - params.minAmplitude);`
- `libs/psyche/gaze-control/src/microsaccade.ts:297` —
  `return Math.random() * 2 * Math.PI;`
- `libs/psyche/gaze-control/src/targets.ts:118` —
  `yaw = -0.5 - Math.random() * 0.3; // -0.5 to -0.8 (30-45 degrees left)`
- `libs/psyche/gaze-control/src/targets.ts:123` —
  `yaw = 0.5 + Math.random() * 0.3; // 0.5 to 0.8 (30-45 degrees right)`
- `libs/psyche/gaze-control/src/targets.ts:129` —
  `pitch = 0.4 + Math.random() * 0.3; // 0.4 to 0.7`
- `libs/psyche/gaze-control/src/targets.ts:134` —
  `pitch = -0.3 - Math.random() * 0.2; // -0.3 to -0.5`
- `libs/psyche/gaze-control/src/targets.ts:154` —
  `preferDirection === 'auto' ? (Math.random() < 0.5 ? 'left' : 'right') : preferDirection;`
- `libs/psyche/gaze-control/src/targets.ts:156` —
  `const yaw = direction === 'left' ? -0.3 - Math.random() * 0.2 : 0.3 + Math.random() * 0.2;`
- `libs/psyche/gaze-control/src/targets.ts:157` —
  `const pitch = 0.2 + Math.random() * 0.2; // Looking up`
- `libs/psyche/gaze-control/src/targets.ts:163` —
  `durationHint: 0.6 + Math.random() * 0.6, // Longer for thinking`
- `libs/psyche/gaze-control/src/targets.ts:388` —
  `let random = Math.random() * total;`
- `libs/psyche/gaze-control/src/targets.ts:413` —
  `return Math.random() < 0.5 ? 'left' : 'right';`
- `libs/psyche/gaze-control/src/targets.ts:416` —
  `let random = Math.random() * total;`
- `libs/psyche/gesture-system/src/variation.ts:236` —
  `if (Math.random() < 0.5) {`
- `libs/psyche/head-movement/src/environmental.ts:92` —
  `if (Math.random() > this.getResponseProbability()) {`
- `libs/psyche/head-movement/src/idle.ts:85` —
  `swayPhase: Math.random() * Math.PI * 2,`
- `libs/psyche/head-movement/src/tilts.ts:105` —
  `this.preferredDirection = Math.random() < 0.5 ? -1 : 1;`
- `libs/psyche/head-movement/src/tilts.ts:361` —
  `if (Math.random() < this.directionSwitchProbability) {`
- `libs/psyche/human-evaluation/src/session-manager.ts:555` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/psyche/latency-analysis/src/histogram.ts:86` —
  `const idx = Math.floor(Math.random() * this.count);`
- `libs/psyche/latency-analysis/src/histogram.ts:244` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/psyche/micro-expressions/src/blink-patterns.ts:382` —
  `const multiplier = minMultiplier + Math.random() * (maxMultiplier - minMultiplier);`
- `libs/psyche/micro-expressions/src/blink-patterns.ts:443` —
  `Math.random() < this.config.incompleteBlinkProbability;`
- `libs/psyche/micro-expressions/src/blink-patterns.ts:447` —
  `this.config.allowDoubleBlinks && Math.random() < this.config.doubleBlinkProbability;`
- `libs/psyche/micro-expressions/src/micro-expressions.ts:193` —
  `const duration = minDuration + Math.random() * (maxDuration - minDuration);`
- `libs/psyche/micro-expressions/src/micro-expressions.ts:476` —
  `const leakIntensity = 0.5 + Math.random() * 0.3;`
- `libs/psyche/micro-expressions/src/micro-expressions.ts:553` —
  `return min + Math.random() * (max - min);`
- `libs/psyche/micro-expressions/src/subtle-movements.ts:248` —
  `const duration = minDur + Math.random() * (maxDur - minDur);`
- `libs/psyche/micro-expressions/src/subtle-movements.ts:251` —
  `const intensity = options.intensityOverride ?? minInt + Math.random() * (maxInt - minInt);`
- `libs/psyche/mobile-sdk/src/edge-offline.ts:215` —
  `latencyMs: 50 + Math.random() * 100,`
- `libs/psyche/noise-handling/src/echo-canceller.ts:656` —
  `const noise = (Math.random() * 2 - 1) * this.comfortNoiseLevel;`
- `libs/psyche/nps/src/calculator.ts:214` —
  `const randomIndex = Math.floor(Math.random() * scores.length);`
- `libs/psyche/participant-manager/src/gpu-parallel-processor.ts:930` —
  `const processingTime = job.estimatedComputeMs * (0.8 + Math.random() * 0.4);`
- `libs/psyche/participant-manager/src/social-network-mapper.ts:687` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/psyche/sophia-integration/src/embedding-adapter.ts:415` —
  `embedding.push(Math.random() * 2 - 1);`
- `libs/psyche/sophia-search-integration/src/search-adapter.ts:691` —
  `processingTimeMs: Math.random() * 100 + 50,`
- `libs/psyche/tavus-bridge/src/bridge.ts:433` —
  `const idx = Math.floor(Math.random() * this.videoBuffer.length);`
- `libs/psyche/tavus-bridge/src/bridge.ts:452` —
  `const idx = Math.floor(Math.random() * this.audioBuffer.length);`
- `libs/psyche/tavus-bridge/src/zoom-breakout-rooms.ts:408` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/psyche/tavus-client/src/mock.ts:255` —
  `return min + Math.random() * (max - min);`
- `libs/psyche/tavus-client/src/mock.ts:762` —
  `chunkCount: request.type === 'text' ? 1 : Math.ceil(Math.random() * 10),`
- `libs/psyche/tavus-client/src/multi-region.ts:583` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-conversation/src/recording.ts:541` —
  `return Array.from({ length: 64 }, () => Math.floor(Math.random() * 16).toString(16)).join('');`
- `libs/psyche/tavus-conversation/src/transcripts.ts:647` —
  `const duration = words.length * 0.3 + Math.random() * 0.5; // ~300ms per word + variation`
- `libs/psyche/tavus-conversation/src/transcripts.ts:675` —
  `emotionConfidence: emotion ? 0.7 + Math.random() * 0.25 : null,`
- `libs/psyche/tavus-conversation/src/transcripts.ts:681` —
  `currentTime += duration + 0.2 + Math.random() * 0.5; // Gap between utterances`
- `libs/psyche/tavus-conversation/src/transcripts.ts:759` —
  `const sentimentScores = segments.map(() => Math.random() * 2 - 1);`
- `libs/psyche/tavus-expression/src/expression-ab-testing.ts:1142` —
  `const random = Math.random() * 100;`
- `libs/psyche/tavus-expression/src/expression-ab-testing.ts:1205` —
  `const random = Math.random() * totalScore;`
- `libs/psyche/tavus-hybrid/src/ab-testing.ts:830` —
  `const random = Math.random() * 100;`
- `libs/psyche/tavus-hybrid/src/ab-testing.ts:893` —
  `const random = Math.random() * totalScore;`
- `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts:254` —
  `const u = Math.random();`
- `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts:271` —
  `const u = Math.random();`
- `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts:491` —
  `const explore = Math.random() < model.epsilon;`
- `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts:519` —
  `const explore = Math.random() < model.epsilon;`
- `libs/psyche/tavus-hybrid/src/ml-mode-optimization.ts:759` —
  `const rand = Math.random();`
- `libs/psyche/tavus-hybrid/src/performance-tracking.ts:447` —
  `if (Math.random() > this.config.sampleRate) return;`
- `libs/psyche/tavus-knowledge/src/retrieval-ab-testing.ts:1029` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-llm/src/llm-ab-testing.ts:781` —
  `const rand = Math.random();`
- `libs/psyche/tavus-llm/src/llm-ab-testing.ts:817` —
  `if (Math.random() < epsilon) {`
- `libs/psyche/tavus-llm/src/llm-ab-testing.ts:819` —
  `const index = Math.floor(Math.random() * variants.length);`
- `libs/psyche/tavus-llm/src/llm-ab-testing.ts:886` —
  `const sample = mean + Math.sqrt(variance) * inverseNormalCDF(Math.random() * 0.98 + 0.01);`
- `libs/psyche/tavus-llm/src/llm-fallback.ts:692` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-llm/src/llm-latency-monitor.ts:252` —
  `if (Math.random() > this.config.sampleRate) {`
- `libs/psyche/tavus-objectives/src/guardrail-ab-testing.ts:977` —
  `const identifier = userId ?? conversationId ?? `anon-${Date.now()}-${Math.random()}`;`
- `libs/psyche/tavus-objectives/src/guardrail-ab-testing.ts:1067` —
  `const rand = Math.random();`
- `libs/psyche/tavus-objectives/src/guardrail-ab-testing.ts:1090` —
  `let rand = Math.random() * totalWeight;`
- `libs/psyche/tavus-objectives/src/objective-ab-testing.ts:889` —
  `const identifier = userId ?? conversationId ?? `anon-${Date.now()}-${Math.random()}`;`
- `libs/psyche/tavus-objectives/src/objective-ab-testing.ts:984` —
  `const rand = Math.random();`
- `libs/psyche/tavus-objectives/src/objective-ab-testing.ts:1008` —
  `let rand = Math.random() * totalWeight;`
- `libs/psyche/tavus-perception/src/learning-perception-optimizer.ts:1191` —
  `if (Math.random() < this.explorationRate) {`
- `libs/psyche/tavus-phoenix/src/frame-interpolation.ts:1313` —
  `const idx = Math.floor(Math.random() * (result.data.length / 4)) * 4;`
- `libs/psyche/tavus-pipecat/src/monitoring.ts:825` —
  `return Math.random() < this.config.traceSampleRate;`
- `libs/psyche/tavus-pipecat/src/multi-region-deployment.ts:507` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-pipecat/src/multi-region-deployment.ts:968` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-pipecat/src/multimodal-fusion-processor.ts:1917` —
  `if (Math.random() < this.fusionConfig.dropoutRate) {`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:593` —
  `const index = Math.floor(Math.random() * variants.length);`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:605` —
  `let random = Math.random() * totalWeight;`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:624` —
  `if (Math.random() < epsilon) {`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:626` —
  `const index = Math.floor(Math.random() * variants.length);`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:718` —
  `return sampleGamma(shape + 1) * Math.pow(Math.random(), 1 / shape);`
- `libs/psyche/tavus-replica-manager/src/ab-testing.ts:733` —
  `const u = Math.random();`
- `libs/psyche/tavus-tts/src/tts-latency-monitor.ts:487` —
  `if (this.config.sampleRate < 1 && Math.random() > this.config.sampleRate) {`
- `libs/psyche/tavus-turntaking/src/ab-testing.ts:1073` —
  `const rand = Math.random();`
- `libs/psyche/tavus-turntaking/src/ab-testing.ts:1139` —
  `const rand = Math.random();`
- `libs/psyche/tavus-turntaking/src/hesitation-handling.ts:1031` —
  `return config.helpPhrases[Math.floor(Math.random() * config.helpPhrases.length)] ?? null;`
- `libs/psyche/tavus-turntaking/src/learning-optimizer.ts:831` —
  `if (Math.random() < this.explorationRate) {`
- `libs/saraswati/drones/src/delivery/delivery.ts:810` —
  `const simulatedDetections = Math.random() < 0.3 ? 1 : 0; // 30% chance of finding defect`
- `libs/saraswati/drones/src/delivery/delivery.ts:815` —
  `model.defectCategories[Math.floor(Math.random() * model.defectCategories.length)];`
- `libs/seshat/academy/src/certification.ts:699` —
  `const seq = Math.floor(Math.random() * 9000) + 1000;`
- `libs/seshat/harmony/src/feng-shui.ts:1641` —
  `effectiveness: Math.round(60 + Math.random() * 20),`
- `libs/shared/ai-advanced/src/adapters/adapter-manager.ts:566` —
  `embeddings: inputs.map(() => new Array(1536).fill(0).map(() => Math.random())),`
- `libs/shared/ai-advanced/src/edge/edge-manager.ts:554` —
  `data: new Float32Array(outputSize).fill(0).map(() => Math.random()),`
- `libs/shared/ai/src/advanced/index.ts:702` — `const random = Math.random();`
- `libs/shared/ai/src/router/ml-router.ts:316` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/shared/ai/src/router/ml-router.ts:550` —
  `const idx = Math.floor(Math.random() * X.length);`
- `libs/shared/ai/src/router/ml-router.ts:1024` —
  `const isABTestSample = this.mlConfig.enableABTesting && Math.random() < 0.5;`
- `libs/shared/ai/src/router/ml-router.ts:1026` —
  `useML = Math.random() < this.mlConfig.abTestRatio;`
- `libs/shared/config/src/features.ts:592` —
  `return Math.random() * 100 < percentage;`
- `libs/shared/gpu-dispatcher/src/fallback.ts:629` —
  `let random = Math.random() * totalWeight;`
- `libs/shared/gpu-dispatcher/src/fallback.ts:654` —
  `const index = Math.floor(Math.random() * endpoints.length);`
- `libs/shared/logging/src/sampling/index.ts:91` —
  `if (Math.random() < this.config.rate) {`
- `libs/shared/logging/src/sampling/index.ts:161` —
  `if (Math.random() < this.currentRate) {`
- `libs/shared/logging/src/sampling/index.ts:238` —
  `if (Math.random() < rate) {`
- `libs/shared/logging/src/sampling/index.ts:311` —
  `if (Math.random() < this.config.rate) {`
- `libs/shared/service-discovery/src/service-discovery.ts:270` —
  `let random = Math.random() * totalWeight;`
- `libs/shared/tracing/src/tracer.ts:582` —
  `return Math.random() < this.config.sampleRate;`
- `libs/sophia/citation-analysis/src/network/citation-network-analyzer.ts:506` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/sophia/indexing/src/graphs/graph-visualization.ts:379` —
  `: { x: Math.random() * 100, y: Math.random() * 100 }),`
- `libs/sophia/knowledge-graph/src/algorithms/community.ts:71` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/tara/analytics/src/tracking/tracker.ts:161` —
  `if (Math.random() > samplingRate) {`
- `libs/tara/monitoring/src/error-tracking/error-tracker.ts:463` —
  `return Math.random() < this.config.sampleRate;`
- `libs/tara/monitoring/src/performance/performance-monitor.ts:456` —
  `return Math.random() < this.config.sampleRate;`
- `libs/tara/monitoring/src/providers/server.ts:350` —
  `return Math.random() < this.config.sampleRate;`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:423` —
  `x: Math.random() * 100,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:424` —
  `y: Math.random() * 100,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:425` —
  `delay: Math.random() * 500,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:426` —
  `scale: 0.5 + Math.random() * 0.5,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:438` —
  `x: Math.random() * 100,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:439` —
  `delay: Math.random() * 1000,`
- `libs/tara/ui/src/components/SessionComplete/SessionComplete.tsx:441` —
  `rotation: Math.random() * 360,`
- `libs/kalika/algebra/src/finite-groups.ts:2745` —
  `options.randomSeed === undefined ? Math.random : seededRandom(options.randomSeed);`
- `libs/veritas/agents-devops/src/devops-agent.ts:623` —
  `const simulatedSuccess = Math.random() > 0.1; // 90% success rate`
- `libs/veritas/agents-devops/src/devops-agent.ts:624` —
  `const simulatedLatency = Math.random() * 200 + 50; // 50-250ms`
- `libs/veritas/agents-orchestrator/src/conflict-resolver.ts:449` —
  `const randomIndex = Math.floor(Math.random() * conflict.participants.length);`
- `libs/veritas/agents-qa/src/qa-agent.ts:756` —
  `const simulatedResult = Math.random();`
- `libs/veritas/agents-qa/src/qa-agent.ts:760` —
  `const duration = Math.random() * 1000 + 100; // 100-1100ms`
- `libs/veritas/agents-qa/src/qa-agent.ts:1235` —
  `responseTimes.push(Math.random() * 200 + 50); // 50-250ms`
- `libs/veritas/ai-next-gen/src/osint.ts:1122` —
  `postCount: Math.floor(Math.random() * 10000) + 1000,`
- `libs/veritas/ai-next-gen/src/osint.ts:1123` —
  `sentiment: Math.random() * 2 - 1,`
- `libs/veritas/ai-next-gen/src/osint.ts:1126` —
  `Math.random() * (params.dateRange.end.getTime() - params.dateRange.start.getTime())`
- `libs/veritas/ai-next-gen/src/osint.ts:1128` —
  `spreadVelocity: Math.random() * 100,`
- `libs/veritas/ai-next-gen/src/osint.ts:1132` — `influence: Math.random(),`
- `libs/veritas/ai-next-gen/src/osint.ts:1133` —
  `reach: Math.floor(Math.random() * 1000000),`
- `libs/veritas/ai-next-gen/src/osint.ts:1389` —
  `overall: Math.random() * 2 - 1,`
- `libs/veritas/analytics/src/events/tracker.ts:579` —
  `return Math.random() < this.config.samplingRate;`
- `libs/veritas/automated-content/src/generators/fuel-generator.ts:367` —
  `const basePrice = basePrices[product] + Math.random() * 2;`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:164` —
  `const hasActiveShedding = Math.random() < 0.3; // 30% chance of active shedding`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:165` —
  `const hasScheduledShedding = Math.random() < 0.5; // 50% chance of scheduled shedding`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:469` —
  `const selectedZones = ECG_ZONES.filter(() => Math.random() < 0.3);`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:473` —
  `const isMorning = Math.random() < 0.5;`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:475` —
  `const duration = 4 + Math.floor(Math.random() * 4); // 4-8 hours`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:489` —
  `confirmed: Math.random() < 0.8,`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:501` —
  `const count = 1 + Math.floor(Math.random() * 3);`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:505` —
  `const hoursAgo = Math.random() * 3;`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:507` —
  `const duration = 4 + Math.floor(Math.random() * 4);`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:526` —
  `Math.random() < 0.7 ? 'stable' : Math.random() < 0.5 ? 'unstable' : 'critical';`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:528` —
  `const generation = baseGeneration + Math.floor(Math.random() * 500) - 250;`
- `libs/veritas/automated-content/src/generators/loadshed-generator.ts:529` —
  `const demand = generation + Math.floor(Math.random() * 300);`
- `libs/veritas/automated-content/src/generators/market-generator.ts:397` —
  `high: value * (1 + Math.random() * 0.01),`
- `libs/veritas/automated-content/src/generators/market-generator.ts:398` —
  `low: value * (1 - Math.random() * 0.01),`
- `libs/veritas/automated-content/src/generators/market-generator.ts:407` —
  `return 3200 + Math.random() * 200;`
- `libs/veritas/automated-content/src/generators/market-generator.ts:409` —
  `return 2100 + Math.random() * 100;`
- `libs/veritas/automated-content/src/generators/market-generator.ts:411` —
  `return 1800 + Math.random() * 100;`
- `libs/veritas/automated-content/src/generators/market-generator.ts:419` —
  `const basePrice = 1 + Math.random() * 20;`
- `libs/veritas/automated-content/src/generators/market-generator.ts:429` —
  `volume: Math.floor(Math.random() * 500000) + 10000,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:430` —
  `marketCap: price * (1000000 + Math.random() * 10000000),`
- `libs/veritas/automated-content/src/generators/market-generator.ts:439` —
  `buyRate: 14.8 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:440` —
  `sellRate: 15.0 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:447` —
  `buyRate: 16.2 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:448` —
  `sellRate: 16.5 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:455` —
  `buyRate: 18.8 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/market-generator.ts:456` —
  `sellRate: 19.2 + Math.random() * 0.5,`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:331` —
  `const severity = Math.min(5, Math.max(1, baseSeverity + Math.floor(Math.random() * 2) - 1));`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:334` —
  `const normalTravelTime = 10 + Math.floor(Math.random() * 20);`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:357` —
  `if (Math.random() < 0.3) {`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:367` —
  `severity: 3 + Math.floor(Math.random() * 2),`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:368` —
  `startTime: new Date(now.getTime() - Math.random() * 2 * 60 * 60 * 1000),`
- `libs/veritas/automated-content/src/generators/traffic-generator.ts:369` —
  `expectedClearTime: new Date(now.getTime() + Math.random() * 2 * 60 * 60 * 1000),`
- `libs/veritas/community/src/gamification.ts:1017` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/veritas/community/src/securedrop.ts:161` —
  `const number = Math.floor(Math.random() * 1000);`
- `libs/veritas/emergency/src/election.ts:795` — `if (Math.random() < 0.1) {`
- `libs/veritas/headline-service/src/testing/ab-testing.ts:336` —
  `const random = Math.random();`
- `libs/veritas/headline-service/src/testing/ab-testing.ts:354` —
  `if (Math.random() < epsilon) {`
- `libs/veritas/newsletter/src/newsletters.ts:1077` —
  `opens: Math.floor(Math.random() * 50) + 20,`
- `libs/veritas/newsletter/src/newsletters.ts:1079` —
  `clicks: Math.floor(Math.random() * 20) + 5,`
- `libs/veritas/newsletter/src/newsletters.ts:1081` —
  `conversions: Math.floor(Math.random() * 10),`
- `libs/veritas/realtime-data/src/financial.ts:978` —
  `const basePrice = 2 + Math.random() * 10;`
- `libs/veritas/realtime-data/src/financial.ts:989` —
  `volume: Math.floor(Math.random() * 100000),`
- `libs/veritas/realtime-data/src/financial.ts:1002` —
  `value: 2500 + Math.random() * 100,`
- `libs/veritas/realtime-data/src/financial.ts:1004` —
  `change: Math.random() * 20 - 10,`
- `libs/veritas/realtime-data/src/financial.ts:1005` —
  `changePercent: Math.random() * 2 - 1,`
- `libs/veritas/realtime-data/src/utilities.ts:809` —
  `const flightNumber = `${airline.code}${100 + Math.floor(Math.random() \*
  900)}`;`
- `libs/veritas/realtime-data/src/utilities.ts:813` —
  `scheduled.setMinutes(Math.floor(Math.random() * 60));`
- `libs/veritas/realtime-data/src/utilities.ts:839` —
  `gate: `G${Math.floor(Math.random() \* 20) + 1}`,`
- `libs/veritas/realtime-data/src/utilities.ts:840` —
  `delay: status === 'delayed' ? Math.floor(Math.random() * 60) + 15 : undefined,`
- `libs/veritas/realtime-data/src/weather.ts:906` —
  `temperature: baseTemp + Math.random() * 4 - 2,`
- `libs/veritas/realtime-data/src/weather.ts:908` —
  `humidity: isNorthern ? 40 + Math.random() * 20 : 60 + Math.random() * 20,`
- `libs/veritas/realtime-data/src/weather.ts:909` —
  `pressure: 1012 + Math.random() * 5,`
- `libs/veritas/realtime-data/src/weather.ts:910` —
  `windSpeed: 3 + Math.random() * 5,`
- `libs/veritas/realtime-data/src/weather.ts:911` —
  `windDirection: 180 + Math.random() * 60,`
- `libs/veritas/realtime-data/src/weather.ts:913` —
  `uvIndex: 8 + Math.random() * 3,`
- `libs/veritas/realtime-data/src/weather.ts:914` —
  `cloudCover: 30 + Math.random() * 40,`
- `libs/veritas/realtime-data/src/weather.ts:918` —
  `precipitation: Math.random() > 0.7 ? Math.random() * 5 : 0,`
- `libs/veritas/realtime-data/src/weather.ts:936` —
  `temperatureMin: 24 + Math.random() * 2,`
- `libs/veritas/realtime-data/src/weather.ts:937` —
  `temperatureMax: 31 + Math.random() * 3,`
- `libs/veritas/realtime-data/src/weather.ts:938` —
  `humidity: 65 + Math.random() * 15,`
- `libs/veritas/realtime-data/src/weather.ts:939` —
  `windSpeed: 4 + Math.random() * 4,`
- `libs/veritas/realtime-data/src/weather.ts:941` —
  `precipitation: Math.random() > 0.6 ? Math.random() * 10 : 0,`
- `libs/veritas/realtime-data/src/weather.ts:942` —
  `precipitationProbability: Math.random() * 50,`
- `libs/veritas/realtime-data/src/weather.ts:943` —
  `condition: Math.random() > 0.7 ? 'moderate_rain' : 'partly_cloudy',`
- `libs/veritas/realtime-data/src/weather.ts:944` —
  `description: Math.random() > 0.7 ? 'Light rain' : 'Partly cloudy',`
- `libs/veritas/realtime-data/src/weather.ts:945` —
  `icon: Math.random() > 0.7 ? '10d' : '02d',`
- `libs/veritas/realtime-data/src/weather.ts:970` —
  `temperature: baseTemp + Math.random() * 3,`
- `libs/veritas/realtime-data/src/weather.ts:972` —
  `humidity: 65 + Math.random() * 15,`
- `libs/veritas/realtime-data/src/weather.ts:973` —
  `windSpeed: 4 + Math.random() * 3,`
- `libs/veritas/realtime-data/src/weather.ts:975` —
  `precipitation: Math.random() > 0.8 ? Math.random() * 3 : 0,`
- `libs/veritas/realtime-data/src/weather.ts:976` —
  `precipitationProbability: Math.random() * 40,`
- `libs/veritas/realtime-data/src/weather.ts:988` —
  `if (Math.random() > 0.2) return [];`
- `libs/veritas/regional/src/anchors.ts:164` —
  `age: options.age || 28 + Math.floor(Math.random() * 15),`
- `libs/veritas/seo/src/web-vitals.ts:219` —
  `if (Math.random() > this.config.sampleRate) {`
- `libs/veritas/seo/src/web-vitals.ts:263` —
  `if (Math.random() > sampleRate) return;`
- `libs/veritas/signup/src/enterprise-sales.ts:283` —
  `available: Math.random() > 0.3, // 70% availability`
- `libs/veritas/video-production/src/advanced/live-event.ts:758` —
  `viewerCount: Math.floor(Math.random() * 10000) + 1000,`
- `libs/veritas/video-production/src/advanced/live-event.ts:759` —
  `peakViewers: Math.floor(Math.random() * 15000) + 2000,`
- `libs/veritas/video-production/src/advanced/live-event.ts:760` —
  `engagementRate: Math.random() * 0.3 + 0.1,`
- `libs/veritas/video-production/src/advanced/live-event.ts:761` —
  `avgWatchTimeSeconds: Math.floor(Math.random() * 300) + 60,`
- `libs/veritas/video-production/src/advanced/live-event.ts:762` —
  `chatMessagesPerMinute: Math.floor(Math.random() * 100) + 10,`
- `libs/veritas/video-production/src/advanced/live-event.ts:763` —
  `socialMentions: Math.floor(Math.random() * 500) + 50,`
- `libs/veritas/video-production/src/advanced/live-event.ts:765` —
  `positive: Math.random() * 0.5 + 0.2,`
- `libs/veritas/video-production/src/advanced/live-event.ts:766` —
  `neutral: Math.random() * 0.3 + 0.2,`
- `libs/veritas/video-production/src/advanced/live-event.ts:767` —
  `negative: Math.random() * 0.2 + 0.1,`
- `libs/veritas/video-production/src/advanced/live-event.ts:771` —
  `count: Math.floor(Math.random() * 100) + 10,`
- `libs/veritas/video-production/src/avatars/twi-anchors.ts:512` —
  `return branding.intro[Math.floor(Math.random() * branding.intro.length)];`
- `libs/veritas/video-production/src/avatars/twi-anchors.ts:530` —
  `return branding.outro[Math.floor(Math.random() * branding.outro.length)];`
- `libs/yemaya/agents/src/constraints/index.ts:1710` —
  `variables[varName] = range.min + Math.random() * (range.max - range.min);`
- `libs/yemaya/agents/src/constraints/index.ts:1956` —
  `if (Math.random() < this.config.crossoverRate) {`
- `libs/yemaya/agents/src/constraints/index.ts:1961` —
  `if (Math.random() < this.config.mutationRate) {`
- `libs/yemaya/agents/src/constraints/index.ts:1964` —
  `if (Math.random() < this.config.mutationRate) {`
- `libs/yemaya/agents/src/constraints/index.ts:1996` —
  `const alpha = Math.random();`
- `libs/yemaya/agents/src/constraints/index.ts:2034` —
  `Math.floor(Math.random() * Object.keys(mutated.variables).length)`
- `libs/yemaya/agents/src/hitl/index.ts:1887` —
  `const randomIndex = Math.floor(Math.random() * availableReviewers.length);`
- `libs/yemaya/agents/src/npc-ai/advanced-npc-ai.ts:1577` —
  `if (profile.tacticalAwareness > 0.7 && Math.random() < profile.tacticalAwareness * 0.3) {`
- `libs/yemaya/agents/src/npc-ai/advanced-npc-ai.ts:2198` —
  `if (Math.random() > spreadChance) return false;`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:744` —
  `if (Math.random() < crossoverRate) {`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:754` —
  `if (Math.random() < mutationRate) {`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:873` —
  `if (deltaEnergy < 0 || Math.random() < Math.exp(-deltaEnergy / temperature)) {`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:1956` —
  `if (Math.random() < 0.3) {`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:2055` —
  `const idx = Math.floor(Math.random() * evaluated.length);`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:2078` —
  `const crossoverPoint = Math.floor(Math.random() * parent1.length);`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:2107` —
  `const idx = Math.floor(Math.random() * schedule.length);`
- `libs/yemaya/agents/src/optimization/schedule-optimizer.ts:2112` —
  `const mutationType = Math.random();`
- `libs/yemaya/agents/src/orchestration/cascading-failure-prevention.ts:853` —
  `return Math.random() > this.config.loadSheddingConfig.shedRate;`
- `libs/yemaya/agents/src/orchestration/critical-path-analyzer.ts:1305` —
  `const u = Math.random();`
- `libs/yemaya/agents/src/orchestration/decision-impact.ts:1635` —
  `value = lower + Math.random() * (upper - lower);`
- `libs/yemaya/agents/src/orchestration/decision-impact.ts:1638` —
  `value = lower + Math.random() * (upper - lower);`
- `libs/yemaya/agents/src/orchestration/resource-contention-resolver.ts:907` —
  `let winner = Math.floor(Math.random() * totalTickets);`
- `libs/yemaya/agents/src/orchestration/retry-strategy-selector.ts:569` —
  `return Math.random() * baseDelay;`
- `libs/yemaya/agents/src/orchestration/role-assignment.ts:1109` —
  `if (newLevel && Math.random() < agent.learningRate) {`
- `libs/yemaya/agents/src/pipelines/game-pipeline.ts:10062` —
  `uid += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/yemaya/agents/src/planning/goal-priority-ranker.ts:1419` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/yemaya/agents/src/planning/progress-estimator.ts:512` —
  `return Math.random;`
- `libs/yemaya/agents/src/self-improvement/self-improvement.ts:1888` —
  `const rand = Math.random() * 100;`
- `libs/yemaya/agents/src/testing/ai-player-algorithms.ts:1494` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/yemaya/agents/src/testing/ai-player-algorithms.ts:1495` —
  `const distance = 50 + Math.random() * 100;`
- `libs/yemaya/agents/src/testing/index.d.ts:893` —
  `/** Real detected issues (replaces synthetic Math.random() issues) */`
- `libs/yemaya/agents/src/testing/index.ts:1888` — `if (Math.random() < 0.1) {`
- `libs/yemaya/agents/src/testing/index.ts:1892` —
  `x: Math.floor(Math.random() * 800),`
- `libs/yemaya/agents/src/testing/index.ts:1893` —
  `y: Math.floor(Math.random() * 600),`
- `libs/yemaya/agents/src/testing/index.ts:1901` —
  `duration: 200 + Math.floor(Math.random() * 300),`
- `libs/yemaya/agents/src/testing/index.ts:1930` — `if (Math.random() < 0.2) {`
- `libs/yemaya/agents/src/testing/index.ts:1986` — `if (Math.random() < 0.3) {`
- `libs/yemaya/agents/src/testing/index.ts:1990` —
  `x: Math.floor(Math.random() * 800),`
- `libs/yemaya/agents/src/testing/index.ts:1991` —
  `y: Math.floor(Math.random() * 600),`
- `libs/yemaya/agents/src/testing/index.ts:2053` —
  `action: Math.random() < 0.7 ? 'click' : 'move',`
- `libs/yemaya/agents/src/testing/index.ts:2055` —
  `x: Math.floor(Math.random() * 800),`
- `libs/yemaya/agents/src/testing/index.ts:2056` —
  `y: Math.floor(Math.random() * 600),`
- `libs/yemaya/agents/src/testing/index.ts:2073` —
  `{ type: 'mouse', action: 'move', x: Math.floor(Math.random() * 400) + 200, y: 300 }, // Look around`
- `libs/yemaya/agents/src/testing/index.ts:2529` —
  `/** Real detected issues (replaces synthetic Math.random() issues) */`
- `libs/yemaya/agents/src/testing/index.ts:5817` — `if (Math.random() < 0.1) {`
- `libs/yemaya/agents/src/testing/index.ts:5821` —
  `x: Math.floor(Math.random() * 800),`
- `libs/yemaya/agents/src/testing/index.ts:5822` —
  `y: Math.floor(Math.random() * 600),`
- `libs/yemaya/agents/src/testing/index.ts:5830` —
  `duration: 200 + Math.floor(Math.random() * 300),`
- `libs/yemaya/asset-generation/src/asset-core/asset-core.ts:1614` —
  `seed: params.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/yemaya/asset-generation/src/illustration-engine/illustration-engine.ts:2562`
  — `seed: request.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/yemaya/asset-generation/src/thumbnail-generator/thumbnail-generator.ts:2056`
  — `seed: request.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/yemaya/assets/src/diff/diff-image.ts:1570` —
  `const x = Math.floor(Math.random() * Math.min(left.width, right.width));`
- `libs/yemaya/assets/src/diff/diff-image.ts:1571` —
  `const y = Math.floor(Math.random() * Math.min(left.height, right.height));`
- `libs/yemaya/auth/src/services/password.ts:314` —
  `const position = Math.floor(Math.random() * (password.length + 1));`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1274`
  — `if (synonyms && Math.random() < 0.3) {`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1284`
  — `const tokenCount = 1 + Math.floor(Math.random() * 2);`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1308`
  — `const idx1 = 1 + Math.floor(Math.random() * (parts.length - 1));`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1309`
  — `const idx2 = 1 + Math.floor(Math.random() * (parts.length - 1));`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1560`
  — `return Math.floor(Math.random() * 2147483647);`
- `libs/yemaya/comfyui-integration/src/comfyui-factory/comfyui-factory.ts:1566`
  — `return Math.floor(Math.random() * 2147483647);`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:186`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:219`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:253`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:291`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:329`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:375`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:429`
  — `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:491`
  — `return Math.floor(Math.random() * 2 ** 32);`
- `libs/yemaya/comfyui-integration/src/generation-pipeline/generation-pipeline.ts:502`
  — `return Math.floor(Math.random() * 2 ** 32);`
- `libs/yemaya/comfyui-integration/src/workflow-core/workflow-core.ts:1294` —
  `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/workflow-core/workflow-core.ts:1448` —
  `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/comfyui-integration/src/workflow-core/workflow-core.ts:1602` —
  `seed: Math.floor(Math.random() * 2 ** 32),`
- `libs/yemaya/community/src/certification/certification-manager.ts:425` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/yemaya/community/src/education/education-manager.ts:957` —
  `const j = Math.floor(Math.random() * (i + 1));`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1050` —
  `if (Math.random() > 0.5) {`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1303` —
  `asset.size = Math.floor(Math.random() * 10000) + 1000;`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1522` —
  `totalHeap: Math.floor(Math.random() * 500000000) + 100000000,`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1523` —
  `usedHeap: Math.floor(Math.random() * 300000000) + 50000000,`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1524` —
  `externalMemory: Math.floor(Math.random() * 50000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1525` —
  `arrayBuffers: Math.floor(Math.random() * 10000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1529` —
  `allocated: Math.floor(Math.random() * 10000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1530` —
  `used: Math.floor(Math.random() * 8000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1531` —
  `peak: Math.floor(Math.random() * 12000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1532` —
  `objects: Math.floor(Math.random() * 100000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1536` —
  `allocated: Math.floor(Math.random() * 200000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1537` —
  `used: Math.floor(Math.random() * 150000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1538` —
  `peak: Math.floor(Math.random() * 250000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1539` —
  `objects: Math.floor(Math.random() * 500000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1650` —
  `duration: Math.floor(Math.random() * 50) + 5,`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1651` —
  `freedBytes: Math.floor(Math.random() * 50000000),`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1857` —
  `cpuPercent: Math.random() * 50,`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1865` —
  `selfTime: Math.random() * 100,`
- `libs/yemaya/core/src/advanced/security-performance-sota.ts:1866` —
  `totalTime: Math.random() * 200,`
- `libs/yemaya/core/src/advanced/testing-sota.ts:867` —
  `if (config.nullable && Math.random() < 0.1) {`
- `libs/yemaya/core/src/advanced/testing-sota.ts:879` —
  `return Math.random() < 0.5;`
- `libs/yemaya/core/src/advanced/testing-sota.ts:885` —
  `return new Date(Date.now() - Math.floor(Math.random() * 365 * 24 * 60 * 60 * 1000));`
- `libs/yemaya/core/src/advanced/testing-sota.ts:979` —
  `return Math.floor(Math.random() * (max - min + 1)) + min;`
- `libs/yemaya/core/src/advanced/testing-sota.ts:983` —
  `return Math.random() * (max - min) + min;`
- `libs/yemaya/core/src/advanced/testing-sota.ts:991` —
  `result += chars.charAt(Math.floor(Math.random() * chars.length));`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1019` —
  `const r = (Math.random() * 16) | 0;`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1241` —
  `const targetSize = size ?? Math.floor(Math.random() * this.config.maxInputSize);`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1324` —
  `() => input.replace(/./g, () => String.fromCharCode(Math.floor(Math.random() * 256))),`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1326` —
  `() => input.repeat(Math.floor(Math.random() * 10) + 1),`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1329` —
  `Array.from({ length: Math.floor(Math.random() * 100) }, () =>`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1330` —
  `String.fromCharCode(Math.floor(Math.random() * 256))`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1380` —
  `chars.push(String.fromCharCode(Math.floor(Math.random() * 256)));`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1397` —
  `() => Math.random() * Number.MAX_VALUE,`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1407` —
  `buffer[i] = Math.floor(Math.random() * 256);`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1416` —
  `boolean: Math.random() < 0.5,`
- `libs/yemaya/core/src/advanced/testing-sota.ts:1447` —
  `return this.dictionary[Math.floor(Math.random() * this.dictionary.length)] ?? '';`
- `libs/yemaya/diagram-renderer/src/layout-engine/layout-engine.ts:598` —
  `const angle = Math.random() * Math.PI * 2;`
- `libs/yemaya/orchestration/src/execution/director.ts:806` —
  `const u = Math.random();`
- `libs/yemaya/orchestration/src/services/goal-decomposition.ts:1824` —
  `const u = Math.random();`
- `libs/yemaya/orchestration/src/services/goal-decomposition.ts:4015` —
  `if (Math.random() < risk.probability) {`
- `libs/yemaya/organizations/src/services/analytics-service.ts:1424` —
  `return Math.floor(Math.random() * 100);`
- `libs/yemaya/podcast-generator/src/audio-mixer/audio-mixer.ts:810` —
  `result[i] = amp * (Math.random() * 2 - 1);`
- `libs/yemaya/podcast-generator/src/audio-mixer/audio-mixer.ts:839` —
  `rows[j] = Math.random() * 2 - 1;`
- `libs/yemaya/podcast-generator/src/audio-mixer/audio-mixer.ts:851` —
  `rows[j] = Math.random() * 2 - 1;`
- `libs/yemaya/podcast-generator/src/audio-mixer/audio-mixer.ts:857` —
  `const white = Math.random() * 2 - 1;`
- `libs/yemaya/sdk/scripts/generate-postman.ts:479` —
  `const r = (Math.random() * 16) | 0;`
- `libs/yemaya/style-transfer/src/style-factory/style-factory.ts:1468` —
  `seed: request.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/yemaya/ui/src/components/Camera3DVisualization/Camera3DVisualization.tsx:1785`
  —
  `position: createVector3(Math.random() * 10 - 5, 2, Math.random() * 10 - 5),`
- `libs/yemaya/ui/src/components/XMLExport/types.ts:541` —
  `const r = (Math.random() * 16) | 0;`
- `libs/yemaya/video-generation/src/generation-engine/generation-engine.ts:945`
  —
  `const seed = request.seed !== null ? request.seed + i : Math.floor(Math.random() * 2147483647);`
- `libs/yemaya/video-generation/src/provider-router/provider-router.ts:640` —
  `seed: request.seed ?? Math.floor(Math.random() * 2147483647),`
- `libs/yemaya/video-generation/src/video-factory/video-factory.ts:1718` —
  `const seed = genRequest.seed ?? Math.floor(Math.random() * 2147483647);`
- `serwaa/services/admin-dashboard/src/app/dashboard/knowledge/upload/page.tsx:93`
  — `chunksCreated: Math.floor(Math.random() * 50) + 10,`
- `serwaa/services/admin-dashboard/src/app/dashboard/knowledge/upload/page.tsx:94`
  — `embeddingsGenerated: Math.floor(Math.random() * 50) + 10,`
- `serwaa/services/admin-dashboard/src/app/dashboard/knowledge/upload/page.tsx:95`
  — `processingTimeMs: Math.floor(Math.random() * 5000) + 2000,`
- `serwaa/services/admin-dashboard/src/components/forms/persona/avatar-form.tsx:152`
  — `Math.floor(Math.random() * (max - min + 1)) + min;`
- `serwaa/services/admin-dashboard/src/components/forms/persona/avatar-form.tsx:933`
  — `return prev + Math.random() * 2;`
- `serwaa/services/admin-dashboard/src/components/forms/persona/voice-form.tsx:289`
  — `height: `${Math.random() \* 100}%`,`
- `testing/utils/test-utils.ts:208` —
  `result += chars.charAt(Math.floor(Math.random() * chars.length));`
- `testing/utils/test-utils.ts:218` — `const r = (Math.random() * 16) | 0;`
- `testing/utils/test-utils.ts:228` —
  `return Math.floor(Math.random() * (max - min + 1)) + min;`
- `testing/utils/test-utils.ts:242` —
  `return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));`
- `tests/integration/utils/test-helpers.ts:102` —
  `if (Math.random() < this.options.failureRate) {`
- `yaa/packages/ingestion/rss-collector/src/backoff.ts:2` —
  `return 0.8 + Math.random() * 0.4;`
- `yaa/packages/ingestion/sitemap-collector/src/backoff.ts:2` —
  `return 0.8 + Math.random() * 0.4;`
- `yaa/packages/ingestion/social-x/src/backoff.ts:2` —
  `return 0.8 + Math.random() * 0.4;`
- `yaa/packages/video/avatar-profiles/src/twi-anchors.ts:1179` —
  `return branding.intro[Math.floor(Math.random() * branding.intro.length)];`
- `yaa/packages/video/avatar-profiles/src/twi-anchors.ts:1199` —
  `return branding.outro[Math.floor(Math.random() * branding.outro.length)];`
- `yaa/packages/video/tiktok-sound-trends/src/analysis.ts:316` —
  `const peakDuration = 3 + Math.random() * 4; // 3-7 days estimate`
