API Reference
Class
AgentWorkStateRules
Pure association and attention rules, with caller-supplied time for deterministic evaluation.
Inheritance
- Object
- AgentWorkStateRules
Methods
public static AgentWorkSnapshot Evaluate(IEnumerable<AgentSessionState> sessions, IEnumerable<AgentPullRequestState> pullRequests, DateTimeOffset nowUtc, TimeSpan? staleAfter = null, IReadOnlyList<AgentSourceDiagnostic>? diagnostics = null) #Returns:
AgentWorkSnapshotLinks sessions to PRs and evaluates attention. No files, network or process state are read.
Parameters
- sessions System.Collections.Generic.IEnumerable<IntelligenceX.Telemetry.Agents.AgentSessionState>
- Local provider metadata.
- pullRequests System.Collections.Generic.IEnumerable<IntelligenceX.Telemetry.Agents.AgentPullRequestState>
- GitHub metadata for the selected user.
- nowUtc System.DateTimeOffset
- Snapshot time.
- staleAfter System.TimeSpan? = null
- Inactivity threshold for sessions with an open PR; defaults to seven days.
- diagnostics System.Collections.Generic.IReadOnlyList<IntelligenceX.Telemetry.Agents.AgentSourceDiagnostic>? = null
- Optional source-read diagnostics.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?