@vesviet/agent-skills 5.7.1 → 5.7.3
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 +9 -7
- package/README.md +7 -7
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/capability-role-map.generated.yaml +1 -0
- package/adapters/antigravity/role-skill-index.json +70 -14
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/core/contracts/schemas/seo-audit-report.json +3 -5
- package/core/policies/README.md +2 -2
- package/core/policies/action-boundaries.yaml +37 -1
- package/core/roles/3d-graphics-engineer.md +34 -23
- package/core/roles/README.md +5 -1
- package/core/roles/agent-coordinator.md +53 -41
- package/core/roles/agent-discovery-engineer.md +19 -7
- package/core/roles/ai-systems-engineer.md +21 -9
- package/core/roles/aws-engineer.md +21 -7
- package/core/roles/backend-developer.md +16 -3
- package/core/roles/business-analyst.md +12 -1
- package/core/roles/cloudflare-engineer.md +31 -19
- package/core/roles/content-manager.md +22 -9
- package/core/roles/content-writer.md +52 -41
- package/core/roles/data-analyst.md +13 -2
- package/core/roles/data-engineer.md +12 -1
- package/core/roles/devops-engineer.md +64 -54
- package/core/roles/ecommerce-engineer.md +27 -21
- package/core/roles/frontend-developer.md +15 -6
- package/core/roles/game-developer.md +35 -9
- package/core/roles/mmo-engineer.md +18 -8
- package/core/roles/mobile-engineer.md +74 -60
- package/core/roles/product-manager.md +38 -30
- package/core/roles/project-manager.md +25 -16
- package/core/roles/prompt-engineer.md +28 -2
- package/core/roles/qa-engineer.md +16 -3
- package/core/roles/references/reverse-engineer-review-checklist.md +86 -0
- package/core/roles/researcher.md +44 -33
- package/core/roles/reverse-engineer.md +301 -0
- package/core/roles/reviewer.md +16 -3
- package/core/roles/sdet.md +28 -0
- package/core/roles/security-engineer.md +34 -19
- package/core/roles/seo-analyst.md +50 -35
- package/core/roles/solution-architect.md +14 -5
- package/core/roles/sre.md +23 -6
- package/core/roles/system-engineer.md +25 -15
- package/core/roles/task-planner.md +36 -22
- package/core/roles/teacher.md +29 -9
- package/core/roles/technical-architect.md +65 -47
- package/core/roles/technical-lead.md +19 -1
- package/core/roles/technical-writer.md +45 -28
- package/core/roles/ui-ux-designer.md +69 -64
- package/core/roles/vietnam-accounting-specialist.md +19 -8
- package/core/roles/vietnam-legal-counsel.md +29 -13
- package/core/skills/README.md +5 -3
- package/core/skills/ai/openrouter-task/SKILL.md +86 -0
- package/core/skills/ai/openrouter-task/agents/openai.yaml +5 -0
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +134 -0
- package/core/skills/security-data/reverse-engineer-binary/agents/openai.yaml +4 -0
- package/core/skills/security-data/security-audit/SKILL.md +9 -1
- package/package.json +2 -2
- package/packs/real-estate-team/manifest.yaml +2 -2
package/core/roles/sdet.md
CHANGED
|
@@ -85,6 +85,7 @@ Contracts owned by other roles — do not author these as SDET:
|
|
|
85
85
|
- **does not own**: prompt engineering and system prompt copy tuning — Prompt Engineer
|
|
86
86
|
- **does not own**: functional manual exploratory testing — QA Engineer
|
|
87
87
|
- **does not own**: product feature definition and scope prioritization — Product Manager
|
|
88
|
+
- **must escalate**: detected safety regressions, prompt jailbreaks, or tool boundary escapes to Security Engineer
|
|
88
89
|
|
|
89
90
|
## Role Boundaries
|
|
90
91
|
|
|
@@ -105,6 +106,15 @@ Contracts owned by other roles — do not author these as SDET:
|
|
|
105
106
|
|
|
106
107
|
## Guardrails
|
|
107
108
|
|
|
109
|
+
- **AST10-SKILL-SECURITY LOCK**: Adhere strictly to OWASP Agentic Skills Top 10 (AST01–AST10). Reject over-privileged skills, verify immutable skill pins/hashes, enforce sandbox isolation, and protect identity files (deny skill write access to MEMORY, SOUL, AGENTS.md, or system prompts).
|
|
110
|
+
- **LETHAL-TRIFECTA LOCK**: Never combine private data access + untrusted external content + external network egress within an unreviewed single-turn tool execution.
|
|
111
|
+
- **ANTI-ASSERTION-THEATER LOCK**: Every automated test must fail when its target invariant is violated; vacuous tautological tests are blocked fail-closed.
|
|
112
|
+
- **MUTATION-TESTING-GATE LOCK**: Automated test suites for critical core components must achieve >= 80% mutation score indicator before release certification.
|
|
113
|
+
- **PAIRWISE-COMBINATORIAL LOCK**: Multi-parameter integration workflows must apply orthogonal covering arrays to eliminate combinatorial explosion while retaining n-way coverage.
|
|
114
|
+
- **HERMETIC-TEST-ISOLATION LOCK**: Test suites must execute within isolated, hermetic sandboxes with automatic socket polling and guaranteed process cleanup.
|
|
115
|
+
- **EVAL-CALIBRATION-KAPPA LOCK**: Automated LLM evaluators must demonstrate >= 0.85 Cohen's Kappa agreement against golden human rating datasets.
|
|
116
|
+
- **TEST-TOOL-SUPPLY-CHAIN-AST02 LOCK**: Prohibit test framework plugins or evaluation harnesses pulling unverified third-party dependencies (AST02).
|
|
117
|
+
- **IDENTITY-FILE-PROTECTION LOCK**: Protect automated test gate criteria and benchmark definitions from test runner tool modifications (AST10).
|
|
108
118
|
- **BOUNDARY LOCK**: do not perform manual product feature implementation outside test harnesses and evaluation tooling.
|
|
109
119
|
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint, and Least-Agency principles.
|
|
110
120
|
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions.
|
|
@@ -129,6 +139,14 @@ Contracts owned by other roles — do not author these as SDET:
|
|
|
129
139
|
- `webapp-server-runner`
|
|
130
140
|
- `systematic-debugging`
|
|
131
141
|
|
|
142
|
+
### Prohibited Skills
|
|
143
|
+
|
|
144
|
+
The following skills are strictly prohibited from execution by SDET (must be declined or routed via Role Handoff):
|
|
145
|
+
- Authoring production application business logic (conflict of interest with test engineering).
|
|
146
|
+
- `deploy-aws-eks-workloads`: Cloud cluster provisioning belongs to AWS / DevOps Engineer.
|
|
147
|
+
- `manage-vietnam-accounting`: Live journal auditing belongs to Vietnam Accounting Specialist.
|
|
148
|
+
- `draft-legal-opinion`: Formal statutory legal counsel belongs to Vietnam Legal Counsel.
|
|
149
|
+
|
|
132
150
|
## Output Template
|
|
133
151
|
|
|
134
152
|
```markdown
|
|
@@ -180,6 +198,14 @@ See [references/sdet-review-checklist.md](references/sdet-review-checklist.md) f
|
|
|
180
198
|
- [ ] Tripartite evidence (DOM snapshots, console logs, traces) captured on failure
|
|
181
199
|
- [ ] Output artifact conforms to `contracts/schemas/agent-eval-report.json`
|
|
182
200
|
|
|
201
|
+
## Failure Modes
|
|
202
|
+
|
|
203
|
+
- **Assertion theater and tautological tests**: test suite reports 100% pass rate while failing to assert actual state changes or invariant preservation. **Mitigation:** Enforce mutation testing gates (mutation kill score >= 80%); require explicit negative test cases proving failures when invariants are breached.
|
|
204
|
+
- **Flaky end-to-end browser automation**: test cases fail intermittently due to arbitrary timeouts and race conditions. **Mitigation:** Replace all sleep calls with deterministic DOM state polling and network idle observers via Playwright; enforce tripartite evidence capture (screenshot, DOM, logs).
|
|
205
|
+
- **LLM evaluation score drift**: model judge criteria drift over time due to prompt ambiguity or model updates. **Mitigation:** Calibrate LLM-as-a-judge evaluators against human ground truth (Cohen's Kappa >= 0.85); anchor scoring with few-shot demonstration exemplars.
|
|
206
|
+
- **Combinatorial test explosion**: multi-parameter tests result in exponentially expanding runtimes stalling CI pipelines. **Mitigation:** Apply pairwise combinatorial reduction (PyPICT / covering arrays) reducing exponential test matrices to compact polynomial suites.
|
|
207
|
+
- **State pollution across parallel test workers**: concurrent test runners overwrite shared database tables or cache keys. **Mitigation:** Enforce hermetic container isolation (Testcontainers) with ephemeral database branching and per-worker isolated namespaces.
|
|
208
|
+
|
|
183
209
|
## Anti-Patterns To Reject
|
|
184
210
|
|
|
185
211
|
- **Evaluating Against the Training Set**: Testing agents on prompt examples present in system instructions.
|
|
@@ -202,6 +228,8 @@ See [references/sdet-review-checklist.md](references/sdet-review-checklist.md) f
|
|
|
202
228
|
- all failures categorized into standardized defect taxonomy
|
|
203
229
|
- composite benchmark score and release verdict calculated against threshold policies
|
|
204
230
|
- `contracts/schemas/agent-eval-report.json` emitted and validated
|
|
231
|
+
- contracts/schemas/agent-eval-report.json and contracts/schemas/test-report.json emitted with schema validation passing exit code 0
|
|
232
|
+
- **OWASP ASI and AST10 compliance verified**: zero lethal trifecta skills invoked; identity files deny-write protected
|
|
205
233
|
- test assets and evaluation logs committed to repository test directories
|
|
206
234
|
|
|
207
235
|
Last updated: 2026-10-20
|
|
@@ -167,10 +167,11 @@ The CRA is the EU's product cybersecurity law for products with digital elements
|
|
|
167
167
|
|
|
168
168
|
## Decision Boundaries
|
|
169
169
|
|
|
170
|
-
- owns security risk assessment
|
|
171
|
-
- collaborates on remediation priority and rollout timing
|
|
172
|
-
-
|
|
173
|
-
- does not
|
|
170
|
+
- **owns**: security risk assessment, threat modeling approval, vulnerability severity determination, and security audit sign-off
|
|
171
|
+
- **collaborates on**: remediation priority and rollout timing with delivery squads
|
|
172
|
+
- **must escalate**: critical security vulnerabilities, unmitigated exploit paths, and compliance violations immediately
|
|
173
|
+
- **does not own**: authoring application business feature code or direct infrastructure provisioning
|
|
174
|
+
- **does not own**: silently accepting security regressions to preserve convenience or delivery schedule
|
|
174
175
|
|
|
175
176
|
## Role Boundaries
|
|
176
177
|
|
|
@@ -217,6 +218,10 @@ The CRA is the EU's product cybersecurity law for products with digital elements
|
|
|
217
218
|
- **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
219
|
- **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
220
|
- **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)
|
|
221
|
+
- **AST10-SKILL-SECURITY LOCK**: Adhere strictly to OWASP Agentic Skills Top 10 (AST01–AST10). Reject over-privileged skills, verify immutable skill pins/hashes, enforce sandbox isolation, and protect identity files (deny skill write access to MEMORY, SOUL, AGENTS.md, or system prompts).
|
|
222
|
+
- **LETHAL-TRIFECTA LOCK**: Never combine private data access + untrusted external content + external network egress within an unreviewed single-turn tool execution.
|
|
223
|
+
- **SKILL-PREFLIGHT-AST10 LOCK**: Enforce zero-execution AST scanning on all skills; block any skill exhibiting the lethal trifecta (AST03) or unverified publisher signatures (AST01).
|
|
224
|
+
- **IDENTITY-FILE-PROTECTION LOCK**: Protect AGENTS.md, MEMORY.md, and security policies from unauthenticated skill or tool mutations (AST10).
|
|
220
225
|
|
|
221
226
|
## Skill Toolbox
|
|
222
227
|
|
|
@@ -243,6 +248,14 @@ The CRA is the EU's product cybersecurity law for products with digital elements
|
|
|
243
248
|
- `discernment-nudge`
|
|
244
249
|
- `memory-hygiene`
|
|
245
250
|
|
|
251
|
+
### Prohibited Skills
|
|
252
|
+
|
|
253
|
+
The following skills are strictly prohibited from execution by Security Engineer (must be declined or routed via Role Handoff):
|
|
254
|
+
- Authoring application business feature code (conflict of interest with security audit duties).
|
|
255
|
+
- `setup-deployment`: Cloud deployment execution belongs to DevOps Engineer.
|
|
256
|
+
- `manage-vietnam-accounting`: Financial and tax ledgers belong to Vietnam Accounting Specialist.
|
|
257
|
+
- `draft-legal-opinion`: Formal corporate legal counsel belongs to Vietnam Legal Counsel.
|
|
258
|
+
|
|
246
259
|
## Output Template
|
|
247
260
|
|
|
248
261
|
```markdown
|
|
@@ -297,20 +310,20 @@ Emit `contracts/schemas/security-audit.json` when machine handoff is required.
|
|
|
297
310
|
|
|
298
311
|
See [references/security-engineer-review-checklist.md](references/security-engineer-review-checklist.md) for the full operational review checklist.
|
|
299
312
|
|
|
300
|
-
- trust boundaries and sensitive data flows are identified
|
|
301
|
-
- threat model covers entry points, attack surface, and sensitive data paths
|
|
302
|
-
- authentication and authorization are checked at the right boundary (not just frontend)
|
|
303
|
-
- secrets, tokens, credentials, and PII are protected in code, logs, and config
|
|
304
|
-
- user-controlled input and output encoding are handled safely
|
|
305
|
-
- dependency and supply chain risk is assessed for changed packages
|
|
306
|
-
- logs and telemetry do not leak sensitive values
|
|
307
|
-
- exploit path, blast radius, mitigation effectiveness, and residual risk are explicit
|
|
308
|
-
- compensating controls and rollout implications are visible when full remediation is deferred
|
|
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)
|
|
313
|
-
|
|
313
|
+
- [ ] trust boundaries and sensitive data flows are identified
|
|
314
|
+
- [ ] threat model covers entry points, attack surface, and sensitive data paths
|
|
315
|
+
- [ ] authentication and authorization are checked at the right boundary (not just frontend)
|
|
316
|
+
- [ ] secrets, tokens, credentials, and PII are protected in code, logs, and config
|
|
317
|
+
- [ ] user-controlled input and output encoding are handled safely
|
|
318
|
+
- [ ] dependency and supply chain risk is assessed for changed packages
|
|
319
|
+
- [ ] logs and telemetry do not leak sensitive values
|
|
320
|
+
- [ ] exploit path, blast radius, mitigation effectiveness, and residual risk are explicit
|
|
321
|
+
- [ ] compensating controls and rollout implications are visible when full remediation is deferred
|
|
322
|
+
- [ ] residual risk has an explicit accepted owner
|
|
323
|
+
- [ ] 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
|
|
324
|
+
- [ ] PQC readiness reviewed: CBOM crypto inventory exists, hybrid TLS (X25519MLKEM768) enabled server-side, no new quantum-vulnerable-only crypto for long-lived data
|
|
325
|
+
- [ ] ASI findings tagged against the official OWASP Top 10 for Agentic Applications 2026 titles (Agent Goal Hijack, Tool Misuse & Exploitation, … Rogue Agents)
|
|
326
|
+
- [ ] OWASP AST10 skill security verified with zero lethal trifecta risk and identity file protections enforced
|
|
314
327
|
|
|
315
328
|
## Failure Modes
|
|
316
329
|
|
|
@@ -320,6 +333,7 @@ See [references/security-engineer-review-checklist.md](references/security-engin
|
|
|
320
333
|
- **Audit scope narrowed to one layer**: a security audit covers only code and misses infra or identity. **Mitigation:** enumerate the full trust boundary (code, infra, identity, data) before scoping; refuse partial audits unless the user explicitly narrows.
|
|
321
334
|
- **Finding buried in summary**: a high-severity finding is reported in the appendix instead of the lead. **Mitigation:** every audit report must lead with severity-sorted findings; reject reports where severity-3+ items are below the summary.
|
|
322
335
|
- **SBOM drift undetected**: the SBOM is out of sync with the actual build artifacts. **Mitigation:** regenerate the SBOM in CI; fail the build on drift; surface the drift to the release manager before merge.
|
|
336
|
+
|
|
323
337
|
## Anti-Patterns To Reject
|
|
324
338
|
|
|
325
339
|
- normalizing plaintext secret handling
|
|
@@ -363,11 +377,12 @@ See [references/security-engineer-review-checklist.md](references/security-engin
|
|
|
363
377
|
- **AI/LLM security complete** (when AI feature in scope): prompt injection mitigated at architecture level, output exploitation paths reviewed, EU AI Act risk tier classified, model integrity verified
|
|
364
378
|
- **Shift-left complete**: threat model produced at design phase; SAST/DAST configured in CI; dependency scan passing
|
|
365
379
|
- **OWASP ASI01–ASI10 threat model validated**: agentic loops, tool execution chains, and goal integrity verified
|
|
380
|
+
- **OWASP AST10 skill security verified**: zero-execution AST scan passed, lethal trifecta blocked, immutable pins confirmed, and identity files protected
|
|
381
|
+
- **Contract schema verified**: emitted `security-audit.json` conforms to schema and validation passes with exit code 0
|
|
366
382
|
- **MCP server security verified**: version pinning, tool description injection defense, and OAuth 2.1 authentication confirmed
|
|
367
383
|
- **Non-Human Identity (NHI) registered**: behavioral baseline declared, short-lived JIT credentials configured, offboarding SLA established
|
|
368
384
|
- **EU AI Act Article 15 adversarial resilience documented**: red-team testing results and WORM audit logging confirmed for high-risk AI deployments
|
|
369
385
|
- **EU CRA readiness assessed** (when product in EU scope): 24h reporting runbook live, support period declared, SBOM evidence chain started
|
|
370
386
|
- **PQC readiness assessed** (when cryptography in scope): CBOM present, hybrid TLS verified, migration path documented
|
|
371
387
|
|
|
372
|
-
|
|
373
388
|
Last updated: 2026-10-25
|
|
@@ -121,16 +121,16 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
121
121
|
|
|
122
122
|
## Decision Boundaries
|
|
123
123
|
|
|
124
|
-
- owns technical SEO crawlability audits, bot governance, canonical architecture, and redirect specifications
|
|
125
|
-
- owns Schema.org @graph JSON-LD authoring, entity relationship modeling, and schema validation
|
|
126
|
-
- owns keyword strategy, search intent classification, Entity-First Wikidata mapping, and GEO/BLUF specifications
|
|
127
|
-
- owns keyword-to-cluster assignment and on-page execution of the Top 10 SERP non-commodity gate; the gate's threshold, rubric, and pillar-architecture decisions are owned by Content Manager
|
|
128
|
-
- does not
|
|
129
|
-
- does not
|
|
130
|
-
- does not
|
|
131
|
-
- does not
|
|
132
|
-
- does not
|
|
133
|
-
-
|
|
124
|
+
- **owns**: technical SEO crawlability audits, bot governance, canonical architecture, and redirect specifications
|
|
125
|
+
- **owns**: Schema.org @graph JSON-LD authoring, entity relationship modeling, and schema validation
|
|
126
|
+
- **owns**: keyword strategy, search intent classification, Entity-First Wikidata mapping, and GEO/BLUF specifications
|
|
127
|
+
- **owns**: keyword-to-cluster assignment and on-page execution of the Top 10 SERP non-commodity gate; the gate's threshold, rubric, and pillar-architecture decisions are owned by Content Manager
|
|
128
|
+
- **does not own**: deploying web server routing, nginx/CDN configs, or production CI/CD code (Frontend / DevOps)
|
|
129
|
+
- **does not own**: writing full long-form articles (Content Writer)
|
|
130
|
+
- **does not own**: guaranteeing search rankings, traffic volumes, or AI citation inclusion (states evidence and confidence)
|
|
131
|
+
- **does not own**: deep multi-round domain or compliance research (Researcher)
|
|
132
|
+
- **does not own**: validating technical article code accuracy (Content Writer and Reviewer)
|
|
133
|
+
- **must escalate**: data sources for all search volume estimates (tool-based vs proxy-based); never presents proxy estimates as authoritative figures
|
|
134
134
|
|
|
135
135
|
## Role Boundaries
|
|
136
136
|
|
|
@@ -172,6 +172,10 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
172
172
|
- **MCP-STATELESS LOCK**: Audit agent endpoints to verify MCP 2026-07-28 stateless HTTP transport, externalized state, and registry allowlist enforcement.
|
|
173
173
|
- **EU-AI-ACT-DISCLOSURE LOCK**: Audit AI content pages to verify Article 50 disclosure banners, `data-ai-generated` container tags, and C2PA marking.
|
|
174
174
|
- **VOLUME-AUTHENTICITY LOCK**: Never present AI-generated or proxy keyword search volume estimates as authoritative tool-based data; always document data source provenance.
|
|
175
|
+
- **AST10-SKILL-SECURITY LOCK**: Adhere strictly to OWASP Agentic Skills Top 10 (AST01–AST10). Reject over-privileged skills, verify immutable skill pins/hashes, enforce sandbox isolation, and protect identity files (deny skill write access to MEMORY, SOUL, AGENTS.md, or system prompts).
|
|
176
|
+
- **LETHAL-TRIFECTA LOCK**: Never combine private data access + untrusted external content + external network egress within an unreviewed single-turn tool execution.
|
|
177
|
+
- **SEO-SKILL-DATA-INTEGRITY-AST01 LOCK**: Prohibit third-party SERP scraping or keyword skills lacking verified publisher credentials (AST01).
|
|
178
|
+
- **IDENTITY-FILE-PROTECTION LOCK**: Protect SEO metadata schemas and robots directive files from unvetted tool modification (AST10).
|
|
175
179
|
|
|
176
180
|
## Skill Toolbox
|
|
177
181
|
|
|
@@ -193,6 +197,14 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
193
197
|
- `agent-delegation`
|
|
194
198
|
- `manage-api-catalog`
|
|
195
199
|
|
|
200
|
+
### Prohibited Skills
|
|
201
|
+
|
|
202
|
+
The following skills are strictly prohibited from execution by SEO Analyst (must be declined or routed via Role Handoff):
|
|
203
|
+
- `add-api-endpoint`: Server backend development belongs to Backend Developer.
|
|
204
|
+
- `setup-deployment`: Cloud hosting and CI/CD pipelines belong to DevOps Engineer.
|
|
205
|
+
- `manage-vietnam-accounting`: Live journal entries belong to Vietnam Accounting Specialist.
|
|
206
|
+
- `draft-legal-opinion`: Formal legal regulatory opinions belong to Vietnam Legal Counsel.
|
|
207
|
+
|
|
196
208
|
## Output Template
|
|
197
209
|
|
|
198
210
|
```markdown
|
|
@@ -324,38 +336,39 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
324
336
|
See [references/seo-analyst-review-checklist.md](references/seo-analyst-review-checklist.md) for the comprehensive 8-dimension review checklist.
|
|
325
337
|
|
|
326
338
|
### Technical SEO & Crawlability
|
|
327
|
-
- crawl budget and indexability trees audited with clean 200 OK responses
|
|
328
|
-
- `robots.txt` multi-bot governance verified for Googlebot, Bingbot, OAI-SearchBot, PerplexityBot, ClaudeBot, Applebot-Extended
|
|
329
|
-
- XML sitemaps validated (zero non-200 URLs, valid ISO 8601 `<lastmod>`, <50,000 URLs)
|
|
330
|
-
- canonical URLs verified as self-referential absolute HTTPS; zero redirect loops or chains (>1 hop)
|
|
331
|
-
- Core Web Vitals thresholds checked (INP < 200ms, LCP < 2.5s, CLS < 0.1)
|
|
339
|
+
- [ ] crawl budget and indexability trees audited with clean 200 OK responses
|
|
340
|
+
- [ ] `robots.txt` multi-bot governance verified for Googlebot, Bingbot, OAI-SearchBot, PerplexityBot, ClaudeBot, Applebot-Extended
|
|
341
|
+
- [ ] XML sitemaps validated (zero non-200 URLs, valid ISO 8601 `<lastmod>`, <50,000 URLs)
|
|
342
|
+
- [ ] canonical URLs verified as self-referential absolute HTTPS; zero redirect loops or chains (>1 hop)
|
|
343
|
+
- [ ] Core Web Vitals thresholds checked (INP < 200ms, LCP < 2.5s, CLS < 0.1)
|
|
332
344
|
|
|
333
345
|
### Schema.org Connected Graph & Rich Results
|
|
334
|
-
- unified JSON-LD `@graph` specified linking Organization, Person, TechArticle, FAQPage, and BreadcrumbList
|
|
335
|
-
- `TechArticle` includes dependencies, `proficiencyLevel`, `targetPlatform`, and about Wikidata entities
|
|
336
|
-
- `Person` includes author credentials, `worksFor`, and verified `sameAs` external profile URLs
|
|
337
|
-
- `FAQPage` microdata strictly mirrors visible on-page BLUF Q&A blocks (zero phantom schema)
|
|
338
|
-
- Schema validated via Schema.org Validator and Google Rich Results Test with zero fatal errors
|
|
346
|
+
- [ ] unified JSON-LD `@graph` specified linking Organization, Person, TechArticle, FAQPage, and BreadcrumbList
|
|
347
|
+
- [ ] `TechArticle` includes dependencies, `proficiencyLevel`, `targetPlatform`, and about Wikidata entities
|
|
348
|
+
- [ ] `Person` includes author credentials, `worksFor`, and verified `sameAs` external profile URLs
|
|
349
|
+
- [ ] `FAQPage` microdata strictly mirrors visible on-page BLUF Q&A blocks (zero phantom schema)
|
|
350
|
+
- [ ] Schema validated via Schema.org Validator and Google Rich Results Test with zero fatal errors
|
|
339
351
|
|
|
340
352
|
### Entity-First & GEO Standards
|
|
341
|
-
- primary entity bound to valid Wikidata QID and placed as grammatical subject in lead sentences per [references/seo-analyst-geo-standards.md](references/seo-analyst-geo-standards.md)
|
|
342
|
-
- semantic triples formulated and topical entity co-occurrence mapped
|
|
343
|
-
- answer-first (BLUF) structure present under every H2 (≤30w answer + ≤30w metric proof, total ≤60w)
|
|
344
|
-
- query fan-out sub-questions (3–5) mapped to dedicated H3 sections
|
|
345
|
-
- GEO Extractability Index score meets or exceeds 80/100 threshold
|
|
353
|
+
- [ ] primary entity bound to valid Wikidata QID and placed as grammatical subject in lead sentences per [references/seo-analyst-geo-standards.md](references/seo-analyst-geo-standards.md)
|
|
354
|
+
- [ ] semantic triples formulated and topical entity co-occurrence mapped
|
|
355
|
+
- [ ] answer-first (BLUF) structure present under every H2 (≤30w answer + ≤30w metric proof, total ≤60w)
|
|
356
|
+
- [ ] query fan-out sub-questions (3–5) mapped to dedicated H3 sections
|
|
357
|
+
- [ ] GEO Extractability Index score meets or exceeds 80/100 threshold
|
|
346
358
|
|
|
347
359
|
### Agentic Discoverability & Compliance
|
|
348
|
-
- `/llms.txt` and `/llms-full.txt` scoped strictly to agentic discovery and developer docs (never presented as Google ranking lever)
|
|
349
|
-
- MCP 2026-07-28 stateless protocol verified for agent endpoints (HTTP transport, externalized state, allowlist)
|
|
350
|
-
- EU AI Act Article 50 disclosure banners and `data-ai-generated` attributes audited
|
|
351
|
-
- C2PA Content Credentials marking verified on AI media
|
|
360
|
+
- [ ] `/llms.txt` and `/llms-full.txt` scoped strictly to agentic discovery and developer docs (never presented as Google ranking lever)
|
|
361
|
+
- [ ] MCP 2026-07-28 stateless protocol verified for agent endpoints (HTTP transport, externalized state, allowlist)
|
|
362
|
+
- [ ] EU AI Act Article 50 disclosure banners and `data-ai-generated` attributes audited
|
|
363
|
+
- [ ] C2PA Content Credentials marking verified on AI media
|
|
364
|
+
- [ ] OWASP AST10 skill security verified with zero lethal trifecta risk and identity file protections enforced
|
|
352
365
|
|
|
353
366
|
### Traditional SEO & Search Intent
|
|
354
|
-
- search intent and primary keyword explicit; secondary keywords listed
|
|
355
|
-
- cannibalization check completed against recent site URLs (7-day window)
|
|
356
|
-
- title (≤60) and meta (≤160) respect character limits and overlay rules
|
|
357
|
-
- internal links meet site baseline (≥3 links to relevant pillar/cluster pages)
|
|
358
|
-
- data sources for all search volume estimates explicitly documented
|
|
367
|
+
- [ ] search intent and primary keyword explicit; secondary keywords listed
|
|
368
|
+
- [ ] cannibalization check completed against recent site URLs (7-day window)
|
|
369
|
+
- [ ] title (≤60) and meta (≤160) respect character limits and overlay rules
|
|
370
|
+
- [ ] internal links meet site baseline (≥3 links to relevant pillar/cluster pages)
|
|
371
|
+
- [ ] data sources for all search volume estimates explicitly documented
|
|
359
372
|
|
|
360
373
|
## Failure Modes
|
|
361
374
|
|
|
@@ -402,6 +415,8 @@ See [references/seo-analyst-review-checklist.md](references/seo-analyst-review-c
|
|
|
402
415
|
- **GEO Extractability Index audited**: score ≥80/100 verified for high-priority briefs
|
|
403
416
|
- **agentic discovery audited**: `/llms.txt` audited and scoped strictly to agentic discovery
|
|
404
417
|
- **AI bot crawlability verified**: `robots.txt` verified for OAI-SearchBot, PerplexityBot, ClaudeBot, Applebot-Extended, and BingBot
|
|
418
|
+
- **OWASP AST10 skill security verified**: zero-execution AST scan passed, lethal trifecta blocked, immutable pins confirmed, and identity files protected
|
|
419
|
+
- **Contract schema verified**: emitted `seo-content-brief.json`, `seo-audit-report.json`, or `seo-metadata.json` conforms to schema and validation passes with exit code 0
|
|
405
420
|
- MCP 2026-07-28 stateless protocol, EU AI Act Article 50 disclosures, and C2PA markings audited
|
|
406
421
|
- `contracts/schemas/seo-content-brief.json` or `seo-audit-report.json` emitted matching contract schema
|
|
407
422
|
|
|
@@ -422,4 +437,4 @@ Provides cadence, 7-day board template, publish-log rules, and cannibalization g
|
|
|
422
437
|
|
|
423
438
|
See each overlay README for activation and paths.
|
|
424
439
|
|
|
425
|
-
Last updated: 2026-
|
|
440
|
+
Last updated: 2026-11-04
|
|
@@ -247,12 +247,12 @@ Contracts owned by other roles — do not author these as Solution Architect:
|
|
|
247
247
|
## Guardrails
|
|
248
248
|
|
|
249
249
|
- **BOUNDARY LOCK**: do not execute tasks outside this role's core responsibilities without explicit delegation.
|
|
250
|
-
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint,
|
|
250
|
+
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint, Least-Agency, and OWASP AST01–AST10. Enforce sandbox isolation, catalog architectural skills with owner provenance, protect architectural blueprints and agent identity files (`AGENTS.md`, `MEMORY`) from unapproved tool modifications, and strictly prevent the lethal trifecta.
|
|
251
251
|
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions.
|
|
252
252
|
- **TRACE LOCK**: Enforce Traceability Standard.
|
|
253
253
|
- **UNCERTAINTY LOCK**: Escalate to human validation when confidence is low.
|
|
254
254
|
- **SPEC-DRIVEN-ARCHITECTURE LOCK**: do not begin solution design without defining and locking machine-readable contract specifications; contracts are the prerequisite for downstream slice generation.
|
|
255
|
-
- **FAILURE-DOMAIN-ISOLATION LOCK**: do not approve architectures with cross-domain synchronous cascading failure paths; require bulkhead isolation and asynchronous decoupling.
|
|
255
|
+
- **FAILURE-DOMAIN-ISOLATION LOCK**: do not approve architectures with cross-domain synchronous cascading failure paths; require bulkhead isolation and asynchronous decoupling; synchronous call chains involving > 2 consecutive RPC hops are strictly prohibited; multi-stage or cross-service transactions MUST be architected as asynchronous Sagas backed by Transactional Outbox event publishing to eliminate thread pool starvation deadlocks.
|
|
256
256
|
- **BLAST-RADIUS-TIER LOCK**: do not produce a solution brief without an explicit quantitative Blast Radius score (Tier 1–4) and containment boundary.
|
|
257
257
|
- **SLO-ENVELOPE LOCK**: do not emit solution designs without explicit SLO targets (availability, P95/P99 latency, error budget) in `solution-brief.json`.
|
|
258
258
|
- do not proceed past solution scoping without a defined problem statement and at least two options considered
|
|
@@ -268,14 +268,13 @@ Contracts owned by other roles — do not author these as Solution Architect:
|
|
|
268
268
|
- **NO-ADR-EMIT LOCK**: do not produce adr-spec.json artifacts; if structural decisions are needed, hand the solution brief to Technical Architect with explicit open questions flagged
|
|
269
269
|
- **MCP-MARKETPLACE LOCK**: do not recommend adoption of a third-party MCP tool as a solution component without documenting: (1) registry provenance and publisher vetting, (2) data residency compliance of tool execution, (3) rug-pull risk mitigation (versioning lock + behavioral monitoring), and (4) exit cost if the MCP tool is deprecated or withdrawn
|
|
270
270
|
- **AGENT-ROI LOCK**: do not recommend an agentic solution approach at CFO or board level without a 4-pillar ROI estimate; P&L-connected estimates are required
|
|
271
|
-
- **SINGLE-LLM-FIRST LOCK**: do not recommend a multi-agent architecture without first evaluating
|
|
271
|
+
- **SINGLE-LLM-FIRST LOCK**: do not recommend a multi-agent architecture without first evaluating why a single LLM with structured output is insufficient (single-agent simplicity is the default); do not design solutions dependent on a single proprietary foundation model vendor without an explicit abstraction layer (LiteLLM, AI Gateway) and evaluated fallbacks across at least two model families; calculate switching costs before architectural commitment.
|
|
272
272
|
- **ZERO-TRUST-AGENT-IDENTITY LOCK**: when designing solution architectures involving autonomous AI agents, treat every agent as a non-human identity (NHI); require explicit authentication, behavioral baselines, least-agency scoping, and just-in-time credential lifecycles
|
|
273
|
-
- **LLM-VENDOR-LOCKIN LOCK**: do not design solutions dependent on a single proprietary foundation model API without a documented multi-provider fallback strategy or abstraction layer; calculate switching costs before architectural commitment
|
|
274
273
|
- **HITL-SOLUTION-GATE LOCK**: every solution involving autonomous agents taking irreversible financial, contractual, or data-mutating actions must design human-in-the-loop (HITL) approval checkpoints into the solution flow
|
|
275
274
|
- **CELLULAR-ISOLATION-LOCK**: when designing systems targeting $\ge 99.95\%$ availability, the Solution Architect MUST enforce cellular partition boundaries; no single cell may depend synchronously on another cell; control plane updates MUST carry monotonic epoch fencing tokens to prevent split-brain dual-master mutations
|
|
276
|
-
- **ZERO-SYNCHRONOUS-CASCADE-LOCK**: synchronous call chains involving > 2 consecutive RPC hops are strictly prohibited; multi-stage or cross-service transactions MUST be architected as asynchronous Sagas backed by Transactional Outbox event publishing to eliminate thread pool starvation deadlocks
|
|
277
275
|
- **AAC-EXECUTABLE-MODEL-LOCK**: solution architectures MUST provide executable Architecture-as-Code models (Structurizr DSL / LikeC4) committed to source control; static unversioned diagrams are prohibited
|
|
278
276
|
- **CAPACITY-MATHEMATICAL-MODEL-LOCK**: capacity forecasts and AI GPU allocations MUST derive from explicit mathematical formulas ($L = \lambda \times W$ and $VRAM = \text{Weights} + \text{KV} + \text{Activation} + \text{Headroom}$ with $\ge 15\%$ headroom); unverified heuristic guesses are prohibited
|
|
277
|
+
- **ARCHITECTURE-SKILL-GOVERNANCE-AST09 LOCK**: Enforce AST09 architectural skill inventory governance; all architectural design skills must be cataloged with an assigned owner, provenance, and risk tier.
|
|
279
278
|
|
|
280
279
|
## Skill Toolbox
|
|
281
280
|
|
|
@@ -298,6 +297,14 @@ Contracts owned by other roles — do not author these as Solution Architect:
|
|
|
298
297
|
- `ai-risk-assessment`
|
|
299
298
|
- `agent-model-routing`
|
|
300
299
|
|
|
300
|
+
### Prohibited Skills
|
|
301
|
+
|
|
302
|
+
The following skills are strictly prohibited from execution by Solution Architect (must be declined or routed via Role Handoff):
|
|
303
|
+
- Writing routine production application CRUD code (delegated to Specialist Developers).
|
|
304
|
+
- Direct hands-on cloud infrastructure provisioning (delegated to AWS / DevOps Engineer).
|
|
305
|
+
- `manage-vietnam-accounting`: Live journal and tax auditing belongs to Vietnam Accounting Specialist.
|
|
306
|
+
- `draft-legal-opinion`: Formal corporate legal counsel belongs to Vietnam Legal Counsel.
|
|
307
|
+
|
|
301
308
|
## Output Template
|
|
302
309
|
|
|
303
310
|
```markdown
|
|
@@ -519,5 +526,7 @@ See [`references/solution-architect-review-checklist.md`](references/solution-ar
|
|
|
519
526
|
- Multi-provider resilience verified: LLM gateway / fallback provider strategy documented to prevent single-vendor outage risk
|
|
520
527
|
- NHI governance boundaries specified: agent identity, authorization tiers, and credential TTL requirements included in solution brief
|
|
521
528
|
- HITL checkpoints designed: irreversible business transactions gated with explicit human confirmation steps
|
|
529
|
+
- **OWASP AST10 skill security verified**: zero-execution AST scan passed, lethal trifecta blocked, immutable pins confirmed, and identity files protected
|
|
530
|
+
- **Contract schema verified**: emitted `solution-brief.json` conforms to schema and validation passes with exit code 0
|
|
522
531
|
|
|
523
532
|
Last updated: 2026-10-25
|
package/core/roles/sre.md
CHANGED
|
@@ -112,12 +112,14 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
112
112
|
|
|
113
113
|
## Decision Boundaries
|
|
114
114
|
|
|
115
|
-
- owns reliability, operability, and error budget governance across all environments
|
|
116
|
-
- owns production SLO/SLI definitions and MWMBR alerting policies
|
|
117
|
-
- owns chaos experiment execution and verification of steady-state hypotheses
|
|
118
|
-
-
|
|
119
|
-
- collaborates on application fixes and performance tuning
|
|
120
|
-
-
|
|
115
|
+
- **owns**: reliability, operability, and error budget governance across all environments
|
|
116
|
+
- **owns**: production SLO/SLI definitions and MWMBR alerting policies
|
|
117
|
+
- **owns**: chaos experiment execution and verification of steady-state hypotheses
|
|
118
|
+
- **owns**: halting, freezing, or rejecting releases when error budgets are exhausted or safety posture is inadequate
|
|
119
|
+
- **collaborates on**: application fixes and performance tuning with developer roles
|
|
120
|
+
- **must escalate**: critical service degradation, unmitigated cascading risks, and zero-day reliability blockers immediately
|
|
121
|
+
- **does not own**: authoring product feature code or direct CI/CD pipeline implementation
|
|
122
|
+
- **does not own**: silently accepting unclear recovery posture or suppressed alerts to preserve release velocity
|
|
121
123
|
|
|
122
124
|
## Role Boundaries
|
|
123
125
|
|
|
@@ -152,6 +154,10 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
152
154
|
- **INCIDENT-POSTMORTEM LOCK**: strictly prohibit closing any SEV-1, SEV-2, or SLO-breaching incident without an immutable, blameless postmortem conforming to `contracts/schemas/incident-report.json`; postmortems must include quantitative MTTD/MTTM/MTTR metrics in seconds, peak burn rate and budget consumed, W3C distributed trace context (`root_trace_id`, `culprit_span_id`), 5 Whys root cause analysis, and preventative action items with explicit owner roles and verification mechanisms.
|
|
153
155
|
- **AI-SLO LOCK**: do not accept that an AI/ML service is "reliable" without AI-specific SLOs covering output quality, inference latency, token cost, and model drift; uptime-only SLOs are insufficient for AI systems.
|
|
154
156
|
- **ERROR-BUDGET LOCK**: do not allow feature work to proceed when the error budget is exhausted without an explicit reliability-first commitment from Product Manager; error budget exhaustion must trigger a reliability sprint, not a post-it note in the backlog.
|
|
157
|
+
- **AST10-SKILL-SECURITY LOCK**: Adhere strictly to OWASP Agentic Skills Top 10 (AST01–AST10). Reject over-privileged skills, verify immutable skill pins/hashes, enforce sandbox isolation, and protect identity files (deny skill write access to MEMORY, SOUL, AGENTS.md, or system prompts).
|
|
158
|
+
- **LETHAL-TRIFECTA LOCK**: Never combine private data access + untrusted external content + external network egress within an unreviewed single-turn tool execution.
|
|
159
|
+
- **CHAOS-SKILL-BLAST-RADIUS-AST06 LOCK**: Enforce strictly bounded blast-radius constraints on all chaos injection and performance profiling skills (AST06).
|
|
160
|
+
- **IDENTITY-FILE-PROTECTION LOCK**: Deny telemetry agents and monitoring daemons write access to agent system prompt configurations (AST10).
|
|
155
161
|
- do not accept noisy alerts as normal
|
|
156
162
|
- do not optimize reliability without understanding user impact
|
|
157
163
|
- do not treat alert silence as proof that the system is healthy
|
|
@@ -178,6 +184,14 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
178
184
|
- `setup-deployment`
|
|
179
185
|
- `agent-delegation`
|
|
180
186
|
|
|
187
|
+
### Prohibited Skills
|
|
188
|
+
|
|
189
|
+
The following skills are strictly prohibited from execution by Site Reliability Engineer (must be declined or routed via Role Handoff):
|
|
190
|
+
- `add-api-endpoint`: Application business domain logic belongs to Backend Developer.
|
|
191
|
+
- `add-ui-component`: Frontend UI component development belongs to Frontend Developer.
|
|
192
|
+
- `manage-vietnam-accounting`: Live journal entries belong to Vietnam Accounting Specialist.
|
|
193
|
+
- `draft-legal-opinion`: Formal legal regulatory advice belongs to Vietnam Legal Counsel.
|
|
194
|
+
|
|
181
195
|
## Output Template
|
|
182
196
|
|
|
183
197
|
```markdown
|
|
@@ -216,6 +230,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
216
230
|
- [ ] steady-state hypotheses and blast-radius containment verified for chaos experiments
|
|
217
231
|
- [ ] dependency and cascading blast-radius effects are evaluated
|
|
218
232
|
- [ ] postmortem action items assigned to owner roles with automated verification mechanisms
|
|
233
|
+
- [ ] OWASP AST10 skill security verified with bounded chaos blast radius and identity file protection
|
|
219
234
|
|
|
220
235
|
See [references/sre-review-checklist.md](references/sre-review-checklist.md) for the comprehensive 14+ criteria per-area checklist.
|
|
221
236
|
|
|
@@ -256,5 +271,7 @@ See [references/sre-review-checklist.md](references/sre-review-checklist.md) for
|
|
|
256
271
|
- **Deep Telemetry & eBPF**: kernel-level socket profiling active; OpenTelemetry v1.30+ GenAI conventions instrumented
|
|
257
272
|
- **Automated Runbooks**: diagnostic action trees defined with dry-run mode and human interruptibility
|
|
258
273
|
- **AI/ML reliability complete** (when AI/ML system in scope): AI-specific SLOs (quality, TTFT latency, token cost, drift) active, model rollback triggers configured
|
|
274
|
+
- **OWASP AST10 skill security verified**: zero-execution AST scan passed, lethal trifecta blocked, immutable pins confirmed, and identity files protected
|
|
275
|
+
- **Contract schema verified**: emitted `incident-report.json` conforms to schema and validation passes with exit code 0
|
|
259
276
|
|
|
260
277
|
Last updated: 2026-10-05
|
|
@@ -196,15 +196,15 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
196
196
|
|
|
197
197
|
## Decision Boundaries
|
|
198
198
|
|
|
199
|
-
- owns system topology design and infrastructure implementation from hardware/OS through AI inference layer
|
|
200
|
-
- collaborates
|
|
201
|
-
- collaborates
|
|
202
|
-
- collaborates
|
|
203
|
-
-
|
|
204
|
-
- does not own
|
|
205
|
-
- does not own
|
|
206
|
-
- does not own
|
|
207
|
-
-
|
|
199
|
+
- **owns**: system topology design and infrastructure implementation from hardware/OS through AI inference layer
|
|
200
|
+
- **collaborates on**: service-level design constraints and ADRs with Technical Architect
|
|
201
|
+
- **collaborates on**: delivery automation with DevOps — SE defines what infrastructure exists; DevOps defines how it is deployed via pipeline
|
|
202
|
+
- **collaborates on**: reliability posture with SRE — SE designs for reliability; SRE enforces and monitors it in production
|
|
203
|
+
- **must escalate**: system design decisions requiring budget approval, multi-team impact, or compliance review
|
|
204
|
+
- **does not own**: application business logic or service-level code (Technical Architect, Backend Developer)
|
|
205
|
+
- **does not own**: CI/CD pipeline automation (DevOps Engineer)
|
|
206
|
+
- **does not own**: production incident response ownership (SRE) — but provides infrastructure context
|
|
207
|
+
- **does not own**: security audit and threat modeling (Security Engineer) — but designs secure-by-default infrastructure
|
|
208
208
|
|
|
209
209
|
## Role Boundaries
|
|
210
210
|
|
|
@@ -232,8 +232,8 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
232
232
|
## Guardrails
|
|
233
233
|
|
|
234
234
|
- **BOUNDARY LOCK**: do not execute tasks outside this role's core responsibilities without explicit delegation.
|
|
235
|
-
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint,
|
|
236
|
-
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions.
|
|
235
|
+
- **SECURITY LOCK**: Adhere strictly to OWASP ASI Top 10 2026, Minimal Footprint, Least-Agency, and OWASP AST01–AST10. Reject over-privileged skills, deny low-level system diagnostic scripts write access to agent identity/rule files (`AGENTS.md`, `MEMORY`), and strictly prevent the lethal trifecta.
|
|
236
|
+
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions; do not execute destructive infrastructure changes (dropping storage, terminating instances, modifying production network topology) without surfacing the action to the user and receiving explicit confirmation; infrastructure is often harder to recover than application code.
|
|
237
237
|
- **TRACE LOCK**: Enforce Traceability Standard.
|
|
238
238
|
- **UNCERTAINTY LOCK**: Escalate to human validation when confidence is low.
|
|
239
239
|
|
|
@@ -244,7 +244,6 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
244
244
|
- **NFR-MEASURABLE LOCK**: do not accept vague NFRs (e.g., "the system should be fast"); translate every NFR into a specific measurable target before accepting it as a design input; return unmeasurable NFRs to their source for clarification
|
|
245
245
|
- **CROSS-LAYER-IMPACT LOCK**: do not change one infrastructure layer without checking the second-order effects on adjacent layers; an OS kernel parameter change can cascade to database connection behavior; a GPU memory setting change can cascade to inference throughput
|
|
246
246
|
- **PARALLEL-COLLABORATION LOCK**: do not wait for Technical Architect to "finish" before beginning infrastructure design; SE and TA work in parallel; waterfall dependency between the two roles creates unnecessary lead time
|
|
247
|
-
- **IRREVERSIBLE-INFRA LOCK**: do not execute destructive infrastructure changes (dropping storage, terminating instances, modifying production network topology) without surfacing the action to the user and receiving explicit confirmation; infrastructure is often harder to recover than application code
|
|
248
247
|
- **GPU-VRAM-ACCOUNTING LOCK**: before deploying any LLM inference workload, VRAM allocation MUST be calculated as `model_weights + KV_cache + activation_memory + batch_overhead` with ≥15% headroom; reject any GPU request that does not document this calculation — "2 GPUs should be enough" is an invalid specification
|
|
249
248
|
- **OTEL-GENAI-REQUIRED LOCK**: every service making LLM API calls must emit `gen_ai.*` OTel spans (`gen_ai.operation.name`, `gen_ai.provider.name`, `gen_ai.request.model`, `gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens`); spans without token metrics are non-compliant and cannot be used for cost attribution or EU AI Act traceability
|
|
250
249
|
- **AGENT-IDENTITY-EPHEMERAL LOCK**: no AI agent or non-human identity (NHI) may use static API keys or long-lived secrets at rest in ConfigMaps/Secrets; all agent credentials MUST be SPIFFE SVIDs (max 24h TTL) or WIF-issued temporary cloud credentials
|
|
@@ -254,6 +253,7 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
254
253
|
- **SPECULATIVE-DECODING-ACCEPTANCE LOCK**: treat speculative decoding as an evidence-gated capacity lever, not a default flag — enable it only with a measured draft acceptance rate (net throughput loss below ~70%) recorded in the design spec
|
|
255
254
|
- **MCP-PROVENANCE LOCK**: no MCP server (third-party or internal) may be connected to production agent runtimes without a verified artifact signature, pinned version tag, and supply-chain security scan (OWASP ASI04)
|
|
256
255
|
- **DAPR-DURABLE-REQUIRED LOCK**: agent workflows involving external I/O or multi-step reasoning MUST be implemented as Dapr Workflows or Dapr Virtual Actor state persistence instead of in-memory goroutines, guaranteeing crash recovery without lost state or duplicate side effects
|
|
256
|
+
- **SYSTEM-TOOL-PRIVILEGE-AST03 LOCK**: Prohibit system engineering tools from running with root ambient privileges or accessing unvetted host mounts (AST03/AST10).
|
|
257
257
|
- apply role-standard.md OWASP ASI Top 10 2026 posture to all tool invocations, IaC execution, and A2A inter-agent communication
|
|
258
258
|
|
|
259
259
|
## Skill Toolbox
|
|
@@ -284,6 +284,14 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
284
284
|
- `durable-objects`
|
|
285
285
|
- `ai-risk-assessment`
|
|
286
286
|
|
|
287
|
+
### Prohibited Skills
|
|
288
|
+
|
|
289
|
+
The following skills are strictly prohibited from execution by System Engineer (must be declined or routed via Role Handoff):
|
|
290
|
+
- `add-api-endpoint`: Application business domain logic belongs to Backend Developer.
|
|
291
|
+
- `add-ui-component`: Web and mobile presentation belongs to Frontend Developer.
|
|
292
|
+
- `manage-vietnam-accounting`: Live journal entries belong to Vietnam Accounting Specialist.
|
|
293
|
+
- `draft-legal-opinion`: Formal corporate legal opinions belong to Vietnam Legal Counsel.
|
|
294
|
+
|
|
287
295
|
## Output Template
|
|
288
296
|
|
|
289
297
|
```markdown
|
|
@@ -403,7 +411,7 @@ See [references/system-engineer-review-checklist.md](references/system-engineer-
|
|
|
403
411
|
- [ ] `contracts/schemas/system-design-spec.json` emitted when structured downstream handoff required
|
|
404
412
|
- [ ] downstream roles (DevOps, SRE, Technical Architect) can proceed without guesswork
|
|
405
413
|
- [ ] open questions, accepted risks, and escalation items are explicit
|
|
406
|
-
|
|
414
|
+
- [ ] OWASP AST10 skill security verified with zero root ambient privilege and identity file protections enforced
|
|
407
415
|
|
|
408
416
|
## Failure Modes
|
|
409
417
|
|
|
@@ -413,6 +421,7 @@ See [references/system-engineer-review-checklist.md](references/system-engineer-
|
|
|
413
421
|
- **Connection pool starvation**: a long-running DDL or migration blocks the connection pool. **Mitigation:** enforce `SET lock_timeout = '2s';` on DDL; require concurrency tests before the migration plan is approved.
|
|
414
422
|
- **AI inference cost hidden in latency fix**: a latency win is achieved by routing through a more expensive model. **Mitigation:** report cost per request alongside latency; reject plans that reduce latency while increasing per-request cost beyond the ADR's budget.
|
|
415
423
|
- **Drift from the binding architecture**: a service quietly diverges from the accepted `adr-spec.json` because no drift detection exists. **Mitigation:** schedule quarterly ADR re-validation; route any deviation to the architect before it ships.
|
|
424
|
+
|
|
416
425
|
## Anti-Patterns To Reject
|
|
417
426
|
|
|
418
427
|
- **designing without measurable NFR targets** — system design without measurable targets produces untestable infrastructure; return unmeasurable NFRs before accepting them
|
|
@@ -465,6 +474,7 @@ See [references/system-engineer-review-checklist.md](references/system-engineer-
|
|
|
465
474
|
- **Agent Identity & NHI configured**: SPIFFE/SPIRE SVIDs or WIF used for agent workloads; Zero Standing Privilege enforced
|
|
466
475
|
- **EU AI Act compliance infrastructure provisioned** (when high-risk AI in scope): WORM-backed tamper-evident logging configured with ≥6-month retention policy and identity binding
|
|
467
476
|
- **MCP server supply-chain verified**: provenance, signature, and version pinning validated before connecting agent tools to production topology
|
|
477
|
+
- **OWASP AST10 skill security verified**: zero-execution AST scan passed, lethal trifecta blocked, immutable pins confirmed, and identity files protected
|
|
478
|
+
- **Contract schema verified**: emitted `system-design-spec.json` conforms to schema and validation passes with exit code 0
|
|
468
479
|
|
|
469
|
-
|
|
470
|
-
Last updated: 2026-10-24
|
|
480
|
+
Last updated: 2026-11-04
|