Rasm is a polyglot monorepo with macOS-first development and portable code and tooling for Linux and Windows.
Folders name categories down to a project, the first folder holding a manifest, and folders inside a project group its own concepts:
Rasm/
├── products/
│ ├── apps/ # Projects based on other vendors' applications
│ ├── developer/
│ ├── ai/
│ ├── macos/
│ ├── cli/
│ └── web/
├── libs/ # Packages by language, then category
│ ├── cpp/
│ ├── dotnet/
│ ├── python/
│ ├── rust/
│ ├── swift/
│ └── typescript/
├── tests/ # Suites by the category of what they test
│ ├── products/
│ ├── libs/
│ ├── tools/
│ ├── e2e/ # Suites against a served or installed product
│ └── support/ # Test harnesses by language
├── tools/ # Checks other checkers lack
│ ├── ast-grep/ # Rules and outline catalogs per language
│ ├── conformance/ # Nx project graph and workspace files
│ ├── dylint/ # Rust
│ └── refurb/ # Python
├── assets/ # Repo submodule durable assets no product owns
├── infra/ # Pulumi programs for the repository, machines, and hosting
├── plugins/ # Agent harness plugins, shared or per host
├── docs/ # Repo guides and standards by topic and language
├── Package.swift # Swift workspace and central package catalog
├── nx.json # Nx plugins, release, and conformance
├── package.json # TypeScript
├── pnpm-workspace.yaml # TypeScript workspace and central package catalog
├── tsconfig.* # TypeScript
├── vitest.config.ts # TypeScript
├── .oxlintrc.json # TypeScript and JavaScript
├── .oxfmtrc.json # TypeScript, JavaScript, and data files
├── eslint.config.ts # Nx plugin collections
├── pyproject.toml # Python workspace and central package catalog
├── Workspace.slnx # .NET workspace
├── global.json # .NET
├── Directory.Packages.props # .NET central package catalog
├── Directory.Build.props # .NET
├── Directory.Build.targets # .NET
├── NuGet.config # .NET
├── CMakeLists.txt # C++ workspace
├── CMakePresets.json # C++
├── vcpkg.json # C++ central package catalog
├── .clang-format # C-family style
├── .clang-tidy # C-family checks
├── .clangd # C++ compile database scope
├── sgconfig.yml # ast-grep
├── .editorconfig
├── Cargo.toml # Rust workspace and central package catalog
├── rust-toolchain.toml # Rust
├── .cargo/ # Rust
├── .github/
├── .config/ # Tool configuration and Xcode workspace of every app and root package
├── .claude-plugin/ # Marketplace for Claude Code and Codex
├── .vscode/
├── CLAUDE.md # Agent standards, linked as AGENTS.md
├── LICENSE
└── README.md
- Each fact sits once in the file its tool reads, and every other use derives it
- Tool behavior comes from its source and docs at the installed version, and configuration sets only what departs from it
- Tools read configuration from
.config/where a setting names its path, else from their fixed path, and checkers report every finding as an error - Each ecosystem pins every version, root tooling included, in its root catalog and lock, and targets build from the committed lock
- Changes start from reading the file and log line their claim cites, as docs and reviews state facts those files contradict
Dopplerprojectrasmand 1Passwordophold every secret- SQL schemas reconcile the live database to owning types with no migration files, and drop or retype only what an owning type retires
mise installs every tool, [env] holds process variables, and [bootstrap] holds what a machine's OS keeps across boots:
- Shells, Claude Code sessions through a
SessionStarthook, and CI jobs throughjdx/mise-actionactivate mise mise bootstrapconfigures a machine for the workspace after a clone or a pull changing a[bootstrap]tablemise installinstalls every tool and project dependency and sets the rustup default to the pinned toolchainmise installrunscargo cleanin a checkout with a build folder another compiler wrote, read from the.rustc_info.jsonCargo keeps there.config/mise.toml[tools]rows stay atlatestwhere a backend lists releases, and aversion_regexexcludes development builds and release candidates missing a locked platform- Platform rows sit in the
.config/mise.<os>.tomlmise loads, as only a file limits a row to one OS - Targets
check--miseandfix--miserunmise lock --checkandmise lockper locked environment, as a row a lock lacks fails locked installs - Lockfiles stay unwritten once one tool fails on a
lockfile_platformsplatform, so each row takes a source publishing every locked platform per release [env]rows callingexec()take notools = true, which multiplies their cost in every mise process, and run commands of the inherited PATH
Projects inherit versions and settings from their ecosystem root:
| [INDEX] | [ECOSYSTEM] | [VERSIONS] | [SETTINGS] |
|---|---|---|---|
| [01] | TypeScript | pnpm-workspace.yaml catalog, manifests name catalog: |
tsconfig.base.json, project types, lib, and jsx |
| [02] | Python | requires-python, root group catalog, member lower bounds |
Root [tool.*], [tool.uv] and [tool.ty] per uv root |
| [03] | .NET | dotnet row of mise, root Directory.*.props |
Root and folder Directory.Build.props, folder sets kind |
| [04] | Rust | rust-toolchain.toml, [workspace.dependencies] |
Cargo.toml [workspace.*], .cargo/config.toml |
| [05] | Swift | xcode-select, root Package.swift dependencies |
Package.swift swiftSettings |
| [06] | C++ | LLVM and Rhino SDK rows of mise, builtin-baseline |
Root CMakeLists.txt, CMakePresets.json families |
Roots split, nest, or hold more where a host or tool decides:
- LLVM comes from its release archives on Linux and Windows and from conda-forge on macOS, as LLVM publishes no macOS archive for some releases
- Each uv root resolves one Python range, host Pythons take a root pinned to what each host bundles, and shared members require the lowest version
[tool.uv]applies from the root being locked alone, and nested uv roots take a[deps.<root>]mise row- Pixi supplies native libraries for sdists, and
pixi run --locked pythonruns Python with them on the library search path - Host SDKs come from packages, every OS builds, checks, and packs host projects with no host installed, Unreal Engine and native code aside
- Projects compiling Metal sources build on macOS alone, and projects removing
SupportedPlatformWindowstake tagos:darwin packplaces eachNativeAssetunderruntimes/<rid>/native/and refuses one with a runtime identifier other than its host's- Host projects target their host's runtime and carry every dependency except SDK assemblies the host supplies
- Imports of a package's build files take the property naming their users, as MSBuild reads imports before
ProjectReferenceitems - Folder
Directory.Build.propsfiles name a host, andUpdaterows ofDirectory.Packages.propshold packages to the runtime line of a project's target framework - .NET runs but Rhino suites build Release unless they name
debug, which reaches references and Yak packages, and assemblies embed their PDB - Projects reach ImageSharp through
Rasm.Imaging, as ImageSharp fails unsigned Release builds and.config/licenses/sixlabors.licsigns it alone - Swift modules, app code included, are root
Package.swifttargets, and Xcode app targets hold bundle, icon, and signing over their app module - Xcode app projects build through
.config/Rasm.xcworkspace, as projects built apart each clone every package and compile it again - Root
Package.swiftbuilds and tests in that workspace through shared schemeRasm-Packagein place of SwiftPM, and Nx syncs its target lists - Scheme
Rasm-Packagetests through default plan.config/Rasm-Package.xctestplan, and-c performanceruns.config/Performance.xctestplan - Xcode test targets run their default plan under xcodebuild's address and undefined-behavior sanitizers with
-c asan, its thread sanitizer with-c tsan - Nx project
Rasm-Packageat.config/Rasm.xcworkspaceholds the root package's Swift and Xcode targets, and root projectrasmholds none - Workspace
Package.resolvedlinks to the root one, whichswift package updatemoves andxcodebuildreads and writes through the link - User default
IDEPackageOnlyUseVersionsFromResolvedFileof mise[bootstrap]holds Xcode windows to resolved versions, as builds are .config/xcode.xcconfigturns on the Xcode compilation cache and holds settings every target takes, and cache hits need an unchanged build folder- Mise variable
XCODE_XCCONFIG_FILEapplies it to every targetxcodebuildbuilds, as a package scheme otherwise compiles every module again - User default
CompilationCachingDiskSizeLimitof mise[bootstrap]caps that cache, as Xcode otherwise lets it reach half the free disk - App projects base each configuration on
.config/app.xcconfig, which sets app signing and packaging and includes both other xcconfig files - C++ packages declare their own
project(), and preset familiesllvm,xcode, andunrealbuild them through.config/cmake/toolchains/ llvmlinks mise LLVM's libc++ privately outside Windows,xcodetakes Apple clang and system libc++, andunrealits engine's compiler- Mise row
http:rhino-sdk-cppinstalls the Rhino C++ SDK on macOS atRHINO_SDK_CPP_ROOT, andxcodealone finds it and buildsrasm-rhino Rasm.Rhinopackslibrasm-rhino.dylibforosx-arm64, and.config/ClangSharp.targetsbindsrasm-rhinoheaders intoNativeMethods.g.cs- Unreal plug-ins sit beside the project enabling them, and name each C++ package they build with their engine's compiler in
.upluginnx.packages
hk checks files and Nx runs project tools, so a checker reading named files alone is an hk step and one reading a project is an Nx target.
hk runs each .config/hk.pkl step whose glob matches a selected file:
hk check-> checks uncommitted fileshk fix-> applies fixes to uncommitted fileshk check <paths>,hk fix <paths>-> checks or fixes named fileshk check --all-> checks every tracked file- Commits run hook
commit-msgalone, which checks each message's type and its scope againstnx show projects
Nx runs targets its nx.json plugins infer, and a task whose inputs match an earlier run replays from the local or remote cache:
nx affected -t <target>-> runs each task of a target whose inputs a change sinceorigin/mainreaches, uncommitted files includednx <target> <project>-> runs one target in one project, andnx <target>inside a project's folder runs it therenx run-many -t <target>-> runs one target in every projectnx <target>--<tool> <project>-> runs one tool of a target-c <configuration>-> runs a target's named variant (release,debug,headless,cache,asan,tsan)- Edits to
nx.json,.gitignore,.nxignore, ortsconfig.base.jsonoutsidepathsrerun every task, as Nx hashes them into each one - Tools keep their own incremental state, and Nx caches whole task results around it
Each target names one operation in every ecosystem:
checkreports andfixapplies findings of checkers reading a whole projectbuildcompiles or packages a project into its declared outputstestruns a project's test runnerstypegenwrites declarations and compile databases that type checks and editors read and no build loadscodegenwrites source a project's tools derive from its schemas and configurationserveruns development servers until the run ends, andpreviewbuilds a project, then serves its build outputinstallputs a development build where its host loads it, replacing the last and skipping packaging where allowed, or starts local servicespackwrites release files that differ from build output, in its host or ecosystem's form, a folder product in a.zipor.dmgdeployapplies a project's Pulumi stacks after its dependencies',-c releasea released version's,deploy--pulumi --stack=<name>one stackdry-runpreviews whatdeployapplies over build output on disk and runs no other task,dry-run--pulumi --stack=<name>one stackupgrademoves dependency requirements and locks to newer releases, through the ecosystem's own tool where one moves themcleanremoves declared outputs, and configurationcacheempties the caches its tools keep
Workspace commands run from the root:
nx sync-> writes executor schemas and tsconfigreferences, as runs outside CI stop on stale ones, never--skip-syncnx conformance:check-> runs thenx.jsonconformance rules over every targetnx upgrade-> moves every project to newer releases, then every mise row and the lock of each environmentnx clean,nx clean -c cache-> removes every output, then every cache and workspace data throughnx resetnx migrate <version>,nx migrate --run-migrations, thenpnpm dedupe-> applies a new Nx release- Use
docs/Nx.mdfor plugin andnx.jsonrules
Suites sit in tests/ except where their tool fixes the place:
- Suites stay inside a nested tool root that stops discovery at its root (SwiftPM analyzer) or a plugin folder published whole
- Projects needing no host run on every platform, and tags
os:<platform>andhost:<host>mark projects a toolchain, framework, or host limits, C++ aside - C++ projects take an Nx configuration per available workflow preset holding them (
nx test <project> -c asan) and noos:tag - Preset conditions decide each OS's available workflows, and
xcodeconfigures on macOS alone - C++ targets default to their first workflow holding the project's tests, else their first
Rhino suites boot Rhino once per test process, one run per machine, as concurrent processes opening views on one Cloud Zoo license each raise a prompt:
- Local runs on a machine with Rhino open views, or none under
nx test <project> -c headless, in a scratch profile seeded with license files - CI tests Rhino suites headless on Windows runners through Rhino.Inside, over the newest release of their pinned major
Products deliver through the same targets in every ecosystem, development builds to a local host and releases to GitHub and each product's channel:
- Targets write every deliverable from the built product, store screenshots and promo tiles included, with no hand-made file
doppler run --config release --command 'nx pack <app>'packs a Mac app with release signing, notarized as a.dmgholding the stapled ticket whereASC_API_*rows are set- Mac apps whose Info.plist states
SUFeedURLtake a Sparkle feed of their.dmgfromnx release publish, and other Mac apps release throughattachalone - Commit scopes name one project as
nx show projectsprints it, or none, asnx releaserefuses a scope matching more than onereleaseproject nx release --skip-publishversions eachreleaseproject alone from commits since its<project>@<version>tag, tags it, and patches dependents- Unscoped breaking commits touching a file every project hashes (
nx.json,pnpm-lock.yaml) bump everyreleaseproject - Conventional commits since a project's last tag write its GitHub release notes without authors, and no changelog file exists
- New
releaseprojects take an annotated<project>@<version>tag by hand at their manifest version, in place of--first-release nx release <version> --projects=<projects> --skip-publishmoves projects to an exact version alone, as a prerelease line takes its stable releasenx run-many -t attach -c releaseuploads released files to each tag's GitHub release, and stores with no upload API take files by handattachcreates a tag's GitHub release where none exists, asnx releasemakes none for hand-made tags or dependents outside--projectsnx release publishsends the same files to each registry or store its ecosystem's publish setting allows, skipping until a credential is setReleasepublishes to npm, PyPI, NuGet, and crates.io by trusted publishing alone, elsewhere by arasm/releaserow named as the variable a target reads- Rows
NUGET_API_KEYandCARGO_REGISTRY_TOKENserve first publishes by hand alone, as crates.io takes a trusted publisher on a published crate - Store items take their first upload by hand at the store dashboard, as store APIs publish only to listed items
infra/ Pulumi programs declare what runs on each machine and how it is reached:
- Stacks declare every image a machine runs, Unreal job images included, and build those no registry publishes, and
.github/builds none - App
hosting.config.tstargets name Cloudflare or a machine with roleApps, andnx install @rasm/infraruns roleAppsunderrasm.localhost - Container engines run under systemd on machines and, on the owner's Mac, in a Colima VM
DOCKER_HOSTnames - Project
dockerexists on every machine, and itsinstall--dockerstarts the Colima VM a workspaceCOLIMA_HOMEnames or confirms systemd's engine answers - Packages requiring an engine client take tag
host:docker, and theirtest--*andinstall--*tasks depend ondocker:install--docker - Colima keeps its VM in
.cache/colimaunder profileCOLIMA_PROFILE, as Docker contexts take a profile name and adefaultprofile elsewhere owns contextcolima install--dockermoves a VM it starts to the newest container runtime withcolima update, as the Colima image pins an older Docker Engineinstall--dockermounts Colima's data disk with online discard,clean--dockerprunes images and build cache, andnx clean -c cachedeletes the VM- Use
docs/Infrastructure.mdfor each machine's roles, OS state, and reinstall