Skip to content

refactor(semantic): adopt Apache Ossie core models - #1129

Closed
yvonneyx wants to merge 2 commits into
aifrom
codex/ossie-semantic
Closed

yvonneyx wants to merge 2 commits into
aifrom
codex/ossie-semantic

Conversation

@yvonneyx

Copy link
Copy Markdown
Contributor

Summary

  • Adopt Apache Ossie (formerly OSI) core 0.3.0.dev0 for AVA semantic models. Vendor the unmodified official JSON Schema and generate the SDK types from it.
  • Accept YAML and JSON through the CLI, SDK and Playground. Validate declared names, keys and relationships before replacing the session model. Pass the Ossie document to analysis, translation and suggestions alongside source metadata and the profile.
  • Migrate the retail examples and update the English and Chinese docs. The Gravitino guide covers published revisions, the current 0.2.0.dev0 export conversion, and physical source binding.

Empty sessions now return null. Clear a model with ava semantic <dataset-id> --clear or a setter returning null. The migration guide maps legacy AVA definitions to native Ossie fields.

Verification

  • CJS and ESM builds, Playground TypeScript check, ESLint on changed SDK/CLI files, and compilation of updated MDX docs.
  • 233 targeted tests passed. Three live LLM tests were skipped because the configured provider host could not resolve.
  • Real CLI YAML import, JSON round-trip, invalid-import rollback, and clear. DuckDB reproduced both retail revenue comparisons using the migrated expressions.
  • The upstream Ossie reference validator passed the retail and docs examples and a converted sample from the Gravitino documentation. The Gravitino check used the upstream example offline.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://antvis-AVA-preview-pr-1129.surge.sh
📝 Commit06bc60e
⏱️ Build time0.01s
📦 Size31.3 MB (+499 B ⬆️) · 485 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ 06bc60e · antvis-AVA-preview-pr-1129.surge.sh (open ↗) · 2026-11-26 08:29:30 UTC

🤖 Powered by surge-preview

@yvonneyx yvonneyx closed this Nov 27, 2026
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