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>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 🧬 DSS Organism Framework: Code Integration Guide
|
||||
# 🧬 DSS Component Framework: Code Integration Guide
|
||||
|
||||
**How to integrate component vocabulary into DSS code, messages, and logging.**
|
||||
|
||||
@@ -139,7 +139,7 @@ const logLevels = {
|
||||
// AFTER
|
||||
const logLevels = {
|
||||
DEBUG: { level: 0, color: '#888', prefix: '🧠 [THOUGHT]' }, // Brain thinking
|
||||
INFO: { level: 1, color: '#2196F3', prefix: '💭 [AWARENESS]' }, // Organism aware
|
||||
INFO: { level: 1, color: '#2196F3', prefix: '💭 [AWARENESS]' }, // Component aware
|
||||
WARN: { level: 2, color: '#FF9800', prefix: '⚠️ [SYMPTOM]' }, // Health concern
|
||||
ERROR: { level: 3, color: '#F44336', prefix: '🛡️ [IMMUNE ALERT]' }, // Threat detected
|
||||
};
|
||||
@@ -158,7 +158,7 @@ print("Running reset...")
|
||||
print("✅ Reset complete")
|
||||
|
||||
# AFTER - Frame as component actions
|
||||
print("🧬 Organism undergoing regeneration...")
|
||||
print("🧬 Component undergoing regeneration...")
|
||||
print("✅ Regeneration complete - component reborn")
|
||||
|
||||
# Health check output
|
||||
@@ -234,7 +234,7 @@ Suggested framing:
|
||||
|
||||
Suggested framing:
|
||||
- Generator purpose: "Refresh the skin - generate Storybook documentation"
|
||||
- Story creation: "Organism educating the external world through documentation"
|
||||
- Story creation: "Component educating the external world through documentation"
|
||||
- Component showcase: "Display how tissues (components) work together"
|
||||
|
||||
---
|
||||
@@ -309,7 +309,7 @@ For progress tracking and logging, map to component processes:
|
||||
```python
|
||||
logger.info("🍽️ Digestive system beginning token extraction...")
|
||||
logger.debug("🧠 Brain analyzing token patterns...")
|
||||
logger.warning("⚠️ Organism experiencing metabolic stress - slow processing")
|
||||
logger.warning("⚠️ Component experiencing metabolic stress - slow processing")
|
||||
logger.error("❌ Critical immune failure - infection detected and isolated")
|
||||
```
|
||||
|
||||
@@ -324,7 +324,7 @@ For CLI commands and settings descriptions:
|
||||
@click.option('--feed', is_flag=True, help='Feed the DSS with new tokens from Figma')
|
||||
@click.option('--health', is_flag=True, help='Check the component vital signs')
|
||||
def dss_cli(feed, health):
|
||||
"""DSS Organism Control Panel - Feed, monitor, and maintain the system"""
|
||||
"""DSS Component Control Panel - Feed, monitor, and maintain the system"""
|
||||
if feed:
|
||||
print("🍽️ Opening intake valve...")
|
||||
if health:
|
||||
@@ -405,7 +405,7 @@ As you update files, organize documentation like this:
|
||||
```
|
||||
dss-mvp1/
|
||||
├── README.md
|
||||
│ └── Add: "The DSS Organism" section with framework link
|
||||
│ └── Add: "The DSS Component" section with framework link
|
||||
├── dss/
|
||||
│ ├── validators/
|
||||
│ │ └── schema.py ✅ UPDATED
|
||||
|
||||
Reference in New Issue
Block a user