jaikit-flows
Login

patterns_weekly_veille — Veille hebdo jaikit-patterns

sha=9aa29416c4e6 · visibility=admin · tags=patterns, weekly, search
🚫 Workflow bloqué — composants manquants (4)

Le bouton "Run now" est désactivé tant que ces erreurs ne sont pas résolues.

id: patterns_weekly_veille
name: Veille hebdo jaikit-patterns
description: |
  Lundi 07:00 : pour chaque thème, top-10 DuckDuckGo → ingest dans
  l'inbox patterns → notif récap.

owner: admin
visibility: admin
tags: [patterns, weekly, search]

triggers:
  - type: cron
    expr: "0 7 * * 1"
    timezone: Europe/Paris

inputs:
  themes:
    type: list
    default:
      - {id: vibe-coding,        query: "vibe coding LLM agent 2026"}
      - {id: ia-gratuite,        query: "free local LLM open source 2026"}
      - {id: ollama-selfhosted,  query: "ollama deployment self-hosted"}
      - {id: methodes-prog-ia,   query: "AI-assisted programming workflow"}
      - {id: ev-hybrid,          query: "EV hybrid car news"}
      - {id: robotique-ia,       query: "robotics AI 2026"}
      - {id: medical-ia,         query: "medical AI applications"}

env:
  PATTERNS_ROOT: /mnt/d/BOULOT/jaikit-patterns

steps:

  - id: search_each
    node: search.ddg
    foreach: ${{ inputs.themes }}
    with:
      query: ${{ each.query }}
      top_k: 10

  - id: ingest_each
    node: jaikit.patterns_ingest
    foreach: ${{ steps.search_each.outputs }}
    with:
      url: ${{ each.hits[0].url }}
      theme: ${{ each.hits[0].source }}
      title: ${{ each.hits[0].title }}
      snippet: ${{ each.hits[0].snippet }}
      patterns_root: ${{ env.PATTERNS_ROOT }}

  - id: notify
    node: notif.telegram
    with:
      message: |
        🧠 Veille patterns hebdo : ${{ steps.ingest_each.outputs | length }} fiches en inbox.
        Review : https://jaikit.fr/audit

on_failure:
  - id: notify_fail
    node: notif.telegram
    with:
      message: "❌ patterns_weekly_veille a échoué — run ${{ run.id }}"