MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

Functiontest_nonowner_cannot_resolve_approval_but_can_answer_question
(tmp_path)
tests/test_slack_approval_owners.py:143
Functiontest_normal_completion_is_untouched
(tmp_path)
tests/test_truncation_continuation.py:212
Functiontest_normalize_ollama_url
()
tests/test_provider_router.py:52
Functiontest_normalize_option_and_label
()
tests/test_ask_user_upgrades.py:47
Functiontest_normalize_questions_caps_and_drops_blanks
()
tests/test_ask_user_upgrades.py:59
Functiontest_nothing_is_granted_unless_switched_on
(tmp_path)
tests/test_sandbox_credentials.py:41
Functiontest_notice_dedupe_ignores_per_process_noise
Errors that embed per-process values (object addresses, pids) are the SAME failure across relaunches — they must not re-stamp every session (owner
tests/test_mcp.py:585
Functiontest_notice_dedupe_survives_restart
The dedupe is persisted: relaunching the app must not re-stamp the same unchanged complaint into the first session (the owner-hit annoyance).
tests/test_mcp.py:554
Functiontest_notice_never_reaches_a_provider
(tmp_path)
tests/test_compaction_persisted_summary.py:71
Functiontest_notion_read_page_flattens_blocks
(tmp_path, monkeypatch)
tests/test_connectors.py:1200
Functiontest_oauth_callback_error_shows_failure_page
(client)
tests/test_cloud_server.py:85
Functiontest_oauth_callback_rejects_unknown_and_replayed_state
(client)
tests/test_cloud_server.py:107
Functiontest_oauth_callback_rejects_unmanaged_connector
(client)
tests/test_cloud_server.py:96
Functiontest_oauth_callback_writes_profile_and_returns_page
(client)
tests/test_cloud_server.py:50
Functiontest_offline_machine_returns_503_and_unknown_404
(tmp_path)
tests/test_remote_home.py:647
Functiontest_offline_machine_serves_session_snapshot
The vanish bug (owner-hit 2026-08-25): an offline machine's sessions must come from the controller's stored snapshot — greyed, never vanished.
tests/test_remote_home.py:751
Functiontest_old_persisted_items_still_load
()
tests/test_ask_user_upgrades.py:139
Functiontest_ollama_models_gated_on_liveness
`ollama:*` entries show only while a local Ollama answers — keyless must not mean always-present (a stray ollama:<junk> pref would otherwise rende
tests/test_settings.py:162
Functiontest_on_a_mac_a_session_is_refused_early_when_docker_desktops_host_networking_is_off
(monkeypatch)
tests/test_sandbox_openshell.py:597
Functiontest_on_a_mac_the_docker_kernel_is_asked_for_landlock
Docker Desktop 28.0.4 (kernel 6.10.14-linuxkit) has no Landlock and every OpenShell sandbox exited at start (2026-09-28); 29.8.1 (7.0.14) has it.
tests/test_sandbox_setup_job.py:276
Functiontest_on_saved_failure_never_fails_the_save
(tmp_path)
tests/test_memory.py:324
Functiontest_one_file_one_key_however_it_is_spelled
(files, tmp_path, spelling)
tests/test_provenance.py:50
Functiontest_one_hub_fans_out_to_both_adapters
THE step-3 invariant: slack + github share one relay socket; frames land on their own adapter by provider tag.
tests/test_github_installs.py:238
Functiontest_one_review_handoff_after_publications_and_notes
(manager)
tests/test_team_quiet_coordination.py:29
Functiontest_one_shell_runs_one_command_at_a_time
(runner, tmp_path)
tests/test_sandbox_runner.py:176
Functiontest_only_exact_host_names_are_accepted
()
tests/test_network_access.py:34
Functiontest_only_human_returned_guidance_is_saved
(manager, human)
tests/test_proposal_contract.py:129
Functiontest_only_the_runner_is_mounted_into_a_sandbox
(tmp_path, monkeypatch)
tests/test_sandbox_openshell.py:580
Functiontest_opaque_constructs_disqualify
(tmp_path, command)
tests/test_command_matching.py:75
Functiontest_open_and_recent_workspaces
(tmp_path)
tests/test_server.py:746
Functiontest_open_invalid_workspace
(tmp_path)
tests/test_server.py:867
Functiontest_open_url_keeps_a_harmless_redirect
(monkeypatch)
tests/test_url_address_guard.py:328
Functiontest_open_url_refuses_and_blanks_the_page_after_a_bad_redirect
(monkeypatch)
tests/test_url_address_guard.py:317
Functiontest_open_workspace_create
(tmp_path)
tests/test_server.py:875
Functiontest_openai_compat_kimi_sends_mapped_value_on_both_paths
()
tests/test_reasoning_effort.py:381
Functiontest_openai_compat_mapping
(model, level, effective, noted)
tests/test_reasoning_effort.py:170
Functiontest_openai_compat_none_goes_on_the_wire_for_unlisted_models
()
tests/test_reasoning_effort.py:402
Functiontest_openai_compat_none_is_sent_where_openai_vocabulary_is_assumed
The auto-title request asks for "none" (no thinking). Unlisted model ids (Ollama, any OpenAI-compatible endpoint) get the OpenAI vocabulary, which
tests/test_reasoning_effort.py:181
Functiontest_openai_compat_none_maps_to_the_lowest_level_on_a_verified_row_without_it
Kimi K3 documents low/high/max only. "none" ranks below "low", so the nearest accepted level is "low" — the least thinking the model offers (#702)
tests/test_reasoning_effort.py:192
Functiontest_openai_compat_other_unknown_level_sends_no_parameter
Any other value outside the rank table still omits the parameter rather than raise.
tests/test_reasoning_effort.py:201
Functiontest_openai_compat_rejected_none_is_dropped_but_not_remembered
An endpoint that rejects "none" gets the retry without it, like any other rejected value — but that rejection must not stop the real levels from b
tests/test_reasoning_effort.py:409
Functiontest_openai_compat_rejection_drops_the_parameter_and_records_it
()
tests/test_reasoning_effort.py:392
Functiontest_openai_compat_unset_sends_nothing
()
tests/test_reasoning_effort.py:375
Functiontest_openai_complete_captures_usage_without_cache_details
()
tests/test_token_usage.py:194
Functiontest_openai_complete_keeps_the_serving_host
()
tests/test_served_by.py:29
Functiontest_openai_default_path_unchanged
()
tests/test_max_output_tokens.py:282
Functiontest_openai_rename_retry_keeps_the_configured_limit
()
tests/test_max_output_tokens.py:291
Functiontest_openai_stream_and_complete_send_configured_limit
()
tests/test_max_output_tokens.py:264
Functiontest_openai_stream_keeps_the_serving_host_from_any_chunk
()
tests/test_served_by.py:41
Functiontest_openai_stream_requests_and_captures_usage
()
tests/test_token_usage.py:173
Functiontest_openai_stream_retries_without_stream_options_when_rejected
()
tests/test_token_usage.py:184
Functiontest_openshell_policy_carries_the_home_and_the_hosts
()
tests/test_sandbox_credentials.py:161
Functiontest_openshell_refusals_are_read_from_the_sandbox_log
()
tests/test_network_access.py:212
Functiontest_openweight_builds_maas_endpoint_and_refreshes_bearer
()
tests/test_vertex_provider.py:87
Functiontest_openweight_global_location_has_no_region_host
()
tests/test_vertex_provider.py:108
Functiontest_openworker_cli_routes_remote_verbs
(monkeypatch, tmp_path, capsys)
tests/test_remote_home.py:1309
Functiontest_openworkers_own_secrets_are_no_longer_readable
(session)
tests/test_readonly_scoping.py:71
Functiontest_ops_persona_composes_knowledge_toolset
(tmp_path)
tests/test_builtin_personas.py:39
Functiontest_ordinary_approval_and_completion_carry_the_same_exact_call_id
(tmp_path, answer)
tests/test_team_live_gaps.py:256
Functiontest_ordinary_calls_are_full_access_in_both_bypass_modes
(tmp_path)
tests/test_dangerous_mode.py:113
Functiontest_ordinary_project_file_still_auto_approves
(tmp_path)
tests/test_self_protection.py:91
Functiontest_ordinary_text_answer_still_completes
Guard the other side: prose that merely mentions tool syntax inside code fences is a real answer and must still complete normally.
tests/test_engine.py:501
Functiontest_ordinary_work_is_untouched_by_the_floor
(tmp_path)
tests/test_auto_approve.py:1018
Functiontest_org_policy_is_the_only_ceiling_on_worker_connectors
(manager)
tests/test_worker_connectors.py:92
Functiontest_origin_block_slack_thread
()
tests/test_chat_tools.py:187
Functiontest_origin_block_telegram_and_github
()
tests/test_chat_tools.py:201
Functiontest_origin_columns_migrate_on_old_db
A pre-§31 database (no origin columns) upgrades in place on open.
tests/test_mention_router.py:306
Functiontest_orphan_session_keeps_scratch_primary_single_scratch_root
(tmp_path)
tests/test_multiroot.py:360
Functiontest_os_data_dirs_are_not_traversed
(tmp_path, monkeypatch)
tests/test_artifact_walk.py:27
Functiontest_os_data_dirs_cover_mac_and_windows
()
tests/test_artifact_walk.py:49
Functiontest_other_modes_never_consult_the_reviewer
(tmp_path)
tests/test_auto_approve.py:739
Functiontest_other_tools_are_untouched_by_the_wall
(tmp_path)
tests/test_site_wall.py:93
Functiontest_our_own_tools_run_behind_the_wall
(sandbox)
tests/test_sandbox_seatbelt.py:308
Functiontest_out_of_band_edit_breaks_the_chain
(store)
tests/test_team_store.py:32
Functiontest_outbound_adapts_pdf_for_non_pdf_models
(tmp_path)
tests/test_engine.py:336
Functiontest_outbound_keeps_pdf_for_native_models
(tmp_path)
tests/test_engine.py:352
Functiontest_outbound_messages_appends_context_to_last_user_message
()
tests/test_multiroot.py:139
Functiontest_outbound_messages_noop_without_provider
()
tests/test_multiroot.py:164
Functiontest_outbound_messages_strip_finish_reason_sidecar
(tmp_path)
tests/test_finish_reason.py:74
Functiontest_outbound_messages_strip_usage_sidecar
(tmp_path)
tests/test_token_usage.py:350
Functiontest_outbound_replaces_images_for_non_vision_models
(tmp_path)
tests/test_engine.py:422
Functiontest_outbound_strip_is_unconditional
(tmp_path)
tests/test_message_timestamps.py:106
Functiontest_outbound_strips_source_with_and_without_context
Direct engine check that the `source` strip is UNCONDITIONAL — it happens on the no-context early-return path too, not only when a `<system-contex
tests/test_message_source.py:144
Functiontest_outlook_calendar_tools_hit_the_right_graph_endpoints
The calendar CRUD + invite-response tools map onto Microsoft Graph: create carries attendees/location/Teams flags, update PATCHes only the pro
tests/test_connectors.py:1337
Functiontest_outlook_managed_multi_account_keys_by_email
Managed Outlook mirrors Gmail/Drive: broker `account` (email from the Microsoft id_token) keys each mailbox; tools take an account param.
tests/test_connectors.py:1299
Functiontest_outside_a_name_is_looked_up_and_pinned_as_before
(outside, monkeypatch: pytest.MonkeyPatch)
tests/test_openshell_inside.py:177
Functiontest_outside_content_categories_are_ingesting
(category)
tests/test_session_facts.py:96
Functiontest_outside_openshell_nothing_is_said_or_added
(outside, tmp_path: Path)
tests/test_openshell_inside.py:72
Functiontest_over_limit_max_tokens_is_dropped_and_retried
A model whose completion limit sits below our default must not surface the 400: drop the param, retry on the server's own default (yesterday's beh
tests/test_providers.py:600
Functiontest_override_can_still_relax_a_plugin_tool
(tmp_path)
tests/test_egress_and_overrides.py:106
Functiontest_override_cannot_downgrade_builtin_write
(tmp_path)
tests/test_egress_and_overrides.py:95
Functiontest_override_cannot_relax_a_catalog_write
(tmp_path)
tests/test_egress_and_overrides.py:166
Functiontest_override_may_tighten
(tmp_path)
tests/test_egress_and_overrides.py:124
Functiontest_override_relaxes_a_plugin_tool_in_classify
(tmp_path)
tests/test_risk_overrides.py:32
Functiontest_override_store_survives_reload
(tmp_path)
tests/test_skills_sessions.py:101
Functiontest_overrides_may_tighten_a_builtin
()
tests/test_permissions_risk.py:60
Functiontest_overrides_persist
(tmp_path)
tests/test_risk_overrides.py:66
Functiontest_overrides_relax_metadata_but_never_downgrade_a_builtin
()
tests/test_permissions_risk.py:49
Functiontest_oversized_bodies_are_refused_with_the_excerpt_pattern
(journal)
tests/test_team_journal.py:139
Functiontest_oversized_comment_is_explicit_and_fully_retrievable
(board)
tests/test_team_efficient_reads.py:57
← previousnext →7,301–7,400 of 8,537, ranked by callers