Repository navigation
What should a portable host-event model actually guarantee? #1
VeloraTech
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
NativeRelay started from a practical problem in AgentTrace.
I wanted AgentTrace to distinguish things like:
The problem is that operating systems expose this information through very different native mechanisms, with different permissions, guarantees, event types, and limitations.
Rather than building a platform-specific implementation directly into AgentTrace, I'm exploring NativeRelay as a separate open-source infrastructure layer.
The idea is simple:
But there is an important design question:
I don't think the answer should be "make every platform look identical."
Instead, I'm currently leaning toward a model where NativeRelay provides a common event structure while explicitly preserving platform capabilities and limitations.
For example, an event might contain:
{ "type": "file.access", "operation": "open", "path": "/project/.env", "pid": 4821, "platform": "linux", "source": "fanotify", "confidence": "observed" }But another platform may not be able to provide the same information with the same guarantees.
Questions
I'd particularly like input from people working with:
fanotifySome things I'm currently trying to answer:
observed,derived, andinferredinformation at the schema level?This isn't a request for a finished architecture.
I'm interested in finding the boundaries of what a useful abstraction can realistically guarantee without lying about what the underlying OS actually observed.
If you work in this area, I'd especially appreciate criticism of the approach.
All reactions