You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add branching rules and environments to CLAUDE.md
Document that branches must always be based on main and that work should
happen in the apps/apps-2/apps-3 worktrees. Clarify there is no staging
environment — only development and production.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,13 @@
2
2
3
3
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
4
5
-
## Terminology
6
-
7
-
Audius runs on the **Open Audio Protocol**, which uses a single canonical node type: the **Open Audio Validator Node**. The earlier split between *Discovery Nodes* and *Content Nodes* is deprecated — both roles are now served by validator nodes. When writing docs, comments, commit messages, or user-facing strings, use "Open Audio Validator Node" (or just "validator node"). Do not introduce new references to "Discovery Node", "Content Node", "Creator Node", or "Discovery Provider". Directory names like `packages/discovery-provider` and `mediorum` are retained for compatibility but no longer reflect the architecture.
8
-
9
5
## Project Overview
10
6
11
7
Audius is a decentralized, community-owned music-sharing protocol. This is a monorepo containing:
12
8
13
9
- Web and desktop applications (React + Vite)
14
10
- Mobile applications (React Native)
15
-
- Backend services that together make up the Open Audio Validator Node software (indexer + media storage; see `packages/discovery-provider` and `mediorum` directories — names retained from earlier architecture)
- Blockchain smart contracts (Ethereum and Solana)
17
13
- SDK and common libraries
18
14
@@ -33,8 +29,9 @@ npm run protocol
33
29
audius-compose connect
34
30
35
31
# Run web application
36
-
npm run web # Against production
37
-
npm run web:local # Against local services
32
+
npm run web:dev # Against local services
33
+
npm run web:prod # Against production
34
+
# NOTE: web:stage does not exist — there is no staging environment
38
35
39
36
# Run mobile applications
40
37
npm run mobile # Metro only — preferred for JS-only changes; user opens the simulator manually with the existing build
@@ -80,7 +77,7 @@ audius-cmd stream
80
77
-**packages/sdk**: JavaScript SDK for interacting with Audius protocol
81
78
-**packages/harmony**: Design system components and tokens
82
79
-**packages/discovery-provider**: Python backend that indexes blockchain data
83
-
-**mediorum**: Media storage component of the Open Audio Validator Node — stores and serves audio files (directory name retained from earlier "content node" architecture)
80
+
-**mediorum**: Content node for storing/serving audio files
84
81
85
82
### State Management
86
83
@@ -123,6 +120,21 @@ audius-cmd stream
123
120
- Backend changes may require protocol restart
124
121
- Design system changes affect both web and mobile
0 commit comments