Initial commit: Clean DSS implementation

Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm

Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)

Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability

Migration completed: $(date)
🤖 Clean migration with full functionality preserved
This commit is contained in:
Digital Production Factory
2025-12-09 18:45:48 -03:00
commit 276ed71f31
884 changed files with 373737 additions and 0 deletions

61
.dss/doc-sync/install_hooks.sh Executable file
View File

@@ -0,0 +1,61 @@
#!/bin/bash
#
# Install documentation sync git hooks
#
PROJECT_ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"
if [ -z "$PROJECT_ROOT" ]; then
echo "Error: Not in a git repository"
exit 1
fi
DOC_SYNC_DIR="$PROJECT_ROOT/.dss/doc-sync"
GIT_HOOKS_DIR="$PROJECT_ROOT/.git/hooks"
# Colors
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
echo "🔧 Installing documentation sync git hooks..."
echo ""
# Check if doc-sync hooks exist
if [ ! -f "$DOC_SYNC_DIR/hooks/pre-commit" ]; then
echo "Error: Doc-sync hooks not found in $DOC_SYNC_DIR/hooks/"
exit 1
fi
# Install pre-commit hook
echo "Installing pre-commit hook..."
if [ -f "$GIT_HOOKS_DIR/pre-commit" ]; then
echo -e "${YELLOW}⚠️ Existing pre-commit hook found${NC}"
echo "Backing up to pre-commit.backup"
mv "$GIT_HOOKS_DIR/pre-commit" "$GIT_HOOKS_DIR/pre-commit.backup"
fi
cp "$DOC_SYNC_DIR/hooks/pre-commit" "$GIT_HOOKS_DIR/pre-commit"
chmod +x "$GIT_HOOKS_DIR/pre-commit"
echo -e "${GREEN}✓ pre-commit hook installed${NC}"
# Install post-commit hook
echo "Installing post-commit hook..."
if [ -f "$GIT_HOOKS_DIR/post-commit" ]; then
echo -e "${YELLOW}⚠️ Existing post-commit hook found${NC}"
echo "Backing up to post-commit.backup"
mv "$GIT_HOOKS_DIR/post-commit" "$GIT_HOOKS_DIR/post-commit.backup"
fi
cp "$DOC_SYNC_DIR/hooks/post-commit" "$GIT_HOOKS_DIR/post-commit"
chmod +x "$GIT_HOOKS_DIR/post-commit"
echo -e "${GREEN}✓ post-commit hook installed${NC}"
echo ""
echo -e "${GREEN}✅ Git hooks installed successfully${NC}"
echo ""
echo "Hooks installed:"
echo " - pre-commit: Validates manifest and warns about doc changes"
echo " - post-commit: Regenerates documentation automatically"
echo ""
echo "To uninstall, remove the hooks from .git/hooks/"