Repository navigation
Add detector events and the object operator to web detection - #3238
Draft
GuiltyDolphin wants to merge 3 commits into
Draft
GuiltyDolphin wants to merge 3 commits into
GuiltyDolphin wants to merge 3 commits into
Conversation
Contributor
[Beta] Generated file diffTime updated: Mon, 30 Nov 2026 12:59:36 GMT Android
File has changed AppleFile has changed Chrome-mv3File has changed FirefoxFile has changed IntegrationFile has changed WindowsFile has changed |
This was referenced Nov 23, 2026
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 24, 2026 16:53
734618b to
2daf800
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 13:15
2daf800 to
504bae4
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 13:28
504bae4 to
b24920e
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 17:46
507a337 to
6cc2c61
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 19:18
6cc2c61 to
3cfbce7
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 20:51
3cfbce7 to
1428f30
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 21:54
1428f30 to
7814836
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 25, 2026 22:29
7814836 to
a8a31a5
Compare
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 30, 2026 10:47
a8a31a5 to
ac9a06c
Compare
This adds the emit action, which records a detector event that observed, trigger, wait and observe read by name, and the object operator for building its data. Events are delivered once the emitting run ends or suspends, in the same call stack, so a request's reply resumes its caller in the same task, and runs they start there are capped by detectorEventMaxDepth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A detector event's run with no delayMs happens in the emitting task, so it's never pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C-S-S matches detector event names by exact string, so the name pattern is an authoring rule, which privacy-configuration CI checks on both emit and detectorEvent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GuiltyDolphin
force-pushed
the
gd-c-web-detection-detector-events
branch
from
November 30, 2026 12:57
ac9a06c to
56d9ff9
Compare
This branch has not been deployed
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.


Asana Task/Github Issue: https://app.asana.com/1/137249556945/task/1220838333588628
Description
Builds on #3237.
This lets detectors pass values to each other within a frame:
emitaction records a detector event with anameand optionaldata(any value, kept as evaluated, so an element stays an element and a list is an array). The item hasname,timeStamp,detector(the emitting detector's full ID) anddata. Detector events never reach EventHub or nativedetectorEventbodies onobserved,trigger,waitandobserveread them by name, like any other recorded type. A name nothing reads or waits on records nothingwait, in the same call stack, in the order they were emitted. Observers with nodelayMsrun there, as part of the emitting dispatch, and observers withdelayMsrun on a timer. So a caller that emits a request and waits for the reply resumes in the same task, once the callee has rundetectorEventMaxDepth: a run that a detector event starts in the emitting task is one deeper than the emitter. Anemitat the cap still records its item and startsdelayMsruns, but no runs in the task. Without the setting (or at 0), detector events start no runs in the task. The config build writes the defaultobjectoperator gives an object with a field per key, each defined on the object (so__proto__is a field like any other), computed in order. A failed value fails the object, and a list field is an array of its itemsTesting Steps
objectfields,__proto__, lists and reads throughusing; observers running after the emitter ends, the item'sdetectorandname,delayMs, the depth cap and the missing setting,observedreading the log, a request and reply resolved in one task and timed as one dispatch (caller, callee, caller resuming), names nothing reads, and parse errorsChecklist
Please tick all that apply:
🤖 Generated with Claude Code