Orchestrata Ultimate › Tests › Reference › agents › volks › documentor

Tests reference — tests/agents/volks/documentor

tests/agents/volks/documentor — 2 test modules, 26 test functions. Source tree: tests/agents/volks/documentor at commit 8a2cb42ad. Generated from the tests AST snapshot by scripts/gen-data-pages.py.

Prose pending.

Modules

Module Tests Covers
test_documentor_prompt_cleanup.py 3 1
test_volk.py 23 5

Module details

tests/agents/volks/documentor/test_documentor_prompt_cleanup.py

source · 3 tests · 55 lines

VP-A9: Documentor prompt cleanup.

Covers: agents.volks.documentor.prompts

Kind Name Line Description
function test_identity_kept_but_redundant_team_framing_removed 19
function test_prompt_instructs_validate_mermaid_before_flow_doc 26
function test_output_format_markers_and_tools_list_preserved 36

tests/agents/volks/documentor/test_volk.py

source · 23 tests · 674 lines

Tests for DocumentorVolk (U:Do).

Covers: agents.exceptions, agents.volks.documentor.volk, llm.client, core.packet/ (package), core.protocols/ (package)

Kind Name Line Description
function test_documentor_defaults 55
function test_documentor_agent_alias_class 68
function test_process_unrecognized_subject_returns_none 75
function test_process_sets_graph_context_when_present_even_on_unknown_subject 83
function test_process_generate_docs_full_llm_response 92 Happy path: subject 'generate_docs', LLM returns all structured markers.
function test_process_update_docs_subject_routes_to_handler 182
function test_process_documentation_subject_routes_to_handler 212
function test_handle_documentation_raises_on_blank_tool_loop_response 247 Dogfood run-3d F3 backstop: an empty tool-loop response (the burned-
function test_handle_documentation_whitespace_only_response_also_raises 280 Whitespace-only content counts as blank too -- not just an empty string.
function test_process_task_summary_falls_back_to_requirements 306
function test_process_folds_graph_context_into_prompt 331 Regression: self._graph_context was computed in process() but
function test_parse_output_traces_filters_blank_entries 371
function test_parse_output_no_markers_is_a_no_op 387
function test_build_escalation_packet_uses_escalation_target 400
function test_parse_output_content_extraction_captures_multiline_body_verbatim 431 The CONTENT section runs from the marker to end-of-response and must
function test_parse_output_no_markers_leaves_doc_content_blank 459
function test_handle_documentation_persists_content_to_relative_doc_path 465 F14: the authored CONTENT body is written to DOC_PATH under the
function test_persist_doc_content_relative_workspace_regression 512 Dogfood F17: the e2e harness exported ORCHESTRATA_WORKSPACE as a
function test_persist_doc_content_no_clobber_keeps_larger_preexisting_file 536 A larger file already at DOC_PATH (written during the tool phase)
function test_persist_doc_content_no_clobber_replaces_smaller_preexisting_file 554 A smaller pre-existing file at DOC_PATH is replaced by the larger,
function test_persist_doc_content_equal_length_keeps_existing 573 Ties (equal length) go to the existing/tool-written file, per the
function test_handle_documentation_path_escape_refused_content_still_carried 588 F14: a DOC_PATH that escapes the workspace is refused -- the write is
function test_handle_documentation_raises_when_content_blank_and_no_file_at_doc_path 638 F14 fail-loud extension: metadata markers are present but the CONTENT