- Log `note_posted` and `time_entry_posted` activities to `psa_activity_logs` after each successful PSA push in `psa_documentation_service.py`; errors are caught and logged without blocking the main push flow - Add `PsaFunnel`, `PsaDailyTrend`, and `EnhancedPsaMetrics` Pydantic schemas - Add `GET /analytics/flowpilot/psa-metrics?period=30d` endpoint (team_admin, rate-limited 15/min) returning time entry totals, push funnel (sessions → linked → doc pushed → time entry logged), and daily trend Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 KiB
28 KiB