Skip to content

Organize the repository around apps, packages, development and docs - #359

Open
Vedaant-J wants to merge 3 commits into
mainfrom
codex/repository-layout
Open

Vedaant-J wants to merge 3 commits into
mainfrom
codex/repository-layout

Conversation

@Vedaant-J

@Vedaant-J Vedaant-J commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #358

The repository root mixed the Studio application, reusable engine packages, release scripts, deployment configuration, examples and test trees. A new project or test had several plausible homes. The engine wheel builder also bundled any directory that appeared under packages/. This PR reorganizes the repository into four areas with written placement and dependency rules, and adds a check that enforces them. Python distribution names, import names and entry points do not change.

Design and dependency rules · Exact move manifest · Change map

Before and after

Before (main)                          After
kumo/ rest/ pool/ statedb/ ...         apps/studio/            Studio: Python packages, backend tests (test/), docs/,
ui/ docker/ helm/ deploy/ bin/ tools/                          UI, docker, helm, deploy, bin, Studio tools/
setup.py                               packages/contracts/     kumo-api, kumo-pql, kumo-settings
packages/kumo-*  (flat)                packages/data/          diskgraph
packages/diskgraph                     packages/runtime/       kumo-core (+ its 34 tests that lived in Studio's test/)
packages/experimental/                 packages/integrations/  kumo-s3, -gcs, -adls, -bigquery, -databricks, -snowflake
agent-skills/ examples/                packages/clients/       kumo-engine (+ agent-skills/, examples/), kumo-sdk
example_notebooks/                     packages/models/        glove-6b-50d (was tools/glove-6b-50d)
test/  (Studio + tooling tests)        packages/experimental/  kumo-pytorch, kumo-transaction (unchanged)
tests/ (public harness)                packages/ui/            kumo-ui-catalog
scripts/ benchmark/ 3rdparty/          development/tooling/    scripts/ (+ tests/), CI helpers, Faiss build, cloud tools, import records
setup.cfg .pre-commit-config.yaml      development/testing/    tests/ (public cross-component harness)
pyrightconfig.json .style.yapf ...     development/benchmarks/ commerce, kaggle probes
docs/ (shared + component docs)        development/config/  development/third-party/  docs/ (shared docs, assets, designs)

These stay at the root because a tool or service finds them only there:

  • skills/, the published NVIDIA skills catalog copy;
  • .dockerignore;
  • .mise.toml and mise.lock;
  • .stignore;
  • .gitleaks.toml and .trufflehog.yaml;
  • .temporal-cli-version.

Studio becomes the apps/studio workspace project, and the root pyproject.toml becomes a virtual uv workspace. Use uv sync --package kumo --extra dev --extra cpu.

Project configuration

Each project owns its own configuration:

  • Studio's pytest and coverage settings are in apps/studio/pyproject.toml. CI passes --rcfile=apps/studio/pyproject.toml to coverage, and .test_durations keys are relative to apps/studio.
  • The root pyproject.toml keeps only the workspace and the tooling tests' pytest settings.
  • The Studio wheel ships only runtime modules, without scripts, tests or test. Its classifiers moved from a stale setup.cfg (Python 3.6–3.9) into setup.py (3.11–3.14).
  • kumo-sdk lints with its own flake8 settings, which the shared config had silently excluded.
  • kumo-pql formats with its own yapf style.
  • kumo-api's empty setup.py is gone.
  • CI checks that the kumo_api_release_ver fallbacks in the SDK, engine and Studio setup.py files match kumo-api.
  • The dependency-boundary check now covers kumo-pytorch and the GloVe package.

packages/experimental/kumo-transaction stays a standalone uv project:

  • It is an upstream-synced kit with its own lock and uv pin.
  • It requires Python 3.12 or later.
  • Making it a member would add more than a hundred third-party packages from its notebook, docs and model extras to the root lock.

Dependency rules and the layout check

Group May import
contracts —
data contracts
runtime contracts, data
models —
integrations contracts, runtime
experimental contracts, data, runtime
clients contracts, data, runtime, integrations, experimental, models
apps every packages/ group
development anything (nothing may import it)

dev layout-check (also the Repository layout workflow) scans the static imports of every tracked project Python file, tests included, and enforces this table. It also gives each kumo.* subpackage an owner:

  • kumo.settings and kumo._managed_paths belong to kumo-settings;
  • kumo.engine belongs to kumo-engine;
  • kumo.pytorch belongs to kumo-pytorch;
  • the rest of kumo.* belongs to Studio.

A new kumo.<name> must be registered.

The check fails on any new runtime import cycle. It lists the existing exceptions one by one:

  • six test or tooling imports, such as kumo-engine tests using Studio's io_utils and Studio release tests importing repository tooling;
  • the cycle among ten of Studio's own top-level packages.

New violations fail, and so do allowlist entries whose import has gone.

The check still verifies everything it checked before: workspace manifests, Studio packaging location, no tracked files at old locations, npm file: dependencies and dangling symlinks.

Engine wheel

packages/engine-bundle.txt replaces the packages/*/ glob. Only listed projects enter the kumo-engine wheel. "Experimental" is a maturity label, not a release boundary: experimental/kumo-pytorch is listed because main already ships it (#413). DiskGraph keeps its separate native build, and the remote SDK never enters the bundle. The bundled set is identical to main's.

Commits

  1. 23f516375: pure renames generated from the manifest: 7,740 files, all 100% similarity, no content changes.
  2. fafdc502c: every consumer of a moved path, plus the per-project configuration above, across 637 files:
    • workspace and Studio packaging, and uv.lock (workspace source paths only);
    • Docker COPY paths;
    • workflows and paths: filters;
    • npm local dependencies;
    • root lookups in scripts and tests;
    • tool configuration and documentation links.
  3. 961e1ee65: the layout and import check, the design doc, the package/development READMEs and the move manifest.

This branch is regenerated on current main (90c358d17, through #585 and #551). The moves are replayed from the manifest and the path edits re-applied, rather than merging main into the old branch.

Testing Done

Run locally. GPU, cloud and image-deployment jobs were not run. The merged and Studio wheels and the UI checks ran on the tree just before the rebase onto #585 and #551. Everything else ran on the final head.

  • Lint, as CI runs it:
    • flake8, isort and yamllint: no findings.
    • License headers: 6,922 files; license metadata: 16 manifests; pyroma 10/10.
    • kumo-api and kumo-sdk pre-commit pass.
    • The dependency-boundary check: 12 packages, no issues.
  • Layout and dependencies:
    • dev layout-check and uv lock --check (uv 0.13.7) pass.
    • uv.lock differs from main only in 61 editable-path lines: no new third-party packages, and Cargo.lock and the npm locks change only local paths.
  • Wheels:
    • The merged engine wheel built (12 first-party projects plus native DiskGraph); 16 bundled import surfaces resolve in an isolated venv and the platform verifier passes.
    • The Studio wheel equals main's minus scripts, tests, test and the moved repository tooling.
    • Studio and engine source archives rebuild into wheels.
  • Tests:
    • Packages: PQL 1,805; API 1,118; remote SDK 664 (28 skipped).
    • kumo-core: the 34 moved test files pass (the 2 that fail locally need GPU Faiss, which this CPU host cannot load); tests/sources 442.
    • test_diskgraph_nested_trainer.py stays in Studio. In kumo-core it would also run in the Python 3.12 pyarrow-range job, where its memory-growth bound fails every time (it passes on Studio's 3.14 environment).
    • Connectors (the Remove the principal store and use Principal-only provider authentication #585 area): s3 49, gcs 62, adls 335, bigquery 187, databricks 225, snowflake 243.
    • Studio:
      • connector/local 1,417 passed; utils, config, graph, train, explain and automl 754 passed.
      • The only failure needs seaborn, which isn't installed here.
      • The two subprocess harnesses that previously needed an installed test package: 20 passed.
      • Collection: 6,457 of 6,468; the 4 errors are optional service dependencies and a pre-existing broken import.
    • Repository tooling: 1,417 passed, 4 skipped. Workflow helpers 33 passed, plus 29 for the engine runner pool.
    • Docs, public-reference and published-skills checks pass.
    • Earlier rounds: UI type check, lint, build and 3,822 vitest tests passed; selected kumo-engine tests 272 passed.
  • Review:
    • An earlier line-by-line review of about 1,900 changed hunks fixed over-broad rewrites.
    • An independent review of this round found no blockers.

CI

The previous head (c78db46ca) had 161 checks passing and 3 expected failures:

  • PR change table and validate-pr fail because the PR has more than 3,000 files.
  • CodeQL reports 5 alerts on moved files whose content is identical to main; the same alerts are already open on main at the old paths.

On 971441cf7, the pyarrow-range (pyarrow<25) job exposed the 3.12 failure above, which is fixed by keeping that file in Studio. Full CI on 961e1ee65: 160 checks passed, 15 skipped, 2 expected failures:

  • PR change table reports the 3,000-file limit.
  • CodeQL reports the same 5 alerts on moved files, which are already open on main.

Known limitations

  • GitHub's PR-files API returns at most 3,000 files. The PR change table check therefore reports an incomplete file inventory, as expected for this migration; it is not a required check. Review the manifest and the full diff locally:
    git fetch origin main codex/repository-layout
    git diff -M -l20000 --name-status origin/main...origin/codex/repository-layout
  • Contributors with pre-commit hooks installed must reinstall them once with python dev pre-commit install, because the config moved to development/config.
  • Open PRs that touch moved files will need a rebase. Git's rename detection carries plain edits and new files in moved directories; hand-written paths (workflows, Docker, parents[N]) need updating.
  • Follow-ups:
    • .github/CODEOWNERS is still empty: it needs real owner names for each area.
    • The pyright CI job checks almost nothing (on main too). A working include finds 4,144 errors in 702 files under the pinned pyright 1.1.283, which has no baseline feature, and upgrading it would be a new dependency.
    • apps/studio/test/train/test_task_fixture_metadata.py duplicates a kumo-core test and could be deleted.
    • kumo-api's flake8 is still excluded by the shared config; it has no flake8 settings of its own and 8 findings with defaults.

🤖 Generated with Claude Code

@copy-pr-bot

copy-pr-bot Bot commented Nov 16, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@Vedaant-J
Vedaant-J had a problem deploying to gha-kumo-workflow-tests November 16, 2026 20:13 — with GitHub Actions Error
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "tone_instructions" at "reviews"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Walkthrough

[!WARNING]
Review details and warnings were omitted to fit the comment limit.

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

Failed Failed checks: 1 error · 2 warnings

Check name Status Explanation Resolution
Public Resource Access Error Primary PR: NVIDIA/kumo-engine #359 (github.com), head codex/repository-layout into main, author login Vedaant-J. Scope: I diffed origin/main...HEAD (base 868c074, head 961e1ee). The PR adds 70 … Replace each added reference with a resource that an anonymous user can access now: - Before merge, link to paths that exist on public main, or use a public commit SHA that contains the new paths. Verify the chosen URL anonymously. Do not…
Change Map Design Review Warning The change map (PR comment 6927982702, marker <!-- kumo-pr-change-map -->, by Vedaant-J, the PR author) has a sound core design, but it has misleading explanations and omits material points. Verifie… Correct the change map and, where noted, the implementation: 1. CODEOWNERS: state that the file is new and empty. Either assign real owners before merge or list the empty file as an open follow-up. Remove it from the "paths updated" row. 2.…
Pr Size Warning PR #359 (NVIDIA/kumo-engine, head codex/repository-layout into main; author Vedaant-J, verified) changes far more than 40 files. Evidence: - The local checkout is at HEAD 961e1ee. Its merge-base with … The PR changes 7,921 files (count from the local diff against merge-base 868c074). This exceeds the limit of 40. Split this PR into reviewable units. Suggested units, following the PR's own three commits: 1.…
Full details: Public Resource Access

Explanation

Primary PR: NVIDIA/kumo-engine #359 (github.com), head codex/repository-layout into main, author login Vedaant-J. Scope: I diffed origin/main...HEAD (base 868c074, head 961e1ee). The PR adds 70 URL occurrences (63 unique). I tested the repository, package-source and documentation references anonymously with curl. The repository is public: https://github.com/NVIDIA/kumo-engine returns 200. Confirmed inaccessible references (anonymous HTTP 404 at the main branch): 1. packages/experimental/kumo-transaction/examples/kumo-engine/requirements.txt:2-3. These are package sources for an install: - diskgraph @ git+https://github.com/NVIDIA/kumo-engine.git@main#subdirectory=packages/data/diskgraph - kumo-settings @ git+https://github.com/NVIDIA/kumo-engine.git@main#subdirectory=packages/contracts/kumo-settings Both subdirectories are absent on origin/main. The subdirectory tree URLs return 404. A pip install from main fails until this PR merges. 2. packages/clients/kumo-engine/README.md:46, 135, 143 link to blob/main/packages/clients/kumo-engine/dgx-spark.md, explainability.md and docs/mlops.md. All return 404. Each file is new at this PR's paths. 3. packages/clients/kumo-engine/README.md:3 uses the raw image raw.githubusercontent.com/NVIDIA/kumo-engine/main/apps/studio/ui/src/images/kumo_logo_green.svg. It returns 404. 4. packages/clients/kumo-engine/pyproject.toml:112 sets the package Source URL to tree/main/packages/clients/kumo-engine. It returns 404. packages/experimental/kumo-pytorch/README.md:104 links tree/main/packages/clients/kumo-engine#installation. It returns 404. 5. README.md:198-226 license and third-party notice links. These include blob/main/packages/contracts/kumo-api/LICENSE, packages/runtime/kumo-core/LICENSE, packages/runtime/kumo-core/THIRD-PARTY.txt, apps/studio/KUMO-THIRD-PARTY.txt, apps/studio/helm/kumo-stack/THIRD-PARTY.txt, development/third-party/notices/* and packages/ui/kumo-ui-catalog/.... Every tested link returned 404. Only blob/main/THIRD-PARTY.txt (root) returned 200. Caveat: the 404s occur because these paths exist only on the PR head. Each link should resolve after merge. The check tests current anonymous access, so the references fail now. Accessible (200) and not a failure: docs.nvidia.com guide links, github.com/NVIDIA/kumo-engine/pull/530, pypi.org/simple, download.pytorch.org/whl/cpu, the pinned Trivy raw.githubusercontent.com installer, docs.astral.sh, rustup.rs and the Apache license URL. Not tested or excluded: runtime-variable URLs ($REPOSITORY/$SOURCE_SHA, &lt;full-commit-sha&gt; placeholder), Google OAuth and scope URLs, and Starlette attribution comment URL (200). The previous standing FAIL has no details, so I could not dispose of it separately. The current evidence supports the failure.

Resolution

Replace each added reference with a resource that an anonymous user can access now: - Before merge, link to paths that exist on public main, or use a public commit SHA that contains the new paths. Verify the chosen URL anonymously. Do not use the mutable codex/repository-layout branch name. - For requirements.txt:2-3, install from a public ref that contains packages/data/diskgraph and packages/contracts/kumo-settings. Use the main ref only after merge, or pin a public commit SHA. Verify the git+ source before merge. - Update the pyproject.toml:112 Source URL and the kumo-engine/README.md and kumo-pytorch/README.md links to resolving targets. - Re-run anonymous checks (HTTP 200) on all changed blob/, tree/, raw and git+ references. Then re-run this check.

Full details: Change Map Design Review

Explanation

The change map (PR comment 6927982702, marker &lt;!-- kumo-pr-change-map --&gt;, by Vedaant-J, the PR author) has a sound core design, but it has misleading explanations and omits material points. Verified as correct: - packages/engine-bundle.txt lists 12 projects. Main's build_wheel.sh bundled the same 12 from packages/*/. kumo-ui-catalog was never bundled on main. - build_wheel.sh reads engine-bundle.txt (line 250). Its REPO_ROOT depth is correct. - check_layout.py implements the group rules in the table. It has six exceptions and ten known Studio cycle members, matching the map. - Files the map names as deleted or moved are absent or present as stated. Defects and gaps: 1. CODEOWNERS row is misleading. The map lists .github/CODEOWNERS among files with updated paths. The diff against origin/main shows A (added). The file is 0 bytes. docs/development/review.md tells reviewers to read CODEOWNERS for ownership, and the issue names unclear ownership as the problem. The map does not disclose that ownership is unassigned. 2. "Same Studio distribution as main" is contradicted. Main's setup.cfg declares Python 3.6–3.9 classifiers. The new apps/studio/setup.py declares 3.11–3.13 (3.14 per the description). This is a metadata change, not a required move. The map says it is the same distribution. 3. Verification is not in the comment. The map says "Validation is in the PR description." The check requires focused verification in the same comment. 4. Test-placement rule is stated but not applied. The map says "Tests sit with the component they exercise." Eight kumo-api or kumo-pql-only tests remain in apps/studio/test (for example pquery/ast/test_condition.py, api_contract/*, rest/public/test_public_api_job_list_limit.py). The out-of-scope note covers only "kumo-core-only tests," so this exception is not explained. 5. Layout check fails open for unregistered top-level import names. owner_of returns None for unknown roots (check_layout.py line 117). check_imports skips them (lines 143–144). A cross-group import from an unregistered name is not reported. The map says the check enforces boundaries. 6. Unrequested refinements are mixed into the move. The kumo-sdk flake8 change, kumo-pql yapf, deptry scope, pyright exclusions, classifier change and kumo-api setup.py removal are not required by the reorganization. The map gives brief reasons but does not separate them from the required moves. 7. Omitted coupling. development/tooling/ci/ci_pytest_log_controls.sh still calls apps/studio/tools/print_memory_usage.py. The map does not mention this dependency from development tooling into Studio. Uncertain design questions (not proven defects): whether apps/studio/tools items such as e2e, pod_scripts and sdk are shared tooling that the issue assigns to development/.

Resolution

Correct the change map and, where noted, the implementation: 1. CODEOWNERS: state that the file is new and empty. Either assign real owners before merge or list the empty file as an open follow-up. Remove it from the "paths updated" row. 2. Studio metadata: replace "Same Studio distribution as main" with an accurate statement. Name the classifier change explicitly. Justify it against the issue, or split it into a separate change. 3. Verification: add a focused verification section to the map (layout check, engine bundle comparison, Studio wheel comparison, kumo-core tests). Do not defer it to the description. 4. Test placement: either move the eight kumo-api and kumo-pql-only tests into their packages, or add them to the out-of-scope list with a reason. Narrow the "Tests sit with the component they exercise" rule to match. 5. Layout check: fail on first-party top-level import names that have no owner, or document the fail-open behavior and require registration of new top-level names in OWNERS. 6. Optional refinements (lint, pyright, deptry, classifiers, kumo-api shim removal): separate them from the required moves, or justify each one against the issue. 7. Document the development/tooling/ci dependency on apps/studio/tools/print_memory_usage.py, or move that helper.

Full details: Pr Size

Explanation

PR #359 (NVIDIA/kumo-engine, head codex/repository-layout into main; author Vedaant-J, verified) changes far more than 40 files. Evidence: - The local checkout is at HEAD 961e1ee. Its merge-base with origin/main is 868c074. - git diff -M --name-status 868c0749... HEAD lists 7,921 entries. With rename detection on, each renamed file counts as one entry. - The PR description independently reports 7,740 renamed files in commit 23f5163, 637 files in commit fafdc50, and more than 3,000 files in the PR. The CI note says the PR-files API is capped at 3,000. Count used: 7,921 changed files, measured against the local merge-base. The check threshold is 40. The count exceeds it by a wide margin. The base used here may differ from the PR's current base, but no plausible base reduces the count below 40. Ignoring line counts, as the check requires.

Resolution

The PR changes 7,921 files (count from the local diff against merge-base 868c074). This exceeds the limit of 40. Split this PR into reviewable units. Suggested units, following the PR's own three commits: 1. Pure renames from the move manifest (commit 23f5163, about 7,740 files). Review as a rename-only change. 2. Path and configuration updates across consumers (commit fafdc50, about 637 files). Review by area: workspace and packaging, Docker, workflows, npm, scripts and tests. 3. Layout check, design doc, READMEs and move manifest (commit 961e1ee). Each unit should land in its own PR or stacked PR, so reviewers can check one area at a time.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests November 16, 2026 20:13 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

UI Review (/review-ui)

⚠️ The review did not produce a findings file despite completing.

This is not a clean pass — no findings were emitted to grade. Re-run by commenting /review-ui on this PR, or inspect the run for details.

Reviewed commit: · View run

@Vedaant-J

Vedaant-J commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Change map

Requested change (#358). The root mixed Studio implementation, engine projects and development infrastructure, and the engine wheel bundled any directory under packages/.

Stopping condition. A four-area root (apps/, packages/, development/, docs/) with:

  • written placement and dependency rules;
  • a check that enforces them;
  • explicit engine-wheel inputs;
  • every consumer of a moved path updated, with distribution and import names unchanged.

Design and dependency rules · Exact old/new mapping

File What changed Why
development/repository-moves.json and all moved trees (commit 23f516375) 7,740 pure renames generated from the manifest Physical layout; the commit is reviewable by replaying the manifest
docs/designs/repository-layout.md, packages/README.md, development/README.md, ARCHITECTURE.md Target structure, group dependency rules, kumo.* namespace owners, engine bundle rule, root exceptions, foundation-model placement One place to decide where new work goes
development/tooling/check_layout.py, dev, .github/workflows/repository-layout.yml Location checks plus group-to-group import rules, the namespace owner map and explicit allowlists for existing test/tooling exceptions and Studio's import cycle Enforce the boundaries, not only the locations
pyproject.toml, uv.lock, apps/studio/pyproject.toml, apps/studio/setup.py, apps/studio/setup.cfg Root becomes a virtual workspace; Studio is packaged from apps/studio; the Studio wheel ships Python modules only, without scripts, tests or the tooling tests; lock changes are editable paths only Same Studio distribution as main without repository-only packages
packages/engine-bundle.txt, packages/clients/kumo-engine/scripts/build_wheel.sh, development/tooling/scripts/tests/test_engine_wheel.py Listed engine inputs replace the packages/*/ glob; experimental/kumo-pytorch listed per #413 New directories can't enter the release wheel implicitly
apps/studio/docker/*, .dockerignore COPY and install paths for the new locations, including kumo-settings (#448); the #368 temporalio stage stays removed; .dockerignore stays at the root Same backend image content and build context as main
.github/workflows/*, .github/actions/*, .github/scripts/*, .github/CODEOWNERS Paths, paths: filters, working directories, artifact and cache paths, uv sync --package kumo CI runs the same jobs against the moved code
apps/studio/test/**, development/tooling/scripts/tests/**, development/testing/tests/** Studio backend tests live with Studio; tooling tests with tooling; the public harness stays in development/testing Tests sit with the component they exercise
development/config/*, development/Makefile, Makefile Shared lint, type, pre-commit and test-scheduling config with explicit paths in dev, Make and CI; the root Makefile includes development/Makefile Keep the root small while keeping commands working
packages/experimental/kumo-transaction/examples/kumo-engine/requirements.txt, development/tooling/scripts/transaction_ci_paths.py, packages/clients/kumo-engine/agent-skills/scripts/publish_nvskills.py Install URLs, CI policy paths and the published skills/ location for the new layout These break the moment the move lands on main
development/tooling/{ci,faiss-gpu-amd64,ec2,aws_cost,migrations,ecr_cleanup.py}, development/benchmarks/kaggle, apps/studio/docs/**, packages/runtime/kumo-core/tests/** (34 moved tests) Repository tooling out of Studio's tools/; kumo-core probes out of kumo-sdk; Studio and DiskGraph docs next to their components; kumo-core-only tests into kumo-core Each thing lives with the component it belongs to
apps/studio/pyproject.toml, pyproject.toml, development/config/.test_durations, coverage steps in testing*.yml Studio's pytest and coverage config moves into Studio; the root keeps only the tooling tests' settings; durations are keyed relative to apps/studio Studio owns its test configuration
apps/studio/setup.py, apps/studio/setup.cfg (deleted), packages/contracts/kumo-api/setup.py (deleted), .github/workflows/kumo-sdk-lint.yml Studio wheel without test; classifiers in setup.py (3.11–3.14); empty kumo-api shim removed; one CI check for every kumo_api_release_ver No stale metadata or duplicate config
packages/clients/kumo-sdk/.pre-commit-config.yaml, development/config/.pre-commit-config.yaml, development/tooling/scripts/ci/check_dependency_boundaries.sh, development/config/*pyrightconfig.json kumo-sdk flake8 and kumo-pql yapf use their own settings; deptry covers kumo-pytorch and GloVe; pyright skips the standalone kumo-transaction and the kaggle probes Package-owned lint settings actually apply
Remaining edits in commit fafdc502c Path strings, parents[N] depths, relative links and config paths in moved files Follow the moves; component-local paths are unchanged

This comment is a review index. GitHub's PR-files API truncates at 3,000 files, so the automated per-file coverage check cannot see this whole migration. Get the full inventory locally with git diff -M -l20000 --name-status origin/main...origin/codex/repository-layout.

Validation is in the PR description. GPU, cloud and image-deployment validation run in CI or with owners.

Out of scope:

  • model-family APIs and GNN extraction;
  • moving the repository tooling that still lives in apps/studio/tools;
  • moving kumo-core-only tests out of apps/studio/test.

@Vedaant-J
Vedaant-J had a problem deploying to gha-kumo-workflow-tests November 16, 2026 20:21 — with GitHub Actions Error
@Vedaant-J
Vedaant-J had a problem deploying to gha-kumo-workflow-tests November 16, 2026 20:21 — with GitHub Actions Error
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests November 16, 2026 20:28 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests November 16, 2026 20:28 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown

⚠️ OpenAPI spec changes detected in this PR

This means the UI client code needs to be regenerated.

To regenerate the UI client code in this PR, comment:
/trigger-ui-codegen

@Vedaant-J
Vedaant-J force-pushed the codex/repository-layout branch from a1d4a63 to c873b6a Compare December 1, 2026 21:36
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 1, 2026 21:37 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 1, 2026 21:37 — with GitHub Actions Inactive
@Vedaant-J

Copy link
Copy Markdown
Contributor Author

/ok to test c873b6a

@Vedaant-J
Vedaant-J force-pushed the codex/repository-layout branch from c873b6a to 7ad9c67 Compare December 1, 2026 22:21
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 1, 2026 22:22 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 1, 2026 22:22 — with GitHub Actions Inactive
@copy-pr-bot

copy-pr-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

/ok to test 7ad9c679fbb22c52bb067323fb625e825f3bb83e

@Vedaant-J, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@Vedaant-J

Copy link
Copy Markdown
Contributor Author

/ok to test 7ad9c67

@Vedaant-J
Vedaant-J marked this pull request as ready for review December 2, 2026 19:30
@Vedaant-J
Vedaant-J force-pushed the codex/repository-layout branch from 7ad9c67 to c78db46 Compare December 2, 2026 19:44
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 2, 2026 19:44 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 2, 2026 19:44 — with GitHub Actions Inactive
@Vedaant-J

Copy link
Copy Markdown
Contributor Author

/ok to test c78db46

@Vedaant-J
Vedaant-J force-pushed the codex/repository-layout branch from c78db46 to 971441c Compare December 2, 2026 23:39
@Vedaant-J

Copy link
Copy Markdown
Contributor Author

/ok to test 971441c

@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 2, 2026 23:39 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 2, 2026 23:39 — with GitHub Actions Inactive
Vedaant-J and others added 3 commits December 3, 2026 00:36
Pure renames generated from development/repository-moves.json; no file
content changes.

Co-Authored-By: Claude <noreply@anthropic.com>
Rewrite every consumer of a moved path: workspace and Studio packaging,
the engine wheel inputs, Docker builds, workflows and path filters, npm
local dependencies, root lookups in scripts and tests, shared tool
configuration and documentation links. Regenerate uv.lock for the new
workspace source paths only.

Give each project its own configuration: Studio's pytest and coverage
settings live in apps/studio/pyproject.toml, the Studio wheel ships only
runtime modules, kumo-sdk lints with its own flake8 settings and kumo-pql
formats with its own yapf style. CI checks that every kumo-api version
fallback matches kumo-api, and the dependency-boundary check covers
kumo-pytorch and the GloVe package.

Co-Authored-By: Claude <noreply@anthropic.com>
Add the layout check: component locations, explicit engine bundle inputs,
group-to-group import rules with an owner map for the shared kumo
namespace, explicit allowlists for existing exceptions and the known
Studio import cycle. Document the layout, its dependency rules and the
migration record.

Co-Authored-By: Claude <noreply@anthropic.com>
@Vedaant-J

Copy link
Copy Markdown
Contributor Author

/ok to test 961e1ee

@Vedaant-J
Vedaant-J force-pushed the codex/repository-layout branch from 971441c to 961e1ee Compare December 3, 2026 00:40
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 3, 2026 00:41 — with GitHub Actions Inactive
@Vedaant-J
Vedaant-J temporarily deployed to gha-kumo-workflow-tests December 3, 2026 00:41 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

UI Test Jobs Completed on 1d3d5f0

This branch was previously deployed

1 inactive deployment
gha-kumo-workflow-tests — 961e1ee6 Deployed Dec 3, 2026 by Vedaant-J via import #3583
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.

Organize the repository around applications, reusable packages and development tooling

1 participant