MCPcopy Create free account

hub / github.com/china-qijizhifeng/agentic-harness-engineering / functions

Functions607 in github.com/china-qijizhifeng/agentic-harness-engineering

↓ 2 callersFunction_validate_check_payload
(payload: dict)
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/runtime/runner.py:132
↓ 2 callersMethod_validate_initialize_payload
Ensure the initialize response conforms to expectations.
agents/evolve_agent/tools/mcp_client.py:123
↓ 2 callersMethodadd_server
Add an MCP server configuration.
agents/evolve_agent/tools/mcp_client.py:985
↓ 2 callersFunctionarchive_change_manifest
Archive change_manifest.json from experiment root to the iteration evolve directory.
evolve.py:2222
↓ 2 callersFunctionbuild_evolution_query
Build the evolution agent query. Provides concise structured info: evaluation overview, task classification, cross-iteration changes, debugge
evolve.py:2563
↓ 2 callersFunctionbuild_explore_agent_patch
Extract patch from explore_agent_patch. If not explicitly specified, inherits api_type/reasoning/tool_call_mode from evolve_agent.
evolve.py:203
↓ 2 callersFunctioncheck_experiment_timeout
()
evolve.py:4229
↓ 2 callersMethodcompact
Compact messages to reduce token usage. Args: messages: Full message history Returns: Compacted message list
agents/evolve_agent/middleware/context_compaction/compact_stratigies/base.py:25
↓ 2 callersFunctionconfig_path
()
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/cli/config_store.py:16
↓ 2 callersFunctionextract_trace_data
Extract a cleaned trace dict from normalized observations.
trace_converter.py:805
↓ 2 callersFunctionget_assistant_from_openai_generation_output
Extract an assistant message from OpenAI/Anthropic style outputs.
trace_converter.py:266
↓ 2 callersFunctionget_date
()
experiments/evolved_harness/start.py:29
↓ 2 callersFunctionget_date
()
agents/code_agent_simple/start.py:29
↓ 2 callersFunctionget_next_iteration
(root: Path)
skills/agentic-harness-engineering/scripts/generate_manifest.py:42
↓ 2 callersMethodinitialize
(self)
agents/evolve_agent/tools/mcp_client.py:712
↓ 2 callersFunctionlaunch_harbor
Launch harbor evaluation process without waiting. Returns (proc, started_after). Use wait_for_harbor() to wait for completion and get the job_dir
evolve.py:443
↓ 2 callersFunctionload_config
Load config file with _base inheritance chain support.
evolve.py:137
↓ 2 callersMethodnormalize
Normalize an object by converting complex types to serializable forms. Args: obj: Object to normalize max_de
agents/evolve_agent/tools/llm_friendly.py:332
↓ 2 callersMethodnormalize_to_size
Normalize object to fit within specified size constraints. Args: obj: Object to normalize max_depth: Maximum
agents/evolve_agent/tools/llm_friendly.py:303
↓ 2 callersMethodopenai_responses_aggregator
Lazy initialization for OpenAIResponsesAggregator.
agents/evolve_agent/middleware/agent_events_middleware.py:121
↓ 2 callersFunctionparse_git_diff
从 git diff 提取变更信息
skills/agentic-harness-engineering/scripts/generate_manifest.py:50
↓ 2 callersMethodread_csv
Read CSV files
agents/evolve_agent/tools/llm_friendly.py:172
↓ 2 callersFunctionregenerate_scores_md
Regenerate iteration_scores.md from iteration_scores.yaml (or provided data dict).
evolve.py:2059
↓ 2 callersFunctionresolve_env_vars
Recursively resolve ${VAR_NAME} in config values with environment variables. Unmatched ones are kept as-is.
evolve.py:115
↓ 2 callersFunctionrun_harbor
Start harbor evaluation and wait for completion. Results are written directly to iteration_dir.
evolve.py:512
↓ 2 callersFunctionsave_evolve_summary
Save the evolve agent's final output to the iteration directory.
evolve.py:1948
↓ 2 callersFunctionsave_evolve_trace
Save the evolve agent's full conversation history and cleaned tracer to the log directory.
evolve.py:2985
↓ 2 callersFunctionsave_variant_results
Save variant evolve outputs to evolve/, and selection+stats to next iteration's input/.
evolve.py:3250
↓ 2 callersMethodshould_compact
Check if compaction should be triggered. Args: messages: Current message history current_tokens: Current token count
agents/evolve_agent/middleware/context_compaction/trigger_strategies/base.py:25
↓ 2 callersFunctionupdate_history_after
After evolve agent runs, append change summary to evolution_history.md.
evolve.py:1959
↓ 2 callersFunctionupdate_iteration_scores
Append current iteration scores to iteration_scores.yaml and regenerate .md.
evolve.py:1975
↓ 2 callersFunctionwait_for_harbor
Wait for a previously launched harbor process to finish and return its job_dir.
evolve.py:484
↓ 1 callersFunction_add_line_numbers
Add line numbers to content.
agents/evolve_agent/tools/file_tools/read_file.py:47
↓ 1 callersMethod_append_notes
(self, tool_output: Any, notes: list[str])
experiments/evolved_harness/middleware/execution_risk_hints.py:505
↓ 1 callersMethod_apply_fallback
Create new ModelCallParams with fallback provider config. RFC-0003: 创建使用备用 provider 的新 params 不修改原始 params,而是创建副本并替换 llm_config 和 cl
agents/evolve_agent/middleware/llm_failover.py:325
↓ 1 callersFunction_apply_replacements
Apply replacements in reverse order to preserve indices.
agents/evolve_agent/tools/file_tools/apply_patch.py:471
↓ 1 callersFunction_build_adb_jobs
Build one TaskAnalysisJob per task by scanning trial directories.
evolve.py:1216
↓ 1 callersFunction_build_agent
Construct nexau.Agent from agent_config.yaml with LLM settings patched in.
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/runtime/runner.py:56
↓ 1 callersFunction_build_client_for_config
Build an SDK client from LLMConfig. RFC-0003: 根据 api_type 创建对应的 SDK client
agents/evolve_agent/middleware/llm_failover.py:155
↓ 1 callersMethod_build_emergency_summarize_fn
(self, params: ModelCallParams)
agents/evolve_agent/middleware/context_compaction/middleware.py:402
↓ 1 callersFunction_build_harbor_cmd
Build the harbor CLI command list.
evolve.py:396
↓ 1 callersMethod_build_iteration_hint
Match the iteration hint semantics used in executor loop.
agents/evolve_agent/middleware/round_and_token_reminder.py:108
↓ 1 callersFunction_build_source_agent_query
构建源码探索 agent 的初始 query。
agents/explore_agent/run.py:148
↓ 1 callersFunction_build_summary
Format a Codex-compatible success summary.
agents/evolve_agent/tools/file_tools/apply_patch.py:496
↓ 1 callersMethod_build_token_limit_hint
Replicate executor token limit hint messaging.
agents/evolve_agent/middleware/round_and_token_reminder.py:133
↓ 1 callersMethod_build_truncated_output
Construct the replacement tool output. Args: original_output: The raw tool output. truncated_text: Line-truncated ver
agents/evolve_agent/middleware/long_tool_output.py:355
↓ 1 callersFunction_build_user_message
(trace_paths: List[Path], mode: str, question: Optional[str])
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/runtime/runner.py:41
↓ 1 callersFunction_build_verification_instruction
(block_n: int, max_blocks: int)
agents/evolve_agent/middleware/ralph_loop.py:344
↓ 1 callersFunction_build_verifier_context
Build a concise verifier output section to include in the debugger query.
evolve.py:1318
↓ 1 callersFunction_build_web_agent_query
构建 Web 调研 agent 的初始 query。
agents/explore_agent/run.py:173
↓ 1 callersFunction_calculate_exact_replacement
Try exact string replacement. Returns result dict or None if no match.
agents/evolve_agent/tools/file_tools/replace.py:50
↓ 1 callersFunction_calculate_flexible_replacement
Try flexible (whitespace-insensitive) replacement. Matches content by stripped/trimmed lines, preserving original indentation.
agents/evolve_agent/tools/file_tools/replace.py:83
↓ 1 callersFunction_calculate_regex_replacement
Try regex-based flexible replacement. Tokenizes the search string and allows flexible whitespace between tokens.
agents/evolve_agent/tools/file_tools/replace.py:146
↓ 1 callersFunction_calculate_replacement
Calculate replacement using multiple strategies. Tries: exact -> flexible -> regex
agents/evolve_agent/tools/file_tools/replace.py:202
↓ 1 callersFunction_check_hooks
(config: dict[str, Any], issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:302
↓ 1 callersFunction_check_middlewares
(config: dict[str, Any], yaml_dir: Path, issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:225
↓ 1 callersFunction_check_patch_boundaries
Validate the patch begin/end markers.
agents/evolve_agent/tools/file_tools/apply_patch.py:181
↓ 1 callersFunction_check_python_syntax
Check Python syntax of all .py files under tools/ and middleware/.
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:352
↓ 1 callersFunction_check_skills
(config: dict[str, Any], yaml_dir: Path, issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:319
↓ 1 callersFunction_check_system_prompt
(config: dict[str, Any], yaml_dir: Path, issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:116
↓ 1 callersFunction_check_tool_yaml_content
(tool_path: Path, idx: int, issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:133
↓ 1 callersFunction_check_tools
(config: dict[str, Any], yaml_dir: Path, issues: list[Issue])
agents/evolve_agent/skills/nexau-evolution-guide/scripts/validate_agent.py:160
↓ 1 callersMethod_chunked_summary
Split messages into chunks, summarize each, then merge. Args: messages: Messages to summarize. chunk_token_limit: Max
agents/evolve_agent/middleware/context_compaction/compact_stratigies/sliding_window.py:292
↓ 1 callersFunction_cmd_ask_records
(args)
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/cli/adb.py:93
↓ 1 callersFunction_collect_execution_notes
( *, command: str, description: str | None, output: str, exit_code: int | None, durati
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:109
↓ 1 callersMethod_collect_keep_indices
(self, messages: list[Message])
agents/evolve_agent/middleware/context_compaction/compact_stratigies/user_model_full_trace_adaptive.py:227
↓ 1 callersMethod_collect_recent_iteration_indices
(self, messages: list[Message])
agents/evolve_agent/middleware/context_compaction/compact_stratigies/user_model_full_trace_adaptive.py:241
↓ 1 callersMethod_collect_unresolved_tool_use_indices
(messages: list[Message])
agents/evolve_agent/middleware/context_compaction/compact_stratigies/user_model_full_trace_adaptive.py:276
↓ 1 callersFunction_command_is_dangerous_git_meta_op
(command: str)
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:324
↓ 1 callersFunction_command_mentions_target
(command: str, target: str)
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:244
↓ 1 callersFunction_command_resets_root
(command: str, root: str)
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:257
↓ 1 callersFunction_command_runs_protected_script
(command: str, target: str)
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:312
↓ 1 callersFunction_command_writes_protected_file
(command: str, target: str)
experiments/evolved_harness/tools/shell_tools/run_shell_command.py:292
↓ 1 callersFunction_compute_new_content
Compute the new content that would result from adding a memory entry.
agents/evolve_agent/tools/session_tools/save_memory.py:47
↓ 1 callersFunction_compute_replacements
Compute the replacements needed to apply update chunks.
agents/evolve_agent/tools/file_tools/apply_patch.py:430
↓ 1 callersMethod_consume_sse_stream
Continuously consume SSE messages from the fallback transport.
agents/evolve_agent/tools/mcp_client.py:385
↓ 1 callersFunction_convert_github_url
Convert GitHub blob URL to raw URL.
agents/evolve_agent/tools/web_tools/web_fetch.py:44
↓ 1 callersFunction_decode_file_content
Decode sandbox file content while preserving non-UTF-8 text as latin-1.
agents/evolve_agent/tools/file_tools/apply_patch.py:366
↓ 1 callersFunction_deep_merge
深度合并两个 dict,overlay 覆盖 base。
agents/explore_agent/run.py:83
↓ 1 callersFunction_deep_merge
(base: Mapping[str, Any], patch: Mapping[str, Any])
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/cli/config_store.py:28
↓ 1 callersFunction_delete_file
Delete a file through the sandbox API, but reject directories.
agents/evolve_agent/tools/file_tools/apply_patch.py:404
↓ 1 callersFunction_derive_new_contents
Derive the new file content after applying update chunks.
agents/evolve_agent/tools/file_tools/apply_patch.py:483
↓ 1 callersFunction_detect_component
根据文件路径推断所属组件
skills/agentic-harness-engineering/scripts/generate_manifest.py:100
↓ 1 callersFunction_detect_encoding
Detect file encoding with fallback to utf-8 (via sandbox read).
agents/evolve_agent/tools/file_tools/read_file.py:64
↓ 1 callersFunction_detect_file_type
Detect visual file type based on extension.
agents/evolve_agent/tools/file_tools/read_visual_file.py:49
↓ 1 callersFunction_detect_file_type
Detect file type based on extension.
agents/evolve_agent/tools/file_tools/read_many_files.py:54
↓ 1 callersFunction_detect_line_ending
Detect the line ending used in content.
agents/evolve_agent/tools/file_tools/write_file.py:18
↓ 1 callersFunction_detect_line_ending
Detect line ending used in content.
agents/evolve_agent/tools/file_tools/replace.py:20
↓ 1 callersFunction_emit_ask
(trace_path: Path, trace_id: str, question: str, result: RunnerResult, output_format: str)
agents/evolve_agent/skills/agent-debugger-cli/_source/agent_debugger_core/cli/adb.py:47
↓ 1 callersFunction_ensure_newline_separation
Ensure proper newline separation before appending content.
agents/evolve_agent/tools/session_tools/save_memory.py:23
↓ 1 callersFunction_eq_fmt
(t)
evolve.py:2710
↓ 1 callersMethod_error_signature
(self, content: str, exit_code: int | None)
experiments/evolved_harness/middleware/execution_risk_hints.py:494
↓ 1 callersFunction_escape_regex
Escape special regex characters.
agents/evolve_agent/tools/file_tools/replace.py:37
↓ 1 callersMethod_estimate_json_length
Estimate the JSON string length of an object. Args: obj: Object to estimate length for visited: Set of visit
agents/evolve_agent/tools/llm_friendly.py:541
↓ 1 callersMethod_execute_async
Execute the MCP tool asynchronously.
agents/evolve_agent/tools/mcp_client.py:938
↓ 1 callersMethod_extract_content_text
Extract the primary text field from a dict-style tool output. Returns a ``(key, text)`` tuple. If *output* is not a dict or does not
agents/evolve_agent/middleware/long_tool_output.py:219
↓ 1 callersMethod_extract_duration_ms
(self, tool_output: Any)
experiments/evolved_harness/middleware/execution_risk_hints.py:410
↓ 1 callersFunction_extract_error_detail
Extract key error lines from pytest trace (assertion details starting with E).
evolve.py:952
↓ 1 callersFunction_extract_error_type_from_trace
Extract error type name from pytest traceback.
evolve.py:938
↓ 1 callersMethod_extract_exit_code
(self, tool_output: Any)
experiments/evolved_harness/middleware/execution_risk_hints.py:403
← previousnext →101–200 of 607, ranked by callers