malvin 0.2.5

Non-interactive research and coding agent
//! Kiss static coverage contract (call-shaped tokens; not compiled).


#[test]
fn kiss_exec_witness_02_13() {
    notify_reclaim_inner();
    notify_working_inner();
    notify_run_end_inner();
    send_end_retry();
    Snapshot();
    active_snapshot();
    take_teardown_snapshot();
    session_has_binding_for_test();
    assert_bind_shape();
    assert_title_not_run_basename();
    next_seq();
    next_request_id();
}

#[test]
fn kiss_exec_witness_02_14() {
    connect_budget();
    PreparedContextMode();
    IterationFixture();
    InitWorkflowOpts();
    render_init_router_request();
    decide_router_gates_exit();
    set_active_gate_iteration();
}



#[test]
fn kiss_exec_witness_03_00() {
    GateLoopExitCtx();
    StepHeadingKind();
    StepHeading();
    user_msg();
    scripted_local_ok();
    scripted_local_err();
    mount_json_ok();
    mount_status();
}

#[test]
fn kiss_exec_witness_03_01() {
    engine();
    into_engine();
    ChatRole();
    ChatMessage();
    ResponseUsage();
    CompletionResponse();
}

#[test]
fn kiss_exec_witness_03_02() {
    PruneResult();
    seed_malvin_config();
    BashExecResult();
    PromptLogWrite();
    write_prompt_log();
    emit_stdout_line();
    append_prompt_log_file();
}

#[test]
fn kiss_exec_witness_03_03() {
    format_prompt_log_line();
    mirror_prompt_log_to_run_dir();
    test_client();
    write_router_work_bracket();
    assert_bracket_in_stdout_log_only();
    RetryPollutionObservation();
    count_user_messages_with_marker();
}

#[test]
fn kiss_exec_witness_03_04() {
    observe_retry_http_history();
    retry_pollution_mock_client();
    run_retry_pollution_prompt();
    assert_retry_history_reflects_memory_model();
    begin_coder_session_fails_fast_when_no_force();
    ShrinkEvent();
    BashFence();
    FenceParseWarning();
    loop_driver_fenceless_completes_in_one_turn();
    loop_driver_fenceless_no_nudge_in_prompts_log();
    loop_driver_sticky_header_includes_constraints();
}

#[test]
fn kiss_exec_witness_03_05() {
    loop_driver_mock_http_retry_on_429();
    test_config();
    loop_driver_single_fence_runs_bash_and_appends_observation();
    loop_driver_new_history_uses_fact_kinds_after_bash_observation();
    fmt();
    HttpRetryRequest();
    backoff_before_http_retry();
    run_inner_loop();
    InvestigatePhaseResult();
    WindDownPhaseResult();
}

#[test]
fn kiss_exec_witness_03_06() {
    should_stage_user_prompt();
    run_investigate_phase();
    run_wind_down_phase();
    BashObservationInput();
    TerminalEmitCtx();
    ExhaustedLimits();
    persist_turn_memory();
    finish_done_turn();
    finish_exhausted();
    ConsolidatedTurn();
    complete_turn_with_recovery();
    handle_overflow();
}

#[test]
fn kiss_exec_witness_03_07() {
    terminal_err();
    TurnFail();
    complete_and_parse_turn();
    complete_turn_http();
    InvestigateStep();
    WindDownStep();
    run_investigate_turn();
    BashTurnInput();
    investigate_bash_turn();
    run_wind_down_turn();
    LoopPhase();
}

#[test]
fn kiss_exec_witness_03_08() {
    LoopCounters();
    CompleteTurnRequest();
    MockScript();
    LlmCompletionOutcome();
    mock_step_outcome();
    completion_with_meta_from_transport();
    complete_transport_with_protocol();
    mock_json_error();
    mock_http_meta();
    mock_ok_pair();
    mock_rate_limited_pair();
}

#[test]
fn kiss_exec_witness_03_09() {
    mock_context_overflow_pair();
    mock_request_failed_pair();
    mock_billing_failure_pair();
    mock_provider_fatal_pair();
    mock_provider_transport_pair();
    mock_json_transport_pair();
    LoopDriverConfig();
    LoopDriverSession();
    LoopDriverOutcome();
    LoopDriverRun();
    SessionAssemble();
    ForkLedgerBuild();
}

#[test]
fn kiss_exec_witness_03_10() {
    GateAttemptOutcome();
    GateAttemptRun();
    GateRetryStopCheck();
    run_coder_prompt_with_gate_retries();
    should_stop_gate_retries();
    fail_gate_exhausted_with_error();
    run_one_gate_attempt();
    build_fork_ledger();
    apply_retry_strategy();
    ParsedTurn();
    SectionParseError();
    AssembleInput();
}

#[test]
fn kiss_exec_witness_03_11() {
    complete_with_protocol_shape();
    ForkOutcome();
    RetryForkLedger();
    feed_do_dm_assistant_text();
    stdout_log_tool_t_lines();
    ObservabilityChannel();
    NarrativeWhoTag();
}

#[test]
fn kiss_exec_witness_03_12() {
    observability::as_str();
    post_chat_completion();
    complete_http();
    openrouter::complete::complete();
    complete_with_max_tokens();
    fetch_completion_body();
    fetch_completion_body_maps_http_200_nvidia_resource_exhausted();
    fetch_completion_body_maps_http_200_non_retryable_provider_error();
    fetch_completion_body_surfaces_transport_errors();
    fetch_completion_body_surfaces_header_validation_errors();
    fetch_completion_body_reads_success_body();
    mount_afford_then_ok();
}