Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for Data Privacy, GDPR, CCPA, and PDPA compliance. Covers consent management, data retention, privacy-by-design, and audit trails / Panduan kepatuhan Privasi Data, GDPR, dan PDPA.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
<a name="english"></a>
database-orm-expert, saas-multi-tenant, saas-billingauthentication-identity-expert, zero-trust-secret-vaultlogging-error-tracking-expert, data-telemetry-expertautonomous-red-teamer, prompt-injection-firewall, rate-limit-abuse-preventionproduction-ready-hardener, brainstorming, zero-to-prod-orchestrator, session-memory-managerProduction engineering guide for regulatory data privacy and compliance across GDPR (EU), CCPA/CPRA (California), and UU PDP No. 27/2022 (Indonesia). Covers technical patterns for PII (Personally Identifiable Information) encryption at rest, cascading data anonymization (Right to be Forgotten while retaining immutable financial ledgers for tax authorities), consent state machines, and automated logger redaction.
Erases personal identity while preserving aggregate transaction integrity for accounting compliance:
// src/services/privacy-compliance.ts
import { db } from '@/lib/db';
import { sql } from 'drizzle-orm';
import crypto from 'node:crypto';
export async function processRightToBeForgotten(userId: string): Promise<void> {
await db.transaction(async (tx) => {
// 1. Generate irreversible cryptographic pseudo-identifier
const pseudoHash = crypto.createHash('sha256').update(`${userId}-${process.env.PEPPER_SECRET}`).digest('hex').slice(0, 16);
const anonymizedEmail = `deleted-${pseudoHash}@anonymized.internal`;
// 2. Anonymize user record: scrub sensitive fields
await tx.execute(sql`
UPDATE users
SET
name = 'Anonymized Customer',
email = ${anonymizedEmail},
phone_number = NULL,
billing_address = NULL,
ip_address = '0.0.0.0',
is_anonymized = TRUE,
anonymized_at = NOW()
WHERE id = ${userId}
`);
// 3. Scrub profile sessions and third-party provider tokens
await tx.execute(sql`DELETE FROM user_sessions WHERE user_id = ${userId}`);
await tx.execute(sql`DELETE FROM oauth_accounts WHERE user_id = ${userId}`);
// 4. Log compliance audit trail (immutable record of the erasure action)
await tx.execute(sql`
INSERT INTO privacy_audit_logs (id, action, target_pseudo_id, executed_at)
VALUES (gen_random_uuid(), 'RIGHT_TO_BE_FORGOTTEN_EXECUTED', ${pseudoHash}, NOW())
`);
});
}
// src/lib/logger.ts
import pino from 'pino';
export const logger = pino({
level: process.env.LOG_LEVEL || 'info',
redact: {
paths: [
'email',
'password',
'token',
'creditCard',
'authorization',
'*.email',
'*.password',
'req.headers.authorization',
'req.headers.cookie',
],
censor: '[REDACTED_PII]',
},
});
<a name="bahasa-indonesia"></a>
database-orm-expert, saas-multi-tenant, saas-billingauthentication-identity-expert, zero-trust-secret-vaultlogging-error-tracking-expert, data-telemetry-expertautonomous-red-teamer, prompt-injection-firewall, rate-limit-abuse-preventionproduction-ready-hardener, brainstorming, zero-to-prod-orchestrator, session-memory-managerPanduan rekayasa produksi untuk kepatuhan regulasi privasi data global dan nasional, termasuk GDPR (Uni Eropa), CCPA (California), dan UU No. 27 Tahun 2022 tentang Pelindungan Data Pribadi (UU PDP Indonesia). Mencakup enkripsi data pribadi (PII) saat tersimpan (at rest), anonimisasi berjenjang untuk pemenuhan hak penghapusan data tanpa merusak pembukuan keuangan perpajakan, manajemen persetujuan cookie (opt-in), serta sensor otomatis pada sistem logging.
-- Tabel pencatatan riwayat persetujuan (Consent Audit Trail)
CREATE TABLE IF NOT EXISTS user_privacy_consents (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE,
consent_type VARCHAR(64) NOT NULL, -- 'MARKETING', 'ANALYTICS', 'TERMS_OF_SERVICE'
is_granted BOOLEAN NOT NULL DEFAULT FALSE,
policy_version VARCHAR(16) NOT NULL, -- misal 'v2.1'
ip_address VARCHAR(45) NOT NULL,
granted_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
CREATE INDEX idx_user_consents ON user_privacy_consents (user_id, consent_type);
password, email, token) agar tidak tersimpan sebagai teks biasa pada log server.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Fast (Composer 2.5, Grok 4.7/4.6) to Medium (Gemini 4 Argon, GPT-5.6 Sol, Claude Opus 5.5) and High (Claude Sonnet 5.5, Claude Fable 5.1, Muse Wonder) / Panduan ahli untuk kaskade dan routing model cerdas.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Master guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan utama komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.