Skip to content

docs(agents): entry points in the datastore skill's checklist, and a dialect capabilities table - #17050

Draft
borinquenkid wants to merge 9 commits into
docs/grails-datastore-developer-skill-8.0.xfrom
docs/datastore-skill-scope-checklist-8.0.x
Draft

borinquenkid wants to merge 9 commits into
docs/grails-datastore-developer-skill-8.0.xfrom
docs/datastore-skill-scope-checklist-8.0.x

Conversation

@borinquenkid

@borinquenkid borinquenkid commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Three additions to the grails-datastore-developer skill of #16995, as a follow-up on top of it (the base of this pull request is its branch, so the diff is only these additions; it will be retargeted to 8.0.x when #16995 merges).

  1. The checklist starts from the entry points. The Before You Push list gains a step to list the entry points and the sibling copies of the code by search, and the dimensions of the table of cases gain the entry point. A review that cites a file and a line says which entry point to test; the skill now says to make a test reach that line before replying that a case does not reproduce. A hit that already fails the same way without the change gets its own issue, following the Scope section of docs: add the grails-datastore-developer skill, with a rule for what a pull request holds #16995.
  2. The documented examples are run. The examples in the reference docs of what the change touches run on the base branch and on the change, in every place code can hold them. What the change breaks with default settings is fixed; every other difference is explained in the pull request.
  3. A dialect capabilities table and its generator. dialect-capabilities.md lists what the Hibernate 5 and 7 Dialect classes report for the capabilities a data-layer change can depend on (SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks), so a change can say whether it is dialect-dependent before a container is started. The skill points to it. dialect-capabilities/regen.sh regenerates it from the Hibernate jars in the Gradle cache (it needs a JDK 17 or later and a warm cache, and its two version variables are bumped when the Hibernate versions of dependencies.gradle move). No cell is verified on a container: the table says what Hibernate reports, not what a database does.

Documentation only. validateRepositoryConventions and rat pass, the new files carry the license header, and running regen.sh reproduces the committed table.

https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL

…ry points

The Before You Push list gains a step to list the entry points and the sibling copies of the code by search, and the
dimensions of the table of cases gain the entry point. A review that cites a file and a line says which entry point to
test: make a test reach that line before saying a case does not reproduce.

Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
… the datastore skill

A table of what the Hibernate 5 and 7 Dialect classes report for the capabilities a data-layer change can depend on
(SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks), so that a change can say whether it
is dialect-dependent before anyone starts a container. The skill points to it, and dialect-capabilities/regen.sh
regenerates it from the Hibernate jars in the Gradle cache. No cell is verified on a container: the table says what
Hibernate reports, not what a database does.

Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
Copilot AI balanced review requested due to automatic review settings November 19, 2026 00:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@jamesfredley jamesfredley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes. A row of n/a is treated as proof that null ordering is the same on every database.

## How to use it

1. List the capabilities your change relies on (SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks).
2. Look each one up below. If every dialect has the same value, the change is dialect-independent for that capability: no container run.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two tasks have priorities NULL and 1. An agent drops an explicit nulls-last order and takes the first row by ascending priority. One database returns the task with priority 1. Another returns the task with no priority. Do not treat a row of n/a as proof those databases agree.

@borinquenkid
borinquenkid marked this pull request as draft November 23, 2026 01:42
…etween the databases

A row of n/a in the capability table meant that the Hibernate version has no such method, but it looked like the same value in every
column, so null ordering, which differs between databases, read as dialect-independent. The generator marks such a row as not
reported, the table and the skill say what that means, and the table is regenerated.

Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
@borinquenkid

Copy link
Copy Markdown
Member Author

@jamesfredley You are right: a row of n/a means that the Hibernate version has no such method, and the table did not say so, so it read as the same value in every column. For null ordering it is worse than neutral: Hibernate 5 reports no getNullOrdering, and the Hibernate 7 table shows that the databases differ. The generator marks a row where nothing is reported as not reported, and the table's step 2 and the skill's checklist say that it is not agreement: look the capability up in the other Hibernate's table, and if none reports it, treat it as dialect-dependent. The table is regenerated, and the only changes are those marks and the introduction (13 lines). This branch has #16995's fix merged in, since it is stacked on it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants