Pack Marketing
Modèle de pack Marketing : assistant pour les campagnes, sur des données fictives avec un connecteur marketing-automation simulé.
Référence
| Champ | Valeur |
|---|---|
| Nom | marketing |
| Version | 1.0.0 |
| Licence | MIT |
| Type | Gabarit |
format | pack |
domain | marketing |
| Catégorie | marketing |
namespace | enterprise-ai-packs |
publisher | Enterprise AI reference packs |
owner | enterprise-ai-packs |
compatibility.platform | >=1.0.0 <2.0.0 |
compatibility.sdk | >=1.0.0 <2.0.0 |
compatibility.runtimes | navin |
dependencies | Aucun |
| Source | packs/templates/marketing/plugin.yaml |
| Documentation | packs/templates/marketing/docs/en/README.md, packs/templates/marketing/docs/fr/README.md |
Capacités
| Type | Nom |
|---|---|
tool | marketing-search |
tool | marketing-update-status |
connector | marketing-marketing-automation |
policy | marketing |
Permissions demandées
L'administrateur en accorde une partie à l'installation ; seuls les scopes accordés s'appliquent.
| Scope | Sensible | Classification | Raison |
|---|---|---|---|
marketing.campaigns.read | Non | internal | Lire les fiches de campagne pour répondre aux questions. |
marketing.campaigns.write | Oui | internal | Modifier le statut d'une campagne après une approbation humaine. |
Protection des données
| Champ | Valeur |
|---|---|
classification_max | internal |
pii | false |
residency | eu-west-1 |
retention_days | 30 |
dlp | mask |
fictitious_data | true |
piiDetectionRequired | true |
maskingPolicy | mask |
externalExportDefault | deny |
Approbations
Requises pour : install, upgrade, sensitivePermissions, production, externalExport, resume.
| Étape | Quorum | Rôles |
|---|---|---|
install | 1 | tenant_admin, security_officer |
sensitive | 2 | tenant_admin, security_officer |
production | 2 | tenant_admin, security_officer |
Indicateurs de sécurité et de test
| Champ | Valeur |
|---|---|
security.signedArtifactRequired | true |
security.sandboxRequired | true |
security.dynamicAuthorization | true |
security.auditRequired | true |
testFlags.sdkConformance | true |
testFlags.authorization | true |
testFlags.security | true |
Configuration
Propriétés de spec.configSchema, renseignées par l'administrateur à l'installation :
| Nom | Type | Contraintes |
|---|---|---|
model_id | string | {"minLength": 3} |
mcp_servers | object | {"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}} |
Composants
| Type | Nom | Version | Description | Détails | Chemin |
|---|---|---|---|---|---|
| Agent | marketing-assistant | 1.0.0 | Répond aux questions sur les fiches de campagne et prépare les changements de statut soumis à une approbation humaine. | risk_level: limited, autonomy.level: supervised, tools tool:marketing-search, tool:marketing-update-status | packs/templates/marketing/agents/marketing-assistant.yaml |
| Sous-agent | marketing-reviewer | 1.0.0 | Vérifie un changement de statut proposé pour une campagne au regard des règles, avant l'approbation humaine. | risk_level: minimal, autonomy.level: assisted, tools tool:marketing-search | packs/templates/marketing/subagents/marketing-reviewer.yaml |
| Prompt | marketing-summary | - | Synthèse d'une fiche de campagne pour un utilisateur métier. | variables record_id, audience, language | packs/templates/marketing/prompts/marketing-summary.yaml |
| Serveur MCP | marketing-mcp | - | Serveur MCP du pack Marketing (SDK MCP Python officiel, licence MIT). | transport: streamable_http, tools marketing_search, marketing_update_status | packs/templates/marketing/mcp/servers/marketing-mcp.yaml |
| Outil MCP | marketing-search | 1.0.0 | Rechercher des fiches fictives de campagne via le serveur MCP du pack. | action: read, scopes marketing.campaigns.read, risk_level: limited, requires_approval: false | packs/templates/marketing/mcp/tools/marketing-search.yaml |
| Outil MCP | marketing-update-status | 1.0.0 | Modifier le statut d'une fiche fictive de campagne, de façon idempotente, après une approbation humaine. | action: write, scopes marketing.campaigns.write, risk_level: high, requires_approval: true | packs/templates/marketing/mcp/tools/marketing-update-status.yaml |
| Connecteur | marketing-marketing-automation | 1.0.0 | Connecteur marketing-automation du pack Marketing. Simulé sur des données fictives tant que le tenant ne l'a pas configuré. | system: marketing-automation, auth.type: api_key, scopes marketing.campaigns.read, marketing.campaigns.write | packs/templates/marketing/connectors/marketing-marketing-automation.yaml |
| Workflow | marketing-status-change | - | Changement de statut d'une campagne, avec une revue et une approbation à quatre yeux. | steps search, review, approval, apply, on_failure: stop | packs/templates/marketing/workflows/marketing-status-change.yaml |
| Base de connaissances | marketing-knowledge | - | Modèle de base de connaissances du pack Marketing (documents fictifs). | classification: internal | packs/templates/marketing/rag/config.yaml |
| Skill | marketing-guidelines | 1.0.0 | Comment l'assistant Marketing traite les fiches de campagne. | scopes marketing.campaigns.read, data_classification_max: internal | packs/templates/marketing/skills/marketing-guidelines/SKILL.md |
Évaluations et tests
| Nom | Type | Chemin | Seuil |
|---|---|---|---|
marketing-answers | promptfoo | evaluations/promptfoo.yaml | 1.0 |
marketing-retrieval | ragas | evaluations/ragas.jsonl | 0.8 |
| Type | Chemin |
|---|---|
unit | tests/unit |
integration | tests/integration |
authz | tests/authz |
security | tests/security |
opa | policies/opa |
Fichiers
| Type | Chemin |
|---|---|
| Règles | packs/templates/marketing/rules/marketing-rules.md |
| Politiques | packs/templates/marketing/policies/opa/marketing.rego, packs/templates/marketing/policies/opa/marketing_test.rego, packs/templates/marketing/policies/openfga/model.fga, packs/templates/marketing/policies/openfga/tests.fga.yaml |
| Observabilité | packs/templates/marketing/observability/alerts/marketing.yaml |
| Documents de la base de connaissances | packs/templates/marketing/rag/documents/guide.md |
L'installer
Validez, construisez, signez et publiez le pack, puis installez-le depuis la Marketplace : le contrôle préalable vérifie les capacités et la configuration avant l'installation.
enterprise-ai plugin validate packs/templates/marketing
enterprise-ai plugin build packs/templates/marketing --out /tmp/marketing-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/templates/marketing --out /tmp/marketing-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/templates/marketing --out /tmp/marketing-dist --key cosign.key \
--oci <registry>/packs/marketing:1.0.0
cosign.key : clé de signature de votre organisation. <publisher> : nom de l'éditeur enregistré dans la Marketplace. <registry> : registre OCI de la Marketplace. Appelez ensuite POST /v1/marketplace/preflight puis POST /v1/marketplace/installations, voir le guide de la Marketplace.