Skip to content

Commit fe20441

Browse files
committed
fix(review): test_integration treats 'advisory' as non-critical (CI flap) + server.py tool count 31→32 (atlas-review findings F1/F2)
1 parent 57ed132 commit fe20441

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

mcp-server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
"""FastMCP server for prd-taskmaster.
33
4-
Registers 31 tools wrapping the sibling modules (pipeline, capabilities,
4+
Registers 32 tools wrapping the sibling modules (pipeline, capabilities,
55
taskmaster, backend, validation, templates) plus server-native helpers
66
(calc_tasks, backup_prd, append_workflow, debrief, log_progress,
77
gen_test_tasks, read_state, gen_scripts, compute_fleet_waves, context_pack,

tests/mcp/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_validate_setup_returns_structured_checks(tmp_path, monkeypatch):
5151
assert "passed" in check
5252
assert "detail" in check
5353
for check in payload["checks"]:
54-
if not check["passed"] and check.get("severity") != "warning":
54+
if not check["passed"] and check.get("severity") not in ("warning", "advisory"):
5555
assert check.get("fix"), f"Failing check {check['id']} has no fix hint"
5656

5757

0 commit comments

Comments
 (0)