MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

Functiontest_results_look_the_same_as_the_in_process_executor
A session must look the same to the model in both modes: same keys, same values.
tests/test_sandbox_runner.py:138
Functiontest_retry_is_noop_unless_tail_is_error_notice
(tmp_path)
tests/test_engine_stop.py:181
Functiontest_retry_reruns_failed_turn_without_new_user_message
(tmp_path)
tests/test_engine_stop.py:159
Functiontest_retry_survives_model_switches
Error → switch models (one or more times) → Retry must still re-run, on the NEW model (owner-hit 2026-07-23: the switch notices consumed the retry
tests/test_engine_stop.py:358
Functiontest_reveal_unknown_skill_is_a_friendly_error
(tmp_path)
tests/test_skills_api.py:358
Functiontest_review_event_validated
(tmp_path, monkeypatch)
tests/test_github_installs.py:486
Functiontest_review_gets_all_assignments_and_approved_guidance_not_proxy_claim
(manager, monkeypatch)
tests/test_approval_guidance.py:27
Functiontest_reviewer_allow_runs_without_a_card
(tmp_path)
tests/test_auto_approve.py:539
Functiontest_reviewer_cannot_clear_a_git_hook_write
(tmp_path)
tests/test_auto_approve.py:212
Functiontest_reviewer_caps_its_own_output_tokens
The verdict is one JSON line; an explicit cap keeps the call, on Anthropic, under the SDK's non-streaming ceiling (a whole session of `unsure`
tests/test_auto_approve.py:1099
Functiontest_reviewer_deny_blocks_with_terse_agent_message
(tmp_path)
tests/test_auto_approve.py:594
Functiontest_reviewer_follows_a_model_switch
(tmp_path)
tests/test_auto_approve.py:1076
Functiontest_reviewer_is_a_shipping_solo_coworker_with_github_and_a_models_list
()
tests/test_reviewer_persona.py:20
Functiontest_reviewer_message_contains_harness_context
()
tests/test_team_rehearsal_fixes.py:162
Functiontest_reviewer_prompt_carries_the_load_bearing_lines
()
tests/test_reviewer_persona.py:33
Functiontest_reviewer_sees_user_words_never_tool_results
(tmp_path)
tests/test_auto_approve.py:801
Functiontest_reviewer_settings_hot_apply_to_cached_lead_and_worker
(manager)
tests/test_team_live_gaps.py:56
Functiontest_reviewer_ships_and_the_swe_team_is_held_back
(tmp_path, monkeypatch)
tests/test_reviewer_persona.py:53
Functiontest_reviewer_stats_aggregates_by_stage
(tmp_path)
tests/test_auto_approve_settings.py:86
Functiontest_reviewer_stats_carry_the_cached_share
(tmp_path)
tests/test_auto_approve_settings.py:152
Functiontest_reviewer_stats_endpoint
(client)
tests/test_auto_approve_settings.py:147
Functiontest_reviewer_text_collapses_attachments_to_markers
()
tests/test_auto_approve.py:236
Functiontest_reviewer_text_plain_and_edge_shapes
()
tests/test_auto_approve.py:260
Functiontest_reviewer_unsure_falls_through_to_the_card
(tmp_path)
tests/test_auto_approve.py:616
Functiontest_revisions_are_serialized_without_overwrite
(manager, tmp_path)
tests/test_team_file_artifacts.py:102
Functiontest_revoke_connector_connections_by_name
The drill finding: a machine-scope disconnect of a managed grant needs the DESKTOP to revoke at the broker (the box has no session) — by conne
tests/test_machine_poll.py:214
Functiontest_rework_loop
(store)
tests/test_team_board.py:143
Functiontest_rewrites_do_not_loosen
(tmp_path, variant)
tests/test_command_matching.py:138
Functiontest_ripgrep_uses_the_same_ignored_dirs_as_the_python_fallback
(tmp_path, monkeypatch)
tests/test_code_tools.py:62
Functiontest_risk_summary
()
tests/test_catalog.py:107
Functiontest_role_filtered_tool_surface
(store)
tests/test_team_view.py:107
Functiontest_roster_is_cached_per_workspace
(secrets, monkeypatch)
tests/test_slack_directory.py:75
Functiontest_round_trip_with_valid_id_still_works
(tmp_path)
tests/test_conversation_store.py:67
Functiontest_route_precedence
(tmp_path)
tests/test_inbox_routing.py:14
Functiontest_router_bare_only_strips_known_provider
()
tests/test_provider_router.py:137
Functiontest_router_caches_and_invalidates
(monkeypatch)
tests/test_provider_router.py:122
Functiontest_router_capabilities_prefix_aware
()
tests/test_provider_router.py:148
Functiontest_router_on_use_failures_never_break_the_call
()
tests/test_provider_router.py:582
Functiontest_router_on_use_fires_with_provider_name
()
tests/test_provider_router.py:571
Functiontest_router_prefix_survives_bedrock_version_colons
()
tests/test_bedrock_provider.py:379
Functiontest_router_routes_and_strips_prefix
(monkeypatch)
tests/test_provider_router.py:108
Functiontest_router_routes_vertex_ids
()
tests/test_vertex_provider.py:300
Functiontest_rows_report_bundled_file_count
(store)
tests/test_skills_store.py:403
Functiontest_rpc_client_close_fails_pending
()
tests/test_remote_home.py:1327
Functiontest_rule_entry_roundtrip
()
tests/test_standing_approvals.py:54
Functiontest_run_grant_allows_then_dies_at_the_boundary
(tmp_path)
tests/test_run_grant.py:24
Functiontest_run_grant_cannot_override_a_read_only_mode
(tmp_path)
tests/test_run_grant.py:57
Functiontest_run_grant_covers_connectors_unlike_the_session_grant
(tmp_path)
tests/test_run_grant.py:37
Functiontest_run_grant_never_skips_the_auto_approve_judge
(tmp_path)
tests/test_run_grant.py:49
Functiontest_run_help_and_the_top_level_help_mention_the_command
()
tests/test_headless_run.py:370
Functiontest_run_idles_while_off_and_ships_when_turned_on
(tmp_path)
tests/test_audit_export.py:161
Functiontest_run_shell_accepts_description_and_clamped_timeout
(executor)
tests/test_shell.py:157
Functiontest_runner_uses_only_the_standard_library
The runner is mounted into any image that has Python, so it may import nothing else.
tests/test_sandbox_runner.py:68
Functiontest_running_a_downloaded_file_goes_to_a_human_not_the_reviewer
(tmp_path)
tests/test_auto_approve.py:927
Functiontest_running_an_agent_written_script_tells_the_reviewer_so
(tmp_path)
tests/test_auto_approve.py:897
Functiontest_runtime_facts_do_not_read_configuration_or_follow_workspace_symlinks
(tmp_path, monkeypatch)
tests/test_team_rehearsal_fixes.py:149
Functiontest_salvage_bare_json_object
()
tests/test_provider_router.py:163
Functiontest_salvage_filters_unknown_tool_name
()
tests/test_provider_router.py:269
Functiontest_salvage_ignores_non_toolcall_json
()
tests/test_provider_router.py:190
Functiontest_salvage_ignores_prose
()
tests/test_provider_router.py:195
Functiontest_salvage_mixed_prose_and_object
()
tests/test_provider_router.py:240
Functiontest_salvage_multiple_via_array
()
tests/test_provider_router.py:178
Functiontest_salvage_nested_braces_in_tag
()
tests/test_provider_router.py:308
Functiontest_salvage_stringified_arguments
()
tests/test_provider_router.py:185
Functiontest_salvage_tool_call_tags
()
tests/test_provider_router.py:172
Functiontest_salvage_toolname_bare_array_shorthand
()
tests/test_provider_router.py:248
Functiontest_salvage_toolname_object_shorthand
()
tests/test_provider_router.py:262
Functiontest_salvage_truncated_xml_call_keeps_only_complete_parameters
A local model that runs out of tokens mid-call leaves `<function=…>` unclosed. Take the name and every parameter that DID close; NEVER the half-wr
tests/test_provider_router.py:275
Functiontest_salvage_truncated_xml_prefers_a_complete_call_and_filters_unknown_names
()
tests/test_provider_router.py:285
Functiontest_same_history_converts_identically_twice
Byte-stable input, byte-stable request: the converter adds nothing of its own.
tests/test_cache_breakpoint_placement.py:34
Functiontest_sandbox_announcement_says_sessions_check_again
(capsys, monkeypatch)
tests/test_remote_home.py:1660
Functiontest_sanitize_coerces_union_types
Vendor MCP schemas use JSON-Schema union types (owner-hit 2026-07-23: monday's compareValue `type: ['string','number']` 400'd every Gemini turn).
tests/test_gemini_provider.py:639
Functiontest_sanitize_schema_strips_unsupported_keys
()
tests/test_gemini_provider.py:261
Functiontest_sanitizes_and_rejects_absurd_output
(tmp_path)
tests/test_autotitle.py:142
Functiontest_save_persists_totals_and_the_list_exposes_them
(tmp_path, monkeypatch)
tests/test_session_usage.py:34
Functiontest_save_rejects_traversal_id_without_writing_outside
The verified vuln: saving a record with '../evil' used to create 'evil.jsonl' OUTSIDE the conversations dir. It must raise and write nothing.
tests/test_conversation_store.py:41
Functiontest_save_skill_adds_a_new_global_skill
(store, session_dir)
tests/test_skills_store.py:328
Functiontest_save_skill_bundles_files_from_session_roots
(store, session_dir)
tests/test_skills_store.py:340
Functiontest_save_skill_existing_name_updates_and_keeps_resources
(store, session_dir)
tests/test_skills_store.py:359
Functiontest_save_skill_refuses_files_outside_session_roots
(store, session_dir, tmp_path)
tests/test_skills_store.py:370
Functiontest_save_skill_requires_approval_metadata
(store)
tests/test_skills_store.py:394
Functiontest_save_skill_validation_errors
(store, session_dir)
tests/test_skills_store.py:379
Functiontest_save_temp_as_project_guards
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:92
Functiontest_save_temp_as_project_moves_and_rebinds
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:64
Functiontest_saving_switch_is_live_in_both_directions
A session born while saving was OFF must start saving the moment it's turned on — and stop again if turned off (owner-hit 2026-07-28: the mid-chat
tests/test_memory.py:601
Functiontest_scanner_skills_offer_a_fallback_instead_of_stopping
The skills used to say "if missing … and STOP", which is precisely the instruction that produced the vanished check. A missing tool must lead to r
tests/test_security_bundles.py:97
Functiontest_schedule_human
()
tests/test_automation.py:35
Functiontest_scheduled_approver_name_allows_and_denies
(tmp_path, monkeypatch)
tests/test_standing_approvals.py:301
Functiontest_scheduled_approver_parks_and_mints
(tmp_path, monkeypatch)
tests/test_standing_approvals.py:247
Functiontest_scheduled_run_broadcasts_run_started_event
UX-026: the moment a scheduled run starts, every /ws/events socket hears automation_run_started (the top-right toast). Dead sockets drop silently.
tests/test_automation.py:441
Functiontest_scheduled_run_persists_continuable_session
(tmp_path, monkeypatch)
tests/test_automation.py:256
Functiontest_scheduler_runs_due_task_and_advances
(tmp_path)
tests/test_automation.py:139
Functiontest_scheduler_runs_extra_tick
()
tests/test_wake_resume.py:20
Functiontest_scheduler_skips_overlapping_run
(tmp_path)
tests/test_automation.py:175
Functiontest_schema_advertises_rich_options_and_grouped_questions
()
tests/test_ask_user_upgrades.py:28
Functiontest_schema_and_metadata
()
tests/test_mcp.py:189
Functiontest_schema_param_is_todos_not_items
()
tests/test_todo_tool.py:18
Functiontest_scoping_never_loosens_the_verb_rules
(session)
tests/test_readonly_scoping.py:125
Functiontest_scratch_base_setting_persists_and_drives_provisioning
(tmp_path, monkeypatch)
tests/test_settings.py:133
Functiontest_scratch_workspace_rejected_for_skill_writes
A per-conversation scratch dir is not a project: create/move-into/confirm all refuse it at the manager chokepoint; moving OUT of one still works (
tests/test_skills_api.py:140
← previousnext →7,701–7,800 of 8,537, ranked by callers