mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
FINDING 1: Updated module docstring in handlers_build.py to accurately reflect that build.complete's completion summary is emitted by the governance-tail handlers (handle_governance_feedback for automatic/disabled policies, or handle_await_learning for the ask policy). FINDING 2: Strengthened two per-policy governance tests to include notice kind assertions: - test_governance_automatic_learns_and_reaches_complete: add assert "notice" in kinds - test_await_learning_accept_learns_and_completes: add assert "notice" in kinds Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>