sinapse-ai 6.0.4 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/.claude/CLAUDE.md +10 -10
  2. package/.sinapse-ai/constitution.md +2 -2
  3. package/.sinapse-ai/data/entity-registry.yaml +831 -894
  4. package/.sinapse-ai/data/registry-update-log.jsonl +195 -0
  5. package/.sinapse-ai/data/sinapse-kb.md +6 -6
  6. package/.sinapse-ai/data/tech-presets/_template.md +2 -2
  7. package/.sinapse-ai/data/tech-presets/csharp.md +2 -2
  8. package/.sinapse-ai/data/tech-presets/go.md +2 -2
  9. package/.sinapse-ai/data/tech-presets/java.md +2 -2
  10. package/.sinapse-ai/data/tech-presets/nextjs-react.md +2 -2
  11. package/.sinapse-ai/data/tech-presets/php.md +2 -2
  12. package/.sinapse-ai/data/tech-presets/rust.md +2 -2
  13. package/.sinapse-ai/data/technical-preferences.md +1 -1
  14. package/.sinapse-ai/development/agents/analyst.md +3 -3
  15. package/.sinapse-ai/development/agents/architect/MEMORY.md +1 -1
  16. package/.sinapse-ai/development/agents/architect.md +2 -2
  17. package/.sinapse-ai/development/agents/developer.md +2 -2
  18. package/.sinapse-ai/development/agents/devops.md +2 -2
  19. package/.sinapse-ai/development/agents/product-lead.md +2 -2
  20. package/.sinapse-ai/development/agents/project-lead.md +3 -3
  21. package/.sinapse-ai/development/agents/quality-gate.md +3 -3
  22. package/.sinapse-ai/development/agents/sinapse-orqx.md +6 -6
  23. package/.sinapse-ai/development/agents/sprint-lead.md +2 -2
  24. package/.sinapse-ai/development/agents/squad-creator.md +2 -2
  25. package/.sinapse-ai/development/agents/ux-design-expert.md +1 -1
  26. package/.sinapse-ai/development/data/decision-heuristics-framework.md +5 -5
  27. package/.sinapse-ai/development/tasks/apply-qa-fixes.md +1 -1
  28. package/.sinapse-ai/development/tasks/brownfield-create-epic.md +3 -3
  29. package/.sinapse-ai/development/tasks/brownfield-create-story.md +1 -1
  30. package/.sinapse-ai/development/tasks/build-autonomous.md +2 -2
  31. package/.sinapse-ai/development/tasks/build-resume.md +1 -1
  32. package/.sinapse-ai/development/tasks/build-status.md +1 -1
  33. package/.sinapse-ai/development/tasks/build.md +1 -1
  34. package/.sinapse-ai/development/tasks/create-agent.md +2 -2
  35. package/.sinapse-ai/development/tasks/create-brownfield-story.md +4 -4
  36. package/.sinapse-ai/development/tasks/create-deep-research-prompt.md +1 -1
  37. package/.sinapse-ai/development/tasks/create-next-story.md +5 -5
  38. package/.sinapse-ai/development/tasks/create-suite.md +1 -1
  39. package/.sinapse-ai/development/tasks/dev-backlog-debt.md +2 -2
  40. package/.sinapse-ai/development/tasks/dev-develop-story.md +1 -1
  41. package/.sinapse-ai/development/tasks/execute-checklist.md +1 -1
  42. package/.sinapse-ai/development/tasks/execute-epic-plan.md +7 -7
  43. package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +1 -1
  44. package/.sinapse-ai/development/tasks/gotcha.md +1 -1
  45. package/.sinapse-ai/development/tasks/gotchas.md +1 -1
  46. package/.sinapse-ai/development/tasks/next.md +2 -2
  47. package/.sinapse-ai/development/tasks/plan-execute-subtask.md +1 -1
  48. package/.sinapse-ai/development/tasks/po-backlog-add.md +2 -2
  49. package/.sinapse-ai/development/tasks/po-close-story.md +3 -3
  50. package/.sinapse-ai/development/tasks/po-stories-index.md +1 -1
  51. package/.sinapse-ai/development/tasks/project-status.md +1 -1
  52. package/.sinapse-ai/development/tasks/qa-after-creation.md +1 -1
  53. package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +3 -3
  54. package/.sinapse-ai/development/tasks/qa-create-fix-request.md +4 -4
  55. package/.sinapse-ai/development/tasks/qa-fix-issues.md +6 -6
  56. package/.sinapse-ai/development/tasks/qa-review-build.md +1 -1
  57. package/.sinapse-ai/development/tasks/qa-review-story.md +1 -1
  58. package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -1
  59. package/.sinapse-ai/development/tasks/release-management.md +1 -1
  60. package/.sinapse-ai/development/tasks/run-workflow-engine.md +1 -1
  61. package/.sinapse-ai/development/tasks/spec-critique.md +1 -1
  62. package/.sinapse-ai/development/tasks/spec-gather-requirements.md +1 -1
  63. package/.sinapse-ai/development/tasks/spec-write-spec.md +2 -2
  64. package/.sinapse-ai/development/tasks/validate-next-story.md +4 -4
  65. package/.sinapse-ai/development/tasks/verify-subtask.md +1 -1
  66. package/.sinapse-ai/development/tasks/waves.md +1 -1
  67. package/.sinapse-ai/development/templates/code-intel-integration-pattern.md +1 -1
  68. package/.sinapse-ai/development/templates/subagent-step-prompt.md +1 -1
  69. package/.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +1 -2
  70. package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.2-SUMMARY.md +3 -3
  71. package/.sinapse-ai/install-manifest.yaml +144 -144
  72. package/.sinapse-ai/product/checklists/story-draft-checklist.md +2 -2
  73. package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +5 -5
  74. package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +5 -5
  75. package/.sinapse-ai/product/templates/personalized-task-template-v2.md +1 -1
  76. package/.sinapse-ai/user-guide.md +19 -19
  77. package/.sinapse-ai/working-in-the-brownfield.md +6 -6
  78. package/README.en.md +182 -627
  79. package/README.md +181 -639
  80. package/docs/ORQX-PLAN.md +23 -17
  81. package/docs/SQUAD-COMMANDS-REFERENCE.md +206 -0
  82. package/docs/examples/squads/tool-overrides-example.yaml +55 -0
  83. package/docs/guides/IDS-CONCEITOS-EXPLICADOS.md +2 -2
  84. package/docs/guides/MEMORY-INTELLIGENCE-SYSTEM.md +2 -2
  85. package/docs/guides/template-engine-v2.md +2 -2
  86. package/docs/pt/guides/template-engine-v2.md +2 -2
  87. package/package.json +1 -1
  88. package/squads/squad-claude/agents/db-sage.md +152 -0
  89. package/squads/squad-claude/agents/tools-orqx.md +219 -0
  90. package/squads/squad-cloning/agents/content-capturer.md +2 -2
  91. package/squads/squad-cloning/agents/sop-extractor.md +61 -0
  92. package/squads/squad-cloning/knowledge-base/pipeline-session-planning.md +2 -2
  93. package/squads/squad-cloning/knowledge-base/source-classification.md +3 -3
  94. package/squads/squad-commercial/agents/legal-chief.md +199 -0
  95. package/squads/squad-copy/agents/copy-chief.md +162 -0
  96. package/squads/squad-cybersecurity/agents/cyber-chief.md +169 -0
  97. package/squads/squad-design/agents/brad-frost.md +46 -0
  98. package/squads/squad-design/agents/dan-mall.md +43 -0
  99. package/squads/squad-design/agents/dave-malouf.md +43 -0
  100. package/squads/squad-design/agents/design-chief.md +226 -0
  101. package/squads/squad-design/agents/design-system.md +210 -0
  102. package/squads/squad-design/agents/nano-banana-generator.md +42 -0
  103. package/squads/squad-design/agents/ux-designer.md +124 -0
  104. package/squads/squad-paidmedia/agents/traffic-masters-chief.md +211 -0
  105. package/squads/squad-research/agents/data-chief.md +198 -0
  106. package/squads/squad-storytelling/agents/story-chief.md +180 -0
@@ -495,7 +495,7 @@ examples:
495
495
 
496
496
  | Specialist | Domain | Activation |
497
497
  | ------------------ | --------------------------------------------- | ------------------------------- |
498
- | `@qa` | Processes, tasks, checklists, automation | `/squad-creator @qa` |
498
+ | `@quality-gate` | Processes, tasks, checklists, automation | `/squad-creator @qa` |
499
499
  | `@squad-architect` | General squad creation, orchestration | `/squad-creator` (default) |
500
500
 
501
501
  ### 10.2 Decision Matrix
@@ -509,13 +509,13 @@ specialist_selection:
509
509
  decision_tree: |
510
510
  PRIMARY - Process Tasks:
511
511
  IF (task involves creating/auditing workflows)
512
- THEN invoke @qa
512
+ THEN invoke @quality-gate
513
513
  IF (task involves defining veto conditions or guardrails)
514
- THEN invoke @qa
514
+ THEN invoke @quality-gate
515
515
  IF (task involves checklist creation or validation)
516
- THEN invoke @qa
516
+ THEN invoke @quality-gate
517
517
  IF (task involves automation decisions)
518
- THEN invoke @qa
518
+ THEN invoke @quality-gate
519
519
 
520
520
  SECONDARY - General Tasks:
521
521
  IF (task is general squad creation)
@@ -340,7 +340,7 @@ This task is complete when:
340
340
  - ✅ Code is ready for QA re-review
341
341
 
342
342
  ## Handoff
343
- next_agent: @qa
343
+ next_agent: @quality-gate
344
344
  next_command: *review {story-id}
345
345
  condition: Fixes applied, ready for re-review
346
346
  alternatives:
@@ -156,8 +156,8 @@ const assignment = assignExecutorFromContent(storyContent);
156
156
 
157
157
  // Returns:
158
158
  // {
159
- // executor: '@dev' | '@data-engineer' | '@devops' | '@ux-design-expert' | '@analyst' | '@architect',
160
- // quality_gate: '@architect' | '@dev' | '@pm',
159
+ // executor: '@developer' | '@data-engineer' | '@devops' | '@ux-design-expert' | '@analyst' | '@architect',
160
+ // quality_gate: '@architect' | '@developer' | '@project-lead',
161
161
  // quality_gate_tools: ['code_review', 'pattern_validation', ...]
162
162
  // }
163
163
  ```
@@ -200,7 +200,7 @@ quality_gate_tools: [schema_validation, migration_review, rls_test]
200
200
 
201
201
  1. **Story 1: {{Database Migration Story}}**
202
202
  - Description: {{Add new table for feature X with RLS policies}}
203
- - **Executor Assignment**: `executor: @data-engineer`, `quality_gate: @dev`
203
+ - **Executor Assignment**: `executor: @data-engineer`, `quality_gate: @developer`
204
204
  - **Quality Gate Tools**: `[schema_validation, migration_review, rls_test]`
205
205
  - **Quality Gates**:
206
206
  - Pre-Commit: Schema validation, service filter verification
@@ -356,7 +356,7 @@ The story creation is successful when:
356
356
  - Stories should take no more than 4 hours of focused development work
357
357
 
358
358
  ## Handoff
359
- next_agent: @po
359
+ next_agent: @product-lead
360
360
  next_command: *validate-story-draft {story-id}
361
361
  condition: Brownfield story created from assessment
362
362
  alternatives:
@@ -1,7 +1,7 @@
1
1
  # Task: Build Autonomous
2
2
 
3
3
  > **Command:** `*build-autonomous {story-id}`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 8.1 - Coder Agent Loop
6
6
  > **AC:** AC5
7
7
 
@@ -192,7 +192,7 @@ The AutonomousBuildLoop emits these events for monitoring:
192
192
  _Task file for Story 8.1 - Coder Agent Loop_
193
193
 
194
194
  ## Handoff
195
- next_agent: @qa
195
+ next_agent: @quality-gate
196
196
  next_command: *review {story-id}
197
197
  condition: Autonomous build completed successfully
198
198
  alternatives:
@@ -1,7 +1,7 @@
1
1
  # Task: Build Resume
2
2
 
3
3
  > **Command:** `*build-resume {story-id}`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 8.4 - Build Recovery & Resume
6
6
  > **AC:** AC3
7
7
 
@@ -1,7 +1,7 @@
1
1
  # Task: Build Status
2
2
 
3
3
  > **Command:** `*build-status {story-id}` or `*build-status --all`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 8.4 - Build Recovery & Resume
6
6
  > **AC:** AC4
7
7
 
@@ -1,7 +1,7 @@
1
1
  # Task: Build (Autonomous)
2
2
 
3
3
  > **Command:** `*build {story-id}`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 8.5 - Build Orchestrator
6
6
  > **AC:** AC2
7
7
 
@@ -4,7 +4,7 @@
4
4
  **Version:** 3.0
5
5
  **Purpose:** Create a single domain-specific agent through research, elicitation, validation, and operational infrastructure
6
6
  **Orchestrator:** @squad-architect
7
- **Process Specialist:** @qa
7
+ **Process Specialist:** @quality-gate
8
8
  **Mode:** Research-first (never create without research)
9
9
  **Quality Standard:** SINAPSE Level (300+ lines, voice_dna, output_examples, command_loader, task files)
10
10
 
@@ -1078,7 +1078,7 @@ next_steps:
1078
1078
  when: 'Continue building squad'
1079
1079
  - agent: 'created-agent'
1080
1080
  when: 'Ready to use agent'
1081
- - agent: '@qa'
1081
+ - agent: '@quality-gate'
1082
1082
  when: 'Validate operational processes (*audit)'
1083
1083
  ```
1084
1084
 
@@ -434,7 +434,7 @@ Analyze the story's integration risks based on:
434
434
  **Brownfield-Specific Agent Assignment Rules:**
435
435
 
436
436
  **If modifying existing database:**
437
- - **Assign**: @db-sage, @dev
437
+ - **Assign**: @db-sage, @developer
438
438
  - **Rationale**: Database changes in brownfield require expert review for:
439
439
  - Existing data migration impacts
440
440
  - RLS policy compatibility
@@ -443,7 +443,7 @@ Analyze the story's integration risks based on:
443
443
  - **Quality Gates**: Pre-Commit (schema validation), Pre-PR (SQL review), Pre-Deployment (migration testing)
444
444
 
445
445
  **If changing existing APIs:**
446
- - **Assign**: @architect, @dev
446
+ - **Assign**: @architect, @developer
447
447
  - **Rationale**: API changes risk breaking existing clients:
448
448
  - Backward compatibility validation
449
449
  - Contract versioning requirements
@@ -452,7 +452,7 @@ Analyze the story's integration risks based on:
452
452
  - **Quality Gates**: Pre-Commit (contract validation), Pre-PR (backward compat check)
453
453
 
454
454
  **If touching deployment/infrastructure:**
455
- - **Assign**: @github-devops, @dev
455
+ - **Assign**: @github-devops, @developer
456
456
  - **Rationale**: Infrastructure changes need rollback safety:
457
457
  - Environment-specific configuration validation
458
458
  - Rollback procedure verification
@@ -461,7 +461,7 @@ Analyze the story's integration risks based on:
461
461
  - **Quality Gates**: Pre-Commit (config validation), Pre-Deployment (deep scan with rollback plan)
462
462
 
463
463
  **If affecting existing UI/UX:**
464
- - **Assign**: @ux-expert, @dev
464
+ - **Assign**: @ux-expert, @developer
465
465
  - **Rationale**: UI changes must maintain user experience consistency:
466
466
  - Design system compliance
467
467
  - Accessibility standards maintained
@@ -498,7 +498,7 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
498
498
  - Plan for iterative refinement based on initial findings
499
499
 
500
500
  ## Handoff
501
- next_agent: @pm
501
+ next_agent: @project-lead
502
502
  next_command: *write-spec
503
503
  condition: Research complete (research.json created)
504
504
  alternatives:
@@ -519,7 +519,7 @@ Analyze the story's technical characteristics based on:
519
519
  - File locations include `supabase/migrations/` or database-related paths
520
520
 
521
521
  **Assignment:**
522
- - **Primary Agents**: @db-sage, @dev
522
+ - **Primary Agents**: @db-sage, @developer
523
523
  - **Quality Gates**: Pre-Commit (schema validation), Pre-PR (SQL review)
524
524
  - **Focus Areas**:
525
525
  - Service filters: `.eq('service', 'ttcx')` on ALL queries
@@ -551,7 +551,7 @@ Analyze the story's technical characteristics based on:
551
551
  - File locations include `src/components/` or frontend paths
552
552
 
553
553
  **Assignment:**
554
- - **Primary Agents**: @ux-expert, @dev
554
+ - **Primary Agents**: @ux-expert, @developer
555
555
  - **Quality Gates**: Pre-Commit (a11y validation), Pre-PR (UX consistency check)
556
556
  - **Focus Areas**:
557
557
  - Accessibility: WCAG 2.1 AA compliance (semantic HTML, ARIA labels, keyboard navigation)
@@ -567,7 +567,7 @@ Analyze the story's technical characteristics based on:
567
567
  - File locations include `.github/workflows/`, `docker/`, or config files
568
568
 
569
569
  **Assignment:**
570
- - **Primary Agents**: @github-devops, @dev
570
+ - **Primary Agents**: @github-devops, @developer
571
571
  - **Quality Gates**: Pre-Commit (config validation), Pre-Deployment (deep scan)
572
572
  - **Focus Areas**:
573
573
  - CI/CD: Pipeline configuration, test coverage enforcement
@@ -599,7 +599,7 @@ Analyze the story's technical characteristics based on:
599
599
  - References to `backend-architecture.md` or system design
600
600
 
601
601
  **Assignment:**
602
- - **Primary Agents**: @architect, @dev
602
+ - **Primary Agents**: @architect, @developer
603
603
  - **Quality Gates**: Pre-Commit (pattern validation), Pre-PR (architecture review)
604
604
  - **Focus Areas**:
605
605
  - Patterns: Follows established architectural patterns
@@ -784,7 +784,7 @@ Use the primary agent from "Specialized Agent Assignment" to determine which sel
784
784
  **ClickUp Integration Note:** This task now includes Epic verification (Section 5.1), ClickUp story task creation (Section 5.3), and automatic frontmatter updates (Section 5.4). Stories are created as subtasks of their parent Epic in ClickUp's Backlog list. If Epic verification or ClickUp sync fails, the story file will still be created locally with a warning message.
785
785
 
786
786
  ## Handoff
787
- next_agent: @po
787
+ next_agent: @product-lead
788
788
  next_command: *validate-story-draft {story-id}
789
789
  condition: Story status is Draft
790
790
  alternatives:
@@ -283,7 +283,7 @@ Creates multiple related components in a single batch operation with dependency
283
283
  - Dependency resolution ensures correct creation order
284
284
 
285
285
  ## Handoff
286
- next_agent: @dev
286
+ next_agent: @developer
287
287
  next_command: *run-tests
288
288
  condition: Test suite created, ready for execution
289
289
  alternatives:
@@ -1,6 +1,6 @@
1
1
  # Dev Task: Register Technical Debt
2
2
 
3
- **Agent:** @dev
3
+ **Agent:** @developer
4
4
  **Command:** `*backlog-debt`
5
5
  **Purpose:** Register technical debt item to backlog
6
6
  **Created:** 2025-01-16 (Story 6.1.2.6)
@@ -310,7 +310,7 @@ const item = await manager.addItem({
310
310
  description: description,
311
311
  priority: priority,
312
312
  relatedStory: relatedStory || null,
313
- createdBy: '@dev',
313
+ createdBy: '@developer',
314
314
  tags: tags,
315
315
  estimatedEffort: estimatedEffort
316
316
  });
@@ -916,7 +916,7 @@ Found 5 technical decisions needed.
916
916
  - **Scope Drift Prevention**: Pre-flight mode eliminates mid-development ambiguity
917
917
 
918
918
  ## Handoff
919
- next_agent: @qa
919
+ next_agent: @quality-gate
920
920
  next_command: *review {story-id}
921
921
  condition: Story status is Ready for Review
922
922
  alternatives:
@@ -301,7 +301,7 @@ The LLM will:
301
301
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
302
302
 
303
303
  ## Handoff
304
- next_agent: @qa
304
+ next_agent: @quality-gate
305
305
  next_command: *review {story-id}
306
306
  condition: Checklist completed with all items passing
307
307
  alternatives:
@@ -825,12 +825,12 @@ The executor loads state, reads `current_wave` and story statuses, and picks up
825
825
 
826
826
  ### development-cycle.yaml (inner loop)
827
827
  Each story spawns the full development-cycle:
828
- 1. `@po` validates story draft
828
+ 1. `@product-lead` validates story draft
829
829
  2. `${story.executor}` develops (spawned in terminal)
830
- 3. `@dev` self-healing (CodeRabbit, conditional)
830
+ 3. `@developer` self-healing (CodeRabbit, conditional)
831
831
  4. `${story.quality_gate}` reviews (agent != executor)
832
832
  5. `@devops` pushes branch + PR
833
- 6. `@po` checkpoint (auto-GO in wave mode)
833
+ 6. `@product-lead` checkpoint (auto-GO in wave mode)
834
834
 
835
835
  ### epic-orchestration.yaml (template)
836
836
  Provides the generic wave pattern that this task instantiates with project-specific data from the EXECUTION.yaml.
@@ -867,14 +867,14 @@ All actions produce structured output:
867
867
  ## Agent Integration
868
868
 
869
869
  This task is owned by:
870
- - `@pm` (Morgan/Bob) - Primary orchestrator
870
+ - `@project-lead` (Morgan/Bob) - Primary orchestrator
871
871
 
872
872
  This task spawns:
873
- - `@po` (Pax) - Story validation, checkpoints
874
- - `@dev` (Dex) - Story implementation (via development-cycle)
873
+ - `@product-lead` (Pax) - Story validation, checkpoints
874
+ - `@developer` (Dex) - Story implementation (via development-cycle)
875
875
  - `@architect` (Aria) - Wave gates, final gate
876
876
  - `@devops` (Gage) - Branch merge, push
877
- - `@qa` (Quinn) - Quality gates (via development-cycle)
877
+ - `@quality-gate` (Quinn) - Quality gates (via development-cycle)
878
878
 
879
879
  ---
880
880
 
@@ -713,7 +713,7 @@ github:
713
713
  - Repository context from detector
714
714
 
715
715
  ## Handoff
716
- next_agent: @po
716
+ next_agent: @product-lead
717
717
  next_command: *close-story {story-id}
718
718
  condition: PR merged successfully
719
719
  alternatives:
@@ -1,7 +1,7 @@
1
1
  # Task: Add Gotcha
2
2
 
3
3
  > **Command:** `*gotcha {title} - {description}`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 9.4 - Gotchas Memory
6
6
  > **AC:** AC5
7
7
 
@@ -1,7 +1,7 @@
1
1
  # Task: List Gotchas
2
2
 
3
3
  > **Command:** `*gotchas [options]`
4
- > **Agent:** @dev
4
+ > **Agent:** @developer
5
5
  > **Story:** 9.4 - Gotchas Memory
6
6
  > **AC:** AC6
7
7
 
@@ -218,7 +218,7 @@ Try:
218
218
  *help
219
219
 
220
220
  Recent commands: *develop, *run-tests
221
- Current agent: @dev
221
+ Current agent: @developer
222
222
  ```
223
223
 
224
224
  ---
@@ -286,7 +286,7 @@ optimizations:
286
286
  ============================================
287
287
 
288
288
  Context:
289
- Agent: @dev
289
+ Agent: @developer
290
290
  Last Command: *develop
291
291
  Story: docs/stories/v4.0.4/sprint-11/story-wis-3.md
292
292
  Branch: feature/wis-3
@@ -1,7 +1,7 @@
1
1
  # Execute Subtask (Coder Agent)
2
2
 
3
3
  > **Phase:** Execution - Subtask
4
- > **Owner Agent:** @dev
4
+ > **Owner Agent:** @developer
5
5
  > **Pipeline:** execution-pipeline
6
6
 
7
7
  ---
@@ -1,6 +1,6 @@
1
1
  # PO Task: Add Backlog Item
2
2
 
3
- **Agent:** @po
3
+ **Agent:** @product-lead
4
4
  **Command:** `*backlog-add`
5
5
  **Purpose:** Add item to story backlog (follow-up, technical debt, or enhancement)
6
6
  **Created:** 2025-01-16 (Story 6.1.2.6)
@@ -286,7 +286,7 @@ const item = await manager.addItem({
286
286
  description: description || '',
287
287
  priority: priority,
288
288
  relatedStory: relatedStory || null,
289
- createdBy: '@po',
289
+ createdBy: '@product-lead',
290
290
  tags: tags,
291
291
  estimatedEffort: estimatedEffort
292
292
  });
@@ -1,6 +1,6 @@
1
1
  # PO Task: Close Story
2
2
 
3
- **Agent:** @po
3
+ **Agent:** @product-lead
4
4
  **Command:** `*close-story`
5
5
  **Purpose:** Close a completed story, update epic/backlog, and suggest next story
6
6
  **Created:** 2026-02-05 (Story PRO-5 retrospective)
@@ -282,7 +282,7 @@ if (epicId) {
282
282
  }
283
283
 
284
284
  // Update review checkboxes if applicable
285
- updatedEpic = updateReviewStatus(updatedEpic, '@po', 'checked');
285
+ updatedEpic = updateReviewStatus(updatedEpic, '@product-lead', 'checked');
286
286
 
287
287
  fs.writeFileSync(epicIndexPath, updatedEpic);
288
288
  console.log(`✅ Epic index updated: ${completedStories}/${totalStories} complete`);
@@ -427,7 +427,7 @@ updated_at: 2026-02-05
427
427
  - `po-backlog-review.md` - Review backlog for sprint planning
428
428
 
429
429
  ## Handoff
430
- next_agent: @sm
430
+ next_agent: @sprint-lead
431
431
  next_command: *draft
432
432
  condition: Story closed, next story in epic available
433
433
  alternatives:
@@ -1,6 +1,6 @@
1
1
  # PO Task: Regenerate Story Index
2
2
 
3
- **Agent:** @po
3
+ **Agent:** @product-lead
4
4
  **Command:** `*stories-index`
5
5
  **Purpose:** Regenerate story index from docs/stories/ directory
6
6
  **Created:** 2025-01-16 (Story 6.1.2.6)
@@ -1,7 +1,7 @@
1
1
  # Task: Project Status — Full Panorama
2
2
 
3
3
  > **Command:** `*status`
4
- > **Agent:** @sinapse-orqx, @product-lead, @sm
4
+ > **Agent:** @sinapse-orqx, @product-lead, @sprint-lead
5
5
  > **Purpose:** Display accurate, real-time panorama of all epics and stories
6
6
  > **Created:** 2026-03-05
7
7
 
@@ -6,7 +6,7 @@
6
6
  **Orchestrator:** @squad-architect
7
7
  **Mode:** Automatic (triggered by creation tasks)
8
8
 
9
- **Process Specialist:** @qa
9
+ **Process Specialist:** @quality-gate
10
10
  **Specialist Guidance:**
11
11
 
12
12
  - Use Process Absolutism principles for validation
@@ -1,6 +1,6 @@
1
1
  # QA Task: Add Follow-up to Backlog
2
2
 
3
- **Agent:** @qa
3
+ **Agent:** @quality-gate
4
4
  **Command:** `*backlog-add` (when used by @quality-gate, defaults to type F)
5
5
  **Purpose:** Add follow-up item from QA review to backlog
6
6
  **Created:** 2025-01-16 (Story 6.1.2.6)
@@ -288,7 +288,7 @@ const item = await manager.addItem({
288
288
  description: description,
289
289
  priority: priority,
290
290
  relatedStory: relatedStory,
291
- createdBy: '@qa',
291
+ createdBy: '@quality-gate',
292
292
  tags: tags,
293
293
  estimatedEffort: estimatedEffort
294
294
  });
@@ -412,7 +412,7 @@ Update story? yes
412
412
  # Fill in test data
413
413
  # Verify:
414
414
  # - Item added to backlog with type=F
415
- # - createdBy = @qa
415
+ # - createdBy = @quality-gate
416
416
  # - Story file updated (if QA Results section exists)
417
417
  # - Priority reflected in backlog ordering
418
418
  ```
@@ -343,7 +343,7 @@ const dev_story_location = config.devStoryLocation;
343
343
  1. Output success message with:
344
344
  - File path created
345
345
  - Issue count by severity
346
- - Next steps for @dev
346
+ - Next steps for @developer
347
347
 
348
348
  ---
349
349
 
@@ -358,7 +358,7 @@ const dev_story_location = config.devStoryLocation;
358
358
 
359
359
  ---
360
360
 
361
- ## Instructions for @dev
361
+ ## Instructions for @developer
362
362
 
363
363
  Fix ONLY the issues listed below. Do not add features or refactor unrelated code.
364
364
 
@@ -468,7 +468,7 @@ For story 6.3 with 2 issues:
468
468
 
469
469
  ---
470
470
 
471
- ## Instructions for @dev
471
+ ## Instructions for @developer
472
472
 
473
473
  Fix ONLY the issues listed below. Do not add features or refactor unrelated code.
474
474
 
@@ -623,7 +623,7 @@ This task is complete when:
623
623
  ```
624
624
 
625
625
  ## Handoff
626
- next_agent: @dev
626
+ next_agent: @developer
627
627
  next_command: *fix-qa-issues
628
628
  condition: QA_FIX_REQUEST.md generated
629
629
  alternatives:
@@ -1,7 +1,7 @@
1
1
  # QA Issue Fixer Task
2
2
 
3
3
  > **Phase:** QA Fix Loop
4
- > **Owner Agent:** @dev
4
+ > **Owner Agent:** @developer
5
5
  > **Pipeline:** qa-loop
6
6
  > **Command:** `*fix-qa-issues {story-id}`
7
7
 
@@ -478,7 +478,7 @@ phase_7:
478
478
  # Ready for QA Re-Review
479
479
 
480
480
  **Story:** {storyId}
481
- **Fixed By:** @dev
481
+ **Fixed By:** @developer
482
482
  **Timestamp:** {timestamp}
483
483
  **Commit:** {commitHash}
484
484
 
@@ -587,10 +587,10 @@ qa_loop_integration:
587
587
  triggered_by:
588
588
  - QA review identifies issues
589
589
  - QA_FIX_REQUEST.md created
590
- - @quality-gate signals @dev
590
+ - @quality-gate signals @developer
591
591
 
592
592
  triggers_next:
593
- - READY_FOR_REREVIEW.md signals @qa
593
+ - READY_FOR_REREVIEW.md signals @quality-gate
594
594
  - @quality-gate runs re-review
595
595
  - Loop continues until PASS or WAIVED
596
596
 
@@ -662,7 +662,7 @@ MAJ-2 requires refactoring the data layer. This exceeds minimal fix scope.
662
662
  Recommend creating separate story for performance optimization.
663
663
 
664
664
  ### Next Steps
665
- 1. Discuss MAJ-2 with @quality-gate and @po
665
+ 1. Discuss MAJ-2 with @quality-gate and @product-lead
666
666
  2. Either expand scope or create follow-up story
667
667
  ```
668
668
 
@@ -685,7 +685,7 @@ metadata:
685
685
  ```
686
686
 
687
687
  ## Handoff
688
- next_agent: @qa
688
+ next_agent: @quality-gate
689
689
  next_command: *review {story-id}
690
690
  condition: All QA_FIX_REQUEST issues resolved
691
691
  alternatives:
@@ -1,7 +1,7 @@
1
1
  # QA Review Build: 10-Phase Quality Assurance Review
2
2
 
3
3
  > **Phase:** QA Review
4
- > **Owner Agent:** @qa
4
+ > **Owner Agent:** @quality-gate
5
5
  > **Epic:** Epic 6 - QA Evolution
6
6
  > **Command:** `*review-build {story-id}`
7
7
 
@@ -704,7 +704,7 @@ After review:
704
704
  - **No Action Required**: The sync happens transparently when using story-manager utilities. If sync fails, story file is still saved locally with a warning message.
705
705
 
706
706
  ## Handoff
707
- next_agent: @dev
707
+ next_agent: @developer
708
708
  next_command: *apply-qa-fixes
709
709
  condition: QA verdict is REJECT
710
710
  alternatives:
@@ -256,7 +256,7 @@ If all pass:
256
256
  If failures:
257
257
  - [ ] Document failures in story
258
258
  - [ ] Create tech debt issues for MEDIUM
259
- - [ ] Request fixes from @dev
259
+ - [ ] Request fixes from @developer
260
260
 
261
261
  ## Integration with CodeRabbit
262
262
 
@@ -752,7 +752,7 @@ Migration: Replace /v1/users with /v2/users in API calls.
752
752
  - `pr-automation` - Help users create PRs with proper commit formats
753
753
 
754
754
  ## Handoff
755
- next_agent: @po
755
+ next_agent: @product-lead
756
756
  next_command: *close-story {story-id}
757
757
  condition: Release published successfully
758
758
  alternatives:
@@ -702,7 +702,7 @@ For each step with `meta: routing`:
702
702
  - `based_on_score_9p` → look for `score_9p` in recent step outputs
703
703
  - `based_on_compliance_score` → look for `compliance_score` in recent step outputs
704
704
  - `based_on_validation_status` → look for `resultado_validado` or `status` in recent step outputs
705
- - `based_on_pedro_approval` → look for `aprovacao_final` in recent step outputs
705
+ - `based_on_final_approval` → look for `aprovacao_final` in recent step outputs
706
706
  3. **Evaluate each route:**
707
707
  - Read the route's name to determine the threshold (e.g., `score_below_70`, `score_90_plus`)
708
708
  - Compare the extracted value against the threshold
@@ -1,7 +1,7 @@
1
1
  # Spec Pipeline: Critique Specification
2
2
 
3
3
  > **Phase:** 5 - Critique
4
- > **Owner Agent:** @qa
4
+ > **Owner Agent:** @quality-gate
5
5
  > **Pipeline:** spec-pipeline
6
6
 
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  # Spec Pipeline: Gather Requirements
2
2
 
3
3
  > **Phase:** 1 - Gather
4
- > **Owner Agent:** @pm
4
+ > **Owner Agent:** @project-lead
5
5
  > **Pipeline:** spec-pipeline
6
6
 
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  # Spec Pipeline: Write Specification
2
2
 
3
3
  > **Phase:** 4 - Write
4
- > **Owner Agent:** @pm
4
+ > **Owner Agent:** @project-lead
5
5
  > **Pipeline:** spec-pipeline
6
6
 
7
7
  ---
@@ -531,6 +531,6 @@ metadata:
531
531
  ```
532
532
 
533
533
  ## Handoff
534
- next_agent: @qa
534
+ next_agent: @quality-gate
535
535
  next_command: *critique-spec {story-id}
536
536
  condition: Spec written (spec.md created)