Integrate Repomix repository packing#49
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
repomix.config.jsonconfigured to produce a parseable XML bundle (repomix-output.xml) with line numbers, Git-aware sorting and security checks.repomix-instruction.mdwith the recommended read order and MASSIVE-specific development protocols, and add.repomixignoreto exclude secrets, caches, build artifacts and binary assets from packs..gitignoreentry to avoid committing generated Repomix bundles and updateREADME.mdandREADME_ES.mdto documentnpx --yes repomix@latest --config repomix.config.json(and the compressed variant) for generating snapshots.Testing
repomix.config.jsonwithpython -m json.tool repomix.config.jsonwhich succeeded.git diff --checkwhich reported no issues.npx --yes repomix@latest --config repomix.config.json --no-files -o /tmp/massive-repomix-check.xmlwhich completed successfully.npx --yes repomix@latest --config repomix.config.json -o /tmp/massive-repomix-full.xml --quietand confirmed output size withwc -c, which completed successfully.Codex Task
Summary by cubic
Integrates Repomix to generate a single, safe XML snapshot of the repo and adds an optional Rust core with Python wrappers for two hotspots. Public APIs stay the same; speed-ups apply when the
massive_rust_coreextension is present.New Features
repomix: addedrepomix.config.json,.repomixignore,repomix-instruction.md, README docs, and.gitignoreto exclude generated bundles.massive-rust-coreusingpyo3,numpy,ndarray, exposed viamassive_core.rust_corewith NumPy fallbacks.active_mask_stepinMassiveEngine.stepandlangevin_opinion_update_inplaceinIntegratedSimulator.update_agents_with_langevin; behavior unchanged.tests/test_rust_core_wrapper.py,pyproject.toml,Cargo.*, anddocs/rust_core_plan_ES.md.Migration
pip install maturinthenmaturin develop --release.npx --yes repomix@latest --config repomix.config.json(add--compressfor a smaller file).Written for commit 5557040. Summary will update on new commits.