merge: track H group N

The merge agent stopped this branch on an add/add conflict it had not been
told to expect: groups U and N each created tests/test_understand_tools.py.
Resolved by hand:
- tests/test_understand_tools.py stays U's (the drawing_understand wire
  tests), and N's takeoff wire tests move whole to
  tests/test_understand_takeoff_tools.py. Each file keeps its own client
  fixture: U's opens a fresh document, N's reads files only.
- server.py: SECTION 26 (4 tools, U then D) is kept as merged, and SECTION
  27 (Plant Takeoffs, 2 tools) follows it whole, above the RESOURCES
  banner.
- discovery/aliases.py: additive; the two takeoff records follow the four
  readers.
- tests/test_tool_registry.py: all three branches' paragraphs are kept.
  The snapshot is recomputed from the live registry: analysis 18, 247
  tools. Task 11 ranks `understand` and `plant`.
- docs/tool-inventory.json regenerated (247 tools, 26 groups); README
  counts are 247 registered / 242 advertised. The collected-tests figure
  is left to Task 11.

ruff check passes. Suite: 4919 passed, 1 xfailed. The one deselected test
is the collected-tests figure.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKFStjEFzpGyLq5bMpWxTd
This commit is contained in:
Umut CAN
2026-09-24 12:48:12 +03:00
co-authored by Claude Opus 5.5
16 changed files with 5215 additions and 7 deletions
+39
View File
@@ -2538,6 +2538,45 @@ TOOL_ALIASES: dict[str, ToolAliases] = {
"kopuk hatlar",
),
),
"pipe_takeoff": ToolAliases(
acad=(),
synonyms=(
"pipe takeoff",
"piping takeoff",
"takeoff",
"pipe quantities",
"how much pipe",
"pipe lengths from a p&id",
"bill of quantities",
"boq",
"metraj",
"boru metrajı",
"boru metraji",
"metre cetveli",
"boru listesi",
"спецификация",
"ведомость",
"спецификация трубопроводов",
"ведомость трубопроводов",
),
),
"cable_takeoff": ToolAliases(
acad=(),
synonyms=(
"cable takeoff",
"cable schedule",
"cable lengths",
"cable list",
"how much cable",
"motor cable lengths",
"kablo metrajı",
"kablo metraji",
"kablo listesi",
"kablo cetveli",
"кабельный журнал",
"ведомость кабелей",
),
),
}