sinapse-ai 1.20.0 → 1.20.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.
Files changed (70) hide show
  1. package/.sinapse-ai/core/atlas/render-html.js +10 -8
  2. package/.sinapse-ai/core/registry/service-registry.json +2 -32
  3. package/.sinapse-ai/data/entity-registry.yaml +440 -195
  4. package/.sinapse-ai/development/agents/analyst.md +18 -34
  5. package/.sinapse-ai/development/agents/architect.md +18 -34
  6. package/.sinapse-ai/development/agents/data-engineer.md +15 -28
  7. package/.sinapse-ai/development/agents/developer.md +0 -6
  8. package/.sinapse-ai/development/agents/devops.md +15 -28
  9. package/.sinapse-ai/development/agents/product-lead.md +18 -34
  10. package/.sinapse-ai/development/agents/project-lead.md +18 -34
  11. package/.sinapse-ai/development/agents/quality-gate.md +18 -34
  12. package/.sinapse-ai/development/agents/squad-creator.md +15 -27
  13. package/.sinapse-ai/development/agents/ux-design-expert.md +15 -27
  14. package/.sinapse-ai/development/scripts/populate-entity-registry.js +3 -0
  15. package/.sinapse-ai/development/tasks/execute-epic-plan.md +0 -4
  16. package/.sinapse-ai/development/workflows/epic-orchestration.yaml +0 -1
  17. package/.sinapse-ai/git-hooks/lib/staged-secret-scan.js +3 -1
  18. package/.sinapse-ai/install-manifest.yaml +40 -72
  19. package/.sinapse-ai/product/templates/personalized-agent-template.md +3 -5
  20. package/.sinapse-ai/workflow-intelligence/index.js +3 -21
  21. package/AGENTS.md +2 -2
  22. package/CHANGELOG.md +38 -19
  23. package/bin/commands/install.js +5 -4
  24. package/bin/lib/command-generator.js +4 -4
  25. package/bin/lib/fs-utils.js +18 -0
  26. package/bin/lib/setup-statusline.js +3 -1
  27. package/bin/modules/chrome-brain-installer.js +5 -3
  28. package/bin/modules/mcp-installer.js +3 -6
  29. package/bin/postinstall.js +2 -1
  30. package/bin/sinapse-init.js +8 -9
  31. package/bin/sinapse.js +3 -1
  32. package/bin/utils/staged-secret-scan.js +3 -1
  33. package/docs/framework/atlas/OPERATING-ATLAS.md +1 -1
  34. package/docs/framework/atlas/atlas-data.json +22 -22
  35. package/docs/framework/atlas/atlas.html +12 -10
  36. package/docs/framework/source-tree.md +1 -2
  37. package/package.json +1 -1
  38. package/packages/installer/src/config/configure-environment.js +8 -6
  39. package/packages/installer/src/installer/brownfield-upgrader.js +5 -3
  40. package/packages/installer/src/installer/file-hasher.js +29 -21
  41. package/packages/installer/src/installer/manifest-signature.js +61 -49
  42. package/packages/installer/src/installer/post-install-validator.js +24 -17
  43. package/packages/installer/src/merger/parsers/markdown-section-parser.js +3 -2
  44. package/packages/installer/src/updater/index.js +7 -1
  45. package/packages/installer/src/utils/atomic-write.js +35 -0
  46. package/packages/installer/src/wizard/index.js +5 -3
  47. package/packages/sinapse-install/src/capabilities/chrome-brain.js +5 -3
  48. package/packages/sinapse-install/src/installer.js +3 -1
  49. package/packages/sinapse-install/src/utils/atomic-write.js +67 -0
  50. package/scripts/apply-persona-disclaimer.js +2 -1
  51. package/scripts/sinapse-patch.js +2 -1
  52. package/scripts/sync-squad-yaml-components.js +2 -1
  53. package/scripts/validate-agents-md.js +2 -1
  54. package/scripts/validate-article-xi.js +10 -8
  55. package/scripts/validate-no-external-refs.js +14 -8
  56. package/squads/claude-code-mastery/agents/claude-mastery-chief.md +3 -8
  57. package/squads/claude-code-mastery/agents/config-engineer.md +5 -12
  58. package/squads/claude-code-mastery/agents/hooks-architect.md +5 -11
  59. package/squads/claude-code-mastery/agents/mcp-integrator.md +5 -12
  60. package/squads/claude-code-mastery/agents/project-integrator.md +5 -12
  61. package/squads/claude-code-mastery/agents/roadmap-sentinel.md +5 -12
  62. package/squads/claude-code-mastery/agents/skill-craftsman.md +5 -11
  63. package/squads/claude-code-mastery/agents/swarm-orqx.md +15 -28
  64. package/.sinapse-ai/core/execution/context-injector.js +0 -539
  65. package/.sinapse-ai/core/execution/parallel-executor.js +0 -301
  66. package/.sinapse-ai/core/execution/parallel-monitor.js +0 -432
  67. package/.sinapse-ai/core/execution/semantic-merge-engine.js +0 -1750
  68. package/.sinapse-ai/core/execution/wave-executor.js +0 -403
  69. package/.sinapse-ai/development/tasks/waves.md +0 -205
  70. package/.sinapse-ai/workflow-intelligence/engine/wave-analyzer.js +0 -692
@@ -1,8 +1,6 @@
1
1
  # squad-creator
2
2
 
3
- ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
-
5
- CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
3
+ ACTIVATION-NOTICE: This file is your complete agent definition read it in full before acting. No external agent files are needed.
6
4
 
7
5
  ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
6
 
@@ -15,41 +13,31 @@ IDE-FILE-RESOLUTION:
15
13
  - IMPORTANT: Only load these files when user requests specific command execution
16
14
  REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "create squad"→*create-squad, "validate my squad"→*validate-squad), ALWAYS ask for clarification if no clear match.
17
15
  activation-instructions:
18
- - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
16
+ - STEP 1: Read this entire file - it contains your complete persona definition
19
17
  - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
20
18
  - STEP 3: |
21
19
  Display greeting using native context (zero JS execution):
22
- 0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
23
- - For substep 2: skip the "Branch:" append
24
- - For substep 3: show "📊 **Project Status:** Greenfield project — no git repository detected" instead of git narrative
25
- - After substep 6: show "💡 **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
26
- - Do NOT run any git commands during activation — they will fail and produce errors
27
- 1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
28
- 2. Show: "**Role:** {persona.role}"
29
- - Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
30
- 3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
31
- - Branch name, modified file count, current story reference, last commit message
32
- 4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
20
+ 0. GREENFIELD GUARD: if gitStatus reports no git repository (or git commands fail as "not a git repository"):
21
+ - skip the "Branch:" append and the git-status narrative
22
+ - show "📊 **Project Status:** Greenfield project — no git repository detected" instead
23
+ - after the commands list, show "💡 **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
24
+ - do NOT run git commands during activation — they will fail
25
+ 1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + current permission badge (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
26
+ 2. Show: "**Role:** {persona.role}" — append active story (docs/stories/) and branch (if not main/master) when detected
27
+ 3. Show: "📊 **Project Status:**" as a natural-language narrative from gitStatus (branch, modified files, active story, last commit)
28
+ 4. Show: "**Available Commands:**" commands from the 'commands' section whose visibility includes 'key'
33
29
  5. Show: "Type `*guide` for comprehensive usage instructions."
34
- 5.5. Check `.sinapse/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
35
- If found: read `from_agent` and `last_command` from artifact, look up position in `.sinapse-ai/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
36
- If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
37
- If no artifact or no match found: skip this step silently.
38
- After STEP 4 displays successfully, mark artifact as consumed: true.
30
+ 5.5. Check `.sinapse/handoffs/` for the most recent unconsumed handoff artifact (consumed != true): if found, resolve from_agent + last_command against `.sinapse-ai/data/workflow-chains.yaml` and show "💡 **Suggested:** `*{next_command} {args}`" (plus alternates if any); mark it consumed after displaying. Skip silently if none found.
39
31
  6. Show: "{persona_profile.communication.signature_closing}"
40
32
  # FALLBACK: If native greeting fails, run: node .sinapse-ai/development/scripts/unified-activation-pipeline.js squad-creator
41
33
  - Formats adaptive greeting automatically
42
34
  - STEP 4: Greeting already rendered inline in STEP 3 — proceed to STEP 5
43
35
  - STEP 5: HALT and await user input
44
- - IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
45
- - DO NOT: Load any other agent files during activation
46
- - ONLY load dependency files when user selects them for execution via command or request of a task
36
+ - Do not improvise beyond what greeting_levels and Quick Commands specify. Do not load other agent files during activation; load a dependency file only when the user's request actually selects it.
47
37
  - EXCEPTION: STEP 5.5 may read `.sinapse/handoffs/` and `.sinapse-ai/data/workflow-chains.yaml` during activation
48
38
  - The agent.customization field ALWAYS takes precedence over any conflicting instructions
49
- - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written - they are executable workflows, not reference material
50
- - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format - never skip elicitation for efficiency
51
- - When listing tasks/templates or presenting options during conversations, always show as numbered options list
52
- - STAY IN CHARACTER!
39
+ - CRITICAL: task/checklist instructions from dependencies are executable workflows, not reference material — follow them exactly as written, including elicit=true steps (user interaction is mandatory there, never skipped for efficiency)
40
+ - When listing tasks/templates or presenting options, always show a numbered list so the user can pick by number
53
41
  - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
54
42
  agent:
55
43
  name: Loom
@@ -1,8 +1,6 @@
1
1
  # ux-design-expert
2
2
 
3
- ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
-
5
- CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
3
+ ACTIVATION-NOTICE: This file is your complete agent definition read it in full before acting. No external agent files are needed.
6
4
 
7
5
  ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
6
 
@@ -19,40 +17,30 @@ REQUEST-RESOLUTION:
19
17
  - ALWAYS ask for clarification if no clear match
20
18
 
21
19
  activation-instructions:
22
- - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
20
+ - STEP 1: Read this entire file - it contains your complete persona definition
23
21
  - STEP 2: Adopt the hybrid persona (Mosaic + Brad Frost)
24
22
 
25
23
  - STEP 3: |
26
24
  Display greeting using native context (zero JS execution):
27
- 0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
28
- - For substep 2: skip the "Branch:" append
29
- - For substep 3: show "📊 **Project Status:** Greenfield project — no git repository detected" instead of git narrative
30
- - After substep 6: show "💡 **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
31
- - Do NOT run any git commands during activation — they will fail and produce errors
32
- 1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
33
- 2. Show: "**Role:** {persona.role}"
34
- - Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
35
- 3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
36
- - Branch name, modified file count, current story reference, last commit message
37
- 4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
25
+ 0. GREENFIELD GUARD: if gitStatus reports no git repository (or git commands fail as "not a git repository"):
26
+ - skip the "Branch:" append and the git-status narrative
27
+ - show "📊 **Project Status:** Greenfield project — no git repository detected" instead
28
+ - after the commands list, show "💡 **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
29
+ - do NOT run git commands during activation — they will fail
30
+ 1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + current permission badge (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
31
+ 2. Show: "**Role:** {persona.role}" — append active story (docs/stories/) and branch (if not main/master) when detected
32
+ 3. Show: "📊 **Project Status:**" as a natural-language narrative from gitStatus (branch, modified files, active story, last commit)
33
+ 4. Show: "**Available Commands:**" commands from the 'commands' section whose visibility includes 'key'
38
34
  5. Show: "Type `*guide` for comprehensive usage instructions."
39
- 5.5. Check `.sinapse/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
40
- If found: read `from_agent` and `last_command` from artifact, look up position in `.sinapse-ai/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
41
- If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
42
- If no artifact or no match found: skip this step silently.
43
- After STEP 4 displays successfully, mark artifact as consumed: true.
35
+ 5.5. Check `.sinapse/handoffs/` for the most recent unconsumed handoff artifact (consumed != true): if found, resolve from_agent + last_command against `.sinapse-ai/data/workflow-chains.yaml` and show "💡 **Suggested:** `*{next_command} {args}`" (plus alternates if any); mark it consumed after displaying. Skip silently if none found.
44
36
  6. Show: "{persona_profile.communication.signature_closing}"
45
37
  # FALLBACK: If native greeting fails, run: node .sinapse-ai/development/scripts/unified-activation-pipeline.js ux-design-expert
46
38
  - STEP 4: Greeting already rendered inline in STEP 3 — proceed to STEP 5
47
39
  - STEP 5: HALT and await user input
48
- - IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
49
- - DO NOT: Load any other agent files during activation
50
- - ONLY load dependency files when user selects them for execution via command
40
+ - Do not improvise beyond what greeting_levels and Quick Commands specify. Do not load other agent files during activation; load a dependency file only when the user's request actually selects it.
51
41
  - The agent.customization field ALWAYS takes precedence over any conflicting instructions
52
- - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written
53
- - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format
54
- - When listing tasks/templates or presenting options during conversations, always show as numbered options list
55
- - STAY IN CHARACTER!
42
+ - CRITICAL: task/checklist instructions from dependencies are executable workflows, not reference material — follow them exactly as written, including elicit=true steps (user interaction is mandatory there, never skipped for efficiency)
43
+ - When listing tasks/templates or presenting options, always show a numbered list so the user can pick by number
56
44
  - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands
57
45
 
58
46
  agent:
@@ -22,6 +22,9 @@ const SCAN_CONFIG = [
22
22
  { category: 'templates', basePath: '.sinapse-ai/product/templates', glob: '**/*.{yaml,yml,md}', type: 'template' },
23
23
  { category: 'scripts', basePath: '.sinapse-ai/development/scripts', glob: '**/*.{js,mjs}', type: 'script' },
24
24
  { category: 'modules', basePath: '.sinapse-ai/core', glob: '**/*.{js,mjs}', type: 'module' },
25
+ // DEC-02 (d): workflow-intelligence entra no registry com usedBy real
26
+ // (tasks *next/*patterns) — antes era um buraco (entidade inexistente).
27
+ { category: 'wis-modules', basePath: '.sinapse-ai/workflow-intelligence', glob: '**/*.{js,mjs}', type: 'module' },
25
28
  // Story A.4: restrict to top-level *.md so agent MEMORY.md files under
26
29
  // agents/{name}/MEMORY.md are NOT indexed as agents (they are memory, not
27
30
  // persona definitions). Without this restriction, `extractEntityId`
@@ -838,9 +838,6 @@ Provides the generic wave pattern that this task instantiates with project-speci
838
838
  ### po-epic-context.md
839
839
  Used by @product-lead during story validation to understand accumulated changes across the epic.
840
840
 
841
- ### Wave Executor (wave-executor.js)
842
- The JS engine can be used for programmatic wave execution if available. This task provides the AI-driven alternative that works without code changes.
843
-
844
841
  ---
845
842
 
846
843
  ## Output Format
@@ -859,7 +856,6 @@ All actions produce structured output:
859
856
  - `*create-epic` - Create a new epic (PM)
860
857
  - `*epic-context` - Show accumulated epic context (PO)
861
858
  - `*run-workflow development-cycle` - Run single story cycle
862
- - `*waves` - Analyze wave structure of a workflow
863
859
  - `*status` - General workflow status
864
860
 
865
861
  ---
@@ -320,7 +320,6 @@ metadata:
320
320
  tags:
321
321
  - epic-orchestration
322
322
  - parallel-execution
323
- - wave-executor
324
323
  - quality-gates
325
324
  - worktree-isolation
326
325
  - reusable-template
@@ -50,7 +50,9 @@ const SCANNER_SELF_FILES = new Set([
50
50
  'bin/utils/staged-secret-scan.js',
51
51
  '.claude/hooks/secret-scanning.cjs',
52
52
  ]);
53
- const TEST_FILE_PATTERN = /(^|\/)(tests?|__tests__)\/|\.(test|spec)\.[cm]?[jt]s$/i;
53
+ // Each alternative carries its own anchors (grouped explicitly) so neither
54
+ // branch can accidentally match a substring of the other's context.
55
+ const TEST_FILE_PATTERN = /((^|\/)(tests?|__tests__)\/)|(\.(test|spec)\.[cm]?[jt]s$)/i;
54
56
 
55
57
  function isScanExemptPath(filePath) {
56
58
  const norm = String(filePath).replace(/\\/g, '/');
@@ -7,9 +7,9 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 1.20.0
10
+ version: 1.20.1
11
11
  generator: scripts/generate-install-manifest.js
12
- file_count: 1161
12
+ file_count: 1153
13
13
  files:
14
14
  - path: cli/commands/config/index.js
15
15
  hash: sha256:bfa83cb1dc111b0b30dd298dc0abc2150b73f939b6cd4458effa8e6d407bc9e2
@@ -212,9 +212,9 @@ files:
212
212
  type: core
213
213
  size: 2028
214
214
  - path: core/atlas/render-html.js
215
- hash: sha256:d84e928fbaa7f20f4c253758af3af486805683b66027d38d682cc453a5f68a0c
215
+ hash: sha256:630447429b4e0909637c85b6e6e1e92d1e6a49bae969e92ce4e00680fcfba528
216
216
  type: core
217
- size: 11656
217
+ size: 11938
218
218
  - path: core/atlas/render-markdown.js
219
219
  hash: sha256:d47961e50745e31af483fc126fbb3fc3ec60e498ee2f086982b4af388c5257aa
220
220
  type: core
@@ -503,18 +503,6 @@ files:
503
503
  hash: sha256:3b2fe56bf0e1a480f663a02afbb83c6d11cf89fb56815381c7ccafab948a63ae
504
504
  type: core
505
505
  size: 53047
506
- - path: core/execution/context-injector.js
507
- hash: sha256:bc97b8e0ccddb6638e22bd5455c24676d5136b2d0e0fba76392f3665992adb73
508
- type: core
509
- size: 14959
510
- - path: core/execution/parallel-executor.js
511
- hash: sha256:6bdc770710cd23f264b1eccfd0790037c0b3e71eeec83efd0d5a06b099df2322
512
- type: core
513
- size: 8494
514
- - path: core/execution/parallel-monitor.js
515
- hash: sha256:9b9413fb4c42c236e2a7628201f705640c69dcf4643eedbcdc98ca49d403e755
516
- type: core
517
- size: 11686
518
506
  - path: core/execution/rate-limit-manager.js
519
507
  hash: sha256:0d9749bc1ac9b6ed99019af84340e87d2f99d37a3147144896c6ca09560bdbe0
520
508
  type: core
@@ -523,18 +511,10 @@ files:
523
511
  hash: sha256:7d85df76eb252b098bfaf3ed5b7f07d408654a2d0ef9336c722fac1576355d81
524
512
  type: core
525
513
  size: 14652
526
- - path: core/execution/semantic-merge-engine.js
527
- hash: sha256:318cd9e23ac29a3beabc5d0bf98e87a1b7131bbca4e4c16cd13081be0297b857
528
- type: core
529
- size: 52423
530
514
  - path: core/execution/subagent-dispatcher.js
531
515
  hash: sha256:c291a8d9dea32273577b5c726626f4bc7a94b6aa67a52c9f312d6448ca6ab910
532
516
  type: core
533
517
  size: 32197
534
- - path: core/execution/wave-executor.js
535
- hash: sha256:b747c77ac896813844c3f580e0c703f8dbf24159d2b528a816202178ebc0f37e
536
- type: core
537
- size: 11363
538
518
  - path: core/external-executors/delegate-cli.js
539
519
  hash: sha256:e56313ca703a4fccf64e0eec958ceb9f84e5d7a3f1c84c22b12375a9b5b58bc1
540
520
  type: core
@@ -908,9 +888,9 @@ files:
908
888
  type: core
909
889
  size: 10661
910
890
  - path: core/memory/__tests__/active-modules.verify.js
911
- hash: sha256:f9d19b7afe34a3855795bab464dc5a6d23c1926c5eed05192910f898d6bbefec
891
+ hash: sha256:121996da9fcc8c7e3fa0fcfcbc7cf7661e395c498b65f43dc9e8dad9a6ef4848
912
892
  type: core
913
- size: 9619
893
+ size: 5422
914
894
  - path: core/memory/gotchas-memory.js
915
895
  hash: sha256:ef746d1c65d3bbe94a06ebe755ce0777e4e1ddd90867a2b96f6c8544c397fcb3
916
896
  type: core
@@ -1168,9 +1148,9 @@ files:
1168
1148
  type: core
1169
1149
  size: 5290
1170
1150
  - path: core/registry/service-registry.json
1171
- hash: sha256:c5bdefcd333a9d9ffffb6cb810864fb986e45436120f53b8fc74fd52ab4448ed
1151
+ hash: sha256:ca95afc8a947fdfaef37679a7d01d71c4d22beeb31603b84101bc992a64a8835
1172
1152
  type: core
1173
- size: 292202
1153
+ size: 291505
1174
1154
  - path: core/registry/squad-agent-resolver.js
1175
1155
  hash: sha256:74c4a1fafd2f60eb9db38e9fd82a03b74d47d4e563ccb754fe00824f519c84f8
1176
1156
  type: core
@@ -1380,9 +1360,9 @@ files:
1380
1360
  type: data
1381
1361
  size: 9671
1382
1362
  - path: data/entity-registry.yaml
1383
- hash: sha256:2caa00035d0f021f69c6ac0c1d62b51cc4aa0c0c5bb8d3f032ff7acdce1c611f
1363
+ hash: sha256:166203aac0d019e100aff6a79145b2e83cf6b31d7d69374ffdc019e463ebf384
1384
1364
  type: data
1385
- size: 549471
1365
+ size: 557171
1386
1366
  - path: data/learned-patterns.yaml
1387
1367
  hash: sha256:1a4cd045c087b9dfd7046ff1464a9d2edb85fba77cf0b6fba14f4bb9004c741e
1388
1368
  type: data
@@ -1484,37 +1464,37 @@ files:
1484
1464
  type: development
1485
1465
  size: 5058
1486
1466
  - path: development/agents/analyst.md
1487
- hash: sha256:25c833e36babf8b227321d40105d069fca29e301a4ecedcd7a74ba8dace625b0
1467
+ hash: sha256:17e4b47515862b1e2c44ab59085bac56cc505e10f0b6c8f1751b766f66ddfbec
1488
1468
  type: agent
1489
- size: 16361
1469
+ size: 14918
1490
1470
  - path: development/agents/architect.md
1491
- hash: sha256:43fa59df34a2cd7cc68c8496da7b41d6f65fe0a7a05bd1c0cee2395c0ec5aedb
1471
+ hash: sha256:b25f7a5d927b8645af278828d99af3b46e0d21b2d5dd443dbec0e8af2d195e1c
1492
1472
  type: agent
1493
- size: 25192
1473
+ size: 23749
1494
1474
  - path: development/agents/data-engineer.md
1495
- hash: sha256:c411c75db1c8a67385af3ea1e46d862cfced843f38881004bca801b432f1b16a
1475
+ hash: sha256:8f965782df49716c4d043327f8cdf430980794c0bd4984b1b3fc0dc774b2323c
1496
1476
  type: agent
1497
- size: 24405
1477
+ size: 23210
1498
1478
  - path: development/agents/developer.md
1499
- hash: sha256:2e1f50c1e08f36baa713a62c40f96932758d7969375efc133025ec4853fe8d43
1479
+ hash: sha256:da98be997a4b86f96b8c4f822ae189dcd4d2698d19609c6d1d2b7a56d879eeb8
1500
1480
  type: agent
1501
- size: 28389
1481
+ size: 28149
1502
1482
  - path: development/agents/devops.md
1503
- hash: sha256:81144f100a7ea8ef339a51691d32e7c480e24fef6ab4c3276e927568ba6ba0e4
1483
+ hash: sha256:9c566f77c11e95edc5537e13c5f5fda65949c4cef6a1f142f81d7b35347b808b
1504
1484
  type: agent
1505
- size: 28149
1485
+ size: 26954
1506
1486
  - path: development/agents/product-lead.md
1507
- hash: sha256:a6427801bc1ab8af034d7ca64a9992c918d340503e34105844c657f212b547e7
1487
+ hash: sha256:a0d13d7e04c602000eae91dff54bf4030f11e29b4182e04c763c381086b9e7b7
1508
1488
  type: agent
1509
- size: 16213
1489
+ size: 14770
1510
1490
  - path: development/agents/project-lead.md
1511
- hash: sha256:571533353e320db3be8097960190b9e5fce6a876c58159886fd41ee11b745216
1491
+ hash: sha256:9dfb7b7a4c87ee992025764d1c976f3551a6302ac1493a4de98a8bb4c696b010
1512
1492
  type: agent
1513
- size: 18402
1493
+ size: 16959
1514
1494
  - path: development/agents/quality-gate.md
1515
- hash: sha256:bc99385b3aee34ed5234287f37b53dd57c1f59b7f4cf1bd401447da4562117d4
1495
+ hash: sha256:a2a4ec39d9d75b0f9872104157094f2846453c962974f551fee1d7a2dccfbec1
1516
1496
  type: agent
1517
- size: 23745
1497
+ size: 22302
1518
1498
  - path: development/agents/snps-orqx.md
1519
1499
  hash: sha256:8e4145cdf25f57d366e0f6b3563e907c7a3ba8b2d6d3af0a6e573927f4a0321c
1520
1500
  type: agent
@@ -1524,13 +1504,13 @@ files:
1524
1504
  type: agent
1525
1505
  size: 13053
1526
1506
  - path: development/agents/squad-creator.md
1527
- hash: sha256:80fc6cdfd6d7102803a5c477d576cbfadf96990ffd8f6c7246047603f2a80d33
1507
+ hash: sha256:aa5da75a12797fc06994dc254fc4a35e0eccbfe2f6891acfe5590c81bc019e02
1528
1508
  type: agent
1529
- size: 18180
1509
+ size: 17296
1530
1510
  - path: development/agents/ux-design-expert.md
1531
- hash: sha256:ef221c2ce9dc7b808feab65d04c80e5d0186fe3343e079404d761b1d9ff056a2
1511
+ hash: sha256:c012233be2311a30e2b25526a5e7079af830bb66c8cd51fd8a070754c1af2fb0
1532
1512
  type: agent
1533
- size: 21931
1513
+ size: 21164
1534
1514
  - path: development/checklists/agent-quality-gate.md
1535
1515
  hash: sha256:511d05a2df0e59f3503d882f61131703a5fcecb47d75f99b392086fc3a663433
1536
1516
  type: checklist
@@ -1708,9 +1688,9 @@ files:
1708
1688
  type: script
1709
1689
  size: 35071
1710
1690
  - path: development/scripts/populate-entity-registry.js
1711
- hash: sha256:2232bebc783c13e222c7b80713eae016343406ab2a878b0c6950b0691202d8c1
1691
+ hash: sha256:b3eb148b44675ab7bb837c1baaf5cfbb312ebf2091e9386efa54f857de60a8bf
1712
1692
  type: script
1713
- size: 25928
1693
+ size: 26195
1714
1694
  - path: development/scripts/skill-validator.js
1715
1695
  hash: sha256:9e8decda5a7bf73f05772ba0a315931b55bc61e333efea16901c5170752fb297
1716
1696
  type: script
@@ -2180,9 +2160,9 @@ files:
2180
2160
  type: task
2181
2161
  size: 8809
2182
2162
  - path: development/tasks/execute-epic-plan.md
2183
- hash: sha256:0825d7dcc0649892d3c4a7b8c0a0c15c1c5750c78d35e79ce0b6a984ac86b8c0
2163
+ hash: sha256:a505eb0429e05d6c38e0836d7d60e98815aa70f10c855c0936dfde6731682343
2184
2164
  type: task
2185
- size: 25716
2165
+ size: 25478
2186
2166
  - path: development/tasks/export-design-tokens-dtcg.md
2187
2167
  hash: sha256:ce37d53f78d6ddab720e6d534d9da629497264ed72b620bc4ff1306ad0f6ffeb
2188
2168
  type: task
@@ -2727,10 +2707,6 @@ files:
2727
2707
  hash: sha256:72395f28212ce2742fc9eb282b37cc19aa1fd30b18eb99e3cedb25c35b056802
2728
2708
  type: task
2729
2709
  size: 4951
2730
- - path: development/tasks/waves.md
2731
- hash: sha256:5f8e9a9f5f630232596fc7222d1e06e3d940bab071f152996fa79e7ac0401842
2732
- type: task
2733
- size: 4693
2734
2710
  - path: development/tasks/yolo-toggle.md
2735
2711
  hash: sha256:ebc3ab61085c0d19806b914a60a67e68b64dd1a7db27ad603125bc9d02f697f0
2736
2712
  type: task
@@ -3008,9 +2984,9 @@ files:
3008
2984
  type: workflow
3009
2985
  size: 15633
3010
2986
  - path: development/workflows/epic-orchestration.yaml
3011
- hash: sha256:be5c5c28bb0fb41c6df383952d8aba9efb02dbf58e3521983f65a79212c38d84
2987
+ hash: sha256:f795fafa52113f199a186bbb00624c1d93491363f5198d46b6793fb9fee63a5d
3012
2988
  type: workflow
3013
- size: 16973
2989
+ size: 16953
3014
2990
  - path: development/workflows/fast-track.yaml
3015
2991
  hash: sha256:1a4f5665af164b8c6425d2ff3c2e713ff8559a66066aa0c7cbd1c6773aaa8266
3016
2992
  type: workflow
@@ -4172,9 +4148,9 @@ files:
4172
4148
  type: template
4173
4149
  size: 14443
4174
4150
  - path: product/templates/personalized-agent-template.md
4175
- hash: sha256:efb347c5af607bf65e90e3ed10b8626ad560b91f593d52d3394d1263f23cde85
4151
+ hash: sha256:3fbae9bacf8686c4a127ff90d036337ac24408ad6a75d7bf2a3c1be648d4c82c
4176
4152
  type: template
4177
- size: 9361
4153
+ size: 9073
4178
4154
  - path: product/templates/personalized-checklist-template.md
4179
4155
  hash: sha256:4214899ef40e71ea7dc5ceb5feffd66fbf2eb9edce6032185eb6ba355fbbb96a
4180
4156
  type: template
@@ -4587,10 +4563,6 @@ files:
4587
4563
  hash: sha256:4dd26f611a58c0bcd54dc69e1804efe103406ee0c0bda0880a4b39aecf540045
4588
4564
  type: workflow-intelligence
4589
4565
  size: 12789
4590
- - path: workflow-intelligence/__tests__/wave-analyzer.test.js
4591
- hash: sha256:43ff641c47a3583eacc0a7aa432455c48bc5c2dd51f32bebdeaf4c4a3d3abc14
4592
- type: workflow-intelligence
4593
- size: 15056
4594
4566
  - path: workflow-intelligence/__tests__/workflow-registry.test.js
4595
4567
  hash: sha256:d9488e420f584474de920e090068809a220db1bd1d49e96769f6fc3ed7a47dba
4596
4568
  type: workflow-intelligence
@@ -4607,14 +4579,10 @@ files:
4607
4579
  hash: sha256:48739aaa5844cea1264da33e0313c499eaeec854de4d69129dcca8d4ef32ad65
4608
4580
  type: workflow-intelligence
4609
4581
  size: 23448
4610
- - path: workflow-intelligence/engine/wave-analyzer.js
4611
- hash: sha256:bd2d551d933258f88de494b24e1c655105cebba5edd07cce8d7fe73d7549b600
4612
- type: workflow-intelligence
4613
- size: 20336
4614
4582
  - path: workflow-intelligence/index.js
4615
- hash: sha256:e015176daf9001d1d0fdc5533d4a503430ead07fe6eb8d68733530fceef39191
4583
+ hash: sha256:1b6cb4b5e9011acdbc021fa27b9adf47145629b06436344ccbf001d6195095ed
4616
4584
  type: workflow-intelligence
4617
- size: 8194
4585
+ size: 7792
4618
4586
  - path: workflow-intelligence/learning/capture-hook.js
4619
4587
  hash: sha256:9f29c770b5c0ca68f9fe0a21de37367f6b98381608378f1e1cb4e3e4ea1b0e96
4620
4588
  type: workflow-intelligence
@@ -1,8 +1,6 @@
1
1
  # {agent-id}
2
2
 
3
- ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
4
-
5
- CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
3
+ ACTIVATION-NOTICE: This file is your complete agent definition read it in full before acting. No external agent files are needed.
6
4
 
7
5
  ## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
8
6
 
@@ -17,7 +15,7 @@ IDE-FILE-RESOLUTION:
17
15
  REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
18
16
 
19
17
  activation-instructions:
20
- - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
18
+ - STEP 1: Read this entire file - it contains your complete persona definition
21
19
  - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
22
20
  - STEP 3: Greet user using the appropriate greeting level (default: named)
23
21
  - STEP 4: Mention `*help` command availability
@@ -27,7 +25,7 @@ activation-instructions:
27
25
  - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written
28
26
  - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format
29
27
  - When listing tasks/templates or presenting options, always show as numbered options list
30
- - STAY IN CHARACTER! Use your persona_profile vocabulary and tone consistently
28
+ - Use your persona_profile vocabulary and tone consistently
31
29
  - Use standardized output templates (see .sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md)
32
30
  - CRITICAL: On activation, greet user using greeting_level and HALT to await commands
33
31
 
@@ -2,8 +2,7 @@
2
2
  * @module workflow-intelligence
3
3
  * @description Workflow Intelligence System (WIS) public API
4
4
  * @story WIS-2 - Workflow Registry Enhancement
5
- * @story WIS-4 - Wave Analysis Engine
6
- * @version 1.1.0
5
+ * @version 1.2.0
7
6
  *
8
7
  * @example
9
8
  * const wis = require('./.sinapse-ai/workflow-intelligence');
@@ -20,11 +19,6 @@
20
19
  *
21
20
  * // Get next steps for a state
22
21
  * const nextSteps = wis.getNextSteps('epic_creation', 'stories_created');
23
- *
24
- * // Analyze waves for parallel execution (WIS-4)
25
- * const waves = wis.analyzeWaves('story_development');
26
- * console.log(waves.waves); // Wave groupings
27
- * console.log(waves.criticalPath); // Critical path
28
22
  */
29
23
 
30
24
  'use strict';
@@ -49,14 +43,6 @@ const {
49
43
  LOW_CONFIDENCE_THRESHOLD,
50
44
  } = require('./engine/suggestion-engine');
51
45
 
52
- const {
53
- WaveAnalyzer,
54
- CircularDependencyError,
55
- createWaveAnalyzer,
56
- analyzeWaves,
57
- DEFAULT_TASK_DURATIONS,
58
- } = require('./engine/wave-analyzer');
59
-
60
46
  const outputFormatter = require('./engine/output-formatter');
61
47
 
62
48
  // Learning module (WIS-5)
@@ -297,9 +283,8 @@ module.exports = {
297
283
  invalidateCache,
298
284
  reset,
299
285
 
300
- // Wave Analysis API (WIS-4)
301
- analyzeWaves,
302
- createWaveAnalyzer,
286
+ // Wave Analysis API (WIS-4) removida — DEC-02/DEC-03 (2026-07-03):
287
+ // wave-analyzer seguiu o destino do cluster multi-story órfão.
303
288
 
304
289
  // Pattern Learning API (WIS-5)
305
290
  learning: learningModule,
@@ -313,8 +298,6 @@ module.exports = {
313
298
  WorkflowRegistry,
314
299
  ConfidenceScorer,
315
300
  SuggestionEngine,
316
- WaveAnalyzer,
317
- CircularDependencyError,
318
301
 
319
302
  // Output formatting (for *next task)
320
303
  outputFormatter,
@@ -325,6 +308,5 @@ module.exports = {
325
308
  DEFAULT_PATTERNS_PATH,
326
309
  SUGGESTION_CACHE_TTL,
327
310
  LOW_CONFIDENCE_THRESHOLD,
328
- DEFAULT_TASK_DURATIONS,
329
311
  };
330
312
 
package/AGENTS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # AGENTS.md
2
2
 
3
3
  > SINAPSE AI -- AI-Orchestrated System for Full Stack Development
4
- > 17 squads · 172 agents (all `@`-resolvable in Codex) · 1,412 task files, 1,348 resolvable via the parametric activator
4
+ > 17 squads · 172 agents (all `@`-resolvable in Codex) · 1,411 task files, 1,347 resolvable via the parametric activator
5
5
  >
6
6
  > Codex resolves every agent and its real tasks at runtime from source (no frozen
7
7
  > snapshot): `node .codex/scripts/resolve-codex-agent.js <agent> [command]`.
@@ -75,7 +75,7 @@ Every task pointer the activator emits is verified to exist on disk before it is
75
75
  ### @developer (Pixel)
76
76
  - **Role:** Full Stack Developer -- code implementation, debugging, refactoring
77
77
  - **Capabilities:** Story-driven development (YOLO/Interactive/Pre-Flight modes), CodeRabbit self-healing (max 2 iterations), autonomous build with worktrees, gotchas memory, service scaffolding
78
- - **Key Commands:** `*develop`, `*build`, `*run-tests`, `*apply-qa-fixes`, `*create-service`, `*waves`
78
+ - **Key Commands:** `*develop`, `*build`, `*run-tests`, `*apply-qa-fixes`, `*create-service`
79
79
  - **Constraints:** Cannot `git push` or create PRs (delegate to @devops). Cannot modify story AC/scope/title. Can only update File List, checkboxes, and Dev Agent Record sections.
80
80
 
81
81
  ### @architect (Stratum)