بنقرة واحدة
customer-facing
Classification rules for determining if a code change is customer-facing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Classification rules for determining if a code change is customer-facing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | customer-facing |
| description | Classification rules for determining if a code change is customer-facing |
| version | 1.0.0 |
| user-invocable | false |
Apply these rules when deciding whether a code change should be documented for customers. This file is the source of truth — edit it to tune the pipeline.
Use canonical product names from skills/doc-style/terminology.md when classifying. The deprecated names appear in legacy code and PRs — translate them.
| Canonical product | Deprecated name | Repo | Surface |
|---|---|---|---|
| Security Assessment | Threat Assessor | HumberAgent (backend) | REST API, assessment logic, report schemas |
| Security Advisor | AppSec Advisor | HumberAgent (backend) | Chat API, advisor responses |
| Prompt Guard | — | HumberAgent (backend) | /inference API, analysis schema |
| Threat Dashboard | — | threat-dashboard (frontend) | UI behaviors visible to users |
Classify every change into exactly one of these:
BREAKING_CHANGE 🔴Document immediately. Add migration note at top of relevant doc.
NEW_FEATURE 🟢Document as new capability.
BEHAVIOR_CHANGE 🟡Document what changed and the impact.
DEPRECATION 🟠Document with sunset timeline and migration path.
INTERNAL ⚪Skip. Do not document.
.github/, .circleci/, etc.)/api/v* → always evaluate for customer impact/inference → Prompt Guard API — always evaluateschemas/, models/, serializers/ → check for API contract changesBEHAVIOR_CHANGEinternal/, utils/, helpers/ → likely INTERNAL unless they affect outputBEHAVIOR_CHANGEBEHAVIOR_CHANGEcomponents/, pages/, views/ → check if user-visibleapi/ client code → mirrors HumberAgent changes, avoid double-documentingstyles/, config/, __tests__/ → INTERNALDo not automatically treat docs-only changes as internal. Classify instruction or documentation changes as customer-facing when they change how a customer installs, configures, authenticates with, operates, or interprets the product.
Examples that should usually be customer-facing:
Examples that are still internal:
README.md is not an automatic skip. Evaluate it based on audience and operational impact.
Even if changed, never classify these as customer-facing:
tests/
test/
__tests__/
spec/
.github/
.circleci/
.gitlab-ci*
__pycache__/
node_modules/
.next/
*.lock
*.pyc
package-lock.json
poetry.lock
yarn.lock
.env*
Makefile
Dockerfile (unless it changes a port or ENV that affects API)
CHANGELOG.md (internal)
If a diff contains any of the following patterns, reject the entire diff (log a warning, skip it, do NOT classify or document):
AKIA[0-9A-Z]{16} (AWS Access Key)sk-[a-zA-Z0-9]{32,} (API keys)-----BEGIN RSA PRIVATE KEY----------BEGIN PRIVATE KEY-----password\s*=\s*["'][^"']+["'].env file contents in diffpostgresql://user:pass@)When classifying with LLM:
INTERNAL (safe default)INTERNAL and log for human reviewWhen in doubt, document too little rather than too much. False positives (documenting internal changes) are worse than false negatives.