Skip to content

Scrub internal references and add cluster config for open-source readiness#30

Merged
ashwinma merged 1 commit into
mainfrom
aaji/open-source-ip-audit
May 15, 2026
Merged

Scrub internal references and add cluster config for open-source readiness#30
ashwinma merged 1 commit into
mainfrom
aaji/open-source-ip-audit

Conversation

@ashwinma
Copy link
Copy Markdown
Collaborator

@ashwinma ashwinma commented May 15, 2026

Summary

  • Remove AMD-internal cluster partition names (amd-arad), OLCF allocation IDs (lrn036), developer usernames (aaji/), and site-specific filesystem paths (/shared/prerelease/home/amd/user) from all scripts, skills, and commands
  • Fix SwinUNETR license field to proper SPDX Apache-2.0
  • Add /init-cluster command that auto-discovers GPU arch, SLURM partitions/accounts, container runtimes, scratch paths, and internet access — then writes a gitignored .cluster-config.yaml
  • All 16 /run-* commands now check for cluster config on first use and trigger /init-cluster if missing
  • Add .cluster-config.example.yaml template for users to customize

Files changed (29)

  • 3 sbatch scripts: partition placeholder fix
  • 2 add-model/add-recipe commands: generalized branch naming
  • 16 run-* commands: added Step 0 cluster config check
  • 3 skill files: removed internal paths, added cluster config docs
  • .gitignore: added .cluster-config.yaml, settings.local.json, nul
  • CLAUDE.md: added /init-cluster to command table
  • models.yaml + SwinUNETR/model.yaml: license fix
  • New: .claude/commands/init-cluster.md, .cluster-config.example.yaml

Test plan

  • Verify no amd-arad, lrn036, aaji/, /shared/prerelease references remain: grep -rn "amd-arad\|lrn036\|aaji/\|shared/prerelease" --include="*.md" --include="*.sh" --include="*.yaml"
  • Verify .cluster-config.yaml is gitignored
  • Run /init-cluster on a cluster to confirm auto-discovery flow
  • Run any /run-* command to confirm Step 0 triggers init when no config exists

🤖 Generated with Claude Code

…ce readiness

Remove AMD-internal cluster partition names, OLCF allocation IDs, developer
usernames, and site-specific filesystem paths from all scripts, skills, and
commands. Add /init-cluster command that auto-discovers GPU, SLURM, container
runtime, and scratch paths then writes a gitignored .cluster-config.yaml.
All /run-* commands now check for this config on first use.

- Replace hardcoded amd-arad partition with YOUR_PARTITION_HERE (3 sbatch scripts)
- Replace OLCF allocation lrn036 with <YOUR_PROJECT> in earth-science SKILL
- Generalize aaji/ branch prefix to <your-username>/ in add-model/add-recipe
- Fix SwinUNETR license to Apache-2.0 (SPDX) in models.yaml and model.yaml
- Remove /shared/prerelease/home/amd/user path examples from 7 files
- Add .cluster-config.example.yaml template
- Add .claude/commands/init-cluster.md (auto-discover + MCQ)
- Add Step 0 cluster config check to all 16 /run-* commands
- Update .gitignore for .cluster-config.yaml, settings.local.json, nul
@ashwinma ashwinma merged commit 954302a into main May 15, 2026
2 checks passed
@ashwinma ashwinma deleted the aaji/open-source-ip-audit branch May 15, 2026 08:47
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.

1 participant