Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/OpenOPC
/ functions
Functions
10,715 in github.com/HKUDS/OpenOPC
⨍
Functions
10,715
◇
Types & classes
1,083
↳
Endpoints
9
Method
test_member_session_started_materializes_runtime_child_session
Runtime member bootstrap events should still create a visible child session.
tests/test_session_integration.py:3359
Method
test_memory_context_does_not_include_legacy_structured_project_knowledge
(self)
tests/test_company_collaboration.py:6874
Method
test_memory_manager_preserves_long_content_without_numeric_truncation
(self)
tests/test_session_context_compression.py:164
Method
test_memory_path_policy_auto_approves_direct_memory_file_edits
(self)
tests/test_approval_engine.py:256
Method
test_memory_path_policy_auto_approves_external_directory_permission
(self)
tests/test_approval_engine.py:284
Method
test_memory_root_is_treated_as_runtime_workspace_path
(self)
tests/test_native_runtime_v2.py:1586
Method
test_memory_skill_visible_in_task_mode_for_all_agents
(self)
tests/test_prompt_assembly_dedup.py:577
Method
test_memory_skill_visible_only_to_user_facing_final_decider_in_company_mode
(self)
tests/test_prompt_assembly_dedup.py:587
Method
test_memory_slices_union_by_work_item
(self)
tests/test_role_session_merge_rich.py:149
Method
test_metadata_updates_merged_with_backref
Caller's metadata_updates are merged after the task_id/task_status back-reference — caller keys win on conflict.
tests/test_work_item_transition.py:348
Method
test_metrics_and_alerts_include_snapshot_and_runtime_state
(self)
tests/cli_board/test_board_state.py:95
Method
test_migrate_projection_metadata_backfills_from_fallbacks_without_overwriting
(self)
tests/test_actor_runtime_company_mode.py:219
Method
test_migrate_work_item_runtime_metadata_normalizes_new_marker_version
(self)
tests/test_actor_runtime_company_mode.py:110
Method
test_migrated_company_aware_paths_do_not_write_core_task_statuses
(self)
tests/test_phase_single_truth_invariants.py:241
Method
test_migrated_runtime_state_carries_legacy_compaction_boundary
(self)
tests/test_runtime_v2_migration.py:70
Method
test_migration_idempotent_with_nothing_to_do
(self)
tests/test_followup_fixes.py:245
Method
test_migration_is_idempotent
Running the migration twice must produce no additional changes on the second pass — every group is already collapsed.
tests/test_role_session_id_unification.py:386
Method
test_migrator_conflict_keeps_work_item_value
(self)
tests/test_metadata_ownership.py:349
Method
test_migrator_dry_run_backfills_missing_work_item_owned_fields
(self)
tests/test_metadata_ownership.py:310
Method
test_minimal_corporate_preserves_talent_templates
(self)
tests/test_org_config_import_handler.py:37
Method
test_mirror_copies_specified_keys_to_work_item
(self)
tests/test_work_item_mirror.py:86
Method
test_mirror_failure_is_swallowed
DB failure must not propagate — the view's fallback keeps readers functional.
tests/test_work_item_mirror.py:113
Method
test_mirror_skips_missing_keys
Only keys that exist on task.metadata are mirrored — absent keys don't stomp existing values with None.
tests/test_work_item_mirror.py:124
Method
test_mirror_without_work_item_id_is_noop
task-mode path: no structured WorkItem link returns silently.
tests/test_work_item_mirror.py:107
Method
test_missing_cursor_agent_reports_editor_cli_separately
(self)
tests/test_external_agent_preflight.py:107
Method
test_missing_id_errors
(self)
tests/test_market.py:240
Function
test_missing_link_is_diagnostic_only
()
tests/test_work_item_runtime_invariants.py:100
Method
test_missing_session_returns_false
(self)
tests/test_external_session_continuity.py:103
Method
test_mixed_sessions_with_and_without_runs
One session has a delegation run, another does not — both get boards.
opc/plugins/office_ui/tests/test_snapshot_builder_company_kanban.py:589
Method
test_mochat_normalize_event
(self)
tests/test_channels.py:146
Method
test_mode_and_agent_slash_persist_for_next_chat_start
(self)
tests/test_cli_app.py:971
Method
test_modify_work_item_rewrites_existing_child_contract
(self)
tests/test_company_collaboration.py:6170
Method
test_monitor_children_attention_kind_is_not_dispatch
(self)
tests/test_company_collaboration.py:5064
Method
test_move_selection_crosses_columns_and_rows
(self)
tests/cli_board/test_board_state.py:42
Method
test_multi_team_external_context_renders_direct_manager_and_reports
(self)
tests/test_company_collaboration.py:6779
Method
test_multi_team_final_delivery_completion_creates_feedback_checkpoint_from_work_item_metadata
(self)
tests/test_company_collaboration.py:1962
Method
test_multi_team_manager_prompt_uses_current_assignment_and_dispatch_turn_mode
(self)
tests/test_company_collaboration.py:8910
Method
test_multi_team_manager_turn_strips_execution_heavy_tools
(self)
tests/test_task_mode_contract.py:426
Method
test_multi_team_org_followup_accepts_work_item_plan_without_execution_model_metadata
(self)
tests/test_company_collaboration.py:9336
Method
test_multi_team_org_followup_routes_to_final_decider_task
(self)
tests/test_company_collaboration.py:9280
Method
test_multi_tool_sequence
(self, llm, event_collector, adapter, workspace)
opc/plugins/office_ui/tests/test_integration_real_agents.py:396
Method
test_multiple_role_prompts_joined_with_blank_line
(self)
tests/test_prompt_assembly.py:61
Method
test_multiple_tasks_increment_counter
(self)
opc/plugins/office_ui/tests/test_event_adapter.py:688
Method
test_multiple_tasks_sequential_numbering
Multiple task_created events should have sequential display numbers.
tests/test_session_integration.py:297
Method
test_mutating_source_dict_after_construction_does_not_affect_view
Construction snapshots the dicts (shallow copy). If the source dict changes later, the view keeps its construction-time snapshot.
tests/test_work_item_context_view.py:131
Function
test_name_regex_accepts_valid_ids
()
tests/test_org_saved_crud.py:13
Function
test_name_regex_rejects_invalid_ids
()
tests/test_org_saved_crud.py:20
Method
test_native_agent_prompt_keeps_suggested_schema
(self)
tests/test_fix4_and_fix6.py:128
Method
test_native_contract_keeps_native_tool_wording_by_default
(self)
tests/test_company_review_flow.py:633
Method
test_native_runtime_tool_schemas_use_openopc_field_names
(self)
tests/test_native_runtime_v2.py:1289
Method
test_native_task_mode_primary_exchange_does_not_synthesize_runtime_fallback
(self)
tests/test_runtime_config_enforcement.py:596
Method
test_new_company_turn_supersedes_synthetic_only_delivery_feedback_card
(self)
tests/test_session_integration.py:1425
Method
test_new_project_new_session_still_prompts_after_other_project_completed_recruitment
(self)
tests/test_company_recruiter.py:1431
Method
test_no_candidate_templates_falls_back_to_role_only_execution
(self)
tests/test_company_recruiter.py:1651
Function
test_no_dead_end_phases
Every non-terminal phase must reach at least one DONE phase. A "dead-end" is a non-terminal phase whose reachable set excludes all of {APPROV
tests/test_phase_state_machine_invariants.py:56
Method
test_no_double_counting_task_created_then_child_session
task_created followed by child_session_created should NOT double-count. Regression test for Bug5: child_session_created handler used to
tests/test_session_integration.py:332
Method
test_no_key_anywhere_has_no_credentials
(self)
tests/test_llm_provider_context_window.py:22
Method
test_no_llm_falls_back_to_pass
(self)
tests/test_gate_harness.py:187
Method
test_no_new_direct_status_writes_outside_whitelist
(self)
tests/test_phase_single_truth_invariants.py:224
Method
test_no_pending_reviews_falls_back_to_monitor_children
(self)
tests/test_company_review_flow.py:434
Method
test_no_review_task_falls_back_to_fifo
(self)
tests/test_kanban_push_runtime.py:131
Method
test_no_static_collaboration_phrases_in_external_context
(self)
tests/test_prompt_assembly_dedup.py:310
Method
test_no_task_no_metadata_no_crash
Both sides empty: kanban still renders; fields are just absent or empty.
tests/test_kanban_work_item_view.py:131
Method
test_no_view_passed_degrades_to_task_only
Backwards-compat: callers that don't pass view still get the task-side fallback (view=None constructs task-only internally).
tests/test_context_assembler_view.py:63
Method
test_no_view_passed_still_reads_task_metadata
(self)
tests/test_context_assembler_view.py:120
Method
test_non_company_marker_text_still_records_top_level_reply
(self)
tests/test_runtime_config_enforcement.py:850
Method
test_non_empty_team_memory_is_prompt_digest
(self)
tests/test_turn_mode_context.py:562
Method
test_non_matching_session_untouched
Hook must only rewrite sessions focused on THIS work item.
tests/test_fix4_and_fix6.py:249
Method
test_non_multi_team_org_returns_empty
For legacy company mode (runtime_model != multi_team_org) the runtime returns an empty string regardless of pending reviews.
tests/test_company_review_flow.py:567
Method
test_non_multi_team_org_sends_work_item_result_not_approval
Work-item runtime company mode (not multi_team_org) should keep the legacy WORK_ITEM_RESULT semantic unchanged.
tests/test_company_review_flow.py:368
Method
test_non_overridden_model_still_uses_litellm
(self)
tests/test_llm_provider_context_window.py:70
Method
test_non_review_task_bypasses_guard
A task WITHOUT the review flag hits the normal worker path. Here we use no work_item_id so it takes the task-mode fallback, confirming
tests/test_work_item_mirror.py:401
Method
test_non_rework_work_item_produces_no_feedback_section
(self)
tests/test_turn_mode_context.py:215
Method
test_non_setup_work_item_prepares_workspace_root_before_execution
(self)
tests/test_company_collaboration.py:809
Method
test_none_valued_wi_key_not_treated_as_missing
dict.get semantics: if work_item has the key with value None, the view returns None — it does NOT fall through to task.metadata. This
tests/test_work_item_context_view.py:113
Method
test_nonresident_subagent_rejects_follow_up_after_completion
(self)
tests/test_native_runtime_v2.py:1949
Method
test_normalize_escalation_reply_accepts_common_aliases
(self)
tests/test_cli_app.py:95
Method
test_normalize_escalation_reply_accepts_label
(self)
tests/test_cli_app.py:80
Method
test_normalize_escalation_reply_accepts_numeric_choice
(self)
tests/test_cli_app.py:92
Method
test_normalize_escalation_reply_accepts_option_id
(self)
tests/test_cli_app.py:74
Method
test_normalize_escalation_reply_is_case_insensitive
(self)
tests/test_cli_app.py:86
Method
test_normalize_escalation_reply_rejects_unknown_input
(self)
tests/test_cli_app.py:99
Method
test_object_without_metadata_attribute_degrades_gracefully
Defensive: passing an object that lacks .metadata (or has it as non-dict) should not crash — view becomes empty on that side.
tests/test_work_item_context_view.py:124
Function
test_office_ui_project_scope_is_explicit_not_defaulted
()
tests/test_work_item_identity_guard.py:292
Function
test_office_ui_work_item_paths_do_not_use_legacy_projection_identity_names
()
tests/test_work_item_identity_guard.py:361
Method
test_only_intent_side_tools_are_described
(self)
tests/test_company_review_flow.py:1463
Method
test_only_org_config_file_preserves_talent
If company_corporate_config.yaml is entirely missing, org_config's fields must still reach OPCConfig.org.
tests/test_org_config_import_handler.py:58
Method
test_opc_collab_dispatch_request_user_input_is_unknown
(self)
tests/test_request_user_input_collab.py:122
Method
test_opc_package_import_sanitizes_sslkeylogfile_early
(self)
tests/test_cli_app.py:2804
Method
test_open_peer_wait_now_delivers_async_mailbox_without_pausing
(self)
tests/test_company_collaboration.py:4130
Method
test_open_peer_wait_to_parallel_peer_remains_async
(self)
tests/test_company_collaboration.py:4185
Method
test_opencode_adapter_auto_keeps_default_permission_config
(self)
tests/test_external_agent_monitoring.py:3684
Method
test_opencode_adapter_declares_isolated_home_for_skill_install
(self)
tests/test_external_agent_monitoring.py:3172
Method
test_opencode_adapter_extracts_resume_session_id_from_json_events
(self)
tests/test_external_agent_monitoring.py:3570
Method
test_opencode_adapter_formats_structured_approval_response
(self)
tests/test_external_agent_monitoring.py:3934
Method
test_opencode_adapter_formats_tool_use_part_events
(self)
tests/test_external_agent_monitoring.py:3846
Method
test_opencode_adapter_full_auto_uses_inline_permission_allow
(self)
tests/test_external_agent_monitoring.py:3579
Method
test_opencode_adapter_ignores_completed_command_event_for_approval_parsing
(self)
tests/test_external_agent_monitoring.py:3549
Method
test_opencode_adapter_mirrors_user_config_with_copy_fallback
(self)
tests/test_external_agent_monitoring.py:3180
Method
test_opencode_adapter_never_returns_raw_json_when_final_text_is_missing
(self)
tests/test_external_agent_monitoring.py:3903
← previous
next →
9,801–9,900 of 10,715, ranked by callers