Comprehensive development workflow system with kanban task management, requirements validation, git safety hooks, intelligent priority management, and live interactive documentation.
π Complete Documentation β’ π Quick Start Guide β’ π» CLI Reference
| Resource | Description | Link |
|---|---|---|
| π Documentation | Complete interactive documentation | code.supernal.ai |
| π Getting Started | Installation and setup guide | Quick Start |
| π» CLI Commands | Complete command reference | CLI Reference |
| π¦ NPM Package | Install via npm | supernal-code |
| π GitHub | Source code and issues | Repository |
| π€ Contributing | Contribution guidelines | Contributing Guide |
π Visit code.supernal.ai for the complete interactive documentation with:
- π Live CLI Command Reference - All commands with examples
- π Real-time Project Metrics - Requirements status and progress
- π― Getting Started Guide - Step-by-step setup instructions
- π‘ Usage Examples - Real-world workflow demonstrations
For Local Documentation:
# Start the local documentation server
cd documentation && npm start
open http://localhost:3000# Clone and set up for local development
git clone <repository-url>
cd supernal-coding
# Install dependencies
npm install
# Link for global-like access during development
npm link
# Now 'sc' command is available globally
sc --version
sc --help# Install globally from npm
npm install -g supernal-code
# Verify installation
sc --version
sc --help
# Get started with your first project
sc initπ Detailed installation guide available on our documentation site.
# Use via npm scripts
npm run sc -- --help
npm run sc -- priority show
npm run sc -- validate --all
# Or direct node execution
sc --help
sc priority show# Initialize in any repository
sc init [directory]
# Validate installation and configuration
sc validate-installation --all
# Agent workflow management
sc agent <action> [options]
# Priority management
sc priority [action] [options]
# Git workflow utilities
sc git-smart <action> [options]
sc git-assess [options]
# Kanban task management
sc kanban [action] [options]
# Documentation management
sc docs <action> [options]
# Development tools
sc dev <action> [options]
# Testing
sc test [options] [type] [target]π See code.supernal.ai/docs/cli-commands for the complete interactive command reference with examples.
- code.supernal.ai - Complete interactive documentation
- Getting Started - Installation and first steps
- CLI Reference - All commands with examples
- Configuration Guide - Setup and customization
- Workflow Guide - Best practices and workflows
- CLI Usage Guide - Complete command reference with examples
- Configuration System Guide - Multi-repository compatibility and configuration
- Tests as Documentation - How to use tests as executable examples
- Implementation Plan - Development roadmap and progress
Our test suite serves as comprehensive, executable documentation:
# Run tests to see examples in action
npm test -- tests/requirements/req-003/multi-repo-init.test.js
# View configuration examples
npm test -- tests/requirements/req-011/req-011.unit.test.js
# See git workflow examples
npm test -- tests/requirements/req-011/req-011.e2e.test.jsπ See docs/TESTS_AS_DOCUMENTATION.md for how to use tests as documentation.
The system uses supernal-code.config.toml for all settings:
[project]
name = "your-project"
type = "standard"
[paths]
requirements = "supernal-coding/requirements"
kanban = "supernal-coding/kanban"
[compatibility]
multi_repo_support = true
dynamic_path_resolution = trueπ See docs/CONFIGURATION_SYSTEM_GUIDE.md for complete configuration guide.
sc git-smart status
sc git-smart branch-cleanup
sc git-smart commit-assist
### **Project Setup**
```bash
# Initialize supernal-coding in new project
sc init [directory]
# Install system in target repository
sc install <path>
# Agent coordination
sc agent handoff
sc agent status
sc agent assign <task># Documentation management
sc docs generate
sc docs validate
sc docs serve# Start the live documentation server
cd documentation && npm start
# Or using the CLI command (future)
sc docs serveπ View Documentation: Open http://localhost:3000 in your browser
β¨ Features:
- Live CLI Command Reference: All 17+ commands auto-documented from
command-mapping.json - Real-time Project Metrics: Current requirements status (31 tracked)
- Interactive Examples: Live usage examples for each command
- Dashboard Integration: Connected to existing dashboard infrastructure
- Programmatic Generation: Always up-to-date with actual CLI implementation
- Set up local development:
git clone <repository-url>
cd supernal-coding
npm install
npm link # Makes 'sc' available globally- Test your changes:
sc --version # Test global command
npm run sc -- --help # Test via npm script
npm test # Run test suite- Priority system testing:
# Test the intelligent priority system
sc priority update # Recalculate all priorities
sc priority show # View distribution- Install the package:
npm install -g supernal-coding- Initialize in your project:
cd your-project
sc init- Use the workflow:
sc validate --all # Validate project
sc priority show # Check priorities
sc kanban list # View tasksThe intelligent priority system automatically calculates requirement priorities based on:
- ποΈ Foundational Systems: Auto-promote to Critical
- π§ Blocking Dependencies: Higher priority if blocking other tasks
- π₯ Medical Compliance: Special handling for regulatory requirements
- System Architecture: Prioritize system-level requirements
- 17 Critical requirements (foundational systems)
- 11 High priority requirements
- 1 Medium priority requirement
supernal-coding/
βββ cli/ # CLI entry point and commands
β βββ index.js # Main CLI script (#!/usr/bin/env node)
β βββ commands/ # Command modules
βββ documentation/ # π Interactive documentation system (Docusaurus)
β βββ docs/ # Generated CLI documentation
β βββ plugins/ # Custom CLI docs generator plugin
β βββ src/ # Documentation components
βββ scripts/ # Core functionality scripts
βββ templates/ # Project templates
βββ package.json # NPM configuration with 'bin' setup
βββ README.md # This file
π For comprehensive troubleshooting guides, visit code.supernal.ai/docs/troubleshooting
# Check if npm link worked
which sc
# If not found, try:
npm unlink supernal-coding
npm link
# Or use npm scripts instead:
npm run sc -- --help# For global install permission issues:
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
# Or use npm link for development
npm link# If priorities seem outdated:
sc priority update # Recalculate all priorities
sc priority validate # Check for issues
# Debug with direct script:
sc priority update# Start the documentation server:
cd documentation && npm start
# If port 3000 is busy:
cd documentation && npm start -- --port 3001
# Check if server is running:
lsof -i :3000
# Rebuild documentation:
cd documentation && npm run buildDocumentation Features:
- Auto-generated CLI docs from
cli/command-mapping.json - Live project metrics (currently 31 requirements tracked)
- Real-time updates as CLI commands change
- Dashboard integration with existing infrastructure
- Configuration: Edit
supernal-code.config.tomlfor project settings - Requirements: Located in
supernal-coding/requirements/ - Kanban: Task files in
supernal-coding/kanban/ - Templates: Project templates in
templates/
- CLI Entry Point:
supernal-code-package/lib/cli/index.js(packaged CLI) andcli/index.js(development wrapper) - Package Bin: Configured in
package.jsonfor bothscandsupernal-codingcommands - Local Testing: Use
npm linkfor development,npm run scfor testing - Global Distribution: Ready for
npm publishwhen needed
This project uses a Dual License system - see the LICENSE file for details.
- β Unlimited commercial use in products and services
- β Proprietary modifications and derivatives
- β Revenue generation and customer licensing
- β Private use without disclosure requirements
- β Academic research and education
- β Personal learning and development
- β Open source projects and contributions
- β Non-profit organizational use
- β Commercial use requires separate license
Organizations wishing to use this software commercially must obtain a commercial license.
Contact: licensing@supernal.ai
- Protects intellectual property while enabling open source community
- Allows company commercial use of their own code
- Prevents unauthorized commercial exploitation by others
- Encourages academic and open source contributions
Full License: LICENSE
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow existing code style and patterns
- Add appropriate comments and documentation
- Test your changes thoroughly
- Update README.md if needed
- Ensure all contributions comply with CC BY-NC-SA 4.0 license
This project is designed for deployment to code.supernal.ai as part of the Supernal Intelligence ecosystem. Here's the integration strategy:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β code.supernal.ai β
β (GitHub Pages - Static) β
β β’ Documentation (Docusaurus) β’ Blog Posts β
β β’ CLI Reference β’ Static Assets β
βββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ
β api.code.supernal.ai β
β (Vercel - APIs) β
β β’ Dashboard API (Serverless) β’ Requirements API β
β β’ Premium Features β’ Analytics & Insights β
βββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ
β Local Development (All Users) β
β β’ CLI Tools β’ Local Dashboard β
β β’ Requirements Tracking β’ Kanban Management β
β β’ Git Integration β’ Basic Export β
βββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββ
supernal-ai-integration.config.js- Complete integration configurationdocs/SUPERNAL_AI_DEPLOYMENT_GUIDE.md- Step-by-step deployment guidedashboard/src/services/supernal-integration.js- Premium feature servicedashboard/routes/premium-api.js- Premium API endpoints
- Open Source Core: Full local functionality to demonstrate value
- Premium Features: Advanced analytics, team collaboration, AI insights
- Freemium Model: Gradual upgrade prompts at natural conversion points
- Enterprise: Custom integrations, SLA support, unlimited projects
The system uses centralized authentication to serve multiple Supernal products:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. User visits code.supernal.ai β
β β Logs in via auth.supernal.ai β
βββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 2. auth.supernal.ai returns JWT bearer token β
β β Token contains user profile + subscription β
βββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 3. Frontend sends requests to api.code.supernal.ai β
β β Header: "Authorization: Bearer <token>" β
βββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 4. api.code.supernal.ai validates token β
β β Calls auth.supernal.ai/validate β
β β Returns user features based on subscription β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Benefits:
- Single sign-on across all Supernal products
auth.supernal.aiserves multiple domains (main site, code tools, other products)api.code.supernal.aiis specific to this project's needs- Clean separation of concerns
- DNS Configuration:
code.supernal.aiβsupernalintelligence.github.io(CNAME)api.code.supernal.aiβ Vercel deployment (CNAME)auth.supernal.aiβ Centralized auth service (managed separately)
- GitHub Pages Setup: Enable Pages in repository settings (β Ready)
- GitHub Actions: Deploy workflow configured (β Done)
- Vercel API Setup: Deploy dashboard APIs to Vercel (β Ready)
- Documentation Build: Fixed component imports and build process (β Done)
- Premium Integration: Configured supernal.ai authentication flow (β Done)
- SSL Certificates: Automatic with GitHub Pages and Vercel
- Analytics & Conversion Tracking: Configure in production
For detailed deployment instructions, see docs/SUPERNAL_AI_DEPLOYMENT_GUIDE.md.
Next Steps:
- Test local installation:
npm link && sc --version - Validate functionality:
sc priority show - Initialize in project:
sc init - Run priority update:
sc priority update# Test pre-push hook