feat: implement issue #2316 — [ADR-0007] Sync the markets pilot package to markets#523 (ci-failure-analyst → v1-stable, self-exclusion guard fix)
Problem
[ADR-0007] Sync the markets pilot package to markets#523 (ci-failure-analyst → v1-stable, self-exclusion guard fix)
From the issue: petry-projects/markets#523 merged on 2026-10-12 as 9310b6e60001b9934f649c4ebe0f4abcdf3c3097. It changed one job in markets' collapsed .github/workflows/agent-ingress.yml (new blob a0c97e13afcbb8f8cd91f7b264327295e4db9b08), the ci-failure-analyst job:
Risk
Low — 5 file(s) changed; no CI- or runtime-critical paths touched.
Test plan
Tests added/updated: tests/agent_ingress_markets_package.bats,tests/fixtures/agent-ingress/markets-agent-ingress.yml tests/fixtures/agent-ingress/markets-pinned-reusables/ci-failure-analyst-reusable.yml,tests/fleet_stub_registry.bats. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.
Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's CI checks (Lint + bats) are the success/regression signal.
Closes #2316