Skip to content

refactor: split repo into python/ and web/ with independent CI#136

Merged
Pigbibi merged 1 commit into
mainfrom
refactor/restructure-python-js-separation
Jun 30, 2026
Merged

refactor: split repo into python/ and web/ with independent CI#136
Pigbibi merged 1 commit into
mainfrom
refactor/restructure-python-js-separation

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Restructure the QuantRuntimeSettings repository to create a clear separation between Python and JavaScript code, enabling independent development and CI validation.

Changes

Directory restructure

  • Move scripts/python/scripts/ (all Python build/validation scripts)
  • Move tests/test_*.pypython/tests/ (Python unit tests)
  • Move pyproject.toml → python/pyproject.toml (dedicated Python project config)
  • Move checkout_internal_dependency_consumers.shpython/shell/
  • Add python/tests/__init__.py for proper package structure
  • Keep JS web app in web/ and JS tests in tests/

Path updates

  • All workflow files updated: scripts/python/scripts/
  • All Python scripts updated: parents[1]parents[2] (ROOT path due to deeper nesting)
  • Test files updated: module paths now reference python/scripts/
  • Shell script repo_root calculation updated for new depth
  • dependabot.yml: directory: /python
  • READMEs: updated directory layout and quick start commands

Documentation

  • docs/ARCHITECTURE.md: documents the three-tier config-driven architecture, directory layout, and separation boundaries

CI

  • validate.yml: split into independent python and js jobs for parallel execution

No runtime changes

  • Worker.js, app.js, app.css, index.html, and all generated assets remain unchanged
  • Python script logic is identical — only path references updated

Testing

  • Python tests: 54/55 pass (1 pre-existing failure due to dependency pin drift)
  • JS syntax checks: all pass
  • Config build: generates output correctly

Closes: QSL-REORG-001

- Move Python scripts to python/scripts/ with own pyproject.toml
- Move Python tests to python/tests/ with __init__.py
- Move shell tooling to python/shell/
- Keep JS web app and JS tests in web/ and tests/
- Update all path references in workflows, scripts, and tests
- Add docs/ARCHITECTURE.md documenting the three-tier design
- Split validate.yml into independent Python and JS jobs
- Update dependabot.yml to point to /python
- Update READMEs with new directory structure

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🤖 Codex PR Review

⚠️ Review skipped: The Codex review could not be completed.

No Codex service URL or API key configured. Set CODEX_AUDIT_SERVICE_URL, ANTHROPIC_API_KEY, or OPENAI_API_KEY.

Please ensure a human reviewer checks this PR before merging.

@Pigbibi Pigbibi merged commit a445a79 into main Jun 30, 2026
1 of 6 checks passed
@Pigbibi Pigbibi deleted the refactor/restructure-python-js-separation branch June 30, 2026 15:08
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