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.
- package/.sinapse-ai/core/atlas/render-html.js +10 -8
- package/.sinapse-ai/core/registry/service-registry.json +2 -32
- package/.sinapse-ai/data/entity-registry.yaml +440 -195
- package/.sinapse-ai/development/agents/analyst.md +18 -34
- package/.sinapse-ai/development/agents/architect.md +18 -34
- package/.sinapse-ai/development/agents/data-engineer.md +15 -28
- package/.sinapse-ai/development/agents/developer.md +0 -6
- package/.sinapse-ai/development/agents/devops.md +15 -28
- package/.sinapse-ai/development/agents/product-lead.md +18 -34
- package/.sinapse-ai/development/agents/project-lead.md +18 -34
- package/.sinapse-ai/development/agents/quality-gate.md +18 -34
- package/.sinapse-ai/development/agents/squad-creator.md +15 -27
- package/.sinapse-ai/development/agents/ux-design-expert.md +15 -27
- package/.sinapse-ai/development/scripts/populate-entity-registry.js +3 -0
- package/.sinapse-ai/development/tasks/execute-epic-plan.md +0 -4
- package/.sinapse-ai/development/workflows/epic-orchestration.yaml +0 -1
- package/.sinapse-ai/git-hooks/lib/staged-secret-scan.js +3 -1
- package/.sinapse-ai/install-manifest.yaml +40 -72
- package/.sinapse-ai/product/templates/personalized-agent-template.md +3 -5
- package/.sinapse-ai/workflow-intelligence/index.js +3 -21
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +38 -19
- package/bin/commands/install.js +5 -4
- package/bin/lib/command-generator.js +4 -4
- package/bin/lib/fs-utils.js +18 -0
- package/bin/lib/setup-statusline.js +3 -1
- package/bin/modules/chrome-brain-installer.js +5 -3
- package/bin/modules/mcp-installer.js +3 -6
- package/bin/postinstall.js +2 -1
- package/bin/sinapse-init.js +8 -9
- package/bin/sinapse.js +3 -1
- package/bin/utils/staged-secret-scan.js +3 -1
- package/docs/framework/atlas/OPERATING-ATLAS.md +1 -1
- package/docs/framework/atlas/atlas-data.json +22 -22
- package/docs/framework/atlas/atlas.html +12 -10
- package/docs/framework/source-tree.md +1 -2
- package/package.json +1 -1
- package/packages/installer/src/config/configure-environment.js +8 -6
- package/packages/installer/src/installer/brownfield-upgrader.js +5 -3
- package/packages/installer/src/installer/file-hasher.js +29 -21
- package/packages/installer/src/installer/manifest-signature.js +61 -49
- package/packages/installer/src/installer/post-install-validator.js +24 -17
- package/packages/installer/src/merger/parsers/markdown-section-parser.js +3 -2
- package/packages/installer/src/updater/index.js +7 -1
- package/packages/installer/src/utils/atomic-write.js +35 -0
- package/packages/installer/src/wizard/index.js +5 -3
- package/packages/sinapse-install/src/capabilities/chrome-brain.js +5 -3
- package/packages/sinapse-install/src/installer.js +3 -1
- package/packages/sinapse-install/src/utils/atomic-write.js +67 -0
- package/scripts/apply-persona-disclaimer.js +2 -1
- package/scripts/sinapse-patch.js +2 -1
- package/scripts/sync-squad-yaml-components.js +2 -1
- package/scripts/validate-agents-md.js +2 -1
- package/scripts/validate-article-xi.js +10 -8
- package/scripts/validate-no-external-refs.js +14 -8
- package/squads/claude-code-mastery/agents/claude-mastery-chief.md +3 -8
- package/squads/claude-code-mastery/agents/config-engineer.md +5 -12
- package/squads/claude-code-mastery/agents/hooks-architect.md +5 -11
- package/squads/claude-code-mastery/agents/mcp-integrator.md +5 -12
- package/squads/claude-code-mastery/agents/project-integrator.md +5 -12
- package/squads/claude-code-mastery/agents/roadmap-sentinel.md +5 -12
- package/squads/claude-code-mastery/agents/skill-craftsman.md +5 -11
- package/squads/claude-code-mastery/agents/swarm-orqx.md +15 -28
- package/.sinapse-ai/core/execution/context-injector.js +0 -539
- package/.sinapse-ai/core/execution/parallel-executor.js +0 -301
- package/.sinapse-ai/core/execution/parallel-monitor.js +0 -432
- package/.sinapse-ai/core/execution/semantic-merge-engine.js +0 -1750
- package/.sinapse-ai/core/execution/wave-executor.js +0 -403
- package/.sinapse-ai/development/tasks/waves.md +0 -205
- 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
|
|
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
|
|
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:
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" +
|
|
28
|
-
2. Show: "**Role:** {persona.role}"
|
|
29
|
-
|
|
30
|
-
|
|
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 (
|
|
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
|
-
-
|
|
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
|
|
50
|
-
-
|
|
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
|
|
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
|
|
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:
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" +
|
|
33
|
-
2. Show: "**Role:** {persona.role}"
|
|
34
|
-
|
|
35
|
-
|
|
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 (
|
|
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
|
-
-
|
|
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
|
|
53
|
-
-
|
|
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
|
---
|
|
@@ -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
|
-
|
|
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.
|
|
10
|
+
version: 1.20.1
|
|
11
11
|
generator: scripts/generate-install-manifest.js
|
|
12
|
-
file_count:
|
|
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:
|
|
215
|
+
hash: sha256:630447429b4e0909637c85b6e6e1e92d1e6a49bae969e92ce4e00680fcfba528
|
|
216
216
|
type: core
|
|
217
|
-
size:
|
|
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:
|
|
891
|
+
hash: sha256:121996da9fcc8c7e3fa0fcfcbc7cf7661e395c498b65f43dc9e8dad9a6ef4848
|
|
912
892
|
type: core
|
|
913
|
-
size:
|
|
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:
|
|
1151
|
+
hash: sha256:ca95afc8a947fdfaef37679a7d01d71c4d22beeb31603b84101bc992a64a8835
|
|
1172
1152
|
type: core
|
|
1173
|
-
size:
|
|
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:
|
|
1363
|
+
hash: sha256:166203aac0d019e100aff6a79145b2e83cf6b31d7d69374ffdc019e463ebf384
|
|
1384
1364
|
type: data
|
|
1385
|
-
size:
|
|
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:
|
|
1467
|
+
hash: sha256:17e4b47515862b1e2c44ab59085bac56cc505e10f0b6c8f1751b766f66ddfbec
|
|
1488
1468
|
type: agent
|
|
1489
|
-
size:
|
|
1469
|
+
size: 14918
|
|
1490
1470
|
- path: development/agents/architect.md
|
|
1491
|
-
hash: sha256:
|
|
1471
|
+
hash: sha256:b25f7a5d927b8645af278828d99af3b46e0d21b2d5dd443dbec0e8af2d195e1c
|
|
1492
1472
|
type: agent
|
|
1493
|
-
size:
|
|
1473
|
+
size: 23749
|
|
1494
1474
|
- path: development/agents/data-engineer.md
|
|
1495
|
-
hash: sha256:
|
|
1475
|
+
hash: sha256:8f965782df49716c4d043327f8cdf430980794c0bd4984b1b3fc0dc774b2323c
|
|
1496
1476
|
type: agent
|
|
1497
|
-
size:
|
|
1477
|
+
size: 23210
|
|
1498
1478
|
- path: development/agents/developer.md
|
|
1499
|
-
hash: sha256:
|
|
1479
|
+
hash: sha256:da98be997a4b86f96b8c4f822ae189dcd4d2698d19609c6d1d2b7a56d879eeb8
|
|
1500
1480
|
type: agent
|
|
1501
|
-
size:
|
|
1481
|
+
size: 28149
|
|
1502
1482
|
- path: development/agents/devops.md
|
|
1503
|
-
hash: sha256:
|
|
1483
|
+
hash: sha256:9c566f77c11e95edc5537e13c5f5fda65949c4cef6a1f142f81d7b35347b808b
|
|
1504
1484
|
type: agent
|
|
1505
|
-
size:
|
|
1485
|
+
size: 26954
|
|
1506
1486
|
- path: development/agents/product-lead.md
|
|
1507
|
-
hash: sha256:
|
|
1487
|
+
hash: sha256:a0d13d7e04c602000eae91dff54bf4030f11e29b4182e04c763c381086b9e7b7
|
|
1508
1488
|
type: agent
|
|
1509
|
-
size:
|
|
1489
|
+
size: 14770
|
|
1510
1490
|
- path: development/agents/project-lead.md
|
|
1511
|
-
hash: sha256:
|
|
1491
|
+
hash: sha256:9dfb7b7a4c87ee992025764d1c976f3551a6302ac1493a4de98a8bb4c696b010
|
|
1512
1492
|
type: agent
|
|
1513
|
-
size:
|
|
1493
|
+
size: 16959
|
|
1514
1494
|
- path: development/agents/quality-gate.md
|
|
1515
|
-
hash: sha256:
|
|
1495
|
+
hash: sha256:a2a4ec39d9d75b0f9872104157094f2846453c962974f551fee1d7a2dccfbec1
|
|
1516
1496
|
type: agent
|
|
1517
|
-
size:
|
|
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:
|
|
1507
|
+
hash: sha256:aa5da75a12797fc06994dc254fc4a35e0eccbfe2f6891acfe5590c81bc019e02
|
|
1528
1508
|
type: agent
|
|
1529
|
-
size:
|
|
1509
|
+
size: 17296
|
|
1530
1510
|
- path: development/agents/ux-design-expert.md
|
|
1531
|
-
hash: sha256:
|
|
1511
|
+
hash: sha256:c012233be2311a30e2b25526a5e7079af830bb66c8cd51fd8a070754c1af2fb0
|
|
1532
1512
|
type: agent
|
|
1533
|
-
size:
|
|
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:
|
|
1691
|
+
hash: sha256:b3eb148b44675ab7bb837c1baaf5cfbb312ebf2091e9386efa54f857de60a8bf
|
|
1712
1692
|
type: script
|
|
1713
|
-
size:
|
|
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:
|
|
2163
|
+
hash: sha256:a505eb0429e05d6c38e0836d7d60e98815aa70f10c855c0936dfde6731682343
|
|
2184
2164
|
type: task
|
|
2185
|
-
size:
|
|
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:
|
|
2987
|
+
hash: sha256:f795fafa52113f199a186bbb00624c1d93491363f5198d46b6793fb9fee63a5d
|
|
3012
2988
|
type: workflow
|
|
3013
|
-
size:
|
|
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:
|
|
4151
|
+
hash: sha256:3fbae9bacf8686c4a127ff90d036337ac24408ad6a75d7bf2a3c1be648d4c82c
|
|
4176
4152
|
type: template
|
|
4177
|
-
size:
|
|
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:
|
|
4583
|
+
hash: sha256:1b6cb4b5e9011acdbc021fa27b9adf47145629b06436344ccbf001d6195095ed
|
|
4616
4584
|
type: workflow-intelligence
|
|
4617
|
-
size:
|
|
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
|
|
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
|
|
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
|
-
-
|
|
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
|
-
* @
|
|
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
|
-
|
|
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,
|
|
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
|
|
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)
|