feat(pid): pid_from_spec — a whole P&ID in one transaction, graph and critique returned

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKFStjEFzpGyLq5bMpWxTd
This commit is contained in:
Umut CAN
2026-09-16 12:10:14 +03:00
co-authored by Claude Opus 5
parent 6aded6bbf0
commit d80ae17411
9 changed files with 649 additions and 8 deletions
+5 -4
View File
@@ -512,8 +512,9 @@ async def test_tool_group_sizes_are_unchanged():
`pid_symbol_insert`, then 2 -> 3 when `pid_line_draw` joined, 3 -> 4
when the reader `pid_graph` joined and 4 -> 7 when the three graph
deliverables (`pid_instrument_index` / `pid_line_list` /
`pid_equipment_list`) joined; the `pid` tag is ranked first in
`_GROUP_TAG_PRIORITY` so those tools file under
`pid_equipment_list`) joined and 7 -> 8 when `pid_from_spec` (a whole
sheet from one declarative spec, in one transaction) joined; the `pid`
tag is ranked first in `_GROUP_TAG_PRIORITY` so those tools file under
`pid` rather than under their secondary `query` / `create` tags. Every
other number here has been unchanged since the snapshot was taken.
"""
@@ -531,7 +532,7 @@ async def test_tool_group_sizes_are_unchanged():
"entity_query": 9,
"layers": 14,
"layouts": 12,
"pid": 7,
"pid": 8,
"premium": 12,
"solids": 5,
"system": 7,
@@ -540,4 +541,4 @@ async def test_tool_group_sizes_are_unchanged():
"validation": 1,
"view": 4,
}
assert sum(sizes.values()) == 164
assert sum(sizes.values()) == 165