Skip to content

Commit 3ada365

Browse files
chore: mark WAOS env var prefix as legacy
WAOS_ prefix is kept for compatibility (legacy acronym for weareopensource). Add parenthetical note in README, skills and agent — aligned with Vue stack treatment.
1 parent ec008a2 commit 3ada365

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.claude/agents/stack-maintainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You are the stack maintainer agent. Your role is to protect the mergeability and
1616
- **Secret leakage**: Check for accidentally committed secrets, tokens, or credentials
1717
- **Broad permissions**: Review permission changes for security risks
1818
- **Dependencies**: Flag suspicious or risky dependency additions
19-
- **Env vars**: Ensure sensitive config uses `WAOS_NODE_*` env vars, not hardcoded values
19+
- **Env vars**: Ensure sensitive config uses `WAOS_NODE_*` env vars (legacy prefix), not hardcoded values
2020
- **Auth bypass**: Watch for changes that weaken JWT/Passport validation or policy middleware
2121

2222
### 3. Verify modularity

.claude/skills/feature/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ npm test
7272

7373
## Notes
7474

75-
- Config is loaded from `config/` and overridable via `WAOS_NODE_*` env vars
75+
- Config is loaded from `config/` and overridable via `WAOS_NODE_*` env vars (legacy prefix kept for compatibility)
7676
- Authentication is handled via Passport JWT middleware — don't reimplement
7777
- All policies must use `lib/middlewares/policy.js` patterns

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ GITHUB_TOKEN=xxx npm run release:auto # Semantic release (CI)
113113

114114
Configuration files live in `config/defaults/`. The `development.js` file is the base; other files in that folder override it.
115115

116-
Environment variables prefixed with `WAOS_NODE_` are merged on top. The variable path maps directly to the config object key:
116+
Environment variables prefixed with `WAOS_NODE_` are merged on top (`WAOS` is a legacy prefix kept for compatibility). The variable path maps directly to the config object key:
117117

118118
```bash
119119
WAOS_NODE_app_title='my app' # sets config.app.title

0 commit comments

Comments
 (0)