Commit Graph

78 Commits

Author SHA1 Message Date
DSS
e608537651 scripts: fix dss-services start wait loop
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
2025-12-12 16:49:35 -03:00
DSS
d13e1cd76a admin-ui: align with API, add auth, fix integrations
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
2025-12-12 15:46:08 -03:00
DSS
ec09a0a662 Unify MCP across clients; remove legacy plugin server
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
2025-12-12 14:33:18 -03:00
1d53ec341d chore: exclude generated files from git tracking
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Remove .dss/data/, .dss/components/, generated stories from tracking
- Update .gitignore to exclude all runtime/generated content
- Keep only reference files (.dss/config/, .dss/core/, .dss/skins/, .dss/themes/, .dss/schema/)

Generated files are now created on /dss-init and not committed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 08:24:19 -03:00
4bad273694 auto-backup: 2025-12-12 11:06:13 (19 files: +0 ~19 -0)
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Generated by DSS Git Backup Hook
2025-12-12 08:12:13 -03:00
b32cd99c0b auto-backup: 2025-12-12 10:31:32 (22 files: +5 ~17 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:12:13 -03:00
45d83f8402 auto-backup: 2025-12-12 10:22:48 (16 files: +0 ~16 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
b02ff696fc auto-backup: 2025-12-12 10:20:33 (21 files: +0 ~20 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
513ed3ef6c auto-backup: 2025-12-12 10:15:55 (18 files: +0 ~18 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
080545b751 auto-backup: 2025-12-12 10:13:03 (18 files: +0 ~18 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
26e8223d4e auto-backup: 2025-12-12 10:11:35 (20 files: +4 ~16 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
b8f074f1c8 auto-backup: 2025-12-12 10:08:51 (5 files: +0 ~1 -4)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
01426f3fea auto-backup: 2025-12-12 09:49:22 (19 files: +1 ~18 -0)
Generated by DSS Git Backup Hook
2025-12-12 08:11:21 -03:00
DSS
b8884a4a7b fix: Disable SSL verification for Figma API and fix Storybook config
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Add verify=False to httpx.AsyncClient in figma_tools.py
- Add verify=False to requests.request in project/figma.py
- Replace .storybook/main.ts with main.cjs (CommonJS) to fix ESM loading error
- Add package.json with Storybook dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 08:10:28 -03:00
b3c0c0589e fix: Use correct field name 'classification' instead of 'atomic_type'
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Component model uses 'classification' field for AtomicType enum

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 06:48:14 -03:00
767ab52548 fix: Use macOS bash 3 compatible string capitalization
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Replace ${skin^} (bash 4+) with sed command for cross-platform compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 06:46:24 -03:00
305234d906 fix: Handle List[Component] return type from FigmaTokenSource
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- FigmaTokenSource.extract() returns (TokenCollection, List[Component])
- figma-sync.py was expecting a Dict for component_registry
- Build component registry dict from Component objects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 06:44:39 -03:00
421e43cf76 fix: Disable SSL verification in figma ingest source
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Same fix as applied to dss/figma/figma_tools.py - the figma-sync.py script
uses dss/ingest/sources/figma.py which has its own aiohttp client.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 06:37:51 -03:00
754ac173a8 auto-backup: 2025-12-12 09:31:30 (17 files: +0 ~17 -0)
Generated by DSS Git Backup Hook
2025-12-12 06:31:30 -03:00
481c3d39ff fix: Use venv Python for scripts, fix import order in figma-sync
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Move sys.path modification before dss imports in figma-sync.py
- Add missing Dict type hint import
- Add PYTHON variable to dss-init.sh using venv if available
- Update script calls to use $PYTHON instead of python3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 06:27:18 -03:00
db5be5ce37 auto-backup: 2025-12-12 09:14:37 (18 files: +0 ~18 -0)
Generated by DSS Git Backup Hook
2025-12-12 06:14:37 -03:00
8a09b6830a auto-backup: 2025-12-11 21:41:53 (20 files: +3 ~17 -0)
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Generated by DSS Git Backup Hook
2025-12-11 18:55:57 -03:00
7db5aacbd9 auto-backup: 2025-12-11 21:01:34 (13 files: +0 ~5 -8)
Generated by DSS Git Backup Hook
2025-12-11 18:55:57 -03:00
1ff198c177 auto-backup: 2025-12-11 20:35:05 (68 files: +19 ~23 -25)
Generated by DSS Git Backup Hook
2025-12-11 18:55:57 -03:00
DSS
09b234a07f feat(dss-ui): Button component with design tokens only
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Button.css uses only CSS custom properties, no fallbacks
- Token validator now blocks hardcoded values (strict_mode: true)
- Hook scripts converted from ESM (.js) to CommonJS (.cjs)
- Storybook unified config with HMR disabled for nginx proxy
- Added dss-ui package with Figma-synced components and stories

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 18:47:57 -03:00
DSS
44cea9443b Revert "feat: Enterprise DSS architecture implementation"
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
This reverts commit 9dbd56271e.
2025-12-11 09:59:45 -03:00
DSS
9dbd56271e feat: Enterprise DSS architecture implementation
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Complete implementation of enterprise design system validation:

Phase 1 - @dss/rules npm package:
- CLI with validate and init commands
- 16 rules across 5 categories (colors, spacing, typography, components, a11y)
- dss-ignore support (inline and next-line)
- Break-glass [dss-skip] for emergency merges
- CI workflow templates (Gitea, GitHub, GitLab)

Phase 2 - Metrics dashboard:
- FastAPI metrics API with SQLite storage
- Portfolio-wide metrics aggregation
- Project drill-down with file:line:column violations
- Trend charts and history tracking

Phase 3 - Local analysis cache:
- LocalAnalysisCache for offline-capable validation
- Mode detection (LOCAL/REMOTE/CI)
- Stale cache warnings with recommendations

Phase 4 - Project onboarding:
- dss-init command for project setup
- Creates ds.config.json, .dss/ folder structure
- Updates .gitignore and package.json scripts
- Optional CI workflow setup

Architecture decisions:
- No commit-back: CI uploads to dashboard, not git
- Three-tier: Dashboard (read-only) → CI (authoritative) → Local (advisory)
- Pull-based rules via npm for version control

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 09:41:36 -03:00
DSS
ab8769933d fix(tests): Correct Figma ingest test 2025-12-11 08:03:47 -03:00
DSS
5b2a328dd1 fix: Address high-severity bandit issues 2025-12-11 07:13:06 -03:00
DSS
bcb4475744 refactor: Cleanup terminology and update docstrings 2025-12-11 06:35:13 -03:00
DSS
42b146ca02 docs: Add missing docstrings and fix terminology warnings 2025-12-11 06:31:06 -03:00
DSS
bcd1a86ae4 feat: Implement atomic design system core structure and recursive Figma import 2025-12-11 06:28:21 -03:00
DSS
edb991093a docs: Enforce use of DSS browser utility in coding standards
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Add mandatory_utilities section requiring LocalBrowserStrategy for all
browser automation tasks. Never create ad-hoc Playwright scripts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 05:10:49 -03:00
DSS
ffbfa34df5 feat: Add systemd service for DSS API
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Add dss-api.service to run the API server on port 8000.
Replaces the old design-system-mcp service.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 05:04:24 -03:00
DSS
5844a277bb fix: Configure Vite for nginx reverse proxy
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Add --host flag to bind to all interfaces
- Add __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS env var for external domain
- Configure allowedHosts in vite.config.ts
- Remove duplicate vite.config.js (was overriding .ts config)
- Enable IPv4 binding for nginx proxy compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 23:07:36 -03:00
DSS
280b5ee7a8 docs: Add core principle - development only, no deployment
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- DSS runs only in dev mode, no production deployment
- dss.overbits.luz.uy points to dev server
- Removed build step from setup (not needed)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 22:53:21 -03:00
DSS
2cfe10d4aa feat: Add admin-ui build step to dss-setup.sh
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Build production bundle during setup
- Use --legacy-peer-deps for npm install
- Ensures dist/ is ready for deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 22:48:54 -03:00
DSS
ae70dabbe5 fix: Disable PWA in dev mode to enable HMR live reload
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Conditionally enable VitePWA only in production builds
- Add service worker auto-unregister script to index.html
- Fixes stale content caching issues during development

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 22:33:23 -03:00
DSS
08ce228df1 feat: Add DSS infrastructure, remove legacy admin-ui code
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Remove legacy admin-ui/js/ vanilla JS components
- Add .dss/ directory with core tokens, skins, themes
- Add Storybook configuration and generated stories
- Add DSS management scripts (dss-services, dss-init, dss-setup, dss-reset)
- Add MCP command definitions for DSS plugin
- Add Figma sync architecture and scripts
- Update pre-commit hooks with documentation validation
- Fix JSON trailing commas in skin files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 22:15:11 -03:00
71c6dc805a feat: Rebuild admin-ui with Preact + Signals
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Complete rebuild of the admin-ui using Preact + Signals for a lightweight,
reactive framework. Features include:

- Team-centric workdesks (UI, UX, QA, Admin)
- Comprehensive API client with 150+ DSS backend endpoints
- Dark mode with system preference detection
- Keyboard shortcuts and command palette
- AI chat sidebar with Claude integration
- Toast notifications system
- Export/import functionality for project backup
- TypeScript throughout with full type coverage

Bundle size: ~66KB main (21KB gzipped), ~5KB framework overhead

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 20:29:21 -03:00
8713e2b1c9 feat: Add setup-mcp.sh for generating local MCP config
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
If ${workspaceFolder} isn't supported, run:
  ./scripts/setup-mcp.sh

Generates .mcp.json with absolute paths for current setup.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 16:14:54 -03:00
2b736f7ddd fix: Use portable ${workspaceFolder} in MCP config
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Replace hardcoded paths with ${workspaceFolder} variable for
cross-setup compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 16:13:48 -03:00
eb06daf10e feat: Add local DSS MCP server configuration
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Configure dss-claude-plugin as local MCP server with:
- Absolute paths for reliability
- Uses project venv Python
- DSS runtime with boundary enforcement

Restart Claude Code to load the DSS MCP.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 16:09:44 -03:00
4de266de61 Revert "chore: Remove dss-claude-plugin directory"
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
This reverts commit 72cb7319f5.
2025-12-10 15:54:39 -03:00
72cb7319f5 chore: Remove dss-claude-plugin directory
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Removing obsolete plugin directory after consolidation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 15:38:10 -03:00
6ade12b2fe fix: Update DSS plugin paths after consolidation
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Update .mcp.json PYTHONPATH to use project root instead of dss-mvp1
- Fix hardcoded path in dss-mcp-server.py to use relative path

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 15:33:52 -03:00
DSS
351f34d08c docs: Add CI/CD verification step to README
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
2025-12-10 14:04:28 -03:00
DSS
1644110cee feat(storybook): Add Web Component support to story generator
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
The Storybook generator now supports Web Components in addition to React:

- Added ComponentType enum (REACT, WEB_COMPONENT)
- Enhanced _parse_component to detect Web Components via HTMLElement/customElements
- Added _parse_web_component to extract attributes from JSDoc and observedAttributes
- Added _generate_csf3_web_component for Web Component story generation
- Updated file patterns to include .js files
- Moved ds-button.js to src/components/ for proper discovery
- Fixed missing requests import in figma.py

The generator now successfully generates Storybook stories for admin-ui's
ds-button Web Component with all variants, sizes, and states.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 14:02:01 -03:00
DSS
23bfc9fd54 feat(config): Link admin-ui to figma uikit
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
2025-12-10 13:37:59 -03:00
DSS
448ef886c9 feat(cli): Add sync-tokens and setup-storybook commands 2025-12-10 13:37:38 -03:00