Repository navigation
Open
Labels
P1Bugs in existing featuresblockedWaiting on upstream or a design decisionmodel:opusAgent lane: needs planning or open design, Opus
Description
Target layout for the whole repo. Replaces the family-module plan (#6032, #6054, #10068).
Modules
- One Bazel module,
rules_dx. Users add onebazel_dep. - Language rule sets stay
bazel_deps ofrules_dxat their# floor:versions. Bazel fetches a rule set only when a loaded.bzlneeds it. - Core never loads a language
.bzl. A test enforces it (core: loading core never fetches a language rule set #10085). - No
families/modules. Family is only a grouping label in the language manifest (CI sharding, docs).
Per language
<lang>/defs.bzl public rules and macros (only file users load)
<lang>/extensions.bzl public module extensions
<lang>/BUILD.bazel toolchain_type, public config flags
<lang>/lang.json manifest: family, ecosystems, lockfiles, manifests, tools, platforms
<lang>/pins.json tool pins (sha256, urls), written by dx update
<lang>/private/ rules, toolchains, aspects, quality, coverage, tools
<lang>/tests/
Labels: @rules_dx//<lang>:defs.bzl, @rules_dx//<lang>:toolchain_type.
Shared
core/ shared Starlark: providers, quality framework, dx_wrap, toolchain and pins factory
config/ public build settings
cli/ the dx CLI, all Rust crates (today cli/ and libs/)
tools/ maintainer-only scripts and generators
patches/ upstream patches, table generated from MODULE.bazel
docs/ user docs; per-language pages generated from lang.json
examples/ every example is a tested target
Data flow
lang.jsondrives quality registration, the dx ecosystem registry (dx: one ecosystem registry replaces the three Ecosystem enums #10052),dx init, the support matrix and docs.pins.jsonis read by one shared extension incore/(libs/starlark: one pinned-binary module extension fed by pins tables #10065);dx updaterewrites it.- Generated
.bzlfiles carry a diff test; never hand-edit.
Order
- Design record
docs/design/layout.md(this issue). - Load-graph test and lazy quality registration (core: loading core never fetches a language rule set #10085).
- Per language group: move
families/<f>/<lang>/testsback to<lang>/tests,rules/toprivate/,defs.bzlto<lang>/, addlang.json(config: every compiled language honours //config:warnings_as_errors #10075, layout: per-language schema test (part of #10084) #10073). Delete the family module in the same PR. - Shared factory and
pins.json(libs/starlark: one pinned-binary module extension fed by pins tables #10065), thenlang.jsonconsumers (layout: <lang>/lang.json manifest schema and validator (part of #10084) #10079, dx: one ecosystem registry replaces the three Ecosystem enums #10052). - Move
libs/Rust intocli/, shared Starlark intocore/.
Tracking
- core: loading core never fetches a language rule set #10085 load graph
- layout: <lang>/lang.json manifest schema and validator (part of #10084) #10079 lang.json manifest
- libs/starlark: one pinned-binary module extension fed by pins tables #10065 pins.json and shared factory
- layout: per-language schema test (part of #10084) #10073 per-language schema test
- config: every compiled language honours //config:warnings_as_errors #10075 public defs.bzl and private/
- families: delete family modules, languages live in rules_dx (part of #10084) #10068 delete family modules
- layout: js languages to <lang>/defs.bzl and private/, delete families/js (pilot) #10090 layout: js languages to /defs.bzl and private/, delete families/js (pilot)
- layout: jvm languages to <lang>/defs.bzl and private/, delete families/jvm #10091 layout: jvm languages to /defs.bzl and private/, delete families/jvm
- layout: beam languages to <lang>/defs.bzl and private/, delete families/beam #10092 layout: beam languages to /defs.bzl and private/, delete families/beam
- layout: dotnet to dotnet/defs.bzl and private/, delete families/dotnet #10093 layout: dotnet to dotnet/defs.bzl and private/, delete families/dotnet
- layout: dart and flutter to <lang>/defs.bzl and private/, delete families/dart #10094 layout: dart and flutter to /defs.bzl and private/, delete families/dart
- layout: schema languages to <lang>/defs.bzl and private/, delete families/generation #10095 layout: schema languages to /defs.bzl and private/, delete families/generation
- layout: python to python/defs.bzl and private/, delete families/python #10096 layout: python to python/defs.bzl and private/, delete families/python
- layout: rust to rust/defs.bzl and private/, delete families/rust #10097 layout: rust to rust/defs.bzl and private/, delete families/rust
- layout: lua, perl, php, ruby to <lang>/defs.bzl and private/, delete their families #10098 layout: lua, perl, php, ruby to /defs.bzl and private/, delete their families
- layout: julia, zig, fortran, d to <lang>/defs.bzl and private/, delete their families #10099 layout: julia, zig, fortran, d to /defs.bzl and private/, delete their families
- layout: haskell, ocaml, swift, powershell to <lang>/defs.bzl and private/, delete their families #10100 layout: haskell, ocaml, swift, powershell to /defs.bzl and private/, delete their families
- layout: android, apple, cuda, msix move from families/ to top-level <lang>/ #10101 layout: android, apple, cuda, msix move from families/ to top-level /
- layout: cc, go, wasi, qt, appimage, env to <lang>/defs.bzl and private/ #10102 layout: cc, go, wasi, qt, appimage, env to /defs.bzl and private/
- layout: infra languages to <lang>/defs.bzl and private/ #10103 layout: infra languages to /defs.bzl and private/
- layout: docs, build and data languages to <lang>/defs.bzl and private/ #10104 layout: docs, build and data languages to /defs.bzl and private/
- layout: shared Starlark moves into core/ #10105 layout: shared Starlark moves into core/
- layout: libs/ Rust crates move into cli/ #10106 layout: libs/ Rust crates move into cli/
- layout: remove family plumbing from CI, tools and dx #10107 layout: remove family plumbing from CI, tools and dx
- patches: generate patches/README.md table from MODULE.bazel #10108 patches: generate patches/README.md table from MODULE.bazel
- docs: generate per-language pages from lang.json and defs.bzl #10109 docs: generate per-language pages from lang.json and defs.bzl
- layout: root directory allowlist test #10110 layout: root directory allowlist test
- layout: dx scaffold for a new language #10111 layout: dx scaffold for a new language
- layout: AGENTS.md and review paths enforce the layout #10112 layout: AGENTS.md and review paths enforce the layout
- layout: dx init, starters and examples use the single-module labels #10113 layout: dx init, starters and examples use the single-module labels
- dx: one ecosystem registry replaces the three Ecosystem enums #10052 dx ecosystem registry from lang.json
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
P1Bugs in existing featuresblockedWaiting on upstream or a design decisionmodel:opusAgent lane: needs planning or open design, Opus
Activity
docs: layout design record (part of #10084)
docs: layout design record (part of #10084) (#10089)
layout: jvm languages to <lang>/defs.bzl and private/, delete familie…
layout: jvm languages to <lang>/defs.bzl and private/, delete familie…
layout: jvm languages to <lang>/defs.bzl and private/, delete familie…
layout: julia, zig, fortran, d to <lang>/defs.bzl and private/, delet…
zig: xxhash fixture repo is dev_dependency, zig toolchain with fortra…
layout: julia, zig, fortran, d to <lang>/defs.bzl and private/, delet…
layout: lua, perl, php, ruby to <lang>/defs.bzl and private/, delete …
layout: root directory allowlist test (part of #10084) (#10307)
TrapsterDK commentedon Nov 10, 2026
Remaining layout work as an ordered sequence. Rules are in
docs/design/layout.md.javascript/private/quality; prettier tier loads only core. model:sonnetandroid/private/rulesand the lastrules:defs.bzlstrings. model:sonnetPENDINGempty. model:sonnetfamilies.json,cli/families. model:opus, after 6lang.json; audit first. model:sonnet, lastSteps 1 to 3 are independent. Closed as done: #10086, #10105, #10113, #10506. #10622 and #10545 run beside this sequence.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz
docs: layout record fixes Node tool ownership, quality placement and …
docs: layout record states one rule for Node family tools, the core l…
1 remaining item
layout: public defs.bzl files stop exporting test-only helpers (part of
layout: root holds only languages and shared directories, PENDING lis…
layout: cmake, d, dart, fortran, go, haskell, julia, make quality fam…
layout: lua, ocaml, perl, php, pkl, powershell, python, ruby, sql, sw…
TrapsterDK commentedon Nov 10, 2026
Remaining, updated: #10200, #10650, #10651 and #10652 are closed. Left, in order: #10076, #10653 (opus), #10073 (opus), #10107 (release part in PR #10897), #10507 last.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz
TrapsterDK commentedon Nov 10, 2026
Remaining: 31 of the tracked children are closed; since the last list #10200, #10650, #10651 and #10652 closed and
families/is gone (#10068 closed). Open children, in order:android/private/rulesand the lastrules:defs.bzlstrings. model:sonnet, independent.PENDING_LANGUAGE_REACHandPENDING_TIER_PACKAGESincore/quality/core_load_graph_test.rs.core/modules/families.json, Gazelle@rules_dx_<x>//rules:defs.bzlvalues, workflow family loops. model:opus, after 2.core/native_coverage.bzlleavesPENDING_CORE_FILESand quality: core aspects use the prebuilt Python tools from @dx_prebuilt, not rules_py #10545 lands (blocked on the hosting decision through quality: release a pinned prebuilt bundle of the core Python quality tools #10544).config: every compiled language honours //config:warnings_as_errors #10075 has one test left (Swift fixture).
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz
TrapsterDK commentedon Nov 12, 2026
Step 1 (docs/design/layout.md) is on origin/main via #10089 and #10656. Nothing left for this issue beyond the open children listed in the earlier comments.
TrapsterDK commentedon Nov 18, 2026
Remaining open children: #10073 (per-language schema test), #10065 (pins factory), #10085 (core never fetches a language rule set). Everything else listed earlier is closed; this tracker closes when those three do.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
TrapsterDK commentedon Nov 21, 2026
cloud-claim 03833592
Generated by Claude Code
TrapsterDK commentedon Nov 21, 2026
Tracker only: #10065 is closed; left are #10073 (taken by another cloud slot) and #10085. Nothing to change here; it closes when those two do.
Next slice: none on this issue; work #10073 and #10085.
Generated by Claude Code