test(8249): DELIBERATE BREAK, the tool-rules route reads seen_rulings instead of seen_ruling_systems
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 22s
CI & Build / TypeScript typecheck (push) Successful in 41s
CI & Build / Python tests (push) Failing after 2m41s
CI & Build / integration (push) Successful in 2m57s
CI & Build / Build & push image (push) Skipped

Reverted in the next commit. CI must fail test_the_route_reads_every_name_the_hook_sends here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 16:44:50 -05:00
co-authored by Claude Opus 5.5
parent d5a9e0f8c8
commit 451e129731
+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_ruling_systems")),
seen_ruling_systems=_int_list(request.args.get("seen_rulings")),
)
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_ruling_systems")),
seen_ruling_systems=_int_list(request.args.get("seen_rulings")),
)
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",