RaiSE CLI - Reliable AI Software Engineering governance framework
Project description
RaiSE
Reliable AI Software Engineering — Ship quality software at AI speed.
Raise your craft, feature by feature.
What is RaiSE?
RaiSE is a methodology + toolkit for professional developers who use AI assistants. It solves the problem of AI-generated code that's fast but inconsistent: governance that works naturally, validation at every step, and memory that persists across sessions.
The RaiSE Triad:
RaiSE Engineer
(You - Strategy, Judgment, Ownership)
│
│ collaborates with
▼
Rai
(AI Partner - Execution + Memory)
│
│ governed by
▼
RaiSE
(Methodology + Toolkit)
Rai is your AI collaborator — not a generic assistant, but a partner trained in the discipline of reliable AI software engineering. Rai remembers your patterns, calibrates to your velocity, and maintains coherence across sessions.
Developer Onboarding
Prerequisites
- Python 3.12 or 3.13 (3.14 not yet supported)
- Claude Code CLI installed and configured
- Git
Quick Install
# Recommended: pipx (isolates dependencies)
pipx install raise-cli
# Alternative: pip (use a virtual environment)
pip install raise-cli
# Alternative: uv
uv tool install raise-cli
# Verify
rai --version
macOS: Don't use the system Python. Install Python 3.12+ via brew install python@3.13 or pyenv first.
Windows: Use WSL (Ubuntu/Debian):
sudo apt update && sudo apt install pipx -y
pipx ensurepath
# Close and reopen terminal
pipx install raise-cli
Development Setup
# 1. Clone and checkout the development branch
git clone https://github.com/humansys/raise.git
cd raise
git checkout dev
# 2. Create venv and install in development mode
uv venv && uv pip install -e ".[dev]"
# 3. Verify installation
rai --help
Onboarding with Rai
Once installed, open Claude Code in the project directory and run:
/rai-welcome
This single command will:
- Detect your situation (new developer, returning developer, etc.)
- Create your profile (
~/.rai/developer.yaml) with your name and pattern prefix - Build the knowledge graph so Rai has project context
- Scaffold
CLAUDE.local.mdfor your personal Claude Code instructions - Optionally customize communication preferences (language, style)
- Verify everything works
After welcome completes, start working:
/rai-session-start
This loads your context, memory, and proposes focused work.
What You Get
| Shared (committed) | Personal (gitignored) |
|---|---|
Patterns (.raise/rai/memory/patterns.jsonl) |
Session history (.raise/rai/personal/sessions/) |
| Governance docs | Session state (.raise/rai/personal/session-state.yaml) |
| Skills, methodology | Calibration data (.raise/rai/personal/calibration.jsonl) |
| Work artifacts | Knowledge graph (.raise/rai/memory/index.json) |
Each developer builds their own personal context through working sessions. Pattern IDs are developer-prefixed (e.g., PAT-A-001 for Alice, PAT-B-001 for Bob) to prevent collisions in shared repositories.
Usage
Initialize RaiSE on Your Project
# Navigate to your existing project
cd your-project
# Initialize RaiSE governance structure
rai init --detect
# Open Claude Code and run onboarding
/rai-welcome
This scaffolds the .raise/ directory, detects your project's conventions (language, testing framework, linting), and builds the knowledge graph.
Daily Workflow
A typical session follows this pattern:
1. /rai-session-start # Load context, see what's pending
2. /rai-story-start # Create branch, define scope
3. /rai-story-design # Design the approach (recommended)
4. /rai-story-plan # Break into atomic tasks
5. /rai-story-implement # TDD execution with validation gates
6. /rai-story-review # Retrospective, capture patterns
7. /rai-story-close # Merge, cleanup
8. /rai-session-close # Persist learnings for next session
You don't need to complete all steps in one session — Rai remembers where you left off.
What Rai Remembers
- Patterns — Reusable insights learned from your work (e.g., "always validate config at boundaries")
- Calibration — Your velocity, strengths, growth edges
- Session history — What you worked on, decisions made, items deferred
- Coaching corrections — Mistakes Rai made and learned from
Each session builds on the last. Over time, Rai becomes a more effective collaborator for your specific codebase and working style.
Available Skills
Skills are structured processes that guide AI-assisted development. Run them as /skill-name in Claude Code. There are currently 37 skills.
Session Lifecycle
| Skill | Purpose |
|---|---|
/rai-welcome |
One-time developer onboarding |
/rai-session-start |
Begin a session with memory and context |
/rai-session-close |
End a session, persist learnings |
Story Lifecycle
| Skill | Purpose |
|---|---|
/rai-story-start |
Initialize a story with branch and scope |
/rai-story-design |
Create lean specs for complex stories |
/rai-story-plan |
Decompose into atomic tasks |
/rai-story-implement |
Execute with TDD and validation gates |
/rai-story-review |
Retrospective and learnings |
/rai-story-close |
Merge, cleanup, tracking |
/rai-story-run |
Chain the full story lifecycle |
Epic Lifecycle
| Skill | Purpose |
|---|---|
/rai-epic-start |
Initialize an epic scope and directory |
/rai-epic-design |
Design multi-story epics |
/rai-epic-plan |
Sequence stories into plans |
/rai-epic-close |
Epic retrospective and metrics |
/rai-epic-run |
Execute epic lifecycle phases |
Discovery Skills
| Skill | Purpose |
|---|---|
/rai-discover |
Run the full discovery pipeline |
/rai-discover-start |
Initialize codebase discovery |
/rai-discover-scan |
Extract and describe components |
/rai-discover-validate |
Validate synthesized descriptions with human review |
/rai-discover-document |
Generate architecture docs from discovery data |
Project Skills
| Skill | Purpose |
|---|---|
/rai-welcome |
One-time developer onboarding |
/rai-project-create |
Guide greenfield project setup |
/rai-project-onboard |
Guide brownfield project onboarding |
Analysis & Quality
| Skill | Purpose |
|---|---|
/rai-research |
Epistemologically rigorous research |
/rai-debug |
Root cause analysis (5 Whys, Ishikawa) |
/rai-bugfix |
Structured bugfix workflow |
/rai-quality-review |
Critical code review with external auditor perspective |
/rai-architecture-review |
Evaluate design proportionality and necessity |
/rai-problem-shape |
Guided problem definition at portfolio level |
/rai-doctor |
Diagnose and fix RaiSE project health issues |
MCP Integration
| Skill | Purpose |
|---|---|
/rai-mcp-add |
Add an MCP server to the project |
/rai-mcp-remove |
Remove an MCP server from the project |
/rai-mcp-status |
Check MCP server health and status |
Maintenance
| Skill | Purpose |
|---|---|
/rai-docs-update |
Sync architecture docs with code |
/rai-framework-sync |
Sync framework files across locations |
/rai-publish |
Structured release workflow with quality gates |
/rai-skill-create |
Create new skills with framework integration |
/rai-skillset-manage |
Manage skill sets |
CLI Commands
The rai CLI provides deterministic operations:
# Build Rai's knowledge graph from project artifacts
rai graph build
# Query governance concepts
rai graph context mod-session
# Query Rai's memory
rai graph query "velocity patterns"
# Validate the memory graph (structural + completeness)
rai graph validate
# Visualize the memory graph as interactive HTML
rai graph viz # Opens in browser
rai graph viz --output graph.html # Custom output path
# List releases and their associated epics
rai release list
# Start a session (creates profile on first run)
rai session start --name "YourName" --project "$(pwd)" --context
# Close a session
rai session close --state-file /tmp/session-output.yaml --project "$(pwd)"
Repository Structure
raise/
├── .claude/skills/ # Claude Code skills (37 skills)
│
├── framework/ # Public textbook (concepts, reference)
│ ├── reference/ # Constitution, glossary, philosophy
│ ├── concepts/ # Core concepts (katas, gates, artifacts)
│ └── getting-started/ # Greenfield/brownfield guides
│
├── .raise/ # Framework engine
│ ├── rai/ # Rai's memory and personal data
│ │ ├── memory/ # Patterns, knowledge graph (shared)
│ │ └── personal/ # Sessions, calibration (per-developer, gitignored)
│ ├── katas/ # Process definitions
│ ├── gates/ # Validation criteria
│ ├── templates/ # Artifact scaffolds
│ └── skills/ # Legacy skill definitions
│
├── governance/ # Project governance
│ ├── architecture/ # Module docs, system design
│ └── solution/ # Vision, guardrails, business case
│
├── src/raise_cli/ # CLI toolkit (Python)
│
├── work/ # Work in progress
│ └── epics/ # Epic directories containing story artifacts
│
└── dev/ # Framework maintenance
├── decisions/ # ADRs (Architecture Decision Records)
└── parking-lot.md # Ideas and tangents for later
Branch Model
main (stable releases)
└── dev (development)
└── story/s{N}.{M}/{name}
- Work on
dev(development branch) - Stories branch from and merge to
dev - Epics are logical containers (directory + tracker), not branches
mainreceives releases fromdev
Core Concepts
| Concept | Description |
|---|---|
| RaiSE Engineer | You — the human who directs AI-assisted development |
| Rai | AI partner with memory, calibration, and accumulated judgment |
| Skill | Structured Claude Code prompt for a methodology phase |
| Validation Gate | Quality checkpoint with specific criteria |
| Guardrail | Constraint that guides AI behavior |
| ShuHaRi | Mastery levels (beginner → practitioner → master) that adapt Rai's verbosity |
See the full Glossary for canonical terminology.
Key Principles
From the Constitution:
- Humans Define, Machines Execute — Specs are source of truth
- Governance as Code — Standards versioned in Git
- Validation Gates — Quality checked at each phase
- Observable Workflow — Every decision traceable
- Jidoka — Stop on defects, don't accumulate errors
Status
Current stable release: v2.2.0. The framework is being used in production.
For CLI reference documentation, see the CLI Quick Reference.
We value your feedback:
- Questions? Open an issue
- Found a bug? Open an issue with reproduction steps
- Ideas? We want to hear them — open an issue or reach out directly
License
RaiSE — Reliable AI Software Engineering Neither is complete alone.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raise_cli-2.2.2.tar.gz.
File metadata
- Download URL: raise_cli-2.2.2.tar.gz
- Upload date:
- Size: 354.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cf5742443fe06315473d0e6825021bda2a80d7c5b5cce19e66b68dee556d202
|
|
| MD5 |
1a5097ccf006fff15fad1d84744a6535
|
|
| BLAKE2b-256 |
07377047264fd06555af066069baaa132c98dba81a88efd4554995c4ac3ee8db
|
Provenance
The following attestation bundles were made for raise_cli-2.2.2.tar.gz:
Publisher:
release.yml on humansys/raise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
raise_cli-2.2.2.tar.gz -
Subject digest:
4cf5742443fe06315473d0e6825021bda2a80d7c5b5cce19e66b68dee556d202 - Sigstore transparency entry: 1066477031
- Sigstore integration time:
-
Permalink:
humansys/raise@26c5edc31e77809dabf0aa8b39a7c1b012882d79 -
Branch / Tag:
refs/tags/v2.2.2 - Owner: https://github.com/humansys
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26c5edc31e77809dabf0aa8b39a7c1b012882d79 -
Trigger Event:
push
-
Statement type:
File details
Details for the file raise_cli-2.2.2-py3-none-any.whl.
File metadata
- Download URL: raise_cli-2.2.2-py3-none-any.whl
- Upload date:
- Size: 490.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eaac097ed45b4417c882bdcf8fe6b6bc743c5f077ea392c0fea7c92f43b345a
|
|
| MD5 |
b09a102f8731ab16936bb2d827f288c9
|
|
| BLAKE2b-256 |
23efb8c6a9dc21b895f42b29831f436fed45dd0c23e5989ab66b45944a1eac9f
|
Provenance
The following attestation bundles were made for raise_cli-2.2.2-py3-none-any.whl:
Publisher:
release.yml on humansys/raise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
raise_cli-2.2.2-py3-none-any.whl -
Subject digest:
3eaac097ed45b4417c882bdcf8fe6b6bc743c5f077ea392c0fea7c92f43b345a - Sigstore transparency entry: 1066477032
- Sigstore integration time:
-
Permalink:
humansys/raise@26c5edc31e77809dabf0aa8b39a7c1b012882d79 -
Branch / Tag:
refs/tags/v2.2.2 - Owner: https://github.com/humansys
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26c5edc31e77809dabf0aa8b39a7c1b012882d79 -
Trigger Event:
push
-
Statement type: