The canonical template for RSR (Rhodium Standard Repository) projects.
This repository provides the standardized structure, configuration, and tooling for all 139 repos in the hyperpolymath ecosystem. Use it to:
-
Bootstrap new projects with RSR compliance
-
Reference the standard directory structure
-
Copy configuration templates (justfile, STATE.scm, etc.)
# Clone the template
git clone https://github.com/hyperpolymath/RSR-template-repo my-project
cd my-project
# Remove template git history
rm -rf .git
git init
# Customize
sed -i 's/RSR-template-repo/my-project/g' justfile guix.scm README.adoc
# Enter development environment
guix shell -D -f guix.scm
# Validate compliance
just validate-rsr| File/Directory | Purpose |
|---|---|
|
Editor configuration (indent, charset) |
|
Standard ignore patterns |
|
Guix channel definition |
|
RFC-compliant metadata (security.txt, ai.txt, humans.txt) |
|
Documentation directory |
|
Guix package definition |
|
Task runner with 50+ recipes |
|
AGPL + Palimpsest dual license |
|
This file |
|
Compliance tracking |
|
Project state checkpoint |
The template justfile provides:
-
~10 billion recipe combinations via matrix recipes
-
Cookbook generation:
just cookbook→docs/just-cookbook.adoc -
Man page generation:
just man→docs/man/project.1 -
RSR validation:
just validate-rsr -
STATE.scm management:
just state-touch,just state-phase -
Container support:
just container-build,just container-push -
CI matrix:
just ci-matrix [stage] [depth]
just # Show all recipes
just help <recipe> # Detailed help
just info # Project info
just combinations # Show matrix options
just build # Build (debug)
just test # Run tests
just quality # Format + lint + test
just ci # Full CI pipeline
just validate # RSR + STATE validation
just docs # Generate all docs
just cookbook # Generate justfile docs
just guix-shell # Guix dev environment
just container-build # Build containerproject/
├── .editorconfig # Editor settings
├── .gitignore # Git ignore
├── .guix-channel # Guix channel
├── .well-known/ # RFC metadata
│ ├── ai.txt
│ ├── humans.txt
│ └── security.txt
├── config/ # Nickel configs (optional)
├── docs/ # Documentation
│ ├── generated/
│ ├── man/
│ └── just-cookbook.adoc
├── guix.scm # Guix package
├── justfile # Task runner
├── LICENSE.txt # Dual license
├── README.adoc # Overview
├── RSR_COMPLIANCE.adoc # Compliance
├── src/ # Source code
├── STATE.scm # State checkpoint
└── tests/ # Tests-
Tier 1 (Gold): Rust, Elixir, Zig, Ada, Haskell, ReScript
-
Tier 2 (Silver): Nickel, Racket, Guile Scheme, Nix
-
Infrastructure: Guix channels, derivations
-
.editorconfig -
.gitignore -
justfile -
README.adoc -
RSR_COMPLIANCE.adoc -
LICENSE.txt(AGPL + Palimpsest) -
.well-known/security.txt -
.well-known/ai.txt -
.well-known/humans.txt -
guix.scmORflake.nix
The STATE.scm file tracks project state:
(define state
`((metadata
(project . "my-project")
(updated . "2025-12-10"))
(position
(phase . implementation) ; design|implementation|testing|maintenance|archived
(maturity . beta)) ; experimental|alpha|beta|production|lts
(ecosystem
(part-of . ("RSR Framework"))
(depends-on . ()))))Generate badges from STATE.scm:
just badges standardSee docs/BADGE_SCHEMA.adoc for the full badge taxonomy.
This template is part of:
-
STATE.scm Ecosystem: Conversation checkpoints
-
RSR Framework: Repository standards
-
Consent-Aware-HTTP: .well-known compliance
-
elegant-STATE - STATE.scm tooling
-
conative-gating - Policy enforcement
-
Rhodium Standard - RSR documentation