Skip to content

Add Antelope smart contract graph support#516

Open
SamuelRDC69 wants to merge 7 commits into
tirth8205:mainfrom
SamuelRDC69:codex/antelope-contract-awareness
Open

Add Antelope smart contract graph support#516
SamuelRDC69 wants to merge 7 commits into
tirth8205:mainfrom
SamuelRDC69:codex/antelope-contract-awareness

Conversation

@SamuelRDC69
Copy link
Copy Markdown

@SamuelRDC69 SamuelRDC69 commented May 28, 2026

Summary

  • add Antelope/CDT-aware parsing for CONTRACT, ACTION, TABLE, eosio attributes, ABI files, and dapp/test action calls
  • emit contract-review edges for auth, table reads/writes/erases, table alias-to-row mappings, inline actions, notifications, and dapp CALLS_ACTION usage
  • add code-review-graph visualize --mode antelope plus edge-aware auto visualization for contract/action/table review
  • expose Antelope table access queries through query_graph (writers_of, readers_of, erasers_of, accessors_of) and include edge metadata in traversal results
  • add fixtures, tests, and docs for Antelope parsing, table alias resolution, visualization, and query behavior

Tests

  • uv run ruff check code_review_graph/
  • uv run --with mypy --with types-networkx mypy code_review_graph/ --ignore-missing-imports --no-strict-optional
  • uv run --with 'bandit[toml]' bandit -r code_review_graph/ -c pyproject.toml
  • schema sync check: Python LATEST_VERSION 9 matches VSCode SUPPORTED_SCHEMA_VERSION 9
  • uv run pytest tests/ --tb=short -q (1285 passed, 1 skipped, 2 xpassed)
  • uv run pytest --cov=code_review_graph --cov-report=term-missing --cov-fail-under=65 (73.19% coverage)

Notes

  • This branch is current with origin/main (0c9a5ff).
  • Direct push to upstream origin is not available for this account, so the PR is submitted from the fork branch SamuelRDC69:codex/antelope-contract-awareness.

@SamuelRDC69 SamuelRDC69 marked this pull request as ready for review May 29, 2026 19:03
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