MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

Functiontest_protocol_mismatch_rejected
(tmp_path)
tests/test_remote_home.py:369
Functiontest_provenance_rows_actually_carry_the_fact_they_test
()
tests/test_shadow_eval.py:353
Functiontest_provider_adapters_drop_ts
Defense in depth: the native Anthropic/Gemini payload builders rebuild messages from role/content, so a `ts` that somehow slipped past the engine
tests/test_message_timestamps.py:123
Functiontest_provider_builders
(monkeypatch)
tests/test_provider_router.py:443
Functiontest_provider_change_clears_web_search_session_grant
(manager)
tests/test_approval_integrity.py:100
Functiontest_provider_error_is_unsure_not_raised
()
tests/test_auto_approve.py:413
Functiontest_provider_error_mid_stream_keeps_partial_text
(tmp_path)
tests/test_engine_stop.py:118
Functiontest_provider_extras_persist_on_message_and_survive_outbound
A turn's provider-private sidecar (`extras`, e.g. Gemini thought signatures) rides the persisted assistant message and is NOT stripped by _outboun
tests/test_engine.py:367
Functiontest_provider_failure_is_swallowed
(tmp_path)
tests/test_autotitle.py:135
Functiontest_provider_payload_never_carries_ts
(tmp_path)
tests/test_message_timestamps.py:93
Functiontest_provider_seeds_and_persists_oauth_metadata
The refresh grant runs BEFORE the SDK's discovery, so the provider must seed persisted authorization-server metadata at load — otherwise refresh
tests/test_mcp_oauth.py:258
Functiontest_provider_set_and_remove_roundtrip
Settings ▸ Models "Remove key": DELETE /v1/providers/{name} forgets the stored profile so the provider reads unconfigured again; unknown names are
tests/test_server.py:1053
Functiontest_provider_suggested_models
(tmp_path, monkeypatch)
tests/test_provider_router.py:555
Functiontest_providers_list_shows_oauth_state
(tmp_path)
tests/test_codex_provider.py:470
Functiontest_provision_temp_workspace_creates_dir_with_git
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:36
Functiontest_provision_temp_workspace_rejects_bad_ids
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:57
Functiontest_proxy_allows_the_grants_hosts_including_ssh_and_wildcards
()
tests/test_sandbox_credentials.py:150
Functiontest_proxy_cannot_bypass_ownership_staleness_or_worker_floors
(manager, monkeypatch, mutation)
tests/test_team_rehearsal_fixes.py:58
Functiontest_proxy_refuses_hosts_that_are_not_listed_and_says_why
()
tests/test_sandbox_seatbelt.py:103
Functiontest_proxy_tunnels_a_listed_host
(monkeypatch)
tests/test_sandbox_seatbelt.py:117
Functiontest_proxy_verdict_is_not_used_after_original_is_answered
(manager, monkeypatch)
tests/test_team_rehearsal_fixes.py:83
Functiontest_public_hostname_is_allowed
(monkeypatch)
tests/test_url_address_guard.py:90
Functiontest_public_literal_is_allowed
()
tests/test_url_address_guard.py:55
Functiontest_publication_authority_before_read_and_after_copy
(manager, tmp_path, monkeypatch)
tests/test_team_file_artifacts.py:79
Functiontest_publication_versions_shared_with_sibling_not_assigned_item
(manager, tmp_path)
tests/test_team_file_artifacts.py:26
Functiontest_pull_image_parses_docker_output_and_streams_progress
(monkeypatch)
tests/test_sandbox_setup_job.py:195
Functiontest_pull_partitions_rows_by_this_machine
(tmp_path, monkeypatch, cfg)
tests/test_subscription_sync.py:120
Functiontest_push_and_open_pr_tools
The runtime pushes and opens the PR — the agent never handles a credential (machines spec: tools are the future sandbox boundary). Push publis
tests/test_github_installs.py:679
Functiontest_push_wakes_share_the_sweep_pipeline
(tmp_path)
tests/test_triage_lead.py:39
Functiontest_put_get_round_trip
(tmp_path)
tests/test_secrets.py:14
Functiontest_py_grep_fallback_skips_ignored_dirs
(tmp_path)
tests/test_code_tools.py:87
Functiontest_question_fields_match_the_gallery
(contract)
tests/test_gallery_contract.py:161
Functiontest_question_is_urgent_but_not_an_approval
(manager)
tests/test_idle_checkins.py:246
Functiontest_question_item_fields_grouped_surfaces_first_question
()
tests/test_ask_user_upgrades.py:81
Functiontest_question_item_fields_nothing_asked
()
tests/test_ask_user_upgrades.py:95
Functiontest_question_item_fields_plain_strings_pass_through
()
tests/test_ask_user_upgrades.py:65
Functiontest_question_item_fields_rich_options_canonicalized
()
tests/test_ask_user_upgrades.py:72
Functiontest_quickbooks_sandbox_environment
(tmp_path, monkeypatch)
tests/test_connectors.py:1537
Functiontest_quiet_acknowledgement_survives_store_reopen
(manager)
tests/test_team_quiet_coordination.py:192
Functiontest_quota_errors_are_translated
()
tests/test_model_errors.py:51
Functiontest_rasterize_produces_valid_pngs
()
tests/test_pdf_support.py:70
Functiontest_raw_captures_are_opt_in_on_read
(journal)
tests/test_team_journal.py:128
Functiontest_raw_ids_route_by_name
()
tests/test_vertex_provider.py:59
Functiontest_raw_junk_is_shrunk_before_it_enters_history
The unparsed text must not be replayed at full size: it costs tokens every turn and teaches the model that `_raw` is a shape to imitate.
tests/test_mangled_tool_calls.py:91
Functiontest_raw_overflow_routes_into_compaction_and_retries
(tmp_path)
tests/test_compaction_engine.py:195
Functiontest_read_always_allowed
(tmp_path)
tests/test_permissions_risk.py:67
Functiontest_read_auto_allowed
(tmp_path)
tests/test_tools_permissions.py:60
Functiontest_read_file_content_is_bounded_the_same_way
(tmp_path)
tests/test_tool_result_cap.py:60
Functiontest_read_file_numbers_lines
(tmp_path)
tests/test_code_tools.py:124
Functiontest_read_file_rejects_escape_and_non_files
(tmp_path)
tests/test_code_tools.py:154
Functiontest_read_file_truncates_long_lines
(tmp_path)
tests/test_code_tools.py:146
Functiontest_read_file_windows_and_tells_how_to_continue
(tmp_path)
tests/test_code_tools.py:134
Functiontest_read_only_modes_and_self_protection_are_not_approvals_and_stay
(tmp_path, monkeypatch)
tests/test_dangerous_mode.py:119
Functiontest_read_only_modes_block_consequential
(tmp_path, mode)
tests/test_permissions_risk.py:74
Functiontest_read_only_modes_ignore_task_rules
(tmp_path)
tests/test_standing_approvals.py:187
Functiontest_read_only_modes_still_refuse_outright_rather_than_asking
(tmp_path, mode)
tests/test_auto_approve.py:1011
Functiontest_read_returns_body_and_attachment_list
(tmp_path)
tests/test_email_tools.py:242
Functiontest_read_targets_is_empty_for_commands_the_classifier_rejects
()
tests/test_readonly_scoping.py:159
Functiontest_read_targets_names_the_files_and_not_the_arguments
(command, expected)
tests/test_readonly_scoping.py:155
Functiontest_reading_tools_answer_alike
(twins, name, args, kwargs)
tests/test_sandbox_tools.py:111
Functiontest_reads_and_unrelated_tools_create_nothing
()
tests/test_provenance.py:81
Functiontest_reads_inside_the_granted_folder_still_run_unprompted
(session, command)
tests/test_readonly_scoping.py:51
Functiontest_reads_outside_every_root_now_ask
(session, command)
tests/test_readonly_scoping.py:67
Functiontest_real_bolt_dispatches_both_envelope_shapes
(fake_slack)
tests/test_fake_slack.py:213
Functiontest_real_manager_summary_and_current_wait
(tmp_path, monkeypatch)
tests/test_team_view.py:164
Functiontest_reap_leaves_a_sandbox_that_a_living_server_is_still_creating
(tmp_path, monkeypatch)
tests/test_sandbox_openshell.py:191
Functiontest_reasoning_streams_persists_and_never_reaches_providers
(tmp_path)
tests/test_engine_stop.py:301
Functiontest_reasoning_summary_capability_rejects_unknown_mode
()
tests/test_openai_responses.py:355
Functiontest_reassignment_interrupts_previous_busy_owner
(manager)
tests/test_team_quiet_coordination.py:103
Functiontest_reassignment_revokes_status_and_clears_old_line
(store)
tests/test_team_view.py:54
Functiontest_rebinding_after_the_check_cannot_reach_loopback
A ~0-TTL record that flips to 127.0.0.1 between check and connect must not matter: the connection goes to the address that passed the check.
tests/test_url_address_guard.py:173
Functiontest_rebuild_reproduces_the_projection
(store)
tests/test_team_store.py:85
Functiontest_recent_absent_when_no_gateway
(tmp_path)
tests/test_connectors_allowlist.py:95
Functiontest_recent_workspaces_exclude_scratch_dirs
(tmp_path)
tests/test_server.py:816
Functiontest_recommended_models_is_read_as_an_alias
()
tests/test_persona_models.py:36
Functiontest_recommended_models_without_a_window_are_exactly_the_known_set
A recommendation without a window compacts on the 128k guess. New ones must not slip in silently; verified ones must leave the allowlist.
tests/test_matrix_current_models.py:89
Functiontest_recommending_an_undeclared_connector_is_author_drift
()
tests/test_persona_manifest.py:70
Functiontest_recommends_not_validated_against_shipped_connectors
()
tests/test_persona_manifest.py:195
Functiontest_recommends_parsed
()
tests/test_persona_manifest.py:186
Functiontest_reconcile_on_resume
(tmp_path)
tests/test_inbox.py:49
Functiontest_reconnect_does_not_clobber_secret_or_allowlist
(tmp_path)
tests/test_connectors.py:430
Functiontest_reconnect_without_token_uses_challenge
(tmp_path)
tests/test_remote_home.py:338
Functiontest_recursive_listing_shows_folders_and_files
(tmp_path)
tests/test_list_files_folders.py:33
Functiontest_redirect_into_loopback_is_blocked_before_the_second_request
(monkeypatch)
tests/test_url_address_guard.py:134
Functiontest_redirect_loop_is_bounded
(monkeypatch)
tests/test_url_address_guard.py:152
Functiontest_references_and_cycles_are_rejected_before_writing
()
tests/test_proposal_contract.py:41
Functiontest_refresh_gateway_replaces_listeners
Pasting new tokens must take effect without a sidecar restart: refresh_gateway swaps the Gateway (and its adapters) in-process.
tests/test_subscriptions.py:322
Functiontest_refresh_managed_token_delegated_fallback
No cloud session (a box): a delegated managed profile renews by possession on the delegated route — no Authorization header, opaque user_id in
tests/test_cloud.py:506
Functiontest_refresh_managed_token_undelegated_box_gives_up
No session AND no delegation ids: nothing to present — return None rather than hammering the broker.
tests/test_cloud.py:537
Functiontest_refresh_mirrors_applies_broker_view
(tmp_path, monkeypatch)
tests/test_subscriptions.py:440
Functiontest_refresh_never_touches_manual_profiles
(secrets, config, monkeypatch)
tests/test_cloud.py:339
Functiontest_refresh_updates_expiring_managed_profile
(secrets, config, monkeypatch)
tests/test_cloud.py:314
Functiontest_registers_as_lead_without_shell
(tmp_path)
tests/test_triage_lead.py:18
Functiontest_registry_builds_codex_provider
()
tests/test_codex_provider.py:391
Functiontest_registry_builds_native_anthropic_provider
()
tests/test_anthropic_provider.py:467
Functiontest_registry_builds_native_gemini_provider
()
tests/test_gemini_provider.py:450
Functiontest_registry_counts_caps_and_forgets
(tmp_path, monkeypatch)
tests/test_sandbox_openshell.py:175
Functiontest_registry_entries_are_pinned_and_digested
Every managed download must carry a version and a full SHA-256 — an unpinned entry would mean 'download whatever is current', which is the thing w
tests/test_toolchain.py:61
Functiontest_registry_execute_read_file
(tmp_path)
tests/test_tools_permissions.py:35
Functiontest_registry_execute_unknown_tool
(tmp_path)
tests/test_tools_permissions.py:47
← previousnext →7,501–7,600 of 8,537, ranked by callers