| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Assisted-by: ClaudeCode:claude-sonnet-5 Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Summary
Introduce the concept of actors, characterised by their properties and used to build a shared vocabulary apps can use to transport, accept and return [actor + identity] information without necessarily having to deal with the implementation details of their backends.
Structure
IActor interface
Actor characteristics
Actors should be characterised by their properties in a generalised way, so that consumers can narrow on them, without necessarily having to deal with the details of the implementation.
In the future, this could be used to describe a bot actor with system-wide access, or acting on behalf of a user. This can also generalise to AI agents.
Code using this vocabulary could then write API that is able to deal with different actor types that fit certain characteristics.
Example:
Baseline actors
An initial set of actors is provided in this implementation. Consumers should prefer narrowing on the interfaces rather than on concrete types. An exception to this rule is when a consumer needs to support one specific actor type, as new actor additions do not introduce ambiguities in existing code in this case.
Checklist
AI (if applicable)