docs: add MODULE_SPEC.md with permission model and capabilities

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-17 12:30:14 -07:00
parent 1879786b87
commit d4931b0ef2
1 changed files with 32 additions and 0 deletions

32
MODULE_SPEC.md Normal file
View File

@ -0,0 +1,32 @@
# rStack — Developer Platform
**Module ID:** `rstack`
**Domain:** `rstack.online`
**Version:** 0.1.0
**Framework:** Static HTML/CSS
**Status:** Landing page only
## Purpose
Developer hub and documentation portal for the r*.online ecosystem. Aggregates API docs, SDK references, and deployment guides. Currently a static landing page.
## Permission Model
No auth needed — public documentation site.
### Future Capabilities (when CLI/API tools added)
| Capability | Required SpaceRole | Description |
|-----------|-------------------|-------------|
| `view_docs` | VIEWER | Read documentation |
| `deploy_space` | PARTICIPANT | Create/deploy new spaces |
| `manage_infrastructure` | ADMIN | Configure ecosystem settings |
## Canvas Integration
None — standalone site.
## Migration Plan
1. Add EncryptID auth when developer tools are built
2. Add API key management for inter-module service calls