Skip to content

fix(ai): compact wide selection schemas - #37

Merged
first-assist merged 1 commit into
mainfrom
agent/compact-selection-schema-20260826
Aug 26, 2026
Merged

fix(ai): compact wide selection schemas#37
first-assist merged 1 commit into
mainfrom
agent/compact-selection-schema-20260826

Conversation

@first-assist

@first-assist first-assist commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Outcome

Encode automatic capability scalar-selection paths as one closed string enum instead of repeating a described const schema for every reachable path. This keeps wide, deep relationship graphs inside the fixed provider-schema byte contract without omitting paths or changing the compact plan JSON shape.

Release versions are graphql-orm-ai-tool-profiles 0.10.1 and graphql-orm-ai 0.95.2 at one full reviewed revision.

Safety

  • Exact public paths remain compiler-owned and allow-listed.
  • Unknown, hidden, secret, non-exportable, cyclic, over-depth, over-cardinality, stale, and over-budget plans remain rejected.
  • Typed relationship arguments and their adjacent descriptions are unchanged.
  • Canonical discovery retains public field and relationship descriptions.
  • Capability fingerprints change deterministically with the schema representation.

Documentation impact

  • Documentation updated
  • No documentation impact

Verification

  • cargo test --locked -p graphql-orm-ai-tool-profiles --all-targets
  • cargo test --locked -p graphql-orm-ai --lib --no-default-features --features sqlite,provider-codex-app-server (326 passed; 2 reviewed binary-dependent ignores)
  • cargo clippy --locked -p graphql-orm-ai --all-targets --no-default-features --features sqlite,provider-codex-app-server -- -D warnings
  • cargo clippy --locked -p graphql-orm-ai-tool-profiles --all-targets -- -D warnings
  • RUSTDOCFLAGS='-D warnings -D missing_docs' cargo doc --locked -p graphql-orm-ai -p graphql-orm-ai-tool-profiles --no-deps
  • Complete default/SQLite reverse suite: 251 unit tests plus all integration suites; generated ORM doctests intentionally ignored
  • python3 scripts/check-documentation.py
  • python3 scripts/generate-workspace-inventory.py --check
  • scripts/check-workspace-dependencies.sh
  • scripts/check-package-release-policy.sh origin/main
  • scripts/check-semver.sh origin/main
  • cargo fmt --all -- --check
  • git diff --check

@first-assist
first-assist force-pushed the agent/compact-selection-schema-20260826 branch from 0f392ba to 99e697a Compare August 26, 2026 02:41
@first-assist
first-assist force-pushed the agent/compact-selection-schema-20260826 branch from 99e697a to 731dc1a Compare August 26, 2026 03:14
@first-assist
first-assist merged commit d1ce3b8 into main Aug 26, 2026
10 checks passed
@first-assist
first-assist deleted the agent/compact-selection-schema-20260826 branch August 26, 2026 03:45
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