Skip to content

refactor: organize source and documentation layout - #5

Merged
HarcoChen merged 1 commit into
mainfrom
codex/repository-layout
Nov 11, 2026
Merged

HarcoChen merged 1 commit into
mainfrom
codex/repository-layout

Conversation

@HarcoChen

Copy link
Copy Markdown
Contributor

Changes

  • Move the Python environment packages into src/ and configure setuptools discovery for the source layout.
  • Consolidate Rust extension sources under crates/routes and crates/slots, alongside the engine and single-session Python binding.
  • Move benchmark guides and implementation notes into docs/benchmarks. Keep benchmark scripts and measurement data in benchmarks.
  • Update Rust source references, independent Cargo build paths, cross-platform CI, benchmark imports and documentation links.
  • Add setuptools-scm as a build dependency to collect tracked Rust sources for source distributions. Package import names, schemas and numeric layouts retain their existing contracts.
  • Document the repository layout in both landing pages.

Validation

  • Offline locked Cargo checks passed for the engine workspace, routes extension and slots extension.
  • Editable installation passed. All 31 Python source modules imported from outside the repository, including the compiled feature extension and JavaScript package resources.
  • Source distribution contains Rust build inputs and JavaScript resources. A wheel built from the extracted source distribution installed and imported successfully.
  • Python, JavaScript and embedded CI script syntax checks passed. CI YAML parsed successfully.
  • 43 local documentation links and anchors passed. Existing local-only benchmark reports remain referenced by the documentation.
  • No games or training were run for the directory reorganization.

@HarcoChen
HarcoChen marked this pull request as ready for review November 11, 2026 10:27
@HarcoChen
HarcoChen added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 6bf0794 Nov 11, 2026
4 checks passed
@HarcoChen
HarcoChen deleted the codex/repository-layout branch November 11, 2026 11:20
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