Skip to content

Commit 84ef50d

Browse files
committed
ci: classify superseded research warnings
1 parent b92c6a3 commit 84ef50d

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

scripts/classify_ci_noise.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ class NoiseRule:
108108
),
109109
"Serena MCP and its language-server dependencies log normal startup/shutdown detail to stderr.",
110110
),
111+
NoiseRule(
112+
"superseded-research-claim",
113+
re.compile(
114+
r"^warning: \.serena/research/[^:]+: contains superseded historical claim "
115+
r"'.+': .+$"
116+
),
117+
"Instruction validation reports explicitly superseded historical research claims without failing.",
118+
),
111119
)
112120

113121

tests/unit/test_classify_ci_noise.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ def test_known_noise_is_classified_as_benign() -> None:
4646
"INFO 2026-05-17 12:25:07,197 [StartLS:bash] solidlsp.language_servers.common:_run_command:115 - Running command 'npm install --prefix ./ bash-language-server@5.6.0'",
4747
"INFO 2026-05-17 12:25:06,979 [SerenaAgentTaskExecutor] serena.task_executor:_process_task_queue:123 - Starting execution",
4848
"CRITICAL: Before starting to work on a coding task, call the `initial_instructions` tool to read the 'Serena Instructions Manual'.",
49+
"warning: .serena/research/CODEX-2026-05-15-OFFICIAL-CAPABILITIES.md: contains superseded historical claim '[features].plugin_hooks = true': Codex 0.134 treats plugin_hooks as a removed feature flag",
4950
]
5051
)
5152

52-
assert len(benign) == 33
53+
assert len(benign) == 34
5354
assert unknown == []
5455

5556

0 commit comments

Comments
 (0)