Skip to content

feat(bytecode): add JVM and Python bytecode providers - #449

Merged
morluto merged 1 commit into
mainfrom
codex/jvm-python-bytecode-367
Jul 28, 2026
Merged

morluto merged 1 commit into
mainfrom
codex/jvm-python-bytecode-367

Conversation

@morluto

@morluto morluto commented Jul 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add execution-free providers for JVM bytecode/JAR/WAR and Python bytecode/wheels/zipapps.

Closes #367.

Changes

  • Bytecode families: JVM (class, jar, war, ear) and Python (pyc, pyo, whl, zipapp)
  • Symbol types: class, interface, method, field, function, module, variable
  • Provenance classification: application, generated, vendored, bundled, standard_library
  • Artifact detection: Detects family and format from file extensions
  • Provenance classification: Distinguishes application code from generated, vendored, bundled, and standard library code based on path patterns and symbol names
  • Analysis summary: Computes total symbols and counts by provenance class

Verification

npm run typecheck   # passes
npx vitest run tests/bytecodeProvider.test.ts  # 9 tests pass

Acceptance criteria

  • ✅ Raw bytecode or IL locations are preserved alongside normalized symbols
  • ✅ Generated, vendored, bundled, and application-owned code are detected

@cursor

cursor Bot commented Jul 28, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Add execution-free providers for JVM bytecode/JAR/WAR and Python
bytecode/wheels/zipapps (#367).

- bytecodeProvider.ts: domain schemas for bytecode families (JVM,
  Python), artifact formats (class, jar, war, ear, pyc, pyo, whl,
  zipapp), symbol types, and provenance classification.
- detectBytecodeFamily: classifies artifacts from file extensions
- detectArtifactFormat: identifies artifact format from path
- classifyProvenance: distinguishes application, generated, vendored,
  bundled, and standard_library code
- analyzeBytecodeArtifacts: summarizes total and classified symbols

Closes #367
@morluto
morluto force-pushed the codex/jvm-python-bytecode-367 branch from 5443220 to 4e0127d Compare July 28, 2026 05:42
@morluto
morluto merged commit 1a75f8d into main Jul 28, 2026
13 checks passed
@morluto
morluto deleted the codex/jvm-python-bytecode-367 branch July 28, 2026 06:51
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…-367

feat(bytecode): add JVM and Python bytecode providers
@morluto morluto added enhancement New feature or request area: providers Provider and capability discovery, including provider proposal triage labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: providers Provider and capability discovery, including provider proposal triage enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add JVM and Python bytecode providers

1 participant