Commit Graph
2 Commits
Author SHA1 Message Date
cflmy 23dd830571 fix: run the root governance gates on Windows
- read .gitmodules, AGENTS.md and JSON fixtures as UTF-8 instead of the locale codec
- materialize the credential pattern file before git grep so Windows file locking cannot skip the scan
- clear read-only Git object bits when fixture trees are removed
- probe symlink support and skip only the symlink-only negative fixtures, keeping the NFC checks
- add a small platform helper for the integration tests
2026-12-03 08:57:41 +08:00
cflmy 4a92201708 feat: trusted candidate webhook adapter and lost-notification reconciliation
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
- scripts/webhook-adapter.py authenticates the raw Gitea body with the repo
  webhook secret (HMAC-SHA256), whitelists push/pull_request candidate actions,
  resolves the repository from the accepted root graph, uses the accepted pin as
  base (payload base is only a hint), aggregates CI strictly, and delegates to
  the existing candidate-notify verifier for reachability, dedupe/replay,
  baseline revalidation and impact.
- --reconcile scans open PRs in allowlisted repositories, recovers candidates
  whose fast notification was lost with the same idempotent state, retries
  transient API errors with bounded backoff, fails closed on 401/403, and
  reports errors without claiming a downstream success.
- 8 focused adapter tests plus the full 79-test integration suite pass on real
  temporary Git fixtures. Docs/evidence record the trust rules and that the
  platform webhook/cron deployment itself is still external (#10 M0).

Refs cflmy/marqdo#3, cflmy/marqdo#10
2026-11-27 09:30:26 +08:00