CI fixes for pull requests the agent opened outside a workflow
A failed CI run on a pull request owned by a ticket run now starts the ticket agent even when no workflow opened it.
Pull requests are now tracked in their own table, filled from every pull request webhook event, with who opened them and whether a run reported them. A pull request reported by a run keeps that ownership whatever later events say.
A failed CI run on such a pull request used to be dropped silently when the run that opened it did not come from a workflow, while the event was still marked as handled by the fix loop. It now starts the ticket's own agent on the pull request branch, with the failing checks, under the same iteration budget as before.