Skip to content

hypaware-query skill: name the node and edge column traps - #1475

Open
bgmcmullen wants to merge 1 commit into
masterfrom
skill-graph-column-traps
Open

hypaware-query skill: name the node and edge column traps#1475
bgmcmullen wants to merge 1 commit into
masterfrom
skill-graph-column-traps

Conversation

@bgmcmullen

Copy link
Copy Markdown
Contributor

What

Adds one bullet to the hypaware-query skill, in both the claude and codex copies, naming the column-name traps on the graph tables beside the existing traps for ai_gateway_messages: neither node nor edge has a type column. A node's kind is node_type, its identity natural_key, its display text label; an edge's kind is edge_type, with src_type and dst_type for its endpoints.

Why

Measured in recorded sessions on one machine: Column "type" not found on the node table in 11 sessions over one month, each time retyped after the failure. It was the most frequent real mistake in the record once permission prompts were set aside, and the skill's trap list did not cover it because the list was written for the messages table only.

Found by the recommendation ask on the first-ask-recommend branch, which proposed a per-user hook for it; the lasting fix is in the shipped skill, so it is split out here. The same two lines are on that branch and will merge cleanly.

Review notes

Docs only, no runtime change. npm test passes. CPU and memory: no concern, nothing executable changed.

🤖 Generated with Claude Code

The skill listed the column-name traps for ai_gateway_messages and none
for the graph tables. In recorded sessions the same wrong name, `type`
instead of `node_type`, failed in 11 sessions in one month on one machine
and was retyped after every failure. Both shipped copies (claude and
codex) now name the graph columns beside the messages traps: `node_type`,
`natural_key`, `label` on node; `edge_type`, `src_type`, `dst_type` on
edge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant