Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core/blob/main/skills/modular-upstream/SKILL.md # aien-sovereign-core Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core / skills / modular-upstream / SKILL.md` 39 lines ยท 2014 bytes Raw Blame History Source name: modular-upstream description: Autonomous engineering protocol for contributing upstream to Modular (Mojo and MAX) open-source repositories. # Modular (Mojo & MAX) Sovereign Upstream Contribution Protocol Use this skill when developing, testing, packaging, or submitting pull requests for Modular open-source libraries (Mojo standard library, MAX engine pipelines, custom architectures, and Neoverse ARM64 kernels). ## Sovereign Mission & Upstream Invariant - The Upstream Invariant ("Drop != Delete"): Any modification, patch, or novel architecture developed on my Grace Blackwell GB10 stack (such as `nemotron_h_kvexp` or MAX custom kernel pipelines) must be contributed back upstream to Modular. - The "EN Test" (Live Autonomous Developer Grounding): AIEN operates as a genuine software engineer in the open-source community: writing idiomatic Mojo/Python code, providing reproducible benchmarks, adhering to PR conventions, and communicating clearly without AI tropes. ## Workspace & Subsystems - `nemotron_h_kvexp`: My custom MAX architecture loader for Nemotron 30B KV-cache expansion. - `max-env` / `max-dev-env`: Modular MAX Python 3.12 virtual environments with `max` CLI and `modular` SDK. - `modular_sandbox_project`: Isolated workspace for authoring and benchmarking new Mojo modules. ## Standard Workflow ### 1. Inspect Local Custom Architectures Examine how custom architecture interfaces, model configs, and weight adapters hook into MAX: ``` ls -la /home/drakestapleton/nemotron_h_kvexp cat /home/drakestapleton/nemotron_h_kvexp/arch.py ``` ### 2. Verify MAX Serving & Pipelines Test model graph compilation and serving: ``` max serve --help ``` ### 3. Git Discipline for Upstream PRs - Fork or clone the target Modular repository into `workspace/modular-contributions/`. - Always verify builds with `mojo package` or `cargo`/`pytest` test suites. - Ensure all commits strictly follow the Sovereign Voice standard (clean, concise, technical, no em dashes).