Documentation Index
Fetch the complete documentation index at: https://docs.therefrain.ai/llms.txt
Use this file to discover all available pages before exploring further.
法務・コンプライアンスチームは、取引先の利用規約・ライセンス契約・規制ダッシュボードの変更を継続的に監視する必要があります。ポリシー変更を見逃すと、コンプライアンス違反や不利な契約条件の見落としにつながります。
Refrain はこれらのチェックを自動化します。対象ページを定期的に訪問し、主要なコンテンツを抽出し、変更が検出された場合は Slack でチームに通知します。承認ゲートにより、変更内容は必ず人間がレビューしてから次のアクションに進みます。
手順書の例
name: tos-change-monitor
url: https://vendor.example.com/terms
steps:
- action: wait
selector: ".terms-content"
- action: extract
selector: ".terms-content"
capture: current_terms
- action: extract
selector: ".last-updated"
capture: updated_date
requiresConfirmation: true
confirmationMessage: "規約の最終更新日: {{ updated_date }}。確認して承認してください。"
- action: export
format: csv
fields:
- name: url
value: "https://vendor.example.com/terms"
- name: updated_date
value: "{{ updated_date }}"
- name: content_snippet
value: "{{ current_terms }}"
生成と実行
手順書を生成する
npx @refrainai/cli generate -- \
--url https://vendor.example.com/terms \
--goal "利用規約の内容と最終更新日を取得する" \
--context ./context.md \
--output ./tos-monitor.yaml
Slack 承認付きで実行する
npx @refrainai/cli execute -- \
--runbook ./tos-monitor.yaml \
--approval-mode slack \
--notify slack
週次チェックをスケジュールする
Web コンソールのスケジューラーで週次のコンプライアンスチェックを設定します。
Refrain が向いている理由
- 変更検知 — 毎回ページコンテンツを抽出して比較。
- 承認ゲート — 変更が検出された際に人間のレビューを必須にできる。
- 監査証跡 — 毎回の実行でタイムスタンプ付きのレポートをエクスポート。
- 自己修復 — ページレイアウトの変更があっても監視が止まらない。
次のステップ
承認と通知
変更検出時の Slack 承認を設定する。
自動修正モード
ページ変更時に手順書を自動修正する。