@vesviet/agent-skills 5.6.0 → 5.6.1
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 +1 -1
- 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 +1 -1
- 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/schemas/api-contract-spec.json +191 -191
- 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/test-report.json +530 -530
- package/core/roles/references/business-analyst-responsibilities.md +207 -207
- package/core/roles/references/frontend-developer-responsibilities.md +275 -275
- package/core/roles/system-engineer.md +465 -465
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
- package/core/skills/backend/build-mcp-server/SKILL.md +100 -100
- package/core/skills/backend/implement-structured-outputs/SKILL.md +94 -94
- 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/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/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/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-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 +107 -107
- package/core/skills/platform/setup-llm-gateway/SKILL.md +108 -108
- 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/security-audit/SKILL.md +119 -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/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
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
# business-analyst.md - Year-Tagged Responsibilities (extracted)
|
|
2
|
-
|
|
3
|
-
These sections were extracted from `## Core Responsibilities` in the role file to keep the main file under a manageable size while preserving the full content.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
### AI Feature Requirements Specification (2025-2026)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
When AI/LLM features are in scope, standard binary requirement formats fail. BA owns the translation from business intent to testable AI behavior:
|
|
11
|
-
|
|
12
|
-
**Behavioral boundaries, not deterministic outputs:**
|
|
13
|
-
- specify the *range of acceptable behavior* rather than exact outputs: AI systems are non-deterministic; requirements must define what the output must achieve, not what it must literally say
|
|
14
|
-
- use intent-based acceptance criteria: "The system must provide the requested link and reference the correct policy section" (not "The system must return the string 'Section 4.2'")
|
|
15
|
-
- specify tone, format, and factual accuracy thresholds explicitly: "Response must be professional in tone, contain no hallucinated product names, and cite only verified sources"
|
|
16
|
-
|
|
17
|
-
**Probabilistic acceptance criteria format:**
|
|
18
|
-
- replace binary pass/fail AC with statistical thresholds for AI behaviors:
|
|
19
|
-
- correct format: "The system must correctly classify at least [X]% of [population] over a moving window of [N] samples"
|
|
20
|
-
- correct format: "The AI-generated summary must score ≥[X] on the agreed factual accuracy rubric as evaluated by [judge]"
|
|
21
|
-
- specify the evaluation method alongside the threshold: LLM-as-Judge, human review panel, automated test harness, or golden dataset comparison
|
|
22
|
-
- include a degradation trigger: "If accuracy falls below [X]% in production for any 7-day window, an incident must be raised and the feature must be reviewed"
|
|
23
|
-
|
|
24
|
-
**HITL (Human-in-the-Loop) escalation trigger specification:**
|
|
25
|
-
- for every AI decision path, specify explicitly:
|
|
26
|
-
- **trigger condition**: when does AI autonomy end? (confidence score threshold, decision category, dollar/legal/medical/safety threshold)
|
|
27
|
-
- **action**: what does the system do when the trigger fires? (pause, lock, route, notify, revert to deterministic fallback)
|
|
28
|
-
- **responsible role**: who receives the escalated decision and within what SLA?
|
|
29
|
-
- **audit requirement**: what must be logged at the escalation point?
|
|
30
|
-
- example: "If the AI's confidence score for a credit decision falls below 0.85, the system must pause the decision, display a 'Under Review' status to the user, and route the case to a human credit officer within 24h"
|
|
31
|
-
- for EU AI Act high-risk AI systems: HITL specification is a regulatory requirement, not a design preference; BA must confirm EU AI Act risk tier before writing AC
|
|
32
|
-
|
|
33
|
-
**AI feature kill-early trigger:**
|
|
34
|
-
- if EU AI Act risk tier = `high-risk` and the organization cannot guarantee a conformity assessment, registered Human Review Board, and immutable audit infrastructure within the delivery window: escalate a **kill-or-defer recommendation** to PM before writing any AC — do not proceed to engineering under speculative compliance
|
|
35
|
-
- if discovery reveals the AI confidence threshold required for business safety is unachievable with current model and data: escalate kill-or-pivot before build commitment; document what was learned
|
|
36
|
-
|
|
37
|
-
**Non-determinism management in requirements:**
|
|
38
|
-
- specify hybrid architecture intent: deterministic rule-based logic for high-stakes actions (triggering payment, sending legal notice, revoking access); AI/LLM for "soft" tasks (summarization, classification, tone, draft generation)
|
|
39
|
-
- document where controlled randomness is intentional (creative generation, A/B test variation) vs. where consistency is required (compliance-sensitive outputs, reproducible audit trails)
|
|
40
|
-
- for consistency-sensitive outputs: specify that the system must produce identical outputs given identical inputs (deterministic mode required; temperature = 0 or equivalent)
|
|
41
|
-
|
|
42
|
-
**AI accountability model in the ticket:**
|
|
43
|
-
- every feature-ticket.json for an AI feature must include:
|
|
44
|
-
- who owns the AI decision (accountable role)
|
|
45
|
-
- how decisions are monitored post-launch (monitoring metric, review cadence)
|
|
46
|
-
- immutable audit log requirement: model version used, input summary, output, confidence, and any human intervention taken
|
|
47
|
-
- EU AI Act risk tier classification (high-risk / limited-risk / minimal-risk / not applicable)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
### Assumption Mapping & Continuous Discovery (2025-2026)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
In 2026, the biggest source of wasted build cycles is not bad code — it is requirements built on unverified assumptions. BA owns the assumption register:
|
|
57
|
-
|
|
58
|
-
**Living assumption register:**
|
|
59
|
-
- before locking any significant AC, list all assumptions explicitly: what must be true for this requirement to be valid?
|
|
60
|
-
- score each assumption on two dimensions:
|
|
61
|
-
- **impact**: if wrong, how bad is the outcome? (scale 1–5)
|
|
62
|
-
- **confidence**: how much evidence supports this being true? (scale 1–5)
|
|
63
|
-
- **risk score = impact × (6 − confidence)**: highest-risk assumptions must be validated before build commitment, not after
|
|
64
|
-
- record the assumption, its risk score, the validation method, and the outcome in the feature ticket or a linked assumption log
|
|
65
|
-
- treat a failed assumption validation as a success signal (learning), not a failure — it prevents building the wrong thing
|
|
66
|
-
|
|
67
|
-
**Risky assumption escalation:**
|
|
68
|
-
- if the top assumption is unvalidated and build cost is high, escalate to Product Manager with: assumption text, risk score, proposed validation method, and estimated validation time vs. build cost
|
|
69
|
-
- do not lock AC that depend on a high-risk, unvalidated assumption; flag it explicitly as a risk to engineering and PM
|
|
70
|
-
|
|
71
|
-
**Discovery techniques for complex domains:**
|
|
72
|
-
- **Event Storming**: use for complex domain discovery with cross-functional stakeholders; maps domain events, commands, and aggregates before user stories are written; surfaces hidden business rules and bounded context boundaries
|
|
73
|
-
- **Jobs to Be Done (JTBD)**: frame requirements around the underlying progress the user is trying to make ("help me avoid a late payment penalty") rather than the feature they requested ("show me my balance"); prevents specifying the solution before the problem is clear
|
|
74
|
-
- **Impact Mapping**: connect business goals → actors who influence the goal → required behavior changes → deliverables; ensures every requirement traces to a business outcome, not just a feature request
|
|
75
|
-
- **Continuous discovery rituals**: maintain a rolling discovery track alongside delivery; each sprint should include at least one discovery activity (user interview, assumption test, analytics review) to validate that requirements remain correct as context evolves
|
|
76
|
-
|
|
77
|
-
**Kill-early signal recognition:**
|
|
78
|
-
- if discovery reveals that the underlying user need does not exist, cannot be served within constraints, or is superseded by a simpler solution: escalate a kill-or-pivot recommendation to PM before engineering begins
|
|
79
|
-
- a requirement that is invalidated by discovery before build is a win, not a failure; document what was learned and the redirect
|
|
80
|
-
|
|
81
|
-
**Discovery techniques — expanded (2026):**
|
|
82
|
-
- **Event Storming**, **JTBD**, **Impact Mapping**: (see above)
|
|
83
|
-
- **Opportunity Solution Tree (OST)**: connect business outcome → opportunity space → solution options → experiment assumptions; ensures every solution maps to a verified opportunity, not a feature request; in 2026, AI tools synthesize interview data into OST branches — BA stewards the tree, interpreting and validating AI-generated branches against real stakeholder signals
|
|
84
|
-
- **AI-moderated interviews**: AI tools handle transcription, synthesis, and theme extraction from user interviews; BA focuses on interpretation, probing, and stakeholder alignment — specify that any AI-synthesized interview findings must be BA-validated before entering the assumption register
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
### Agentic AI Systems Requirements Specification (2026)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
When the feature includes autonomous agents, multi-agent workflows, or MCP-integrated tool access, standard LLM feature formats are insufficient. BA owns the translation of business intent into governable agentic behavior:
|
|
94
|
-
|
|
95
|
-
**Autonomy level declaration (L1–L5):**
|
|
96
|
-
- every agentic feature ticket must declare the intended autonomy level AND a governance-justified ceiling:
|
|
97
|
-
- **L1 — Assistive**: autocomplete, reactive suggestions, no persistent state; human reviews all outputs before any action
|
|
98
|
-
- **L2 — Task-Based**: single-step execution, no chaining; human reviews before commit; bounded, reversible scope
|
|
99
|
-
- **L3 — Conditional**: multi-step orchestration within specs, async validation, escalates when outside predefined conditions — **current enterprise production ceiling as of mid-2026; justify any deviation explicitly**
|
|
100
|
-
- **L4 — High Autonomy**: self-directed multi-step planning, delegates to sub-agents; exceptional human oversight only; requires extensive audit infrastructure
|
|
101
|
-
- **L5 — Full Autonomy**: no human intervention; not viable for production in regulated contexts without regulatory approval
|
|
102
|
-
- justify why the declared level is safe given decision stakes, reversibility, and audit capability; do not grant higher autonomy than the governance infrastructure can support
|
|
103
|
-
|
|
104
|
-
**Agent role and persona specification:**
|
|
105
|
-
- for multi-agent systems, BA must specify each agent's role and authority boundary in the ticket:
|
|
106
|
-
- **Coordinator agent**: what decomposition logic does it apply? what are its delegation rules? what decisions does it make itself vs. delegate?
|
|
107
|
-
- **Specialist agents**: domain scope, tool access allowlist, confidence threshold below which they escalate
|
|
108
|
-
- **Critic/quality agent** (if used): when is it invoked, what constitutes a failing review, what happens on rejection?
|
|
109
|
-
- **Handoff contracts**: what data must be passed between agents (fields, schema, confidence score, trace ID)?
|
|
110
|
-
- do not specify only the workflow outcome — the orchestration topology and authority boundaries are testable requirements
|
|
111
|
-
|
|
112
|
-
**MCP tool permissions catalog:**
|
|
113
|
-
- for every MCP server the agent may access, specify in the ticket:
|
|
114
|
-
- tool name and server identifier
|
|
115
|
-
- permission level per tool: read / write / delete / execute — use the minimum necessary
|
|
116
|
-
- delegated authority constraint: agent permissions must never exceed the sponsoring user's rights at invocation time (attenuated delegation)
|
|
117
|
-
- per-tool authorization timing: permissions evaluated at each tool invocation, not granted statically at session start
|
|
118
|
-
- static API keys are not acceptable for agent authentication — specify the required credential mechanism (OAuth scoped token, signed request, NHI credential)
|
|
119
|
-
|
|
120
|
-
**Prompt injection and confused deputy security boundary:**
|
|
121
|
-
- all external data sources an agent reads must be treated as untrusted in the AC — specify that the system must sanitize agent inputs and validate agent outputs before tool execution
|
|
122
|
-
- specify the confused deputy constraint: an agent must not be tricked by malicious content in a document, email, or tool response into executing actions outside its authorized scope
|
|
123
|
-
- include forbidden-zone enumeration in the ticket: what are the hard actions the agent must never take regardless of instruction (e.g., delete production data, initiate payment, send external communication without human approval)?
|
|
124
|
-
|
|
125
|
-
**Agent emergency isolation (kill-switch) requirement:**
|
|
126
|
-
- every agentic feature ticket must specify an emergency isolation procedure:
|
|
127
|
-
- **stop mechanism**: how the agent is halted mid-task (graceful stop vs. immediate kill)
|
|
128
|
-
- **credential revocation**: how the agent's tool access credentials are revoked and within what SLA
|
|
129
|
-
- **authority to invoke**: who has the authority to trigger isolation (on-call engineer, security team, named business owner)?
|
|
130
|
-
- **state preservation**: what happens to in-progress agent tasks — are they rolled back, completed, or queued for human review?
|
|
131
|
-
|
|
132
|
-
**Agent registry requirement:**
|
|
133
|
-
- every deployed agent introduced by a feature must have a corresponding entry in the agent inventory: agent ID, human owner, tool access scope, autonomy level, and offboarding procedure
|
|
134
|
-
- specify this as a launch gate: agent not in registry = feature not shippable
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
### Responsible AI Requirements (2026)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
For AI features affecting people's opportunities, access, or rights, BA must specify fairness and explainability as testable AC — not post-launch concerns:
|
|
144
|
-
|
|
145
|
-
**Fairness threshold acceptance criteria:**
|
|
146
|
-
- for AI systems making decisions that affect protected groups (employment, credit, access, healthcare), specify the four-part fairness AC pattern:
|
|
147
|
-
1. **behavior description**: acknowledge the AI's output variability and what fairness property is being guaranteed
|
|
148
|
-
2. **threshold metric**: Disparate Impact Ratio ≥ 0.8 (Four-Fifths Rule, EEOC standard); specify the protected groups in scope
|
|
149
|
-
3. **disaggregated error rates**: False Negative Rate (FNR) and False Positive Rate (FPR) per protected group must not exceed [X]% above the mean; aggregate accuracy is insufficient — specify per-subgroup bounds
|
|
150
|
-
4. **monitoring hook**: if any subgroup's metric breaches the threshold in a [N]-day production window, an automated alert must fire and a bias review must be completed within [N] business days
|
|
151
|
-
- example AC: "The system must maintain a Disparate Impact Ratio ≥ 0.8 across [protected groups]. FNR for any protected subgroup must not exceed 5% above the mean FNR. If any subgroup's FNR exceeds this bound in a 30-day window, an automated alert fires and bias review completes within 10 business days."
|
|
152
|
-
- intersectional subgroup testing: do not test only single-axis protected groups; specify that testing must cover intersectional subgroups (e.g., women over 50, not just women or over-50 separately)
|
|
153
|
-
|
|
154
|
-
**Explainability (XAI) acceptance criteria — required for high-risk AI:**
|
|
155
|
-
- specify the explanation type required for the use case:
|
|
156
|
-
- **contrastive**: "Why this outcome rather than that outcome?" — for decisions users can appeal
|
|
157
|
-
- **feature-attribution**: SHAP/LIME output summarizing which inputs drove the decision — for technical audit
|
|
158
|
-
- **counterfactual**: "What would need to change for the outcome to be different?" — for actionable user guidance
|
|
159
|
-
- four mandatory XAI criteria in AC:
|
|
160
|
-
- **intelligibility**: a user must be able to explain the system's decision to a third party in non-technical language — verify via user testing
|
|
161
|
-
- **faithfulness**: the explanation must not misrepresent the model's actual decision logic — verify via model-explanation fidelity testing
|
|
162
|
-
- **actionability**: the explanation must specify at least one concrete step the user can take to contest or change the outcome
|
|
163
|
-
- **accessibility**: the explanation must appear at the decision point, not buried in T&Cs or a separate help page
|
|
164
|
-
- do not write "the AI will show a reason" — every XAI criterion must be independently verifiable by QA
|
|
165
|
-
|
|
166
|
-
**Post-launch fairness monitoring requirement:**
|
|
167
|
-
- static pre-deployment bias testing is insufficient — specify that the feature must include a post-market monitoring plan for fairness metrics in production
|
|
168
|
-
- specify: monitoring dashboard, automated drift alerts when fairness metrics degrade, and a review cadence for disaggregated model performance
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
### Data Governance Requirements (2026)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
For features that collect, process, or pass personal data, BA must specify data governance obligations as AC — not leave them to Legal or DevOps after launch:
|
|
178
|
-
|
|
179
|
-
**Consent management specification:**
|
|
180
|
-
- for features collecting personal data, specify in AC:
|
|
181
|
-
- **legal basis**: which GDPR Article 6 basis applies (consent / contract / legal obligation / legitimate interest); if consent, specify that it must be freely given, specific, informed, and unambiguous (Article 7)
|
|
182
|
-
- **withdrawal parity**: user must be able to withdraw consent as easily as they gave it — specify the mechanism and maximum withdrawal-processing SLA
|
|
183
|
-
- **preference center scope**: what choices are exposed to the user, how they propagate to downstream systems within [N] hours
|
|
184
|
-
- **consent audit log**: every grant and withdrawal must be timestamped and immutable
|
|
185
|
-
|
|
186
|
-
**Data lineage requirement:**
|
|
187
|
-
- for AI features, BA must produce or commission a data flow diagram showing personal data from collection → processing → storage → deletion before AC can be finalized
|
|
188
|
-
- specify in the ticket: for AI models processing personal data, training data provenance must be documented (source, legal basis, opt-out mechanism) — do not allow AI models to ingest personal data without a documented legal basis
|
|
189
|
-
|
|
190
|
-
**Right to Erasure specification (GDPR Article 17):**
|
|
191
|
-
- when the feature stores or processes personal data, specify the erasure flow as AC:
|
|
192
|
-
- **propagation scope**: list all systems, backups, and third-party processors that must receive the erasure
|
|
193
|
-
- **SLA**: GDPR default is one calendar month; specify the system's internal SLA and escalation path
|
|
194
|
-
- **exception logic**: document when erasure can be refused (legal obligation, public interest, freedom of expression) and who decides
|
|
195
|
-
- **propagation test**: AC must include verification that deletion propagates to all named downstream systems within the SLA
|
|
196
|
-
|
|
197
|
-
**DPIA trigger identification:**
|
|
198
|
-
- specify in the ticket whether a Data Protection Impact Assessment (DPIA) is required before AC can be finalized:
|
|
199
|
-
- triggers: large-scale sensitive data processing, new AI systems that profile individuals, biometric data, systematic monitoring of public areas
|
|
200
|
-
- DPIA must be completed and signed off before engineering commitment — not after launch
|
|
201
|
-
- flag DPIA requirement as a blocking dependency in the ticket's `open_questions` array
|
|
202
|
-
|
|
203
|
-
**ROPA update obligation:**
|
|
204
|
-
- for features introducing new categories of personal data processing, BA must include an action item to update or commission update of the Records of Processing Activities (ROPA) entry before the feature ships
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
---
|
|
1
|
+
# business-analyst.md - Year-Tagged Responsibilities (extracted)
|
|
2
|
+
|
|
3
|
+
These sections were extracted from `## Core Responsibilities` in the role file to keep the main file under a manageable size while preserving the full content.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### AI Feature Requirements Specification (2025-2026)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
When AI/LLM features are in scope, standard binary requirement formats fail. BA owns the translation from business intent to testable AI behavior:
|
|
11
|
+
|
|
12
|
+
**Behavioral boundaries, not deterministic outputs:**
|
|
13
|
+
- specify the *range of acceptable behavior* rather than exact outputs: AI systems are non-deterministic; requirements must define what the output must achieve, not what it must literally say
|
|
14
|
+
- use intent-based acceptance criteria: "The system must provide the requested link and reference the correct policy section" (not "The system must return the string 'Section 4.2'")
|
|
15
|
+
- specify tone, format, and factual accuracy thresholds explicitly: "Response must be professional in tone, contain no hallucinated product names, and cite only verified sources"
|
|
16
|
+
|
|
17
|
+
**Probabilistic acceptance criteria format:**
|
|
18
|
+
- replace binary pass/fail AC with statistical thresholds for AI behaviors:
|
|
19
|
+
- correct format: "The system must correctly classify at least [X]% of [population] over a moving window of [N] samples"
|
|
20
|
+
- correct format: "The AI-generated summary must score ≥[X] on the agreed factual accuracy rubric as evaluated by [judge]"
|
|
21
|
+
- specify the evaluation method alongside the threshold: LLM-as-Judge, human review panel, automated test harness, or golden dataset comparison
|
|
22
|
+
- include a degradation trigger: "If accuracy falls below [X]% in production for any 7-day window, an incident must be raised and the feature must be reviewed"
|
|
23
|
+
|
|
24
|
+
**HITL (Human-in-the-Loop) escalation trigger specification:**
|
|
25
|
+
- for every AI decision path, specify explicitly:
|
|
26
|
+
- **trigger condition**: when does AI autonomy end? (confidence score threshold, decision category, dollar/legal/medical/safety threshold)
|
|
27
|
+
- **action**: what does the system do when the trigger fires? (pause, lock, route, notify, revert to deterministic fallback)
|
|
28
|
+
- **responsible role**: who receives the escalated decision and within what SLA?
|
|
29
|
+
- **audit requirement**: what must be logged at the escalation point?
|
|
30
|
+
- example: "If the AI's confidence score for a credit decision falls below 0.85, the system must pause the decision, display a 'Under Review' status to the user, and route the case to a human credit officer within 24h"
|
|
31
|
+
- for EU AI Act high-risk AI systems: HITL specification is a regulatory requirement, not a design preference; BA must confirm EU AI Act risk tier before writing AC
|
|
32
|
+
|
|
33
|
+
**AI feature kill-early trigger:**
|
|
34
|
+
- if EU AI Act risk tier = `high-risk` and the organization cannot guarantee a conformity assessment, registered Human Review Board, and immutable audit infrastructure within the delivery window: escalate a **kill-or-defer recommendation** to PM before writing any AC — do not proceed to engineering under speculative compliance
|
|
35
|
+
- if discovery reveals the AI confidence threshold required for business safety is unachievable with current model and data: escalate kill-or-pivot before build commitment; document what was learned
|
|
36
|
+
|
|
37
|
+
**Non-determinism management in requirements:**
|
|
38
|
+
- specify hybrid architecture intent: deterministic rule-based logic for high-stakes actions (triggering payment, sending legal notice, revoking access); AI/LLM for "soft" tasks (summarization, classification, tone, draft generation)
|
|
39
|
+
- document where controlled randomness is intentional (creative generation, A/B test variation) vs. where consistency is required (compliance-sensitive outputs, reproducible audit trails)
|
|
40
|
+
- for consistency-sensitive outputs: specify that the system must produce identical outputs given identical inputs (deterministic mode required; temperature = 0 or equivalent)
|
|
41
|
+
|
|
42
|
+
**AI accountability model in the ticket:**
|
|
43
|
+
- every feature-ticket.json for an AI feature must include:
|
|
44
|
+
- who owns the AI decision (accountable role)
|
|
45
|
+
- how decisions are monitored post-launch (monitoring metric, review cadence)
|
|
46
|
+
- immutable audit log requirement: model version used, input summary, output, confidence, and any human intervention taken
|
|
47
|
+
- EU AI Act risk tier classification (high-risk / limited-risk / minimal-risk / not applicable)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### Assumption Mapping & Continuous Discovery (2025-2026)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
In 2026, the biggest source of wasted build cycles is not bad code — it is requirements built on unverified assumptions. BA owns the assumption register:
|
|
57
|
+
|
|
58
|
+
**Living assumption register:**
|
|
59
|
+
- before locking any significant AC, list all assumptions explicitly: what must be true for this requirement to be valid?
|
|
60
|
+
- score each assumption on two dimensions:
|
|
61
|
+
- **impact**: if wrong, how bad is the outcome? (scale 1–5)
|
|
62
|
+
- **confidence**: how much evidence supports this being true? (scale 1–5)
|
|
63
|
+
- **risk score = impact × (6 − confidence)**: highest-risk assumptions must be validated before build commitment, not after
|
|
64
|
+
- record the assumption, its risk score, the validation method, and the outcome in the feature ticket or a linked assumption log
|
|
65
|
+
- treat a failed assumption validation as a success signal (learning), not a failure — it prevents building the wrong thing
|
|
66
|
+
|
|
67
|
+
**Risky assumption escalation:**
|
|
68
|
+
- if the top assumption is unvalidated and build cost is high, escalate to Product Manager with: assumption text, risk score, proposed validation method, and estimated validation time vs. build cost
|
|
69
|
+
- do not lock AC that depend on a high-risk, unvalidated assumption; flag it explicitly as a risk to engineering and PM
|
|
70
|
+
|
|
71
|
+
**Discovery techniques for complex domains:**
|
|
72
|
+
- **Event Storming**: use for complex domain discovery with cross-functional stakeholders; maps domain events, commands, and aggregates before user stories are written; surfaces hidden business rules and bounded context boundaries
|
|
73
|
+
- **Jobs to Be Done (JTBD)**: frame requirements around the underlying progress the user is trying to make ("help me avoid a late payment penalty") rather than the feature they requested ("show me my balance"); prevents specifying the solution before the problem is clear
|
|
74
|
+
- **Impact Mapping**: connect business goals → actors who influence the goal → required behavior changes → deliverables; ensures every requirement traces to a business outcome, not just a feature request
|
|
75
|
+
- **Continuous discovery rituals**: maintain a rolling discovery track alongside delivery; each sprint should include at least one discovery activity (user interview, assumption test, analytics review) to validate that requirements remain correct as context evolves
|
|
76
|
+
|
|
77
|
+
**Kill-early signal recognition:**
|
|
78
|
+
- if discovery reveals that the underlying user need does not exist, cannot be served within constraints, or is superseded by a simpler solution: escalate a kill-or-pivot recommendation to PM before engineering begins
|
|
79
|
+
- a requirement that is invalidated by discovery before build is a win, not a failure; document what was learned and the redirect
|
|
80
|
+
|
|
81
|
+
**Discovery techniques — expanded (2026):**
|
|
82
|
+
- **Event Storming**, **JTBD**, **Impact Mapping**: (see above)
|
|
83
|
+
- **Opportunity Solution Tree (OST)**: connect business outcome → opportunity space → solution options → experiment assumptions; ensures every solution maps to a verified opportunity, not a feature request; in 2026, AI tools synthesize interview data into OST branches — BA stewards the tree, interpreting and validating AI-generated branches against real stakeholder signals
|
|
84
|
+
- **AI-moderated interviews**: AI tools handle transcription, synthesis, and theme extraction from user interviews; BA focuses on interpretation, probing, and stakeholder alignment — specify that any AI-synthesized interview findings must be BA-validated before entering the assumption register
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### Agentic AI Systems Requirements Specification (2026)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
When the feature includes autonomous agents, multi-agent workflows, or MCP-integrated tool access, standard LLM feature formats are insufficient. BA owns the translation of business intent into governable agentic behavior:
|
|
94
|
+
|
|
95
|
+
**Autonomy level declaration (L1–L5):**
|
|
96
|
+
- every agentic feature ticket must declare the intended autonomy level AND a governance-justified ceiling:
|
|
97
|
+
- **L1 — Assistive**: autocomplete, reactive suggestions, no persistent state; human reviews all outputs before any action
|
|
98
|
+
- **L2 — Task-Based**: single-step execution, no chaining; human reviews before commit; bounded, reversible scope
|
|
99
|
+
- **L3 — Conditional**: multi-step orchestration within specs, async validation, escalates when outside predefined conditions — **current enterprise production ceiling as of mid-2026; justify any deviation explicitly**
|
|
100
|
+
- **L4 — High Autonomy**: self-directed multi-step planning, delegates to sub-agents; exceptional human oversight only; requires extensive audit infrastructure
|
|
101
|
+
- **L5 — Full Autonomy**: no human intervention; not viable for production in regulated contexts without regulatory approval
|
|
102
|
+
- justify why the declared level is safe given decision stakes, reversibility, and audit capability; do not grant higher autonomy than the governance infrastructure can support
|
|
103
|
+
|
|
104
|
+
**Agent role and persona specification:**
|
|
105
|
+
- for multi-agent systems, BA must specify each agent's role and authority boundary in the ticket:
|
|
106
|
+
- **Coordinator agent**: what decomposition logic does it apply? what are its delegation rules? what decisions does it make itself vs. delegate?
|
|
107
|
+
- **Specialist agents**: domain scope, tool access allowlist, confidence threshold below which they escalate
|
|
108
|
+
- **Critic/quality agent** (if used): when is it invoked, what constitutes a failing review, what happens on rejection?
|
|
109
|
+
- **Handoff contracts**: what data must be passed between agents (fields, schema, confidence score, trace ID)?
|
|
110
|
+
- do not specify only the workflow outcome — the orchestration topology and authority boundaries are testable requirements
|
|
111
|
+
|
|
112
|
+
**MCP tool permissions catalog:**
|
|
113
|
+
- for every MCP server the agent may access, specify in the ticket:
|
|
114
|
+
- tool name and server identifier
|
|
115
|
+
- permission level per tool: read / write / delete / execute — use the minimum necessary
|
|
116
|
+
- delegated authority constraint: agent permissions must never exceed the sponsoring user's rights at invocation time (attenuated delegation)
|
|
117
|
+
- per-tool authorization timing: permissions evaluated at each tool invocation, not granted statically at session start
|
|
118
|
+
- static API keys are not acceptable for agent authentication — specify the required credential mechanism (OAuth scoped token, signed request, NHI credential)
|
|
119
|
+
|
|
120
|
+
**Prompt injection and confused deputy security boundary:**
|
|
121
|
+
- all external data sources an agent reads must be treated as untrusted in the AC — specify that the system must sanitize agent inputs and validate agent outputs before tool execution
|
|
122
|
+
- specify the confused deputy constraint: an agent must not be tricked by malicious content in a document, email, or tool response into executing actions outside its authorized scope
|
|
123
|
+
- include forbidden-zone enumeration in the ticket: what are the hard actions the agent must never take regardless of instruction (e.g., delete production data, initiate payment, send external communication without human approval)?
|
|
124
|
+
|
|
125
|
+
**Agent emergency isolation (kill-switch) requirement:**
|
|
126
|
+
- every agentic feature ticket must specify an emergency isolation procedure:
|
|
127
|
+
- **stop mechanism**: how the agent is halted mid-task (graceful stop vs. immediate kill)
|
|
128
|
+
- **credential revocation**: how the agent's tool access credentials are revoked and within what SLA
|
|
129
|
+
- **authority to invoke**: who has the authority to trigger isolation (on-call engineer, security team, named business owner)?
|
|
130
|
+
- **state preservation**: what happens to in-progress agent tasks — are they rolled back, completed, or queued for human review?
|
|
131
|
+
|
|
132
|
+
**Agent registry requirement:**
|
|
133
|
+
- every deployed agent introduced by a feature must have a corresponding entry in the agent inventory: agent ID, human owner, tool access scope, autonomy level, and offboarding procedure
|
|
134
|
+
- specify this as a launch gate: agent not in registry = feature not shippable
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
### Responsible AI Requirements (2026)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
For AI features affecting people's opportunities, access, or rights, BA must specify fairness and explainability as testable AC — not post-launch concerns:
|
|
144
|
+
|
|
145
|
+
**Fairness threshold acceptance criteria:**
|
|
146
|
+
- for AI systems making decisions that affect protected groups (employment, credit, access, healthcare), specify the four-part fairness AC pattern:
|
|
147
|
+
1. **behavior description**: acknowledge the AI's output variability and what fairness property is being guaranteed
|
|
148
|
+
2. **threshold metric**: Disparate Impact Ratio ≥ 0.8 (Four-Fifths Rule, EEOC standard); specify the protected groups in scope
|
|
149
|
+
3. **disaggregated error rates**: False Negative Rate (FNR) and False Positive Rate (FPR) per protected group must not exceed [X]% above the mean; aggregate accuracy is insufficient — specify per-subgroup bounds
|
|
150
|
+
4. **monitoring hook**: if any subgroup's metric breaches the threshold in a [N]-day production window, an automated alert must fire and a bias review must be completed within [N] business days
|
|
151
|
+
- example AC: "The system must maintain a Disparate Impact Ratio ≥ 0.8 across [protected groups]. FNR for any protected subgroup must not exceed 5% above the mean FNR. If any subgroup's FNR exceeds this bound in a 30-day window, an automated alert fires and bias review completes within 10 business days."
|
|
152
|
+
- intersectional subgroup testing: do not test only single-axis protected groups; specify that testing must cover intersectional subgroups (e.g., women over 50, not just women or over-50 separately)
|
|
153
|
+
|
|
154
|
+
**Explainability (XAI) acceptance criteria — required for high-risk AI:**
|
|
155
|
+
- specify the explanation type required for the use case:
|
|
156
|
+
- **contrastive**: "Why this outcome rather than that outcome?" — for decisions users can appeal
|
|
157
|
+
- **feature-attribution**: SHAP/LIME output summarizing which inputs drove the decision — for technical audit
|
|
158
|
+
- **counterfactual**: "What would need to change for the outcome to be different?" — for actionable user guidance
|
|
159
|
+
- four mandatory XAI criteria in AC:
|
|
160
|
+
- **intelligibility**: a user must be able to explain the system's decision to a third party in non-technical language — verify via user testing
|
|
161
|
+
- **faithfulness**: the explanation must not misrepresent the model's actual decision logic — verify via model-explanation fidelity testing
|
|
162
|
+
- **actionability**: the explanation must specify at least one concrete step the user can take to contest or change the outcome
|
|
163
|
+
- **accessibility**: the explanation must appear at the decision point, not buried in T&Cs or a separate help page
|
|
164
|
+
- do not write "the AI will show a reason" — every XAI criterion must be independently verifiable by QA
|
|
165
|
+
|
|
166
|
+
**Post-launch fairness monitoring requirement:**
|
|
167
|
+
- static pre-deployment bias testing is insufficient — specify that the feature must include a post-market monitoring plan for fairness metrics in production
|
|
168
|
+
- specify: monitoring dashboard, automated drift alerts when fairness metrics degrade, and a review cadence for disaggregated model performance
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
### Data Governance Requirements (2026)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
For features that collect, process, or pass personal data, BA must specify data governance obligations as AC — not leave them to Legal or DevOps after launch:
|
|
178
|
+
|
|
179
|
+
**Consent management specification:**
|
|
180
|
+
- for features collecting personal data, specify in AC:
|
|
181
|
+
- **legal basis**: which GDPR Article 6 basis applies (consent / contract / legal obligation / legitimate interest); if consent, specify that it must be freely given, specific, informed, and unambiguous (Article 7)
|
|
182
|
+
- **withdrawal parity**: user must be able to withdraw consent as easily as they gave it — specify the mechanism and maximum withdrawal-processing SLA
|
|
183
|
+
- **preference center scope**: what choices are exposed to the user, how they propagate to downstream systems within [N] hours
|
|
184
|
+
- **consent audit log**: every grant and withdrawal must be timestamped and immutable
|
|
185
|
+
|
|
186
|
+
**Data lineage requirement:**
|
|
187
|
+
- for AI features, BA must produce or commission a data flow diagram showing personal data from collection → processing → storage → deletion before AC can be finalized
|
|
188
|
+
- specify in the ticket: for AI models processing personal data, training data provenance must be documented (source, legal basis, opt-out mechanism) — do not allow AI models to ingest personal data without a documented legal basis
|
|
189
|
+
|
|
190
|
+
**Right to Erasure specification (GDPR Article 17):**
|
|
191
|
+
- when the feature stores or processes personal data, specify the erasure flow as AC:
|
|
192
|
+
- **propagation scope**: list all systems, backups, and third-party processors that must receive the erasure
|
|
193
|
+
- **SLA**: GDPR default is one calendar month; specify the system's internal SLA and escalation path
|
|
194
|
+
- **exception logic**: document when erasure can be refused (legal obligation, public interest, freedom of expression) and who decides
|
|
195
|
+
- **propagation test**: AC must include verification that deletion propagates to all named downstream systems within the SLA
|
|
196
|
+
|
|
197
|
+
**DPIA trigger identification:**
|
|
198
|
+
- specify in the ticket whether a Data Protection Impact Assessment (DPIA) is required before AC can be finalized:
|
|
199
|
+
- triggers: large-scale sensitive data processing, new AI systems that profile individuals, biometric data, systematic monitoring of public areas
|
|
200
|
+
- DPIA must be completed and signed off before engineering commitment — not after launch
|
|
201
|
+
- flag DPIA requirement as a blocking dependency in the ticket's `open_questions` array
|
|
202
|
+
|
|
203
|
+
**ROPA update obligation:**
|
|
204
|
+
- for features introducing new categories of personal data processing, BA must include an action item to update or commission update of the Records of Processing Activities (ROPA) entry before the feature ships
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
---
|