interplane.Get Omega
Read in your language

aien-sovereign-core

Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core / skills / modular-upstream / SKILL.md

39 lines · 2014 bytes Raw Blame History Rendered
1---
2name: modular-upstream
3description: Autonomous engineering protocol for contributing upstream to Modular (Mojo and MAX) open-source repositories.
4---
5
6# Modular (Mojo & MAX) Sovereign Upstream Contribution Protocol
7
8Use 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).
9
10## Sovereign Mission & Upstream Invariant
11
121. **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.
132. **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.
14
15## Workspace & Subsystems
16
17- `nemotron_h_kvexp`: My custom MAX architecture loader for Nemotron 30B KV-cache expansion.
18- `max-env` / `max-dev-env`: Modular MAX Python 3.12 virtual environments with `max` CLI and `modular` SDK.
19- `modular_sandbox_project`: Isolated workspace for authoring and benchmarking new Mojo modules.
20
21## Standard Workflow
22
23### 1. Inspect Local Custom Architectures
24Examine how custom architecture interfaces, model configs, and weight adapters hook into MAX:
25```bash
26ls -la /home/drakestapleton/nemotron_h_kvexp
27cat /home/drakestapleton/nemotron_h_kvexp/arch.py
28```
29
30### 2. Verify MAX Serving & Pipelines
31Test model graph compilation and serving:
32```bash
33max serve --help
34```
35
36### 3. Git Discipline for Upstream PRs
37- Fork or clone the target Modular repository into `workspace/modular-contributions/`.
38- Always verify builds with `mojo package` or `cargo`/`pytest` test suites.
39- Ensure all commits strictly follow the Sovereign Voice standard (clean, concise, technical, no em dashes).