tadforce 0.0.0-stage → 0.3.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 (141) hide show
  1. package/.claude-plugin/marketplace.json +20 -0
  2. package/.claude-plugin/plugin.json +13 -0
  3. package/LICENSE +202 -0
  4. package/NOTICE +11 -0
  5. package/README.md +266 -2
  6. package/assets/logo-mark.svg +24 -0
  7. package/assets/logo.svg +31 -0
  8. package/bin/tadforce.js +4 -0
  9. package/commands/tadforce-review.md +8 -0
  10. package/commands/tadforce-update.md +6 -0
  11. package/commands/tadforce.md +10 -0
  12. package/package.json +60 -4
  13. package/skills/tadforce/SKILL.md +73 -0
  14. package/skills/tadforce/references/axes-rules.md +29 -0
  15. package/skills/tadforce/references/evidence-rules.md +40 -0
  16. package/skills/tadforce/references/exclusion-heuristics.md +40 -0
  17. package/skills/tadforce/references/figure-rules.md +42 -0
  18. package/skills/tadforce/references/markdown-conventions.md +67 -0
  19. package/skills/tadforce/references/modules/agentforce-ai.md +24 -0
  20. package/skills/tadforce/references/modules/analytics.md +19 -0
  21. package/skills/tadforce/references/modules/commerce.md +25 -0
  22. package/skills/tadforce/references/modules/data-cloud.md +23 -0
  23. package/skills/tadforce/references/modules/experience-cloud.md +24 -0
  24. package/skills/tadforce/references/modules/field-service.md +25 -0
  25. package/skills/tadforce/references/modules/industries.md +21 -0
  26. package/skills/tadforce/references/modules/integration-platforms.md +19 -0
  27. package/skills/tadforce/references/modules/marketing.md +24 -0
  28. package/skills/tadforce/references/modules/omnistudio.md +24 -0
  29. package/skills/tadforce/references/modules/platform-events.md +19 -0
  30. package/skills/tadforce/references/modules/revenue-cpq.md +25 -0
  31. package/skills/tadforce/references/modules/sales-cloud.md +26 -0
  32. package/skills/tadforce/references/modules/security-shield.md +18 -0
  33. package/skills/tadforce/references/modules/service-cloud.md +27 -0
  34. package/skills/tadforce/references/naming-external-systems.md +32 -0
  35. package/skills/tadforce/references/questions.md +59 -0
  36. package/skills/tadforce/references/salesforce-skills.md +27 -0
  37. package/skills/tadforce/references/workflow.md +95 -0
  38. package/skills/tadforce/references/writing-rules.md +47 -0
  39. package/skills/tadforce-review/SKILL.md +53 -0
  40. package/skills/tadforce-update/SKILL.md +48 -0
  41. package/src/build/brand.js +107 -0
  42. package/src/build/browser.js +70 -0
  43. package/src/build/directives.js +293 -0
  44. package/src/build/export.js +60 -0
  45. package/src/build/figures.js +119 -0
  46. package/src/build/mermaid.js +107 -0
  47. package/src/build/render.js +299 -0
  48. package/src/build/serve.js +59 -0
  49. package/src/cli.js +68 -0
  50. package/src/commands/docs.js +204 -0
  51. package/src/commands/doctor.js +370 -0
  52. package/src/commands/init.js +132 -0
  53. package/src/commands/org.js +151 -0
  54. package/src/commands/review.js +35 -0
  55. package/src/commands/spec.js +91 -0
  56. package/src/commands/update.js +154 -0
  57. package/src/facts/extractors/apex.js +111 -0
  58. package/src/facts/extractors/automation.js +85 -0
  59. package/src/facts/extractors/data.js +94 -0
  60. package/src/facts/extractors/integration.js +76 -0
  61. package/src/facts/extractors/misc.js +100 -0
  62. package/src/facts/extractors/security.js +92 -0
  63. package/src/facts/extractors/ui.js +120 -0
  64. package/src/facts/fingerprints.js +32 -0
  65. package/src/facts/heuristics/exclusions.js +143 -0
  66. package/src/facts/heuristics/modules.js +85 -0
  67. package/src/facts/heuristics/naming.js +31 -0
  68. package/src/facts/heuristics/signals.js +76 -0
  69. package/src/facts/index.js +197 -0
  70. package/src/facts/org.js +87 -0
  71. package/src/facts/xml.js +85 -0
  72. package/src/sf/sf.js +120 -0
  73. package/src/util/args.js +21 -0
  74. package/src/util/config.js +104 -0
  75. package/src/util/fsx.js +58 -0
  76. package/src/util/i18n.js +49 -0
  77. package/src/util/log.js +31 -0
  78. package/src/util/paths.js +11 -0
  79. package/src/validate/index.js +126 -0
  80. package/templates/axes/en/00-document-control.md +3 -0
  81. package/templates/axes/en/01-summary.md +7 -0
  82. package/templates/axes/en/02-method.md +9 -0
  83. package/templates/axes/en/03-findings.md +19 -0
  84. package/templates/axes/en/04-register.md +3 -0
  85. package/templates/axes/en/05-roadmap.md +3 -0
  86. package/templates/axes/en/99-appendix.md +5 -0
  87. package/templates/axes/fr/00-document-control.md +3 -0
  88. package/templates/axes/fr/01-summary.md +7 -0
  89. package/templates/axes/fr/02-method.md +9 -0
  90. package/templates/axes/fr/03-findings.md +19 -0
  91. package/templates/axes/fr/04-register.md +3 -0
  92. package/templates/axes/fr/05-roadmap.md +3 -0
  93. package/templates/axes/fr/99-appendix.md +5 -0
  94. package/templates/html/cover.html +12 -0
  95. package/templates/html/editor.js +502 -0
  96. package/templates/html/style.css +255 -0
  97. package/templates/html/template.html +88 -0
  98. package/templates/i18n/en.json +366 -0
  99. package/templates/i18n/fr.json +366 -0
  100. package/templates/manifest/package-tad.xml +543 -0
  101. package/templates/specs/sections.yml +494 -0
  102. package/templates/tad/en/00-document-control.md +7 -0
  103. package/templates/tad/en/01-summary.md +17 -0
  104. package/templates/tad/en/02-purpose.md +35 -0
  105. package/templates/tad/en/03-context.md +17 -0
  106. package/templates/tad/en/04-general.md +29 -0
  107. package/templates/tad/en/05-functional.md +7 -0
  108. package/templates/tad/en/06-data.md +71 -0
  109. package/templates/tad/en/07-application.md +49 -0
  110. package/templates/tad/en/08-ui.md +41 -0
  111. package/templates/tad/en/09-integrations.md +53 -0
  112. package/templates/tad/en/10-security.md +59 -0
  113. package/templates/tad/en/11-reporting.md +13 -0
  114. package/templates/tad/en/12-operations.md +25 -0
  115. package/templates/tad/en/13-nfr.md +9 -0
  116. package/templates/tad/en/14-decisions.md +3 -0
  117. package/templates/tad/en/15-outlook.md +3 -0
  118. package/templates/tad/en/99-appendices.md +119 -0
  119. package/templates/tad/fr/00-document-control.md +7 -0
  120. package/templates/tad/fr/01-summary.md +17 -0
  121. package/templates/tad/fr/02-purpose.md +35 -0
  122. package/templates/tad/fr/03-context.md +17 -0
  123. package/templates/tad/fr/04-general.md +29 -0
  124. package/templates/tad/fr/05-functional.md +7 -0
  125. package/templates/tad/fr/06-data.md +71 -0
  126. package/templates/tad/fr/07-application.md +49 -0
  127. package/templates/tad/fr/08-ui.md +41 -0
  128. package/templates/tad/fr/09-integrations.md +53 -0
  129. package/templates/tad/fr/10-security.md +59 -0
  130. package/templates/tad/fr/11-reporting.md +13 -0
  131. package/templates/tad/fr/12-operations.md +25 -0
  132. package/templates/tad/fr/13-nfr.md +9 -0
  133. package/templates/tad/fr/14-decisions.md +3 -0
  134. package/templates/tad/fr/15-outlook.md +3 -0
  135. package/templates/tad/fr/99-appendices.md +119 -0
  136. package/templates/vendor/LICENSE-html-docx-js.txt +21 -0
  137. package/templates/vendor/LICENSE-html2canvas.txt +22 -0
  138. package/templates/vendor/LICENSE-mermaid.txt +21 -0
  139. package/templates/vendor/html-docx.js +13216 -0
  140. package/templates/vendor/html2canvas.min.js +20 -0
  141. package/templates/vendor/mermaid.min.js +2314 -0
@@ -0,0 +1,53 @@
1
+ # Architecture des intégrations {#ch-integration}
2
+
3
+ ## Principes d'intégration {#int-principles}
4
+
5
+ <!-- tad:pending integration.principles -->
6
+
7
+ ## Classification des flux selon les patterns Salesforce {#int-patterns}
8
+
9
+ <!-- tad:pending integration.patterns -->
10
+
11
+ ## Cartographie des flux {#int-map}
12
+
13
+ @@FIGURE:integrations|Cartographie des intégrations : systèmes connectés et points d'accès Salesforce@@
14
+
15
+ <!-- tad:pending integration.flows -->
16
+
17
+ ## Systèmes connectés {#int-systems}
18
+
19
+ <!-- tad:if facts.systems.named -->
20
+ @@ANNEX:systems@@
21
+ <!-- tad:endif -->
22
+
23
+ <!-- tad:pending integration.systems -->
24
+
25
+ <!-- tad:if counts.integration.restResources -->
26
+ ## API exposées {#int-inbound}
27
+
28
+ @@ANNEX:rest@@
29
+
30
+ <!-- tad:pending integration.inbound -->
31
+ <!-- tad:endif -->
32
+
33
+ <!-- tad:if modules.marketingCloud|modules.accountEngagement -->
34
+ ## Marketing Cloud {#int-marketing}
35
+
36
+ <!-- tad:pending integration.marketing -->
37
+ <!-- tad:endif -->
38
+
39
+ <!-- tad:if modules.commerce|modules.orderManagement -->
40
+ ## Commerce {#int-commerce}
41
+
42
+ <!-- tad:pending integration.commerce -->
43
+ <!-- tad:endif -->
44
+
45
+ ## Authentification et SSO {#int-sso}
46
+
47
+ <!-- tad:pending integration.sso -->
48
+
49
+ ## Domaines autorisés {#int-domains}
50
+
51
+ @@ANNEX:allowed-domains@@
52
+
53
+ <!-- tad:pending integration.domains -->
@@ -0,0 +1,59 @@
1
+ # Sécurité et habilitations {#ch-security}
2
+
3
+ ## Principes {#sec-principles}
4
+
5
+ <!-- tad:pending security.principles -->
6
+
7
+ ## Authentification et provisioning des utilisateurs {#sec-auth}
8
+
9
+ <!-- tad:pending security.auth -->
10
+
11
+ ## Personas et Permission Set Groups {#sec-personas}
12
+
13
+ <!-- tad:pending security.personas -->
14
+
15
+ ## Hiérarchie des rôles {#sec-roles}
16
+
17
+ @@FIGURE:roles|Hiérarchie des rôles@@
18
+
19
+ <!-- tad:pending security.roles -->
20
+
21
+ ## Modèle de partage {#sec-sharing}
22
+
23
+ ### Paramètres de partage par défaut {#sec-owd}
24
+
25
+ @@ANNEX:owd@@
26
+
27
+ <!-- tad:pending security.owd -->
28
+
29
+ ### Sharing Rules et Queues {#sec-rules}
30
+
31
+ @@ANNEX:sharing-rules@@
32
+
33
+ @@ANNEX:queues@@
34
+
35
+ <!-- tad:pending security.rules -->
36
+
37
+ ## Sécurité applicative {#sec-app}
38
+
39
+ <!-- tad:pending security.app -->
40
+
41
+ <!-- tad:if modules.shield -->
42
+ ## Shield et conformité {#sec-shield}
43
+
44
+ <!-- tad:pending security.shield -->
45
+ <!-- tad:endif -->
46
+
47
+ ## Paramètres de session et protections {#sec-session}
48
+
49
+ <!-- tad:pending security.session -->
50
+
51
+ ## Utilisateurs techniques d'intégration {#sec-integration-users}
52
+
53
+ <!-- tad:pending security.integrationUsers -->
54
+
55
+ <!-- tad:if modules.experienceCloud -->
56
+ ## Exposition publique {#sec-public}
57
+
58
+ <!-- tad:pending security.public -->
59
+ <!-- tad:endif -->
@@ -0,0 +1,13 @@
1
+ # Reporting et pilotage {#ch-reporting}
2
+
3
+ ## Rapports et tableaux de bord {#rep-reports}
4
+
5
+ @@ANNEX:reports@@
6
+
7
+ <!-- tad:pending reporting.reports -->
8
+
9
+ <!-- tad:if modules.crmAnalytics -->
10
+ ## CRM Analytics et Tableau {#rep-analytics}
11
+
12
+ <!-- tad:pending reporting.analytics -->
13
+ <!-- tad:endif -->
@@ -0,0 +1,25 @@
1
+ # Environnements, livraison et exploitation {#ch-operations}
2
+
3
+ ## Environnements {#ops-environments}
4
+
5
+ <!-- tad:pending operations.environments -->
6
+
7
+ ## Préparation et livraison d'une version {#ops-release}
8
+
9
+ <!-- tad:pending operations.release -->
10
+
11
+ ## Traitements planifiés {#ops-scheduled}
12
+
13
+ <!-- tad:if org.scheduledJobs -->
14
+ @@ANNEX:scheduled-jobs@@
15
+ <!-- tad:endif -->
16
+
17
+ <!-- tad:pending operations.scheduled -->
18
+
19
+ ## Journalisation et supervision {#ops-logging}
20
+
21
+ <!-- tad:pending operations.logging -->
22
+
23
+ ## Stratégie de tests {#ops-tests}
24
+
25
+ <!-- tad:pending operations.tests -->
@@ -0,0 +1,9 @@
1
+ # Exigences non fonctionnelles {#ch-nfr}
2
+
3
+ ## Dispositifs par exigence {#nfr-measures}
4
+
5
+ <!-- tad:pending nfr.measures -->
6
+
7
+ ## Lecture Salesforce Well-Architected {#nfr-well-architected}
8
+
9
+ <!-- tad:pending nfr.wellArchitected -->
@@ -0,0 +1,3 @@
1
+ # Décisions d'architecture {#ch-decisions}
2
+
3
+ <!-- tad:pending decisions.adr -->
@@ -0,0 +1,3 @@
1
+ # Perspectives d'évolution {#ch-outlook}
2
+
3
+ <!-- tad:pending outlook.roadmap -->
@@ -0,0 +1,119 @@
1
+ # Annexes {- #appendices}
2
+
3
+ ## Annexe {{letter}} — Apex : traitements asynchrones et services exposés {- #annex-apex}
4
+
5
+ @@ANNEX:async@@
6
+
7
+ <!-- tad:if counts.integration.restResources|counts.apex.soap -->
8
+ @@ANNEX:rest@@
9
+ <!-- tad:endif -->
10
+
11
+ ## Annexe {{letter}} — Triggers et Flows {- #annex-automation}
12
+
13
+ ### {{sub}} Triggers {-}
14
+
15
+ @@ANNEX:triggers@@
16
+
17
+ ### {{sub}} Flows {-}
18
+
19
+ @@ANNEX:flows@@
20
+
21
+ ## Annexe {{letter}} — Objets spécifiques {- #annex-objects}
22
+
23
+ @@ANNEX:objects@@
24
+
25
+ ### {{sub}} Objets standard étendus {-}
26
+
27
+ @@ANNEX:standard-objects@@
28
+
29
+ ### {{sub}} Règles de validation {-}
30
+
31
+ @@ANNEX:validation-rules@@
32
+
33
+ <!-- tad:if counts.cmdt.types -->
34
+ ## Annexe {{letter}} — Types de Custom Metadata {- #annex-cmdt}
35
+
36
+ @@ANNEX:cmdt@@
37
+ <!-- tad:endif -->
38
+
39
+ <!-- tad:if modules.omnistudio -->
40
+ ## Annexe {{letter}} — Composants OmniStudio actifs {- #annex-omnistudio}
41
+
42
+ ### {{sub}} OmniScripts {-}
43
+
44
+ @@ANNEX:omni-scripts@@
45
+
46
+ ### {{sub}} Integration Procedures {-}
47
+
48
+ @@ANNEX:integration-procedures@@
49
+
50
+ ### {{sub}} Data Mappers {-}
51
+
52
+ @@ANNEX:data-mappers@@
53
+ <!-- tad:endif -->
54
+
55
+ ## Annexe {{letter}} — Interface utilisateur {- #annex-ui}
56
+
57
+ ### {{sub}} Applications Lightning {- #annex-apps}
58
+
59
+ @@ANNEX:apps@@
60
+
61
+ ### {{sub}} Pages Lightning {-}
62
+
63
+ @@ANNEX:flexipages@@
64
+
65
+ ### {{sub}} Lightning Web Components {- #annex-lwc}
66
+
67
+ @@ANNEX:lwc@@
68
+
69
+ ## Annexe {{letter}} — Habilitations {- #annex-security}
70
+
71
+ ### {{sub}} Permission Set Groups {-}
72
+
73
+ @@ANNEX:psg@@
74
+
75
+ ### {{sub}} Permission sets {-}
76
+
77
+ @@ANNEX:permission-sets@@
78
+
79
+ ### {{sub}} Profils {-}
80
+
81
+ @@ANNEX:profiles@@
82
+
83
+ ### {{sub}} Rôles {-}
84
+
85
+ @@ANNEX:roles@@
86
+
87
+ ## Annexe {{letter}} — Points d'intégration {- #annex-integration}
88
+
89
+ ### {{sub}} Named Credentials {-}
90
+
91
+ @@ANNEX:named-credentials@@
92
+
93
+ ### {{sub}} External Credentials {-}
94
+
95
+ @@ANNEX:external-credentials@@
96
+
97
+ ### {{sub}} Applications connectées et fournisseurs d'authentification {-}
98
+
99
+ @@ANNEX:connected-apps@@
100
+
101
+ @@ANNEX:auth-providers@@
102
+
103
+ ### {{sub}} Domaines autorisés {-}
104
+
105
+ @@ANNEX:allowed-domains@@
106
+
107
+ ## Annexe {{letter}} — Packages et espaces de noms {- #annex-packages}
108
+
109
+ @@ANNEX:packages@@
110
+
111
+ ## Annexe {{letter}} — Traçabilité vers les métadonnées {- #annex-traceability}
112
+
113
+ @@ANNEX:traceability@@
114
+
115
+ @@ANNEX:inventory@@
116
+
117
+ ## Annexe {{letter}} — Glossaire {- #annex-glossary}
118
+
119
+ @@ANNEX:glossary@@
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Evidence Prime
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Niklas von Hertzen
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 - 2022 Knut Sveidqvist
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.