Revert "test(8249): DELIBERATE BREAK, the tool-rules route reads seen_rulings instead of seen_ruling_systems"

This reverts commit 451e129731.
This commit is contained in:
2026-12-02 16:49:45 -05:00
parent 451e129731
commit 1a9057e875
+2 -2
View File
@@ -351,7 +351,7 @@ async def pre_tool_rules():
project_id=project_id, exclude_rule_ids=exclude_rule_ids, held_rule_ids=held_rule_ids,
root=(request.args.get("root") or "").strip(),
cwd=(request.args.get("cwd") or "").strip(),
seen_ruling_systems=_int_list(request.args.get("seen_rulings")),
seen_ruling_systems=_int_list(request.args.get("seen_ruling_systems")),
)
fitted = await hook_payload_svc.fit(g.user.id, hook_payload_svc.parts_of(result, {
hook_payload_svc.RULE: "rule_ids", hook_payload_svc.RULING: "ruling_system_ids",
@@ -772,7 +772,7 @@ async def write_path_prior_art():
repo_key=repo_bindings_svc.normalize_repo_key(repo) if repo else "",
exclude_derive=exclude_derive,
exclude_rule_ids=exclude_rule_ids, held_rule_ids=held_rule_ids,
seen_ruling_systems=_int_list(request.args.get("seen_rulings")),
seen_ruling_systems=_int_list(request.args.get("seen_ruling_systems")),
)
fitted = await hook_payload_svc.fit(g.user.id, hook_payload_svc.parts_of(result, {
hook_payload_svc.NOTE: "note_ids", hook_payload_svc.SYNC: "sync_note_ids",