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,10 +1,10 @@
|
||||
/**
|
||||
* DSS Logger - Organism Brain Consciousness System
|
||||
* DSS Logger - Component Brain Consciousness System
|
||||
*
|
||||
* The DSS brain uses this logger to become conscious of what's happening.
|
||||
* Log levels represent the component's level of awareness and concern.
|
||||
*
|
||||
* Framework: DSS Organism Framework
|
||||
* Framework: DSS Component Framework
|
||||
* See: docs/DSS_ORGANISM_GUIDE.md#brain
|
||||
*
|
||||
* Log Categories (Organ Systems):
|
||||
@@ -23,7 +23,7 @@
|
||||
* Provides structured logging with biological awareness levels and optional remote logging.
|
||||
*/
|
||||
|
||||
// Organism awareness levels - how conscious is the system?
|
||||
// Component awareness levels - how conscious is the system?
|
||||
const LOG_LEVELS = {
|
||||
DEBUG: 0, // 🧠 Deep thought - brain analyzing internal processes
|
||||
INFO: 1, // 💭 Awareness - component knows what's happening
|
||||
@@ -79,7 +79,7 @@ class Logger {
|
||||
// Console output with component awareness emojis
|
||||
const levelEmojis = {
|
||||
DEBUG: '🧠', // Brain thinking deeply
|
||||
INFO: '💭', // Organism aware
|
||||
INFO: '💭', // Component aware
|
||||
WARN: '⚠️', // Symptom detected
|
||||
ERROR: '🛡️' // Immune alert - threat detected
|
||||
};
|
||||
@@ -128,7 +128,7 @@ class Logger {
|
||||
}
|
||||
|
||||
/**
|
||||
* 💭 INFO - Organism awareness
|
||||
* 💭 INFO - Component awareness
|
||||
* The system knows what's happening, stays informed
|
||||
*/
|
||||
info(category, message, data) {
|
||||
@@ -137,7 +137,7 @@ class Logger {
|
||||
|
||||
/**
|
||||
* ⚠️ WARN - Symptom detection
|
||||
* Organism detected something unusual but not critical
|
||||
* Component detected something unusual but not critical
|
||||
*/
|
||||
warn(category, message, data) {
|
||||
this._log('WARN', category, message, data);
|
||||
@@ -145,7 +145,7 @@ class Logger {
|
||||
|
||||
/**
|
||||
* 🛡️ ERROR - Immune alert
|
||||
* Organism detected a threat - critical consciousness
|
||||
* Component detected a threat - critical consciousness
|
||||
*/
|
||||
error(category, message, data) {
|
||||
this._log('ERROR', category, message, data);
|
||||
|
||||
Reference in New Issue
Block a user