Repository navigation
feat(webhooks): expose the 21 source signals from #219 - #25
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scored webhook contract
2026-10-12exposes exactly the 21 source signals from task #219.os_mismatchandos_mismatch2are independent required booleans, andai_bot/ai_browserare members of the same set. The four excluded flags are absent from the current schema; groups and owner attribution are separate.A dedicated legacy schema keeps retained older webhook and History bodies readable, including the previous versions that prohibited
os_mismatch2. Core-emitted synthetic current, AI bot and verified-browser payloads provide the new examples and contract fixtures. Scoring weights, weighted OS signal aggregation and score policy are unchanged.Paired Core #606 targets
development. AI source activation in Core is dev only; this public schema does not activate production. Docs #67 pins this commit after the OpenAPI PR is accepted.Task/evidence: shield.tasks #220.
Validation:
npm run lint: PASS; only the two existing Test delivery exceptions remain.npm run bundleandnpm test: PASS, 79 tests, including Core fixture validation, exact key-set/required-key checks, rejected extra flags and independent OS detector combinations.git diff --check: PASS.No npm release or deployment was performed. Real dev visit acceptance follows an authorized Core dev release.