1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off
crates/cre8-app-agent/src/steering.rs
Items
const GATED_ACTIONS const CONTROL_PLANE_READS struct SteeringDirective enum PermissionStatus impl PermissionStatus struct PermissionRequest impl PermissionRequest enum AgentRunState impl AgentRunState struct AgentControlStatus struct SteeringRegistryInner static STEERING_REGISTRY const OPERATOR
Functions
By call-graph weight (PageRank; 1.0 is the average function). 42 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| registrysrc/steering.rs:137 | fn | 3 | 1 | 10 | 0 | 5.5 | |
| verified_callersrc/steering.rs:402 | fn | 3 | 1 | 3 | 0 | 1.7 | |
| resolve_permissionsrc/steering.rs:292 | fn | 24 | 4 | 4 | 2 | 1.5 | |
| get_control_statesrc/steering.rs:223 | fn | 14 | 3 | 5 | 2 | 1.4 | |
| require_operatorsrc/steering.rs:407 | fn | 5 | 1 | 3 | 1 | 1.4 | |
| request_permissionsrc/steering.rs:241 | fn | 48 | 4 | 4 | 3 | 1.4 | |
| set_control_statesrc/steering.rs:202 | fn | 19 | 2 | 4 | 2 | 1.2 | |
| submit_directivesrc/steering.rs:142 | fn | 25 | 2 | 3 | 3 | 1.1 | |
| readable_agentsrc/steering.rs:427 | fn | 9 | 3 | 3 | 2 | 1.1 | |
| agent_dispatch_guardsrc/steering.rs:382 | fn | 16 | 4 | 3 | 3 | 1 | |
| PermissionRequest::is_usablesrc/steering.rs:90 | method | 3 | 2 | 2 | 0 | 0.9 | |
| agent_steersrc/steering.rs:444 | fn | 27 | 1 | 3 | 2 | 0.9 | |
| as_callersrc/steering.rs:647 | fn | 5 | 1 | 4 | 1 | 0.9 | |
| list_permissionssrc/steering.rs:341 | fn | 24 | 6 | 2 | 1 | 0.8 | |
| agent_steer_pollsrc/steering.rs:611 | fn | 23 | 2 | 2 | 4 | 0.8 | |
| agent_controlsrc/steering.rs:478 | fn | 31 | 5 | 2 | 4 | 0.8 | |
| poll_directivessrc/steering.rs:169 | fn | 16 | 6 | 2 | 1 | 0.8 | |
| agent_permission_resolvesrc/steering.rs:551 | fn | 26 | 1 | 2 | 2 | 0.8 | |
| consume_approved_permissionsrc/steering.rs:319 | fn | 20 | 2 | 1 | 3 | 0.8 | |
| gated_subjectsrc/steering.rs:376 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| handle_agent_permission_requestsrc/steering.rs:513 | fn | 32 | 1 | 3 | 3 | 0.8 | |
| operatorssrc/steering.rs:643 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| agent_permissionssrc/steering.rs:584 | fn | 20 | 3 | 1 | 3 | 0.7 | |
| require_selfsrc/steering.rs:415 | fn | 9 | 3 | 1 | 1 | 0.7 | |
| list_directivessrc/steering.rs:187 | fn | 13 | 2 | 1 | 1 | 0.6 | |
| handle_agent_steersrc/steering.rs:440 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_agent_controlsrc/steering.rs:474 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_agent_permission_resolvesrc/steering.rs:547 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_agent_permissionssrc/steering.rs:580 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_agent_steer_pollsrc/steering.rs:607 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| PermissionStatus::as_strsrc/steering.rs:55 | method | 7 | 3 | 0 | 0 | 0.5 | |
| PermissionRequest::matchessrc/steering.rs:94 | method | 3 | 3 | 0 | 0 | 0.5 | |
| AgentRunState::as_strsrc/steering.rs:109 | method | 7 | 3 | 0 | 0 | 0.5 | |
| clear_registry_for_testsrc/steering.rs:367 | fn | 7 | 2 | 0 | 1 | 0.5 | |
| test_steering_directives_flowsrc/steering.rs:654 | fn | 17 | 1 | 0 | 3 | 0.5 | |
| test_control_state_transitionssrc/steering.rs:673 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| requests_are_never_self_approved_and_resolve_oncesrc/steering.rs:685 | fn | 33 | 1 | 0 | 6 | 0.5 | |
| permission_request_cannot_name_another_agentsrc/steering.rs:720 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| guard_consumes_one_approval_per_gated_dispatchsrc/steering.rs:731 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| guard_refuses_work_while_paused_or_cancelledsrc/steering.rs:747 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| control_plane_writes_are_operator_onlysrc/steering.rs:760 | fn | 16 | 1 | 0 | 5 | 0.5 | |
| only_the_agent_consumes_its_directivessrc/steering.rs:778 | fn | 11 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.