CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m16s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 20m17s
The back-sync of #960 only listened to the managed git source's organisation webhook, which most targets do not have: repositories with a Gitea issue tracker get no webhook at all. Every GIT_SOURCE_SYNC_MINUTES (30 by default) the agent now lists the issues of each target that has Prüfwerk issues, one listing per repository, and compares their state with its records. For an issue whose state differs it reads the timeline to see who closed or reopened it; a person's change is carried back exactly as a webhook delivery is (same rules: an undecided finding is resolved as "closed in the ticket", a decision already made stays, a CVE issue only records the close). Changes by the bot user that opened the issue are left alone. Targets are polled one after the other, so a small Gitea sees one listing at a time; tenants go through the same entitlement check as the webhook. Where the webhook delivered a change already, the records match and the poll does nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>