Skip to content

Export deterministic LuaLS/LuaCATS API definitions - #16

Open
geromet wants to merge 15 commits into
mainfrom
feat/luals-stub-export
Open

geromet wants to merge 15 commits into
mainfrom
feat/luals-stub-export

Conversation

@geromet

@geromet geromet commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Completes the coherent #10 LuaLS/LuaCATS exporter and real-LuaLS acceptance package.

  • deterministic exporter from normalized lua_api.json;
  • explicit build identity;
  • inheritance/interfaces/fields/methods/overloads/globals;
  • conservative type mapping and safe generated names;
  • deterministic metadata/full-corpus regeneration;
  • pinned LuaLS 3.19.1 full-corpus diagnostics plus fixture completion/navigation acceptance.

Exact-head proof

Head 17038a33de8aa0ad06912868ca2b51fc855dc6ab against main@c64abd05ba5c1ce4efd54e2ee7e5e0e26db63589:

  • hosted run 34028559743: success;
  • comparator tests 7/7;
  • exporter tests 7/7;
  • byte-identical full-corpus double generation;
  • 1096 classes, 745 globals, 1,973,865-byte library;
  • full-corpus LuaLS diagnostics: 0 errors;
  • fixture completion covers class, inheritance, collection field and overloaded methods;
  • definition navigation reaches the generated global function.

Boundaries

Read-only repository CI plus temporary runner artifacts. No default merge by fleet. No published build-specific library in this package.

Refs #10

Authority boundary: this PR targets default for Gerome final inspection only. Fleet must not merge it into main.

@geromet geromet left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

M1 reconciliation check: branch now contains current main via a non-force merge commit and GitHub reports it mergeable. No exporter code changed during reconciliation; prior 6/6 deterministic exporter tests remain the implementation proof. No hosted workflow is configured for this repository.

@geromet geromet left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

M1 coding-agent readiness review complete for head 12ec9b66e8bdb04d430927aa387ca232ce08c8b2.

Reviewed the exporter, tests, README, workflow, current issue contract, review threads, default-branch freshness, and trust boundaries. One concrete supply-chain finding was repaired in this pass: mutable actions/checkout@v4 is now pinned to immutable v4.2.2 commit 11bd71901bbe5b1630ceea73d27597364c9af683.

Hosted run 33932143008 completed all steps successfully after that change: pinned checkout, Python compilation, comparator tests, exporter tests, and complete-corpus deterministic double-generation/byte comparison. No unresolved inline review threads remain. GitHub reports the PR mergeable against current main.

Security review found no filesystem escape beyond the caller-selected output directory, no network/process execution in the exporter, no dynamic evaluation/unsafe object deserialization, and generated Lua identifiers are sanitized or quoted. Workflow permissions are read-only and generated corpus output stays temporary.

Issue semantics are correct: this remains Refs #10, not Closes #10; actual Lua Language Server completion/navigation verification remains follow-up acceptance rather than being invented here.

Ready for Gerome's coding agent/human final review. M1 does not merge default branches.

This branch has not been deployed

No deployments
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