# BR-STO-04

Quand la mémoire du programme est créée sans réglage, alors elle garde au plus 10 000 conversations.

Défini dans [Stocker les conversations et protéger les traces](https://docs.piighost.dev/fr/domain/operations/storage-and-encryption/#br-sto-04).

## Où vit la règle

- [`InMemoryConversationMemory.__init__()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L48)
- [`InMemoryConversationMemory._drop()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L142)
- [`InMemoryConversationMemory._evict()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L147)
- [`InMemoryConversationMemory._expired()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L137)
- [`memory.py:16`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L16)
- [`memory.py:23`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L23)
- [`memory.py:13`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L13)

## Tests directs

- [`tests/config/test_thread_pipeline.py::test_thread_pipeline.py`](https://github.com/Athroniaeth/piighost/blob/master/tests/config/test_thread_pipeline.py#L1)
- [`tests/config/test_thread_pipeline.py::TestInMemoryConfig::test_a_bare_section_is_bounded_like_the_store`](https://github.com/Athroniaeth/piighost/blob/master/tests/config/test_thread_pipeline.py#L57)
- [`tests/conversation_memory/test_in_memory.py::test_in_memory.py`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L1)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_access_refreshes_recency`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L166)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_max_threads_evicts_least_recently_used`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L156)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_none_lifts_both_bounds`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L201)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_reading_an_unknown_thread_creates_no_entry`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L146)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_the_default_store_caps_its_thread_count`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L185)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_the_default_store_expires_an_idle_thread`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L193)
- [`tests/conversation_memory/test_in_memory.py::TestBounding::test_ttl_expires_a_thread_lazily`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L176)
- [`tests/conversation_memory/test_in_memory.py::TestConformance::test_satisfies_the_port`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L19)
- [`tests/conversation_memory/test_in_memory.py::TestEncapsulation::test_remember_copies_its_input`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L135)
- [`tests/conversation_memory/test_in_memory.py::TestEncapsulation::test_returned_union_is_a_copy`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L125)
- [`tests/conversation_memory/test_in_memory.py::TestForget::test_forget_leaves_other_threads_intact`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L114)
- [`tests/conversation_memory/test_in_memory.py::TestForget::test_forget_purges_a_thread`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L94)
- [`tests/conversation_memory/test_in_memory.py::TestForget::test_forget_reports_what_it_erased`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L102)
- [`tests/conversation_memory/test_in_memory.py::TestForget::test_forget_unknown_thread_reports_nothing_erased`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L109)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsForAMessage::test_a_clean_message_is_a_hit_with_no_detections`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L38)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsForAMessage::test_message_in_unknown_thread_is_a_miss`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L52)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsForAMessage::test_remembering_a_message_again_overwrites`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L44)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsForAMessage::test_returns_the_detections_of_a_known_message`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L25)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsForAMessage::test_unknown_message_is_a_miss`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L32)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsUnion::test_explicit_none_means_the_whole_thread`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L68)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsUnion::test_no_message_unions_detections_in_first_seen_order`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L59)
- [`tests/conversation_memory/test_in_memory.py::TestGetDetectionsUnion::test_unknown_thread_has_no_detections`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L75)
- [`tests/conversation_memory/test_in_memory.py::TestProvenance::test_default_role_is_user`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L241)
- [`tests/conversation_memory/test_in_memory.py::TestProvenance::test_first_occurrence_wins`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L223)
- [`tests/conversation_memory/test_in_memory.py::TestProvenance::test_provenance_folds_case`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L232)
- [`tests/conversation_memory/test_in_memory.py::TestProvenance::test_records_the_role_of_a_first_occurrence`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L215)
- [`tests/conversation_memory/test_in_memory.py::TestProvenance::test_unknown_thread_has_no_provenance`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L247)
- [`tests/conversation_memory/test_in_memory.py::TestThreadIsolation::test_threads_do_not_leak_into_each_other`](https://github.com/Athroniaeth/piighost/blob/master/tests/conversation_memory/test_in_memory.py#L82)
- [`tests/integrations/langchain/test_middleware_stream.py::test_middleware_deanonymize_stream_restores_split_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware_stream.py#L33)
- [`tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_anonymize_treats_assistant_value_as_pii`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L571)
- [`tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_ignore_does_not_analyze_assistant_messages`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L580)
- [`tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_preserve_keeps_assistant_value_clear`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L562)
- [`tests/integrations/langchain/test_middleware.py::TestFactoryContract::test_a_non_delimited_factory_is_refused`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L596)
- [`tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_invented_tool_argument_is_refused`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L517)
- [`tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_kept_or_dropped`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L490)
- [`tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_only_issued_tokens_pass_under_raise`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L509)
- [`tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_raise_refuses_an_invented_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L501)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_a_command_without_a_message_is_left_alone`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L359)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_before_model_never_rewrites_a_tool_message`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L440)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_before_model_reanonymizes_clear_tool_call_args`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L406)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_output_anonymizes_a_tool_message_inside_a_command`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L289)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_output_anonymizes_block_tool_message_content`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L264)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_output_anonymizes_every_command_update_shape`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L323)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_passthrough_leaves_a_command_tool_message_alone`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L382)
- [`tests/integrations/langchain/test_middleware.py::TestToolCalls::test_strategy_routes_each_direction`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L252)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_after_model_deanonymizes_block_content`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L132)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_after_model_deanonymizes_for_display`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L71)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_before_model_anonymizes_block_content`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L96)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_before_model_anonymizes_messages`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L60)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_block_content_leaves_non_text_blocks_untouched`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L114)
- [`tests/integrations/langchain/test_middleware.py::TestWhenInstalled::test_no_pii_leaves_messages_untouched`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/langchain/test_middleware.py#L84)
- [`tests/integrations/test_deidentify_stream.py::test_invented_token_is_dropped`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify_stream.py#L73)
- [`tests/integrations/test_deidentify_stream.py::test_invented_token_raises`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify_stream.py#L80)
- [`tests/integrations/test_deidentify_stream.py::test_literal_text_streams_through`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify_stream.py#L59)
- [`tests/integrations/test_deidentify_stream.py::test_token_split_across_chunks_is_restored`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify_stream.py#L51)
- [`tests/integrations/test_deidentify_stream.py::test_trailing_incomplete_token_is_flushed`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify_stream.py#L66)
- [`tests/integrations/test_deidentify.py::TestAnonymize::test_replaces_pii_with_a_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L46)
- [`tests/integrations/test_deidentify.py::TestConstruction::test_a_factory_that_shares_tokens_is_refused`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L95)
- [`tests/integrations/test_deidentify.py::TestConstruction::test_a_pipeline_without_a_recognizer_is_refused`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L79)
- [`tests/integrations/test_deidentify.py::TestConstruction::test_a_reversible_factory_is_accepted`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L116)
- [`tests/integrations/test_deidentify.py::TestDeanonymize::test_round_trips_a_message`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L53)
- [`tests/integrations/test_deidentify.py::TestInventedStrategy::test_drop_removes_an_invented_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L66)
- [`tests/integrations/test_deidentify.py::TestInventedStrategy::test_keep_leaves_an_invented_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L61)
- [`tests/integrations/test_deidentify.py::TestInventedStrategy::test_raise_refuses_an_invented_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_deidentify.py#L71)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestAroundTheModel::test_model_sees_placeholders_and_reply_is_restored`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L54)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_anonymize_treats_the_assistant_value_as_pii`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L260)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_ignore_leaves_the_assistant_message_unanalyzed`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L268)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_preserve_keeps_the_assistant_value_clear`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L255)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestBlockContent::test_sequence_user_content_is_anonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L70)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestInventedStrategy::test_an_invented_token_in_the_reply_is_refused`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L141)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestMultiTurn::test_prior_turn_pii_is_not_leaked_to_the_model`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L125)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestStructuredToolResult::test_dict_tool_result_is_anonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L95)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestThreadIdGetter::test_thread_id_is_resolved_from_the_run_context`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L154)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestTools::test_passthrough_leaves_the_arguments_as_tokens`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L209)
- [`tests/integrations/test_pydantic_ai_hooks.py::TestTools::test_tool_gets_the_value_and_its_result_is_reanonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/integrations/test_pydantic_ai_hooks.py#L174)
- [`tests/observation/test_thread_spans.py::TestThreadSpans::test_deanonymize_emits_its_own_root`](https://github.com/Athroniaeth/piighost/blob/master/tests/observation/test_thread_spans.py#L71)
- [`tests/observation/test_thread_spans.py::TestThreadSpans::test_deanonymize_omits_its_output_when_redacting`](https://github.com/Athroniaeth/piighost/blob/master/tests/observation/test_thread_spans.py#L87)
- [`tests/observation/test_thread_spans.py::TestThreadSpans::test_detect_span_reports_a_cache_miss_then_a_hit`](https://github.com/Athroniaeth/piighost/blob/master/tests/observation/test_thread_spans.py#L39)
- [`tests/observation/test_thread_spans.py::TestThreadSpans::test_root_carries_the_session_id`](https://github.com/Athroniaeth/piighost/blob/master/tests/observation/test_thread_spans.py#L29)
- [`tests/observation/test_thread_spans.py::TestThreadSpans::test_stage_spans_nest_under_the_thread_root`](https://github.com/Athroniaeth/piighost/blob/master/tests/observation/test_thread_spans.py#L57)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_allow_list_clears_a_fresh_thread_detection`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L124)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_allow_list_trumps_a_hitl_add`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L89)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_assistant_introduced_deny_listed_value_stays_clear`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L141)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_deny_list_trumps_a_hitl_drop`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L76)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_deny_listed_value_is_deanonymizable`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L110)
- [`tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_force_strategy_outranks_assistant_provenance`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_override_integration.py#L156)
- [`tests/pipeline/test_thread_hitl.py::TestAnonymizeCorrected::test_added_value_is_deanonymizable_thread_wide`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L95)
- [`tests/pipeline/test_thread_hitl.py::TestAnonymizeCorrected::test_adds_a_missed_value`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L81)
- [`tests/pipeline/test_thread_hitl.py::TestAnonymizeCorrected::test_correction_is_local_to_the_message`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L102)
- [`tests/pipeline/test_thread_hitl.py::TestAnonymizeCorrected::test_drops_a_false_positive`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L87)
- [`tests/pipeline/test_thread_hitl.py::TestAnonymizeCorrected::test_re_correcting_replaces_cleanly`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L110)
- [`tests/pipeline/test_thread_hitl.py::TestOverlappingCorrection::test_the_union_is_hidden_and_named_by_the_human`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L124)
- [`tests/pipeline/test_thread_hitl.py::TestOverlappingCorrection::test_without_a_cached_set_the_surest_names_the_union`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_hitl.py#L138)
- [`tests/pipeline/test_thread_recognizer.py::TestConformance::test_satisfies_the_port`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_recognizer.py#L27)
- [`tests/pipeline/test_thread_recognizer.py::TestRecognizer::test_a_delimited_factory_is_its_own_recognizer`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_recognizer.py#L34)
- [`tests/pipeline/test_thread_recognizer.py::TestRecognizer::test_a_mask_factory_has_no_recognizer`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread_recognizer.py#L41)
- [`tests/pipeline/test_thread.py::TestCache::test_resending_a_message_skips_detection`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L183)
- [`tests/pipeline/test_thread.py::TestDeanonymize::test_restores_tokens_the_pipeline_never_anonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L260)
- [`tests/pipeline/test_thread.py::TestDeanonymize::test_round_trips_a_message_from_the_thread`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L253)
- [`tests/pipeline/test_thread.py::TestForget::test_an_erasure_mid_derivation_is_not_memoized`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L219)
- [`tests/pipeline/test_thread.py::TestForget::test_forget_thread_clears_the_memory`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L193)
- [`tests/pipeline/test_thread.py::TestOneLabelPerValue::test_a_later_surer_label_renames_no_token`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L162)
- [`tests/pipeline/test_thread.py::TestOneLabelPerValue::test_a_value_keeps_its_first_label_across_detectors`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L147)
- [`tests/pipeline/test_thread.py::TestProvenance::test_assistant_introduced_value_stays_clear`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L296)
- [`tests/pipeline/test_thread.py::TestProvenance::test_assistant_repeat_after_user_stays_anonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L315)
- [`tests/pipeline/test_thread.py::TestProvenance::test_default_role_anonymizes`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L322)
- [`tests/pipeline/test_thread.py::TestProvenance::test_user_introduced_value_is_anonymized`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L309)
- [`tests/pipeline/test_thread.py::TestProvenance::test_user_reference_after_assistant_stays_clear`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L302)
- [`tests/pipeline/test_thread.py::TestThreadConsistency::test_a_new_value_gets_the_next_number`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L130)
- [`tests/pipeline/test_thread.py::TestThreadConsistency::test_a_value_keeps_its_token_across_messages`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L122)
- [`tests/pipeline/test_thread.py::TestThreadConsistency::test_threads_are_isolated`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L137)
- [`tests/pipeline/test_thread.py::TestThreadTokenMap::test_an_untouched_thread_has_an_empty_map`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L278)
- [`tests/pipeline/test_thread.py::TestThreadTokenMap::test_maps_each_token_to_its_value`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L269)
- [`tests/pipeline/test_thread.py::TestThreadTokenMap::test_matches_what_deanonymize_restores`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L283)
- [`tests/pipeline/test_thread.py::TestUnicodeSpaces::test_a_value_keeps_its_token_across_spacings_and_messages`](https://github.com/Athroniaeth/piighost/blob/master/tests/pipeline/test_thread.py#L442)

## Tests indirects

Aucun test indirect trouvé.

## Utilisé par

- [`InMemoryConversationMemory`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L31)
- [`InMemoryConversationMemory._live_thread()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L122)
- [`InMemoryConversationMemory.remember()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/conversation_memory/memory.py#L67)
- [`InMemoryConfig.build()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/config/models/memory.py#L28)
- [`ThreadAnonymizationPipeline.__init__()`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/pipeline/thread.py#L51)
- [`ThreadAnonymizationPipeline`](https://github.com/Athroniaeth/piighost/blob/master/src/piighost/pipeline/thread.py#L34)

Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.
