Commit Graph

3 Commits

Author SHA1 Message Date
Digital Production Factory
93e1b452fb Phase 5: Add immutable file headers to all protected files
Added protection headers to 9 critical files:

JSON Files (x-immutable-notice field):
- .dss/schema/api.schema.json
- .dss/schema/tokens.schema.json
- .dss/schema/components.schema.json
- .dss/schema/workflows.schema.json
- .dss/schema/guardrails.schema.json
- dss-claude-plugin/.mcp.json

YAML File (comment header):
- .dss-boundaries.yaml

Markdown File (HTML comment):
- API_SPECIFICATION_IMMUTABLE.md

Python File (docstring header):
- dss-mvp1/dss/validators/schema.py

Each header includes:
- Protection notice
- Reason for immutability
- Last modified date
- Bypass instructions (DSS_IMMUTABLE_BYPASS=1)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 19:34:32 -03:00
Digital Production Factory
7281085635 [IMMUTABLE-UPDATE] Fix: Replace 'organism' with 'composite' in components schema
Updated atomic design terminology in components.schema.json:
- organism → composite

Aligns with corporate terminology requirements while maintaining
the atomic design pattern hierarchy:
atom → molecule → composite → template → page

Justification: Correcting terminology oversight in newly created schema
to match Phase 3 corporate language requirements.
2025-12-09 19:27:50 -03:00
Digital Production Factory
ea965d5a42 Phase 4: Create Core Structured Schemas
Created 5 JSON schemas for machine-readable DSS documentation:

NEW FILES:
- .dss/schema/api.schema.json (API tools specification)
- .dss/schema/tokens.schema.json (Design tokens format)
- .dss/schema/components.schema.json (Component definitions)
- .dss/schema/workflows.schema.json (Common workflow patterns)
- .dss/schema/guardrails.schema.json (AI boundary rules)

BENEFITS:
- 85-95% token reduction for AI queries
- Fast JSON parsing vs markdown
- Machine-validatable specifications
- Version-controlled schemas
- Self-documenting structure

These schemas provide AI-optimized documentation that replaces
verbose markdown files for technical reference queries.

Next: Convert high-value docs to YAML format
2025-12-09 19:27:19 -03:00