Skip to content

Identify regenerable battle inputs with Kondo - #314

Open
vikas-bottomless wants to merge 10 commits into
codex/hosted-battle-snapshotsfrom
codex/research-snapshot-kondo
Open

vikas-bottomless wants to merge 10 commits into
codex/hosted-battle-snapshotsfrom
codex/research-snapshot-kondo

Conversation

@vikas-bottomless

Copy link
Copy Markdown
Contributor

Changes

Package a read-only helper built with upstream kondo-lib to identify dependency and build directories in staged battle inputs. Record the detected exclusions in the archive manifest and preserve the source workspace.

The first commit captures staged workspace inputs, reachable Git history, and files read through the contestants’ file tools from authorized external roots. Shell subprocess reads have incomplete coverage. The second commit contains the Kondo changes. This PR stacks on #312 and pairs with the cloud implementation.

Verification

Ran a hosted Electron development battle against MongoDB and LocalStack. The classifier excluded root and nested node_modules and kept the fixture’s lockfiles, checkpoint and scratch input. An offline npm ci using the captured tarball reproduced the fixture’s dependency file contents, modes and symlink targets. The packaged detector also passed its runtime smoke test.

@vikas-bottomless
vikas-bottomless requested a review from a team as a code owner December 1, 2026 13:55

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.

2 participants