Skip to content

fix(webhooks): parse simplified payload and preserve bot owners (python) - #9

Merged
KonstantinSerebryakov merged 2 commits into
feat/webhook-contractfrom
fix/webhook-simplify
Oct 7, 2026
Merged

KonstantinSerebryakov merged 2 commits into
feat/webhook-contractfrom
fix/webhook-simplify

Conversation

@KonstantinSerebryakov

@KonstantinSerebryakov KonstantinSerebryakov commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Current identification.scored payloads repeat detection data across signals, risk_events and flags, expose two OS mismatch keys, and lack HRE cluster references and bot owner labels. This change adopts schema 2026-10-07: one public os_mismatch, no current risk_events or fingerprint/HRE mirrors, nullable authoritative hre.*.cluster_id, and optional bot owner labels. request_id remains the scan/API join key; event_id remains the retry deduplication key. Owner identifies the provider company (for example OpenAI); agent/product attribution stays separate in client_identity.

Preserves optional provider labels and HRE cluster references in the supported client parser/model. Current fixtures omit risk_events, fingerprint and os_mismatch2; old parsers remain for compatibility. Refreshes the vendored OpenAPI definition and current schema constant.

Stacked on #7. Merge the parent contract first.

Validation: All 584 tests pass; Ruff passes for changed model and contract test files. No package publishing.

Related contract changes:

Regenerated alternate OpenAPI models with pinned openapi-generator v7.23.0; the Generated API types CI check passes.

@KonstantinSerebryakov
KonstantinSerebryakov merged commit 7fe5828 into feat/webhook-contract Oct 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant