-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/consciousness-rebuild #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
metacurtis
wants to merge
23
commits into
digital-awakening
Choose a base branch
from
feat/consciousness-rebuild
base: digital-awakening
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 56f098e. # modified: src/App.jsx
- Complete project structure with all modules - Week 1-4 detailed checklists - Architecture documentation - Progress tracking system - GitHub Actions for automated progress reports
- StateController: Single write authority with afterWrite events - StateReader: Read-only access patterns for components - StateValidator: State integrity checking with production throttling - Fixed self-reference bug in validation rules - Remove stack traces in production builds - Add initialization module to wire everything together - Implement 4Hz validation throttling for production performance
- Centralize all initialization in initializeStateManagement() - Remove StateDebugger auto-initialization - Fix AtomicToBeatBus mappings (remove non-existent properties) - Add RAF batching for interaction events to prevent flooding - Wrap StateDebugger console logs in DEV checks - Add connectBeatBus() for deferred BeatBus connection - Improve cleanup with RAF cancellation
State Management Layer: - StateController: Single write authority for all atoms - StateReader: Read-only access patterns - StateValidator: State integrity with throttled validation - AtomicToBeatBus: Auto-sync bridge between atoms and events - StateDebugger: Visual state inspection (Ctrl+Shift+D) Event Orchestration Layer: - BeatBus: Central event system with middleware support - EventCatalog: Complete event definitions and schemas - EventValidator: Runtime event validation via middleware - EventDebugger: Visual event flow debugging (Ctrl+Shift+E) All systems production-ready with proper error handling and cleanup
- Add eslint-disable for BeatBus.use (not a React hook) - Remove unused Events import - Clean up unused variables
- Keep WebGLBackground as dumb renderer - Move intelligence to ConsciousnessEngine - Engine will listen to BeatBus and emit blueprints - Cleaner separation of concerns
- Created event catalog with SST v3.0 requirements - Implemented TheaterDirector with complete timeline - Added prewarm, start, cancel methods - Cursor blinks exactly twice per spec - Terminal shows double quotes in PRINT - Memory fragment monitoring at exact percentages - Debug access via window.theaterDirector
- Fixed ConsciousnessTheater.jsx (removed unused vars, fixed quotes) - Fixed OpeningSequence.jsx (removed unused imports/vars) - All ESLint errors resolved - Used heredoc pattern for error-free fixes
- Fixed all syntax errors - Consolidated all debug into single Director Console - DevPerformanceMonitor toggleable via button - Clean, working implementation
- Added AI-Native fix automation system (apply-fix.js) - Fixed Director remount infinite loop - Applied SST v3.0 compliance fixes - Enhanced shaders with Gaussian blur and tier system - Implemented enterprise-grade automation tools - Fixed opening sequence timing and transitions - Particles rendering (positioning needs adjustment) Created today: - scripts/apply-fix.js - General fix applicator - scripts/apply-sst-v3-fixes.js - SST compliance automation - fixes/ directory with specialized fixers - Automatic backup system - Professional shader implementation TODO: Adjust particle camera/FOV for full screen spread
- Particles now emerge from HELLO CURTIS text ✓ - Particles are visible and fill more of screen ✓ - Added GPU-safe point sizing with proper error handling - Fixed shader uniform bridging (uStageProgress/uStageBlend) - Implemented emergence blueprint caching - Added fallback morph animation - Scale increased to 1.6x for visibility TODO: Fine-tune tier behaviors and SST v3.0 compliance
- Browser-safe incident capture and deduplication
- Console sink with error stack preservation
- WebGL monitoring (shader errors, FPS, context loss)
- Incident store with pattern-based filtering
- WebSocket server for centralized monitoring
- Stats tracking (dedupe rate, severity breakdown)
- Silent mode with debug flag (window.__CANON_CONSOLE_DEBUG)
- Works offline with local storage
- Captures 4 incident types: console, runtime, WebGL, promises
Performance:
- Deduplicates identical errors to reduce noise
- Ignores React DevTools and HMR warnings
- Throttled GL error checking (1Hz)
- Max 5 reconnect attempts then goes quiet
Test with:
- window.__canonIncidents.getStats()
- window.__canonConsole.connected
- console.error(new Error('test'))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checkpoint: Canon Console L1 (stable)