bcquality/microsoft/knowledge/security
Jesper Schulz-Wedde e570d6113f Extract 55 knowledge articles from BC review-agent prompt
Adds 55 articles (plus 76 code samples) spanning four new domains and
two existing domains, extracted from the internal Business Central
review-agent prompt. Content was filtered against BCQuality's
remedial-knowledge premise: each article encodes BC-specific behaviour,
a CodeCop rule, a platform API semantic, or an anti-false-positive
guideline that a capable LLM would otherwise get wrong.

New domains:
- privacy (11 articles): DataClassification inheritance semantics, the
  StrSubstNo-defeats-Error-telemetry-classification pitfall, Privacy
  Notice consent for outgoing requests, anti-false-positives for pages
  and in-memory data.
- upgrade (11 articles): upgrade-codeunit structure, upgrade-tag
  lifecycle and registration, protected DB reads, DataTransfer for
  large datasets, InitValue semantics, enum-ordinal preservation,
  obsolete-workflow, first-install detection.
- ui (9 articles): caption capitalization by phrase type, tooltip voice,
  teaching-tip vs tooltip, tour-tip conventions, character limits,
  banned terms, ampersand handling, title punctuation.
- style (11 articles): label-suffix convention, API page naming,
  temporary-variable prefix, label properties (Comment/Locked), named
  invocations, FieldCaption in user messages, OptionCaption pairing,
  Error-parameter passing, `this` keyword, required parentheses, file
  naming.

Gaps in existing domains:
- performance (11 articles): production-scale table catalog (no row
  counts, per internal-data concern), anti-false-positive for bounded
  tables, guard-before-Get ordering, redundant-Get-in-OnAfterGetRecord,
  LockTable in read-only helpers, combined ModifyAll passes, writes in
  OnAfterGetRecord, SetLoadFields heuristics, temporary-table
  regressions, FlowField source-table widening, MaintainSQLIndex
  disabling SIFT.
- security (2 articles): environment-specific hardcoded GUIDs,
  ValidateTableRelation=false on user input.

Intentionally excluded: specific production P95 row-count numbers
(aggregated internal telemetry); rewritten as categorical guidance on
which tables to treat as production-scale without publishing sizes.

All articles use `bc-version: [all]` (applies to every BC version, per
the new schema sentinel). Validator passes with 0 errors / 0 warnings.
2026-04-23 16:43:42 +02:00
..
compose-secrets-with-secretstrsubstno.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
compose-secrets-with-secretstrsubstno.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
compose-secrets-with-secretstrsubstno.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
do-not-disable-validatetablerelation-on-user-input.bad.al Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
do-not-disable-validatetablerelation-on-user-input.good.al Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
do-not-disable-validatetablerelation-on-user-input.md Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
do-not-expose-sensitive-data-in-event-publishers.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
do-not-expose-sensitive-data-in-event-publishers.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
do-not-expose-sensitive-data-in-event-publishers.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
do-not-hardcode-environment-specific-guids.bad.al Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
do-not-hardcode-environment-specific-guids.good.al Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
do-not-hardcode-environment-specific-guids.md Extract 55 knowledge articles from BC review-agent prompt 2026-04-23 16:43:42 +02:00
follow-least-privilege-in-permission-sets.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
follow-least-privilege-in-permission-sets.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
follow-least-privilege-in-permission-sets.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
never-hardcode-secrets-in-al.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
never-hardcode-secrets-in-al.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
never-hardcode-secrets-in-al.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
prefer-azure-key-vault-for-production-secrets.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-indirect-permissions-for-elevated-access.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-indirect-permissions-for-elevated-access.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-indirect-permissions-for-elevated-access.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-inherent-permissions-to-grant-minimal-access.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-inherent-permissions-to-grant-minimal-access.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-inherent-permissions-to-grant-minimal-access.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-isolated-storage-for-module-and-company-secrets.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-isolated-storage-for-module-and-company-secrets.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-isolated-storage-for-module-and-company-secrets.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-nondebuggable-when-parsing-secrets.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-nondebuggable-when-parsing-secrets.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-nondebuggable-when-parsing-secrets.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-secrettext-for-credentials.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-secrettext-for-credentials.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-secrettext-for-credentials.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00
use-secrettext-with-httpclient.bad.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-secrettext-with-httpclient.good.al Co-locate AL samples next to their knowledge articles 2026-04-17 13:45:33 +02:00
use-secrettext-with-httpclient.md Add [all] sentinel to bc-version; apply to version-agnostic knowledge 2026-04-23 16:00:03 +02:00