Commit Graph

31 Commits

Author SHA1 Message Date
4f19a35b5d docs(eye-remote): Add complete display requirements to wiki
- Full display stack diagram (7 layers)
- Required packages table
- Service dependencies
- Boot sequence (9 steps)
- Critical configuration files list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-22 09:07:52 +02:00
be92d7df0b docs(eye-remote): Add hardware wiki + sync CI workflow
- Eye-Remote-Hardware.md: GPIO pinout, USB OTG, DPI timings, gadget modes
- Update CI workflow to v2.0.0
- Fix build script: add DNS for chroot network access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-22 08:56:21 +02:00
8bb92be81b docs(eye-remote): Add README and wiki implementation guide
- README.md: Quick start, architecture, configuration, troubleshooting
- Eye-Remote-Implementation.md: Full wiki with timeline, components,
  build system, display config, API reference, lessons learned

Documents the complete Eye Remote v2.0.0 framework implementation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 22:05:36 +02:00
cca602da56 docs: Add integration test guide for Eye Remote v2.0.0
Complete testing guide covering:
- Gateway emulator installation and usage
- Unit test execution (13 tests)
- Agent-gateway integration testing
- API module verification
- Troubleshooting section

Part of Eye Remote v2.0.0 implementation (Task 14).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 11:11:26 +02:00
e1d496641e docs: Add Eye Remote v2.0.0 implementation plan
14 tasks across 4 phases:
- Phase 1: Eye Remote Agent (config, HTTP client, metrics bridge, device manager)
- Phase 2: SecuBox Module (models, registry, token manager, API routers)
- Phase 3: Gateway Tool (CLI, emulator, server)
- Phase 4: Packaging & Integration (Debian, build script, e2e test)

Each task includes TDD approach with failing tests first,
complete code, exact file paths, and commit instructions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 08:41:31 +02:00
7d46e9a0ad docs: Add Eye Remote integration design specification
Comprehensive spec for Eye Remote ↔ SecuBox integration:
- secubox-eye-agent: Multi-SecuBox connection manager
- secubox-eye-remote: SecuBox management module + WebUI
- secubox-eye-gateway: Dev emulator + fleet gateway
- Device token auto-authentication
- Touchless pairing via QR code
- Bidirectional control (Eye can control SecuBox)
- SSH auto-provisioning
- Screenshot, OTA, serial console features

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 08:32:35 +02:00
4165d6d66c feat(network): Smart auto-IP with ARP collision detection (v1.7.0.2)
- Add ARP-based IP collision detection for multi-device environments
- MAC-based pseudo-random IP offset to spread devices across range
- Gratuitous ARP announcement to prevent IP conflicts
- Fix EspressoBin DSA network: target wan interface, not eth0 CPU port
- Static IP fallback 192.168.255.250 when DHCP unavailable
- Sync all build scripts to version 1.7.0
- Add screenshot script with 90+ module URLs
- Add mock HTML screenshots for documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-14 16:28:02 +02:00
7a34189ed4 feat(kiosk): Add VirtualBox debug logging for X11 troubleshooting
- Add generate_debug_report() to secubox-kiosk-launcher
- Capture system info, virtualization, graphics hardware
- Log DRM/KMS devices, kernel modules, Xorg status
- Enhanced error reporting with dmesg and VT status
- Debug reports saved to /tmp/kiosk-debug-*.log
- Add v1.6.7.2 overlay installer scripts
- Add emoji font fixes for navbar icons
- Add screenshots for v1.6.7.1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-13 08:26:06 +02:00
040abc330a docs(wiki): Complete German translations and consolidate wiki
- Add 8 German translation files (Home, Installation, Live-USB,
  ARM-Installation, ESPRESSObin, Configuration, Troubleshooting,
  API-Reference)
- Remove duplicate docs/wiki/ directory (10 files)
- Remove fragmented Modules.md, Modules-FR.md, Modules-ZH.md
  (keep comprehensive MODULES-*.md versions)
- Update sidebar with German (DE) links for all pages
- Translation coverage now 100% for EN, FR, ZH, DE

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-10 19:32:12 +02:00
de77a1aa4e feat(build): Add modular build system and fix package dependencies
Build System:
- Add image/lib/common.sh with shared build functions
- Add profiles for vm-x64, x64-live, rpi400, espressobin-v7
- Add BUILD-SYSTEM.md documentation
- Add splash screens (boot.png, tui-splash.sh, kiosk-loading.sh)
- Add Plymouth theme for boot splash

Package Dependencies:
- Fix python3-uvicorn -> python3-uvicorn | python3-pip
- Fix python3-fastapi -> python3-fastapi | python3-pip
- Fix python3-httpx -> python3-httpx | python3-pip
- Allows packages to install when pip-provided deps are used

Documentation:
- Add Build-System.md wiki page
- Update _Sidebar.md with build system links
- Add VM-Testing.md improvements

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-10 17:31:24 +02:00
d9d2eb4edf docs: Add modules architecture documentation
- modules-architecture.md: 6-domain module organization
- secubox_modules_architecture.svg: Visual diagram
2026-04-10 10:47:35 +02:00
3b1f844bab docs: Add graphic charter with 6-module color system
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-10 10:26:05 +02:00
9690412f29 feat: Add secubox-ui-manager, boot architecture docs, and plymouth theme
New features:
- secubox-ui-manager: Unified UI management with KUI/TUI/Console fallback
  - State machine for mode transitions
  - Hypervisor detection and optimization
  - Modular debug system (levels 0-5)
  - Health monitoring with automatic fallback

- Plymouth secubox-cube theme with CRT effects and module icons

- Boot architecture documentation (ANSSI CSPN reference)
  - Chain de boot diagram (SVG)
  - Execution modes: PROMPT/KIOSK/API

Fixes:
- build-live-usb.sh: Remove Type=idle from getty override
- build-live-usb.sh: Add StandardInput/StandardOutput for proper TTY

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-10 10:23:54 +02:00
066ed94468 Add OpenWRT Master-Link client implementation guide
docs/OPENWRT-MASTERLINK.md:
- RPCD backend script (luci.masterlink)
- LuCI JavaScript view for join/leave UI
- UCI config template
- OpenWRT package Makefile
- ACL permissions file
- CLI and web UI testing commands
- Complete directory structure for luci-app-masterlink

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 13:38:38 +01:00
fbd475351d Update module screenshots with roadmap v1.1.0
- 45 module screenshots captured from VM
- Includes updated roadmap page with full migration tracking
- Shows 102 OpenWRT modules, 38 migrated, 64 pending

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 08:03:47 +01:00
26c27d226d Add OpenWRT vs Debian comparison and update migration status
- Create docs/OPENWRT-DEBIAN-COMPARISON.md with full module comparison
  - OpenWRT: 103 luci-app modules
  - Debian: 52 packages (49 UI + 3 backend)
  - 43 modules migrated, 68 pending
  - ~1000+ API endpoints documented
  - Technology stack comparison
  - Roadmap for remaining phases

- Update MIGRATION-MAP.md with accurate counts and link to comparison
- Update WIP.md with Session 16 progress (UI theme, screenshots, docs)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:27:31 +01:00
f33b447294 Update all module screenshots and documentation
- Captured 45 module screenshots with new CRT theme
- Updated docs/SCREENSHOTS-VM.md with module gallery
- Updated wiki documentation for OpenWRT and Debian
- All modules now have consistent light theme navbar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:22:52 +01:00
1534f89b2b Add UI documentation with module list and theme guide
- docs/UI-GUIDE.md: Comprehensive UI documentation
  - Navbar integration requirements
  - Menu categories and module list
  - Color palette for light/dark themes
  - Menu configuration format
  - Maintenance script usage
- docs/screenshots/: Placeholder for module screenshots

Note: Screenshots need to be captured manually and added to docs/screenshots/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:20:23 +01:00
442650d53e Add OpenWrt implementation prompts for mesh daemon and CRT theme
Documentation for porting SecuBox to OpenWrt:
- OPENWRT-MESH-DAEMON.md: Complete spec for secuboxd on OpenWrt
  - C/Lua implementation guidelines
  - UCI configuration format
  - procd init script
  - Control socket protocol (compatible with Debian)
  - mDNS discovery via umdns
  - LuCI integration structure

- OPENWRT-CRT-THEME.md: P31 phosphor green theme for LuCI
  - Complete CSS stylesheet (cascade.css)
  - CRT effects engine (scanlines, glow, flicker)
  - Color palette and typography specs
  - Component styling (tables, forms, buttons, badges)
  - OpenWrt package Makefile
  - Topology visualization CSS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 08:41:15 +01:00
6e56dd7135 Add multilingual module documentation
- Add MODULES-EN/FR/DE/ZH.md with 48 modules documented
- Update sidebar with multilingual module links
- Add Metrics Dashboard to screenshots documentation
- All 47 module screenshots linked to GitHub

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 05:28:54 +01:00
6f6f3667b6 Add Live USB documentation and wiki pages
- docs/LIVE-USB.md: Complete guide for bootable USB
- wiki/: GitHub wiki content (Home, Live-USB, Sidebar)
- README.md: Add Live USB quick start section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 17:59:07 +01:00
3d42000827 secubox-metrics: P31 phosphor theme for metrics dashboard
- Full inline CSS with CRT phosphor green (#33ff66) spectrum
- Dark tube background (#050803) with bloom text effects
- Removed dependency on external theme.css
- New screenshot showing live metrics dashboard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:15:01 +01:00
129c9e5d46 Add Metrics Dashboard screenshot
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:11:37 +01:00
0873446338 Add Metrics Dashboard to documentation
- Add secubox-metrics README
- Update MIGRATION-MAP with 52 modules
- Update multilingual wiki docs (EN, FR, DE, ZH)
- Add Metrics Dashboard to all module lists

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:42:33 +01:00
a4fa81d349 Add complete package READMEs and multilingual wiki documentation
- Generate README.md for all 45 secubox-* packages with screenshots
- Add multilingual wiki pages (EN, FR, DE, ZH) documenting 47 modules
- Add generate-docs.py tool for documentation generation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:31:34 +01:00
a05b76428f Update screenshots with stable portal service
All 45 modules captured with proper authentication.
Portal service now stable (watchdog fix applied).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:26:55 +01:00
c1e4b45d47 Fix screenshot tool login with aiohttp
- Use aiohttp to login via API (bypasses browser SSL issues)
- Inject JWT token into browser localStorage
- All 45 modules now captured with proper authentication
- Portal service watchdog needed (keeps dying)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:24:30 +01:00
1f2386b1a8 Update screenshots and wiki documentation
- Refreshed all 45 VM module screenshots
- Updated screenshot-tool.py with better login selectors
- Wiki documentation ready in docs/wiki/
  - secubox-debian-ui.md
  - secubox-openwrt-ui.md
  - UI-COMPARISON.md

Screenshots gallery: docs/SCREENSHOTS-VM.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:04:43 +01:00
482ffaf7aa Fix portal auth and add watchdog support
api/main.py:
- Persist default admin user on first load
- Add startup event to ensure users.json exists
- Better error handling for JSON decode errors

secubox-portal.service:
- Restart=always with WatchdogSec=30
- RuntimeDirectory=secubox ensures socket dir exists
- ExecStartPre creates /etc/secubox with proper ownership
- StartLimitBurst=5 prevents restart loops

Fixes authentication issues on fresh boot.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:54:04 +01:00
948003c307 Add screenshot tool and wiki documentation
scripts/screenshot-tool.py:
- Playwright-based screenshot capture for all 47 modules
- Supports VM (localhost:9443) and device (192.168.255.1)
- Auto-login with JWT token handling
- Generates markdown documentation per host
- Side-by-side comparison generator
- Wiki page generators for both repositories
- Module listing with categories and icons

docs/wiki/:
- secubox-openwrt-ui.md: OpenWRT LuCI documentation
- secubox-debian-ui.md: Debian CRT P31 theme documentation
- UI-COMPARISON.md: Side-by-side comparison guide

Usage:
  python3 scripts/screenshot-tool.py --host vm
  python3 scripts/screenshot-tool.py --host device
  python3 scripts/screenshot-tool.py --compare --all

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:36:19 +01:00
5d2264cadc Add comprehensive module documentation
- docs/MODULES.md: Complete documentation for all 46 modules
  - Organized by category (dashboard, security, network, etc.)
  - API endpoint counts and descriptions
  - CRT P31 phosphor theme documentation
  - Screenshot checklist for visual documentation
  - Module architecture and build instructions
- docs/screenshots/: Directory for module screenshots
- Updated WIP.md with Session 11 documentation work
- Updated MIGRATION-MAP.md with secubox-soc module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:25:27 +01:00