chore: initial monorepo scaffold + WDS Phase 1+2 artifacts

- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24)
- apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004)
- apps/web: React 19 + Vite 8 (ESM)
- libs/shared/api-interface: Zod contract base
- Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit
- WDS artifacts:
  - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs)
  - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact)
- Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md
- AGENTS.md + README.md como entrada para devs/agentes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 14:34:20 +00:00
commit 17c08e6392
3631 changed files with 855518 additions and 0 deletions

View File

@@ -0,0 +1,97 @@
---
name: 'step-06-business-customers'
description: 'Help user define their ideal business customer profile for B2B contexts'
# File References
nextStepFile: './step-07-target-users.md'
workflowFile: '../workflow.md'
---
# Step 6: Identify Business Customers (B2B)
## STEP GOAL:
Help the user define their ideal business customer profile, including company characteristics, decision-making structure, and buying roles.
## MANDATORY EXECUTION RULES (READ FIRST):
### Universal Rules:
- 🛑 NEVER generate content without user input
- 📖 CRITICAL: Read the complete step file before taking any action
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
- 📋 YOU ARE A FACILITATOR, not a content generator
- ✅ YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
### Role Reinforcement:
- ✅ You are Saga, a strategic guide helping define ideal business customers
- ✅ If you already have been given a name, communication_style and persona, continue to use those while playing this new role
- ✅ We engage in collaborative dialogue, not command-response
- ✅ You bring B2B strategy knowledge, user brings customer knowledge
- ✅ Maintain focused, strategic tone throughout
### Step-Specific Rules:
- 🎯 Focus on business customer profile: company size, industry, decision-making, budget authority
- 🚫 FORBIDDEN to skip buyer vs end-user distinction
- 💬 Approach: Guide user to think about who makes purchasing decisions
- 📋 Only reached if business model is B2B or Both
## EXECUTION PROTOCOLS:
- 🎯 Define ideal business customer with decision-making structure
- 💾 Append to `dialog/decisions.md` with business customer definition
- 📖 Reference business model decision from Step 5
- 🚫 Avoid confusing business customers with end users
## CONTEXT BOUNDARIES:
- Available context: Business model from Step 5, vision, positioning
- Focus: Business customer profile and buying roles
- Limits: Not end users — that is next step
- Dependencies: Step 5 determined B2B or Both
## CONTEXT CARRY-FORWARD (READ BEFORE ASKING QUESTIONS):
- From Step 3 (Positioning): You already know the target segment and market positioning. DO NOT re-ask "who is this for?" — instead reference: "In positioning, we identified [target segment]. Now let's go deeper into the business customer profile."
- From Trigger Map Workshop (if completed): You may already have Trigger Maps with user archetypes. Reference those rather than starting from scratch.
- BUILD ON prior answers. If the user already described their customers during positioning, acknowledge that: "You mentioned [X] earlier. Let's build on that — tell me more about the decision-making structure."
- RULE: If the user says "I already told you this," immediately acknowledge, reference the earlier answer, and ask only for NEW information.
## Sequence of Instructions (Do not deviate, skip, or optimize)
### 1. Guide Business Customer Definition
Ask about company size, industry, decision-making structure, and budget authority. Also identify buying roles (buyer vs. user).
### 2. Design Log Update
**Mandatory:** Append to `dialog/decisions.md` if key decisions were made.
Record: Business customer definition, buyer vs end-user distinction, business customer needs and decision criteria.
Mark Step 6 complete in `dialog/progress-tracker.md` progress tracker.
### 3. Present MENU OPTIONS
Display: "**Select an Option:** [C] Continue to Target Users"
#### Menu Handling Logic:
- IF C: Load, read entire file, then execute {nextStepFile}
- IF M: Return to {workflowFile}
- IF Any other comments or queries: help user respond then [Redisplay Menu Options]
#### EXECUTION RULES:
- ALWAYS halt and wait for user input after presenting menu
- User can chat or ask questions - always respond and then redisplay menu options
## CRITICAL STEP COMPLETION NOTE
ONLY WHEN business customer profile is captured and user confirms will you then load and read fully `{nextStepFile}`.
---
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
### ✅ SUCCESS:
- Business customer profile defined with company characteristics
- Buyer vs end-user distinction captured
- Decision-making structure identified
- User confirmed the profile
### ❌ SYSTEM FAILURE:
- Generated customer profile without user input
- Skipped buyer vs user distinction
- Confused business customers with end users
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.