# infra/tests/de-pii-allow.txt — the mentions tools/pii-scan.sh (run by
# infra/tests/lint.sh section 5, infra/build/tag-release.sh and the pre-push hook)
# is allowed to find.
#
# Format, whitespace-separated:
#
#   <path> <pattern-name>  # reason
#
# <path> is a repo-relative path, a directory prefix ending in `/`, or a glob.
# <pattern-name> is a pattern name: a generic one from tools/pii-scan.sh
# (`tools/pii-scan.sh --list`), one from the operator's private pattern list
# (operator-name, forge-name, ...), or `*` for every pattern.
#
# EVERY LINE NEEDS A REASON. The right fix is almost always to redact instead —
# the rules and the per-file verdicts live in the operator's infra repo.
# An entry here says "this string is not identifying", not "this is grandfathered".

#
# Comments below describe what a mention is, never the private string itself: an
# allowlist that carried the plaintext would be the leak it is meant to prevent.

# --- chat-username fixtures -------------------------------------------------
# A lowercase first name is the chat-username fixture the sanitizer, deny-list,
# rate-limiter, ticker and store tests are written against; the de-PII sprint
# leaves test fixture names alone. The operator-name pattern is case-sensitive
# precisely so the capitalised name in prose still fails, and the real handle
# was replaced with `fly_fan_42`. These entries exist only for the few places a
# fixture is lowercase-with-a-boundary that the pattern would still catch via
# another alternative.
apps/stage/tests/unit/ operator-name    # lowercase chat-username fixtures
services/flysim/crates/flysim/tests/ operator-name  # lowercase chat-username fixtures
services/flysim/crates/flysim/src/chat.rs operator-name  # sanitizer unit-test fixtures in the same file
services/flysim/crates/flysim/src/eventlog.rs operator-name  # ticker fixture in a doc example
services/bridge/tests/ operator-name    # lowercase chat-username fixtures

# --- container-side paths ---------------------------------------------------
# `nvidia.run`, `virtualgl.deb` and `nv.run` under root's home are paths INSIDE
# a container: root's home on a stock Debian guest, not an operator-chosen
# location, and not specific to this network. Host-side staging paths are
# parameterised instead (HOST_STAGE_DIR / `<host-stage>`).
infra/02-base.sh host-root-path         # the two installer paths under root's home are inside the guest
docs/design/gpu.md host-root-path       # same two paths, plus /proc/<pid>/ root links, which are procfs

# --- documentation examples -------------------------------------------------
# A made-up MAC in a worked example of the compatibility string. Real MACs are
# in the operator's infra repo.
services/flysim/crates/flybrain-gb/src/compatibility.rs mac-address  # aa:bb:... placeholder in a doc example

# --- upstream identifiers ---------------------------------------------------
# Third-party addresses and handles: upstream projects, not this network.
# (None currently; keep the section so the next one lands in the right place.)
apps/stage/public/fonts/ email-address   # SIL OFL licence text from upstream font projects; not ours to edit
infra/tests/lint.sh email-address        # the example.invalid git identity for the throwaway test repos
infra/tests/pii-scan-test.sh email-address  # same example.invalid identity for the scanner's throwaway repos
# --- publish pack ------------------------------------------------------------
NOTICE operator-name                     # the copyright holder's legal name, chosen by the operator 2026-09-17; change here if an entity is preferred
LICENSES.md operator-name                # same copyright line, mirrored
.forgejo/workflows/ci.yml forge-name     # the product name of the CI runner, not the operator's forge
.github/workflows/ci.yml forge-name      # a comment naming the sibling copy of this workflow
infra/docs/secrets-history-scan.md forge-name  # names the two workflow files by path
infra/tests/de-pii-allow.txt forge-name  # this file names that workflow directory in the entry above

# --- fixtures ----------------------------------------------------------------
apps/stage/tests/unit/query.test.ts private-address  # made-up address in a feed-URL parsing fixture
services/bridge/tests/ secret-assignment             # fake client id/secret fixtures ("test-client-secret-DO-NOT-LOG")
