Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FareedKhan-dev/long-running-agent
/ functions
Functions
438 in github.com/FareedKhan-dev/long-running-agent
⨍
Functions
438
◇
Types & classes
148
Method
record
(self, mission_id: str, entry: CostEntry)
src/lra/persistence/repositories.py:21
Function
register
Decorator: register a migrator that upgrades ``artifact`` from ``from_version`` to the next.
src/lra/state/migrations.py:18
Function
replay_histories
Replay every ``*.json`` history in ``history_dir``; raise on the first replay failure. Returns the number of histories successfully replayed.
src/lra/durable/replay_test_harness.py:18
Method
request
(self, req: GateRequest)
src/lra/contracts/hitl.py:54
Method
rerank
( self, query: str, hits: list[RetrievalHit], *, k: int | None = None )
src/lra/memory/rerank.py:36
Function
research_children
Fan out sub-agent child workflows concurrently and gather their briefs (failures dropped).
src/lra/durable/subagent_workflow.py:39
Function
resolver
(_: GateRequest)
tests/unit/test_hitl.py:38
Method
rounds_since_progress
(self)
src/lra/durable/ledgers.py:47
Method
run
(self, inp: SubAgentInput)
src/lra/durable/subagent_workflow.py:30
Method
run
(self, prompt: str)
src/lra/agents/claude_sdk_lead.py:30
Method
run
( self, *, objective: str, ctx: ToolContext, extra_context: str = "" )
src/lra/agents/specialists.py:21
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:34
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:55
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:77
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/web.py:49
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/web.py:106
Method
run
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/shell.py:24
Function
run_agent_cycle
Activity wrapper around one idempotent agent cycle.
src/lra/durable/activities.py:78
Function
run_local
Run a mission locally (no Temporal) until complete / blocked / over-budget.
src/lra/cli/main.py:38
Function
run_mutation_testing
Run mutation testing in ``workdir`` and parse killed/survived counts.
src/lra/verify/mutation.py:31
Function
run_subagent
Construct + run one sub-agent and return its condensed brief.
src/lra/durable/agent_activities.py:18
Method
score
(self)
src/lra/verify/mutation.py:26
Method
snapshot
Persist the session's state and return a restorable handle.
src/lra/contracts/sandbox.py:77
Method
snapshot
(self, session: SandboxSession)
src/lra/execution/sandbox_e2b.py:67
Method
snapshot
(self, session: SandboxSession)
src/lra/execution/sandbox_docker.py:106
Method
stalled
(self)
src/lra/durable/ledgers.py:51
Function
start_mission
Start (or attach to) a mission workflow keyed by mission id and await its result. The workflow id IS the mission id, so re-invoking is idempotent
src/lra/durable/worker.py:44
Method
status
Current status — lets a human distinguish SLEEPING from WAITING_ON_HUMAN.
src/lra/durable/workflows.py:113
Method
system_anchor_text
Return the mission anchor recited into the agent's context every cycle. This is the anti-drift mechanism: a compact, authoritative restatemen
src/lra/contracts/mission.py:35
Function
test_agent_loop_blocks_on_failed_verification
(tmp_path: Path)
tests/unit/test_agent_loop.py:91
Function
test_agent_loop_uses_tool_then_completes
(tmp_path: Path)
tests/unit/test_agent_loop.py:57
Function
test_allow_list_and_mutating_policy
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:81
Function
test_append_event_is_idempotent_path
(tmp_path: Path)
tests/unit/test_mission_anchor.py:113
Function
test_auto_policy_approves_reversible
()
tests/unit/test_hitl.py:12
Function
test_auto_policy_defaults_irreversible
()
tests/unit/test_hitl.py:22
Function
test_blackboard_response_board_separation
()
tests/unit/test_named_modules.py:17
Function
test_bm25_ranks_keyword_match_first
()
tests/unit/test_hybrid_memory.py:27
Function
test_build_provider_returns_stub_by_default
()
tests/unit/test_stub_model.py:56
Function
test_callback_gate_falls_back_to_default
()
tests/unit/test_hitl.py:47
Function
test_callback_gate_uses_human_decision
()
tests/unit/test_hitl.py:37
Function
test_checkpoint_advances_and_survives_restart
(tmp_path: Path)
tests/unit/test_mission_anchor.py:62
Function
test_claimcheck_offloads_large_payloads
(tmp_path: Path)
tests/durability/test_hardening.py:27
Function
test_claude_maps_system_content_blocks_and_cost
()
tests/unit/test_model_backends.py:89
Function
test_compaction_noop_when_short
()
tests/unit/test_more_modules.py:61
Function
test_compaction_summarizes_old_turns
()
tests/unit/test_more_modules.py:47
Function
test_completion_detected_when_all_done
(tmp_path: Path)
tests/unit/test_mission_anchor.py:95
Function
test_consolidate_falls_back_on_garbage
()
tests/unit/test_hybrid_memory.py:64
Function
test_consolidate_parses_facts
()
tests/unit/test_hybrid_memory.py:56
Function
test_continue_as_new_completes
(tmp_path: Path)
tests/durability/test_durable_spine.py:103
Function
test_cosine_basics
()
tests/unit/test_memory.py:53
Function
test_cost_ledger_totals
()
tests/unit/test_governor.py:10
Function
test_crash_after_side_effect_is_idempotent
(tmp_path: Path)
tests/durability/test_durable_spine.py:84
Function
test_credential_broker_swaps_placeholders
()
tests/unit/test_safety.py:37
Function
test_decision_log_append_and_read
(tmp_path: Path)
tests/unit/test_named_modules.py:28
Function
test_declare_impossible_threshold
()
tests/unit/test_ops_and_trust.py:33
Function
test_doc_schema_migrators
()
tests/unit/test_more_modules.py:89
Function
test_egress_allowed_when_enabled
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:58
Function
test_egress_is_default_denied
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:44
Function
test_egress_policy_is_default_deny
()
tests/unit/test_safety.py:29
Function
test_empty_params_default
()
tests/unit/test_tool_schemas.py:30
Function
test_episodic_log_append_tail
()
tests/unit/test_named_modules.py:36
Function
test_eval_suite_aggregates_pass_rate
()
tests/unit/test_evals.py:13
Function
test_evolution_gate_promotes_when_not_worse
()
tests/unit/test_more_modules.py:68
Function
test_failover_raises_when_all_fail
()
tests/unit/test_more_modules.py:40
Function
test_failover_uses_backup
()
tests/unit/test_more_modules.py:33
Function
test_flaky_quarantine_partitions
()
tests/unit/test_named_modules.py:46
Function
test_governor_allows_within_budget
()
tests/unit/test_governor.py:24
Function
test_governor_denies_at_max_cycles
()
tests/unit/test_governor.py:42
Function
test_governor_denies_when_projected_exceeds_ceiling
()
tests/unit/test_governor.py:33
Function
test_hash_embedder_is_deterministic_and_unit_norm
()
tests/unit/test_memory.py:14
Function
test_hybrid_retriever_combines_signals
()
tests/unit/test_hybrid_memory.py:42
Function
test_initialize_creates_committed_anchor
(tmp_path: Path)
tests/unit/test_mission_anchor.py:35
Function
test_judge_defaults_to_fail_on_garbage
()
tests/unit/test_self_improvement.py:43
Function
test_judge_parses_verdict
()
tests/unit/test_self_improvement.py:32
Function
test_local_sandbox_exec_and_file_io
(tmp_path: Path)
tests/unit/test_execution.py:24
Function
test_local_sandbox_snapshot_returns_git_head
(tmp_path: Path)
tests/unit/test_execution.py:74
Function
test_long_run_bounded_history_with_continue_as_new
(tmp_path: Path)
tests/load/test_long_run.py:28
Function
test_loop_detector_trips_after_threshold
()
tests/unit/test_governor.py:49
Function
test_mission_completes
(tmp_path: Path)
tests/durability/test_durable_spine.py:52
Function
test_no_park_when_only_optional_degraded
()
tests/unit/test_ops_and_trust.py:22
Function
test_noop_reranker_is_passthrough
()
tests/unit/test_hybrid_memory.py:50
Function
test_object_store_roundtrip_and_dedup
(tmp_path: Path)
tests/durability/test_hardening.py:18
Function
test_openai_compat_maps_request_and_response
()
tests/unit/test_model_backends.py:25
Function
test_openai_compat_parses_tool_calls
()
tests/unit/test_model_backends.py:57
Function
test_orchestrator_completes_mission_with_org
(tmp_path: Path)
tests/unit/test_orchestrator.py:16
Function
test_ownership_single_writer_per_file
()
tests/unit/test_coordination.py:27
Function
test_parse_action_variants
()
tests/unit/test_agent_loop.py:39
Function
test_parse_checklist_empty_on_garbage
()
tests/unit/test_planner.py:26
Function
test_parse_checklist_from_json_array
()
tests/unit/test_planner.py:12
Function
test_parse_checklist_tolerates_prose_wrapping
()
tests/unit/test_planner.py:19
Function
test_parse_coverage_pct
()
tests/unit/test_ops_and_trust.py:38
Function
test_planner_falls_back_to_single_item
()
tests/unit/test_planner.py:40
Function
test_planner_uses_model_output
()
tests/unit/test_planner.py:31
Function
test_progress_ledger_detects_stall
()
tests/unit/test_self_improvement.py:22
Function
test_reconcile_adopts_existing_respawns_missing
(tmp_path: Path)
tests/durability/test_hardening.py:79
Function
test_reflection_returns_postmortem
()
tests/unit/test_self_improvement.py:51
Function
test_research_fanout_one_brief_per_query
(tmp_path: Path)
tests/unit/test_subagent.py:56
Function
test_rrf_fuses_rankings
()
tests/unit/test_hybrid_memory.py:34
Function
test_rule_of_two_allows_two
()
tests/unit/test_safety.py:16
Function
test_rule_of_two_blocks_trifecta
()
tests/unit/test_safety.py:22
← previous
next →
301–400 of 438, ranked by callers