From 1df606d0b535f9839f4c664c98bddc9263ea66df Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Thu, 17 Sep 2026 21:40:48 +0000 Subject: [PATCH] Regress input paths excluded from artifact completion --- tests/test_clean_agent_preview.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test_clean_agent_preview.py b/tests/test_clean_agent_preview.py index 9cb2d912b..e91ccf2b0 100644 --- a/tests/test_clean_agent_preview.py +++ b/tests/test_clean_agent_preview.py @@ -425,6 +425,16 @@ def test_prompt_output_path_is_tracked_without_its_source_path(): ) == ('/workspace/output.html',) +def test_preferences_are_inputs_not_required_outputs_for_a_saved_digest(): + from src.clean_agent_preview import declared_workspace_artifacts + + assert declared_workspace_artifacts( + 'Local preferences live at /workspace/config/interests.json and ' + '/workspace/config/categories.json; they contain input data. ' + 'Save everything to /workspace/results/paper_digest.md.' + ) == ('/workspace/results/paper_digest.md',) + + def test_compact_writer_advertises_parallel_independent_file_calls(): writer = next( schema for schema in compact_schemas(FUNCTION_TOOL_SCHEMAS)