MCPcopy Create free account

hub / github.com/FareedKhan-dev/long-running-agent / functions

Functions438 in github.com/FareedKhan-dev/long-running-agent

Methodrecord
(self, mission_id: str, entry: CostEntry)
src/lra/persistence/repositories.py:21
Functionregister
Decorator: register a migrator that upgrades ``artifact`` from ``from_version`` to the next.
src/lra/state/migrations.py:18
Functionreplay_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
Methodrequest
(self, req: GateRequest)
src/lra/contracts/hitl.py:54
Methodrerank
( self, query: str, hits: list[RetrievalHit], *, k: int | None = None )
src/lra/memory/rerank.py:36
Functionresearch_children
Fan out sub-agent child workflows concurrently and gather their briefs (failures dropped).
src/lra/durable/subagent_workflow.py:39
Functionresolver
(_: GateRequest)
tests/unit/test_hitl.py:38
Methodrounds_since_progress
(self)
src/lra/durable/ledgers.py:47
Methodrun
(self, inp: SubAgentInput)
src/lra/durable/subagent_workflow.py:30
Methodrun
(self, prompt: str)
src/lra/agents/claude_sdk_lead.py:30
Methodrun
( self, *, objective: str, ctx: ToolContext, extra_context: str = "" )
src/lra/agents/specialists.py:21
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:34
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:55
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/fs.py:77
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/web.py:49
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/web.py:106
Methodrun
(self, arguments: dict[str, object], ctx: ToolContext)
src/lra/execution/tools/shell.py:24
Functionrun_agent_cycle
Activity wrapper around one idempotent agent cycle.
src/lra/durable/activities.py:78
Functionrun_local
Run a mission locally (no Temporal) until complete / blocked / over-budget.
src/lra/cli/main.py:38
Functionrun_mutation_testing
Run mutation testing in ``workdir`` and parse killed/survived counts.
src/lra/verify/mutation.py:31
Functionrun_subagent
Construct + run one sub-agent and return its condensed brief.
src/lra/durable/agent_activities.py:18
Methodscore
(self)
src/lra/verify/mutation.py:26
Methodsnapshot
Persist the session's state and return a restorable handle.
src/lra/contracts/sandbox.py:77
Methodsnapshot
(self, session: SandboxSession)
src/lra/execution/sandbox_e2b.py:67
Methodsnapshot
(self, session: SandboxSession)
src/lra/execution/sandbox_docker.py:106
Methodstalled
(self)
src/lra/durable/ledgers.py:51
Functionstart_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
Methodstatus
Current status — lets a human distinguish SLEEPING from WAITING_ON_HUMAN.
src/lra/durable/workflows.py:113
Methodsystem_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
Functiontest_agent_loop_blocks_on_failed_verification
(tmp_path: Path)
tests/unit/test_agent_loop.py:91
Functiontest_agent_loop_uses_tool_then_completes
(tmp_path: Path)
tests/unit/test_agent_loop.py:57
Functiontest_allow_list_and_mutating_policy
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:81
Functiontest_append_event_is_idempotent_path
(tmp_path: Path)
tests/unit/test_mission_anchor.py:113
Functiontest_auto_policy_approves_reversible
()
tests/unit/test_hitl.py:12
Functiontest_auto_policy_defaults_irreversible
()
tests/unit/test_hitl.py:22
Functiontest_blackboard_response_board_separation
()
tests/unit/test_named_modules.py:17
Functiontest_bm25_ranks_keyword_match_first
()
tests/unit/test_hybrid_memory.py:27
Functiontest_build_provider_returns_stub_by_default
()
tests/unit/test_stub_model.py:56
Functiontest_callback_gate_falls_back_to_default
()
tests/unit/test_hitl.py:47
Functiontest_callback_gate_uses_human_decision
()
tests/unit/test_hitl.py:37
Functiontest_checkpoint_advances_and_survives_restart
(tmp_path: Path)
tests/unit/test_mission_anchor.py:62
Functiontest_claimcheck_offloads_large_payloads
(tmp_path: Path)
tests/durability/test_hardening.py:27
Functiontest_claude_maps_system_content_blocks_and_cost
()
tests/unit/test_model_backends.py:89
Functiontest_compaction_noop_when_short
()
tests/unit/test_more_modules.py:61
Functiontest_compaction_summarizes_old_turns
()
tests/unit/test_more_modules.py:47
Functiontest_completion_detected_when_all_done
(tmp_path: Path)
tests/unit/test_mission_anchor.py:95
Functiontest_consolidate_falls_back_on_garbage
()
tests/unit/test_hybrid_memory.py:64
Functiontest_consolidate_parses_facts
()
tests/unit/test_hybrid_memory.py:56
Functiontest_continue_as_new_completes
(tmp_path: Path)
tests/durability/test_durable_spine.py:103
Functiontest_cosine_basics
()
tests/unit/test_memory.py:53
Functiontest_cost_ledger_totals
()
tests/unit/test_governor.py:10
Functiontest_crash_after_side_effect_is_idempotent
(tmp_path: Path)
tests/durability/test_durable_spine.py:84
Functiontest_credential_broker_swaps_placeholders
()
tests/unit/test_safety.py:37
Functiontest_decision_log_append_and_read
(tmp_path: Path)
tests/unit/test_named_modules.py:28
Functiontest_declare_impossible_threshold
()
tests/unit/test_ops_and_trust.py:33
Functiontest_doc_schema_migrators
()
tests/unit/test_more_modules.py:89
Functiontest_egress_allowed_when_enabled
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:58
Functiontest_egress_is_default_denied
(tmp_path: Path)
tests/unit/test_tools_dispatcher.py:44
Functiontest_egress_policy_is_default_deny
()
tests/unit/test_safety.py:29
Functiontest_empty_params_default
()
tests/unit/test_tool_schemas.py:30
Functiontest_episodic_log_append_tail
()
tests/unit/test_named_modules.py:36
Functiontest_eval_suite_aggregates_pass_rate
()
tests/unit/test_evals.py:13
Functiontest_evolution_gate_promotes_when_not_worse
()
tests/unit/test_more_modules.py:68
Functiontest_failover_raises_when_all_fail
()
tests/unit/test_more_modules.py:40
Functiontest_failover_uses_backup
()
tests/unit/test_more_modules.py:33
Functiontest_flaky_quarantine_partitions
()
tests/unit/test_named_modules.py:46
Functiontest_governor_allows_within_budget
()
tests/unit/test_governor.py:24
Functiontest_governor_denies_at_max_cycles
()
tests/unit/test_governor.py:42
Functiontest_governor_denies_when_projected_exceeds_ceiling
()
tests/unit/test_governor.py:33
Functiontest_hash_embedder_is_deterministic_and_unit_norm
()
tests/unit/test_memory.py:14
Functiontest_hybrid_retriever_combines_signals
()
tests/unit/test_hybrid_memory.py:42
Functiontest_initialize_creates_committed_anchor
(tmp_path: Path)
tests/unit/test_mission_anchor.py:35
Functiontest_judge_defaults_to_fail_on_garbage
()
tests/unit/test_self_improvement.py:43
Functiontest_judge_parses_verdict
()
tests/unit/test_self_improvement.py:32
Functiontest_local_sandbox_exec_and_file_io
(tmp_path: Path)
tests/unit/test_execution.py:24
Functiontest_local_sandbox_snapshot_returns_git_head
(tmp_path: Path)
tests/unit/test_execution.py:74
Functiontest_long_run_bounded_history_with_continue_as_new
(tmp_path: Path)
tests/load/test_long_run.py:28
Functiontest_loop_detector_trips_after_threshold
()
tests/unit/test_governor.py:49
Functiontest_mission_completes
(tmp_path: Path)
tests/durability/test_durable_spine.py:52
Functiontest_no_park_when_only_optional_degraded
()
tests/unit/test_ops_and_trust.py:22
Functiontest_noop_reranker_is_passthrough
()
tests/unit/test_hybrid_memory.py:50
Functiontest_object_store_roundtrip_and_dedup
(tmp_path: Path)
tests/durability/test_hardening.py:18
Functiontest_openai_compat_maps_request_and_response
()
tests/unit/test_model_backends.py:25
Functiontest_openai_compat_parses_tool_calls
()
tests/unit/test_model_backends.py:57
Functiontest_orchestrator_completes_mission_with_org
(tmp_path: Path)
tests/unit/test_orchestrator.py:16
Functiontest_ownership_single_writer_per_file
()
tests/unit/test_coordination.py:27
Functiontest_parse_action_variants
()
tests/unit/test_agent_loop.py:39
Functiontest_parse_checklist_empty_on_garbage
()
tests/unit/test_planner.py:26
Functiontest_parse_checklist_from_json_array
()
tests/unit/test_planner.py:12
Functiontest_parse_checklist_tolerates_prose_wrapping
()
tests/unit/test_planner.py:19
Functiontest_parse_coverage_pct
()
tests/unit/test_ops_and_trust.py:38
Functiontest_planner_falls_back_to_single_item
()
tests/unit/test_planner.py:40
Functiontest_planner_uses_model_output
()
tests/unit/test_planner.py:31
Functiontest_progress_ledger_detects_stall
()
tests/unit/test_self_improvement.py:22
Functiontest_reconcile_adopts_existing_respawns_missing
(tmp_path: Path)
tests/durability/test_hardening.py:79
Functiontest_reflection_returns_postmortem
()
tests/unit/test_self_improvement.py:51
Functiontest_research_fanout_one_brief_per_query
(tmp_path: Path)
tests/unit/test_subagent.py:56
Functiontest_rrf_fuses_rankings
()
tests/unit/test_hybrid_memory.py:34
Functiontest_rule_of_two_allows_two
()
tests/unit/test_safety.py:16
Functiontest_rule_of_two_blocks_trifecta
()
tests/unit/test_safety.py:22
← previousnext →301–400 of 438, ranked by callers