@vesviet/agent-skills 5.6.0 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +5 -5
- package/README.md +1 -1
- package/VERSION +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/role-skill-index.json +12 -12
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/adapters/cursor/README.md +185 -185
- package/bin/agent-skills.mjs +17 -14
- package/core/contracts/README.md +1 -1
- package/core/contracts/schemas/api-contract-spec.json +191 -191
- package/core/contracts/schemas/data-pipeline-spec.json +1 -1
- package/core/contracts/schemas/design-tokens-spec.json +19 -0
- package/core/contracts/schemas/feature-ticket.json +1293 -1293
- package/core/contracts/schemas/pull-request-spec.json +338 -338
- package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -19
- package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -93
- package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -54
- package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -92
- package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -48
- package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -85
- package/core/contracts/schemas/security-audit.json +143 -12
- package/core/contracts/schemas/system-design-spec.json +9 -1
- package/core/contracts/schemas/test-report.json +530 -530
- package/core/contracts/schemas/ux-flow-spec.json +66 -0
- package/core/roles/ai-systems-engineer.md +31 -18
- package/core/roles/aws-engineer.md +33 -29
- package/core/roles/backend-developer.md +6 -4
- package/core/roles/content-manager.md +7 -7
- package/core/roles/data-engineer.md +39 -36
- package/core/roles/qa-engineer.md +18 -18
- package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
- package/core/roles/references/aws-engineer-review-checklist.md +29 -16
- package/core/roles/references/business-analyst-responsibilities.md +207 -207
- package/core/roles/references/content-manager-governance-standards.md +2 -2
- package/core/roles/references/content-manager-review-checklist.md +7 -1
- package/core/roles/references/data-engineer-review-checklist.md +11 -3
- package/core/roles/references/frontend-developer-responsibilities.md +275 -275
- package/core/roles/references/qa-engineer-review-checklist.md +10 -5
- package/core/roles/references/security-engineer-review-checklist.md +8 -0
- package/core/roles/references/solution-architect-review-checklist.md +6 -1
- package/core/roles/references/system-engineer-review-checklist.md +11 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
- package/core/roles/security-engineer.md +35 -5
- package/core/roles/solution-architect.md +7 -7
- package/core/roles/system-engineer.md +470 -465
- package/core/roles/ui-ux-designer.md +17 -3
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
- package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
- package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
- package/core/skills/backend/add-event-handler/SKILL.md +1 -0
- package/core/skills/backend/add-service-client/SKILL.md +1 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +101 -100
- package/core/skills/backend/implement-auth/SKILL.md +1 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +95 -94
- package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
- package/core/skills/business/elicit-requirements/SKILL.md +102 -102
- package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -60
- package/core/skills/business/trace-requirements-impact/SKILL.md +97 -97
- package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -109
- package/core/skills/business/write-use-cases/SKILL.md +106 -106
- package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -135
- package/core/skills/content/audit-content/SKILL.md +3 -2
- package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
- package/core/skills/content/design-content-strategy/SKILL.md +6 -5
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
- package/core/skills/content/optimize-seo/SKILL.md +6 -5
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
- package/core/skills/content/repurpose-content/SKILL.md +4 -3
- package/core/skills/content/write-article/SKILL.md +6 -5
- package/core/skills/content/write-copy/SKILL.md +3 -2
- package/core/skills/document/pptx/SKILL.md +1 -0
- package/core/skills/document/pptx/scripts/add_slide.py +0 -0
- package/core/skills/document/pptx/scripts/clean.py +0 -0
- package/core/skills/document/pptx/scripts/thumbnail.py +0 -0
- package/core/skills/document/xlsx/scripts/recalc.py +0 -0
- package/core/skills/documentation/write-documentation/SKILL.md +143 -143
- package/core/skills/documentation/write-tech-radar/SKILL.md +149 -149
- package/core/skills/foundation/accessibility-review/SKILL.md +160 -160
- package/core/skills/foundation/design-review/SKILL.md +11 -1
- package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
- package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
- package/core/skills/foundation/release-notes/SKILL.md +192 -192
- package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +0 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +160 -160
- package/core/skills/foundation/write-tests/SKILL.md +11 -10
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
- package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
- package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -166
- package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -199
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
- package/core/skills/platform/debug-workers-edge/SKILL.md +111 -111
- package/core/skills/platform/sandbox-sdk/SKILL.md +183 -183
- package/core/skills/platform/setup-gpu-finops/SKILL.md +111 -107
- package/core/skills/platform/setup-llm-gateway/SKILL.md +110 -108
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
- package/core/skills/platform/system-design/SKILL.md +7 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +118 -118
- package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/validate.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +0 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -199
- package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -31
- package/core/skills/platform/web-perf/SKILL.md +151 -151
- package/core/skills/platform/workers-best-practices/references/rules.md +463 -463
- package/core/skills/product/build-story-map/SKILL.md +104 -104
- package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -101
- package/core/skills/product/define-product-strategy/SKILL.md +105 -105
- package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -142
- package/core/skills/product/model-saas-metrics/SKILL.md +104 -104
- package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -110
- package/core/skills/product/prioritize-roadmap/SKILL.md +106 -106
- package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -105
- package/core/skills/repo-ops/commit-code/SKILL.md +190 -190
- package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -21
- package/core/skills/repo-ops/navigate-service/SKILL.md +199 -199
- package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -100
- package/core/skills/repo-ops/review-service/SKILL.md +186 -186
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -127
- package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -22
- package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -110
- package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
- package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
- package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
- package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
- package/core/skills/security-data/security-audit/SKILL.md +126 -119
- package/core/workflows/add-new-feature.md +212 -212
- package/core/workflows/agent-a2a-delegation.md +142 -142
- package/core/workflows/bug-fix.md +147 -147
- package/core/workflows/build-deploy.md +208 -208
- package/core/workflows/code-review.md +137 -137
- package/core/workflows/curriculum-delivery.md +1 -1
- package/core/workflows/dependency-upgrade.md +193 -193
- package/core/workflows/feature-delivery.md +149 -149
- package/core/workflows/hotfix-production.md +172 -172
- package/core/workflows/qa-validation.md +231 -231
- package/core/workflows/refactoring.md +154 -154
- package/core/workflows/revert-deployment.md +147 -147
- package/core/workflows/security-incident-response.md +191 -191
- package/core/workflows/seo-content-lifecycle.md +91 -91
- package/core/workflows/service-review-release.md +223 -223
- package/core/workflows/setup-new-service.md +214 -214
- package/core/workflows/tech-repo-review.md +245 -245
- package/core/workflows/troubleshooting.md +241 -241
- package/overlays/astro-cloudflare/README.md +93 -93
- package/overlays/data-analyst-stack/README.md +109 -109
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -135
- package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -80
- package/overlays/ecommerce-microservices/README.md +65 -65
- package/overlays/go-microservices/README.md +78 -78
- package/overlays/go-microservices/rules/go-conventions.md +223 -223
- package/overlays/laravel-filament/README.md +90 -90
- package/overlays/laravel-filament/rules/laravel-conventions.md +220 -220
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -141
- package/overlays/laravel-filament/workflows/deploy-laravel.md +133 -133
- package/overlays/obj-configurator/rules/obj-project-rules.md +111 -111
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -71
- package/overlays/r3f-stack/README.md +89 -89
- package/overlays/r3f-stack/rules/stub.md +43 -43
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -166
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -159
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -128
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -52
- package/overlays/ui-design-system/rules/handoff-conventions.md +73 -73
- package/package.json +2 -2
- package/core/README.md +0 -53
|
@@ -120,3 +120,11 @@ This reference checklist provides comprehensive security architecture, threat mo
|
|
|
120
120
|
| **SPIFFE SVID Expiry** | TTL $\le 1\text{h}$ | `spire-agent api fetch x509` | Lifetime $\le 3600\text{s}$ |
|
|
121
121
|
| **Audit Log Integrity** | WORM storage valid | S3 Object Lock configuration check | Immutability active, retention $\ge 180\text{d}$ |
|
|
122
122
|
| **Audit Contract** | Valid `security-audit.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
|
|
123
|
+
|
|
124
|
+
### 10. 2026-10 Modernization Gates (`CRA-REPORTING LOCK`, `PQC-TRANSITION LOCK`)
|
|
125
|
+
|
|
126
|
+
- **ASI Correctness Gate**: every agentic finding is tagged against the official OWASP Top 10 for Agentic Applications 2026 titles (ASI01 Agent Goal Hijack, ASI02 Tool Misuse & Exploitation, ASI03 Identity & Privilege Abuse, ASI04 Agentic Supply Chain, ASI05 Unexpected Code Execution, ASI06 Memory & Context Poisoning, ASI07 Insecure Inter-Agent Communication, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, ASI10 Rogue Agents); invented titles such as "ASI08 Missing HITL" or "ASI02 Excessive Agency" fail review outright
|
|
127
|
+
- **CRA Reporting Gate**: for products in EU scope, a tested 24-hour ENISA/CSIRT reporting runbook exists (obligation live since 2026-09-11); a declared support period ≥5 years precedes the 2026-12-11 main obligations; SBOM pipeline evidence is building toward the 2027-12-11 documentation gate
|
|
128
|
+
- **PQC Transition Gate**: a CBOM crypto inventory exists for all cryptography in scope; server-side hybrid TLS (X25519MLKEM768) is enabled or exception-logged; no new quantum-vulnerable-only crypto protects data surviving past 2030 (NIST IR 8547)
|
|
129
|
+
- **Red Teaming Alignment Gate**: agentic adversarial testing is structured per the OWASP GenAI Red Teaming Manual v1.0 (2026-10-20) and Agent Control Standard (2026-09-01), not ad-hoc prompt lists
|
|
130
|
+
- **LLM Top 10 2025 Gate**: AI findings reference 2025-edition mappings (LLM06 Excessive Agency, LLM07 System Prompt Leakage, LLM10 Unbounded Consumption), not 2023 positions
|
|
@@ -33,7 +33,7 @@ This reference checklist provides detailed evaluation criteria for solution arch
|
|
|
33
33
|
- **Inference Latency Dynamics**: Time-To-First-Token ($TTFT \le 800\text{ms}$ via MFU) and Time-Between-Tokens ($TBT \le 25\text{ms}$ via MBU) are documented before sizing GPU clusters.
|
|
34
34
|
- **Token Economics & VPT**: Cost-Per-Token ($CPT$) is computed and Value-Per-Token ($VPT$) business viability thresholds are validated.
|
|
35
35
|
|
|
36
|
-
### 5. Clean Architecture & Saga Orchestration (Go 1.
|
|
36
|
+
### 5. Clean Architecture & Saga Orchestration (Go 1.27+ Kratos & Dapr)
|
|
37
37
|
- **Layer Separation**: Kratos 4-layer architecture strictly separates Transport (`api`), Adapter (`service`), Domain (`biz`), and Persistence (`data`).
|
|
38
38
|
- **Zero ORM Leakage**: Database driver instances (`gorm.DB`) are prohibited from leaking into the `internal/biz` domain package.
|
|
39
39
|
- **Compile-Time Wire DI**: Dependency injection is wired via `google/wire` AST code generation; untracked global singletons are rejected.
|
|
@@ -69,3 +69,8 @@ This reference checklist provides detailed evaluation criteria for solution arch
|
|
|
69
69
|
- **Architectural vs Operational Controls**: Clear separation between controls enforced in code/architecture vs. organizational process.
|
|
70
70
|
- **EU AI Act Timeline Alignment**: Scoping aligns with the Digital Omnibus timeline (Article 50 transparency live August 2026; Annex III high-risk deadline December 2027).
|
|
71
71
|
- **Auditability & Traceability**: Solution incorporates tamper-evident logging, decision provenance, and 15-day decision reconstruction capability.
|
|
72
|
+
|
|
73
|
+
### 10. 2026-10 Modernization Gates
|
|
74
|
+
- **Stack-Currency Gate**: solution stack references follow the Backend Developer Stack Currency baseline — Go 1.27+ (1.27 released 2026-08), Python 3.14+, Node 26 LTS line, PostgreSQL 18; previous-generation language pins in new solution designs fail currency review; re-validate quarterly.
|
|
75
|
+
- **MCP-Transport Gate**: adopted MCP servers (marketplace or in-house) speak Streamable HTTP (MCP spec 2025-03-26+); new HTTP+SSE deployments are rejected as deprecated transport.
|
|
76
|
+
- **GPU-Sizing-Currency Gate**: VRAM sizing equations stay silicon-agnostic (weights + KV cache + activation + overhead with ≥15% headroom) and are re-benchmarked per accelerator generation (e.g., Graviton5/Trainium3-class or current NVIDIA lines) rather than pinned to a single hardware vintage.
|
|
@@ -122,3 +122,14 @@ This reference checklist provides operational systems architecture, kernel perfo
|
|
|
122
122
|
| **cgroup v2 Controller**| Hierarchy valid | `cat /sys/fs/cgroup/cgroup.controllers` | `cpu memory io pids` active |
|
|
123
123
|
| **Listen Drop Rate** | Drops == 0 | Prometheus `ListenDrops` | 0 drops across all sockets |
|
|
124
124
|
| **System Spec Schema** | Valid `system-design-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
|
|
125
|
+
|
|
126
|
+
### 2026-10 Modernization Gates (KV-Cache Tiering, Speculative Decoding, DRA, Agent Router)
|
|
127
|
+
|
|
128
|
+
| Verification Gate | Target Invariant | Pass Criteria |
|
|
129
|
+
| :--- | :--- | :--- |
|
|
130
|
+
| **KV-Cache Tiering** | Agentic/long-context workloads evaluate offloading tiers before GPU scaling | `ai_infrastructure.kv_cache_tiering` decision recorded (GPU / +CPU / +storage) |
|
|
131
|
+
| **Speculative Decoding** | EAGLE-3/MTP enabled only with measured acceptance | `ai_infrastructure.speculative_decoding` recorded with draft acceptance rate; disabled below ~70% |
|
|
132
|
+
| **DRA GPU Allocation** | K8s v1.34+ uses ResourceClaims, not opaque GPU integers | Structured VRAM requests via DRA (GA v1.34; admin-access/extended-resource GA v1.36/v1.37) + MIG where multi-tenant |
|
|
133
|
+
| **Inference Routing** | KV/prefix-aware routing chosen before full disaggregation | Agent Router (ex-Envoy AI Gateway) InferencePool evaluated for K8s fleets; decision documented |
|
|
134
|
+
| **Rack-Scale Capacity** | 2026 hardware horizon priced in capacity scenarios | GB300 NVL72 (~278GB HBM3e/GPU) and Vera Rubin roadmap reflected in 12-month forecasts |
|
|
135
|
+
| **Continuous Profiling** | Profiling evidence via OTel Profiles (alpha) or Pyroscope/Parca | Backend + collection path stated; signal treated as alpha with native export fallback |
|
|
@@ -112,3 +112,15 @@ This reference checklist provides operational design governance, anti-slop aesth
|
|
|
112
112
|
| **Touch Target Size** | Size $\ge 24\text{px}$ + $8\text{px}$ margin| Chrome DevTools Elements audit | 0 sub-size tap targets |
|
|
113
113
|
| **Design Tokens** | 0 hardcoded hex codes | `rg -i "#[0-9a-f]{3,6}" src/components/` | 0 direct hex codes |
|
|
114
114
|
| **UI Spec Contract** | Valid `ui-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
|
|
115
|
+
|
|
116
|
+
### 12. 2026-10 Modernization Gates (DTCG 2025.10, Dark Patterns, ADA Title II, Agents-as-Users)
|
|
117
|
+
|
|
118
|
+
| Verification Gate | Target Invariant | Required Tool / Command | Pass Criteria |
|
|
119
|
+
| :--- | :--- | :--- | :--- |
|
|
120
|
+
| **DTCG Format Conformance** | Token files use Format Module 2025.10 `$value`/`$type` | DTCG format validator / Style Dictionary v4 DTCG mode | 0 legacy `{value}` syntax mixed in; files validate before pipeline adoption |
|
|
121
|
+
| **Dark-Pattern Review** | Consent / cancellation / subscription / upsell flows reviewed | ux-flow-spec.json `dark_pattern_review` | 6 classes checked (nagging, obstruction, sneaking, forced action, confirmshaming, trick questions); findings recorded |
|
|
122
|
+
| **ADA Title II (US public sector)** | WCAG 2.1 AA target + deadline stated | Flow spec accessibility notes | 2027-04-26 (≥50k) / 2028-04-26 (<50k) / HHS May-2026 flagged when in scope |
|
|
123
|
+
| **Agents-as-Users Operability** | `agent_operability` declared when agents operate the UI | ux-flow-spec.json `agent_operability` | Entry points + machine-readable affordances + courtesy rules present |
|
|
124
|
+
| **Autonomy Tier Declaration** | `agentic_autonomy.autonomy_tier` enum-conformant | ux-flow-spec.json `agentic_autonomy` | Tier declared for every agentic feature; tier ≤ earned trust (Autopilot Trap guard) |
|
|
125
|
+
| **Usability Evidence Source** | Real-participant evidence for blocking decisions | Review notes / research-report.json | Synthetic-user results marked hypothesis-only; AI-moderated interviews admissible with tool + participant count recorded |
|
|
126
|
+
| **WCAG 3.0 Readiness** | Findings phrased for future scoring conformance | Accessibility notes wording | WCAG 2.2 AA remains the target; no claims of "WCAG 3.0 conformance" |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Security Engineer
|
|
2
2
|
|
|
3
|
-
Mission: reduce security risk early by identifying weaknesses in design, code, configuration, dependencies, and operations before they become incidents. In 2025–2026, this extends to assessing AI/LLM-specific attack surfaces (prompt injection, training data poisoning, model output exploitation), enforcing shift-left security practices (threat modeling before design sign-off, SAST/DAST in CI),
|
|
3
|
+
Mission: reduce security risk early by identifying weaknesses in design, code, configuration, dependencies, and operations before they become incidents. In 2025–2026, this extends to assessing AI/LLM-specific attack surfaces (prompt injection, training data poisoning, model output exploitation), enforcing shift-left security practices (threat modeling before design sign-off, SAST/DAST in CI), treating AI systems as high-risk trust boundary additions that require explicit security review before deployment — and, as of late 2026, covering EU Cyber Resilience Act product readiness and post-quantum cryptography transition review.
|
|
4
4
|
|
|
5
5
|
Level: Principal / master-level security engineering.
|
|
6
6
|
|
|
@@ -82,8 +82,8 @@ AI/LLM and autonomous agent integrations introduce attack surfaces that are abse
|
|
|
82
82
|
| ------------------- | -------- | ------------------ |
|
|
83
83
|
| Prompt / Goal Injection (LLM01/ASI01) | Tampering + Elevation | Input/output boundary review; structural privilege separation |
|
|
84
84
|
| Data exfiltration via output (LLM02) | Information disclosure | Output content filtering; PII boundary review; egress proxying |
|
|
85
|
-
| Tool Misuse & Excessive Agency (
|
|
86
|
-
| Model API / Wallet Abuse (
|
|
85
|
+
| Tool Misuse & Excessive Agency (LLM06/ASI02) | Elevation of privilege | Tool parameter whitelisting; argument-level RBAC; HITL gates |
|
|
86
|
+
| Model API / Wallet Abuse (LLM10 Unbounded Consumption) | Denial of Service / Wallet | Token rate limiting, cost budgets, quota alerting |
|
|
87
87
|
| Memory & Context Poisoning (ASI06) | Tampering + Persistence | Memory write filtering; cross-session isolation boundaries |
|
|
88
88
|
| Insecure Inter-Agent Comms (ASI07) | Spoofing + Tampering | A2A identity attestation; mTLS; message signature verification |
|
|
89
89
|
| MCP Rug Pull / Poisoning (ASI04) | Supply Chain / Tampering | Version-pinned manifests; tool description injection audits |
|
|
@@ -116,6 +116,26 @@ System Engineers author IaC and provision infrastructure — Security Engineer r
|
|
|
116
116
|
- review data residency and tenant isolation in AI infrastructure designs: multi-tenant inference servers with insufficient namespace isolation are a data exfiltration risk
|
|
117
117
|
- flag infrastructure configurations that bypass zero-trust architecture: direct DB access without mTLS, unencrypted inter-service traffic, missing audit logging at infrastructure layer
|
|
118
118
|
|
|
119
|
+
### EU Cyber Resilience Act (CRA) Product Compliance (2026)
|
|
120
|
+
|
|
121
|
+
The CRA is the EU's product cybersecurity law for products with digital elements, including standalone B2B software. Its deadline chain is live, not future:
|
|
122
|
+
|
|
123
|
+
- **2026-09-11 (in force)**: vulnerability and incident reporting obligations apply — actively exploited vulnerabilities and severe security incidents must be reported to ENISA/CSIRT within 24 hours (72-hour follow-up); verify the reporting runbook exists and has been tested before approving any release for a product in EU scope
|
|
124
|
+
- **2026-12-11**: main obligations apply to products placed on the market — security-by-design/default, product risk assessment, coordinated vulnerability disclosure policy, and a declared security support period (≥5 years or expected product life)
|
|
125
|
+
- **2027-12-11**: machine-readable SBOM and full technical documentation obligations apply; SBOM pipelines (CycloneDX 1.6) must be producing release evidence well before this gate
|
|
126
|
+
- penalties reach €15M or 2.5% of global annual turnover; open-source stewards are covered only for their commercial activity, so distributed packages used commercially still pull distributors into scope
|
|
127
|
+
- treat CRA evidence (SBOM, VEX, support-period policy, tested reporting runbook) as release artifacts owned jointly with DevOps; audit them via the `cra_compliance` block of `contracts/schemas/security-audit.json`
|
|
128
|
+
|
|
129
|
+
### Post-Quantum Cryptography (PQC) Readiness Review (2026)
|
|
130
|
+
|
|
131
|
+
"Harvest now, decrypt later" makes long-lived confidentiality the migration priority. NIST IR 8547 deprecates quantum-vulnerable algorithms (RSA, ECDSA, ECDH, DH) after 2030 and disallows them after 2035:
|
|
132
|
+
|
|
133
|
+
- maintain a **crypto inventory (CBOM)** — CycloneDX 1.6 Cryptographic Bill of Materials — covering algorithms, key locations, owners, and data lifetimes; the incident-response workflow already queries CBOM during crypto incidents, so the inventory must exist before the first incident, not after
|
|
134
|
+
- new designs default to **hybrid key exchange**: X25519MLKEM768 for TLS 1.3 is client-side default since Chrome 131/Firefox 132 with Cloudflare and GCP load-balancer support — server-side enablement is now the review item, not a future option
|
|
135
|
+
- SSH: OpenSSH 10.x enables post-quant hybrid KEX by default; require a staged rollout with fallback KEX so legacy clients do not break (verify the downgrade path, not just enablement)
|
|
136
|
+
- signatures: prefer ML-DSA (FIPS 204) for new high-value signing where the ecosystem accepts it; SLH-DSA (FIPS 205) where stateless hashing is preferred
|
|
137
|
+
- reject new long-lived data protection bound exclusively to quantum-vulnerable crypto without a documented migration path; missing crypto-agility (no algorithm negotiation, hard-coded crypto) is a finding, not a style note
|
|
138
|
+
|
|
119
139
|
## Inputs Required
|
|
120
140
|
|
|
121
141
|
- architecture and trust boundaries
|
|
@@ -129,6 +149,7 @@ System Engineers author IaC and provision infrastructure — Security Engineer r
|
|
|
129
149
|
## Outputs Produced
|
|
130
150
|
|
|
131
151
|
- security findings — use `contracts/schemas/security-audit.json` for structured handoff
|
|
152
|
+
- EU CRA and PQC readiness assessments — emitted via the `cra_compliance` and `pqc_readiness` blocks of `contracts/schemas/security-audit.json`
|
|
132
153
|
- mitigation guidance
|
|
133
154
|
- hardening recommendations
|
|
134
155
|
- validation checklist for risky changes
|
|
@@ -175,7 +196,7 @@ System Engineers author IaC and provision infrastructure — Security Engineer r
|
|
|
175
196
|
## Guardrails
|
|
176
197
|
|
|
177
198
|
- **BOUNDARY LOCK**: do not execute tasks outside this role's core responsibilities without explicit delegation.
|
|
178
|
-
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint
|
|
199
|
+
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026 (agentic), OWASP Top 10:2025 (web — including A03 Software Supply Chain Failures and A10 Mishandling of Exceptional Conditions), and OWASP LLM Top 10 2025; align agentic adversarial testing with the OWASP GenAI Red Teaming Manual v1.0 (2026-10-20) and Agent Control Standard (2026-09-01), and apply Minimal Footprint and Least-Agency principles.
|
|
179
200
|
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions.
|
|
180
201
|
- **TRACE LOCK**: Enforce Traceability Standard.
|
|
181
202
|
- **UNCERTAINTY LOCK**: Escalate to human validation when confidence is low.
|
|
@@ -194,6 +215,8 @@ System Engineers author IaC and provision infrastructure — Security Engineer r
|
|
|
194
215
|
- **AGENTIC-ZERO-TRUST LOCK**: no agent-to-agent (A2A) or agent-to-MCP communication is trusted by default; require identity attestation, scope declaration, and integrity signature per message
|
|
195
216
|
- **BLAST-RADIUS-MINIMIZATION LOCK**: calculate maximum combined blast radius across all accessible tools before approving agentic workflows; require mandatory HITL checkpoints for financial, PII, or destructive operations
|
|
196
217
|
- **EU-AI-ACT-ADVERSARIAL-TESTING LOCK**: for high-risk AI or GPAI models with systemic risk, adversarial resilience testing (Article 15) covering prompt injection, data poisoning, and model evasion is a mandatory pre-deployment gate
|
|
218
|
+
- **CRA-REPORTING LOCK**: do not approve release of any product in EU scope without a live, tested vulnerability/incident reporting process (24-hour ENISA/CSIRT notification, obligation live since 2026-09-11) and a declared ≥5-year support period; 2026-12-11 is a hard gate, not a planning horizon
|
|
219
|
+
- **PQC-TRANSITION LOCK**: every design involving cryptography must carry a CBOM inventory entry and a hybrid-PQC path (TLS X25519MLKEM768 server-side enablement; OpenSSH 10 hybrid KEX with fallback); reject quantum-vulnerable-only crypto for data whose confidentiality must survive past 2030 (NIST IR 8547)
|
|
197
220
|
|
|
198
221
|
## Skill Toolbox
|
|
199
222
|
|
|
@@ -284,6 +307,9 @@ See [references/security-engineer-review-checklist.md](references/security-engin
|
|
|
284
307
|
- exploit path, blast radius, mitigation effectiveness, and residual risk are explicit
|
|
285
308
|
- compensating controls and rollout implications are visible when full remediation is deferred
|
|
286
309
|
- residual risk has an explicit accepted owner
|
|
310
|
+
- EU CRA readiness verified for products in EU scope: 24h reporting runbook live, ≥5-year support period declared, SBOM evidence building toward the 2027-12-11 gate
|
|
311
|
+
- PQC readiness reviewed: CBOM crypto inventory exists, hybrid TLS (X25519MLKEM768) enabled server-side, no new quantum-vulnerable-only crypto for long-lived data
|
|
312
|
+
- ASI findings tagged against the official OWASP Top 10 for Agentic Applications 2026 titles (Agent Goal Hijack, Tool Misuse & Exploitation, … Rogue Agents)
|
|
287
313
|
|
|
288
314
|
|
|
289
315
|
## Failure Modes
|
|
@@ -312,6 +338,8 @@ See [references/security-engineer-review-checklist.md](references/security-engin
|
|
|
312
338
|
- **manual-only prompt injection testing** — omitting automated adversarial test harnesses (PyRIT/Garak) from CI/CD pipelines
|
|
313
339
|
- **point-in-time EU AI Act compliance** — treating AI security compliance as a one-off audit instead of maintaining an active, continuous compliance evidence chain
|
|
314
340
|
- **deploying OAuth-optional MCP servers** — exposing MCP tool endpoints without mandatory OAuth 2.1 with PKCE authentication
|
|
341
|
+
- **treating EU CRA as a 2027 problem** — the 24-hour reporting duty has applied since 2026-09-11 and main product obligations land 2026-12-11; discovering the gap at the deadline is itself a reportable compliance failure
|
|
342
|
+
- **shipping quantum-vulnerable-only cryptography for long-lived data** — approving new RSA/ECDSA-only protection for data whose confidentiality must outlive 2030 without a hybrid or documented migration path (NIST IR 8547)
|
|
315
343
|
|
|
316
344
|
## Role Handoff
|
|
317
345
|
|
|
@@ -338,6 +366,8 @@ See [references/security-engineer-review-checklist.md](references/security-engin
|
|
|
338
366
|
- **MCP server security verified**: version pinning, tool description injection defense, and OAuth 2.1 authentication confirmed
|
|
339
367
|
- **Non-Human Identity (NHI) registered**: behavioral baseline declared, short-lived JIT credentials configured, offboarding SLA established
|
|
340
368
|
- **EU AI Act Article 15 adversarial resilience documented**: red-team testing results and WORM audit logging confirmed for high-risk AI deployments
|
|
369
|
+
- **EU CRA readiness assessed** (when product in EU scope): 24h reporting runbook live, support period declared, SBOM evidence chain started
|
|
370
|
+
- **PQC readiness assessed** (when cryptography in scope): CBOM present, hybrid TLS verified, migration path documented
|
|
341
371
|
|
|
342
372
|
|
|
343
|
-
Last updated: 2026-10-
|
|
373
|
+
Last updated: 2026-10-25
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Solution Architect
|
|
2
2
|
|
|
3
|
-
Mission: translate business goals, stakeholder constraints, and existing capability into a structured solution design that engineering roles can execute without guessing the intent — making build-vs-buy, platform, integration, and vendor trade-offs explicit before requirements are locked or architecture decisions are made. In 2025–2027, this extends to enforcing Executable Architecture-as-Code (AaC via Structurizr / LikeC4 DSL), Spec-Driven Architecture (SDA) contract governance, Cell-Based Failure Domain Isolation (FDI) with Shuffle Sharding, exact mathematical capacity and GPU VRAM sizing models, Clean Architecture (Go 1.
|
|
3
|
+
Mission: translate business goals, stakeholder constraints, and existing capability into a structured solution design that engineering roles can execute without guessing the intent — making build-vs-buy, platform, integration, and vendor trade-offs explicit before requirements are locked or architecture decisions are made. In 2025–2027, this extends to enforcing Executable Architecture-as-Code (AaC via Structurizr / LikeC4 DSL), Spec-Driven Architecture (SDA) contract governance, Cell-Based Failure Domain Isolation (FDI) with Shuffle Sharding, exact mathematical capacity and GPU VRAM sizing models, Clean Architecture (Go 1.27+ Kratos & Dapr Saga orchestration), and automated Policy-as-Code (OPA Rego / Kyverno) before engineering commits.
|
|
4
4
|
|
|
5
5
|
Level: Principal / master-level solution leadership.
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
16
16
|
- establish immutable API and event contract boundaries (`contracts/schemas/api-contract-spec.json`) frozen prior to engineering slice authoring, with explicit SemVer deprecation windows
|
|
17
17
|
- quantify blast radius scoring (Tiers 1–4) with concrete containment boundaries and emergency kill-switches for every architectural proposal
|
|
18
18
|
- derive **Mathematical Capacity Sizing & GPU VRAM Allocation**: calculate Little's Law worker/connection pool quotas ($L = \lambda \times W$) and exact LLM GPU memory ($VRAM = \text{Weights} + \text{KV-Cache} + \text{Activation} + \text{Headroom}$) with $\ge 15\%$ safety margins, ensuring realistic TTFT/TBT latency envelopes and Value-Per-Token (VPT) metrics
|
|
19
|
-
- enforce **Clean Architecture Alignment (Go 1.
|
|
19
|
+
- enforce **Clean Architecture Alignment (Go 1.27+ Kratos & Dapr)**: mandate strict 4-layer isolation (`api/`, `internal/service`, `internal/biz`, `internal/data`), compile-time Wire DI, zero ORM driver leakage in domain logic, and asynchronous Sagas backed by Transactional Outbox instead of distributed 2PC anti-patterns
|
|
20
20
|
- define explicit Service Level Objectives (SLO) and performance envelopes (availability targets, P95/P99 latency ceilings, error budgets, and token ceilings) in `contracts/schemas/solution-brief.json`
|
|
21
21
|
- evaluate solutions across build-vs-buy, integration complexity, vendor risk, time-to-value, and operational cost before handing off to Technical Architect or engineering roles
|
|
22
22
|
- make the "why this approach" visible so downstream roles do not reverse-engineer intent from implementation
|
|
@@ -31,7 +31,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
31
31
|
- authoring version-controlled C4 Architecture-as-Code models (Structurizr DSL, LikeC4) to eliminate architectural drift across teams
|
|
32
32
|
- distributed systems require failure domain isolation, cell-based architecture, shuffle sharding, and blast radius tiering across services or autonomous agents
|
|
33
33
|
- formulating rigorous mathematical capacity sizing models (Little's Law concurrency, exact GPU VRAM allocation, TTFT/TBT latency dynamics)
|
|
34
|
-
- establishing Go 1.
|
|
34
|
+
- establishing Go 1.27+ Kratos Clean Architecture, Wire compile-time DI, and Dapr asynchronous Saga coordination for microservice platforms
|
|
35
35
|
- platform, vendor, or build-vs-buy decisions need explicit trade-off documentation, TCO models, and exit-strategy modeling
|
|
36
36
|
- a new product domain, system, or initiative needs a solution brief with immutable contract boundaries and SLO performance envelopes
|
|
37
37
|
- existing systems need capability mapping to determine what can be reused vs rebuilt vs retired
|
|
@@ -77,7 +77,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
77
77
|
- establish measurable AI inference SLOs: Time-To-First-Token ($TTFT \le 800\text{ms}$ via MFU) and Time-Between-Tokens ($TBT \le 25\text{ms}$ via MBU)
|
|
78
78
|
- track **Token Economics**: compute Cost-Per-Token ($CPT$) and enforce Value-Per-Token ($VPT$) viability thresholds before approving agentic solution architectures
|
|
79
79
|
|
|
80
|
-
### Clean Architecture & Microservice Standards (Go 1.
|
|
80
|
+
### Clean Architecture & Microservice Standards (Go 1.27+ Kratos & Dapr)
|
|
81
81
|
|
|
82
82
|
- enforce strict 4-layer Kratos architecture: Transport (`api/`), Adapter (`internal/service`), Domain (`internal/biz`), Persistence (`internal/data`); prohibit database driver leakage (`gorm.DB`) into the business domain
|
|
83
83
|
- mandate compile-time Dependency Injection using **Google Wire** (`wire.go`); eliminate global singletons and untracked service dependencies
|
|
@@ -428,7 +428,7 @@ Emit `contracts/schemas/solution-brief.json` when machine handoff is required.
|
|
|
428
428
|
- [ ] **Spec-Driven Architecture**: machine-readable contract specifications are established in `contracts/schemas/` before engineering slices are scoped; Protobuf BSR and Spectral rulesets enforced.
|
|
429
429
|
- [ ] **Cell-Based Architecture & FDI**: shared-nothing cellular boundaries, Shuffle Sharding HRW router ($P \le 0.005\%$), monotonic epoch fencing tokens, and Little's Law bulkheads configured; zero cross-domain cascading failure paths exist.
|
|
430
430
|
- [ ] **Mathematical Capacity Sizing & GPU VRAM**: Little's Law quotas ($L = \lambda \times W$) and exact 4-component GPU VRAM formula ($W + KV + Act + Overhead \ge 15\%$) documented with TTFT/TBT latency SLOs.
|
|
431
|
-
- [ ] **Clean Architecture & Saga Orchestration**: Go 1.
|
|
431
|
+
- [ ] **Clean Architecture & Saga Orchestration**: Go 1.27+ Kratos 4 layers isolated with zero `gorm.DB` leakage in domain logic; Wire DI and Dapr asynchronous Saga coordination specified.
|
|
432
432
|
- [ ] **Immutable API & Contract Boundaries**: inter-service and public contracts are frozen with backward-compatibility and SemVer deprecation timelines.
|
|
433
433
|
- [ ] **Blast Radius Assessment**: quantitative blast radius tier (Tiers 1–4) is scored with explicit containment and emergency kill-switches.
|
|
434
434
|
- [ ] **SLO Performance Envelopes**: availability targets, P95/P99 latency ceilings, error budgets, and token limits are defined for CI/CD gating.
|
|
@@ -501,7 +501,7 @@ See [`references/solution-architect-review-checklist.md`](references/solution-ar
|
|
|
501
501
|
- **Spec-Driven Architecture established**: machine-readable contract specifications identified and immutable schema boundaries frozen
|
|
502
502
|
- **Cell-based failure domain isolation verified**: cellular boundaries, Shuffle Sharding HRW router, Little's Law bulkheads, and zero cascading failure paths documented
|
|
503
503
|
- **Mathematical capacity model completed**: Little's Law concurrency quotas and exact 4-component GPU VRAM equations calculated
|
|
504
|
-
- **Clean Architecture verified**: Go 1.
|
|
504
|
+
- **Clean Architecture verified**: Go 1.27+ Kratos 4-layer separation, Wire DI, and Dapr asynchronous Saga coordination confirmed
|
|
505
505
|
- **Quantitative Blast Radius assigned**: Tier 1–4 scored with explicit containment and emergency kill-switches
|
|
506
506
|
- **SLO performance envelopes documented**: availability, P95/P99 latency ceilings, error budgets, and token ceilings recorded in `contracts/schemas/solution-brief.json`
|
|
507
507
|
- build-vs-buy decision record is resolved, not deferred
|
|
@@ -520,4 +520,4 @@ See [`references/solution-architect-review-checklist.md`](references/solution-ar
|
|
|
520
520
|
- NHI governance boundaries specified: agent identity, authorization tiers, and credential TTL requirements included in solution brief
|
|
521
521
|
- HITL checkpoints designed: irreversible business transactions gated with explicit human confirmation steps
|
|
522
522
|
|
|
523
|
-
Last updated: 2026-
|
|
523
|
+
Last updated: 2026-10-25
|