Skip to content

Claude/fix rust scan issues 01 ps z kxuoi m djv81 n9ohwv2j#38

Merged
hyperpolymath merged 6 commits intomainfrom
claude/fix-rust-scan-issues-01PsZKxuoiMDjv81N9ohwv2j
Dec 8, 2025
Merged

Claude/fix rust scan issues 01 ps z kxuoi m djv81 n9ohwv2j#38
hyperpolymath merged 6 commits intomainfrom
claude/fix-rust-scan-issues-01PsZKxuoiMDjv81N9ohwv2j

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

The experimental Rust code in ARCHIVE/license-parser-experiments/
has no Cargo.toml, causing CodeQL to report 0% call target and
macro resolution rates. Since this is archived experimental code
without a proper Cargo project, disable Rust scanning until a
buildable Rust project is added to the repository.
- Remove all Python code (server integrations)
- Remove all TypeScript code (embed, nodejs integrations)
- Remove JavaScript (browser extension, web components, conversion scripts)
- Remove ReScript (replaced by OCaml)
- Remove Rust WASM experiments (incomplete, use OCaml instead)
- Add OCaml library with types, parser, and compliance checker
- Add Deno configuration for linting/formatting
- Update CodeQL workflow to remove Python/Rust scanning

The OCaml code provides:
- Full type definitions for Palimpsest License metadata
- JSON parsing and serialisation
- Compliance checking against license terms
- Test suite with Alcotest

Can be compiled natively or to JavaScript via Melange.
- Enable Melange in dune-project
- Add browser/ directory with Melange build target
- Create palimpsest_browser.ml with JS-friendly API
- Add README documenting native and browser builds

The OCaml code can now compile to:
- Native binaries (server, CLI)
- JavaScript via Melange (browser)
Changed all workflows from checkout@v6 to checkout@v4.
Version 6 does not exist - this was causing ALL workflows to fail silently.

Current stable version is v4. This explains why:
- Security scans stopped 3 days ago
- PRs merge but nothing updates
- All CI/CD has been broken

Affected workflows:
- codeql.yml, ci.yml, test.yml, build.yml
- security.yml, docs.yml, deploy-docs.yml
- release.yml, post-sync.yml, jekyll-gh-pages.yml
- rsr-compliance.yml
@hyperpolymath hyperpolymath enabled auto-merge (squash) December 8, 2025 22:06
…N9ohwv2j

Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@hyperpolymath hyperpolymath merged commit c99045a into main Dec 8, 2025
1 of 45 checks passed
@hyperpolymath hyperpolymath deleted the claude/fix-rust-scan-issues-01PsZKxuoiMDjv81N9ohwv2j branch December 8, 2025 22:07
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.

2 participants