Releases: fotsakir/codehero
v2.83.5 - Context Files Copy Fix
What's New
Fixed
- Setup & Upgrade Scripts - Now copy language-specific context files
- Added contexts folder copy to
setup.sh(fresh installs) - Added contexts folder copy to
upgrade.sh(upgrades) - Copies: php.md, python.md, node.md, html.md, java.md, dotnet.md, go.md, react.md, capacitor.md, flutter.md, kotlin.md, swift.md
- Added contexts folder copy to
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.5.zip
unzip codehero-2.83.5.zip
cd codehero
sudo ./upgrade.shv2.83.4 - Problem Tickets Badge & Filters
What's New
Added
-
Problem Tickets Badge - Warning icon in header for stuck/failed tickets
- Pulsing red badge appears when tickets need attention
- Click to navigate to filtered problem tickets view
- Auto-refreshes every 30 seconds
-
Tickets Filter Enhancement - New filter buttons
- Added "Stuck" filter for stuck tickets only
- Added "Problems" filter for both stuck and failed tickets
Fixed
- Project Preview URL - Now includes secure key parameter
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.4.zip
unzip codehero-2.83.4.zip
cd codehero
sudo ./upgrade.shv2.83.3 - SQL Index Optimization & Context Rules
What's New
Improved
-
SQL Index Optimization - 10 new indexes for better query performance
tickets: status+updated_at, project_id+updated_atconversation_messages: ticket_id+created_at, ticket_id+role, ticket_id+id DESCexecution_sessions: status, ticket_id+statusexecution_logs: session_id+created_atprojects: status+updated_at- Removed redundant
idx_codeindex
-
Global Context - Database Design Rules - Comprehensive guidelines
- Correct field types (DECIMAL for money, UNSIGNED for IDs, etc.)
- Table structure best practices
- Foreign key actions with use-case examples
-
Global Context - File Placement Rules - Clear workspace paths
- File type → path mapping table
- Forbidden locations list
Fixed
- Migration backup import now restores context fields properly
- Web UI ticket creation shows description immediately
Upgrade
```bash
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.3.zip
unzip codehero-2.83.3.zip
cd codehero
sudo ./upgrade.sh
```
v2.83.2 - Watchdog Fix & UI Testing Rules
What's New
Fixed
- Watchdog Stuck Detection for Parallel Tickets - Fixed thread-local bug
- Processes now tracked per
ticket_idinstead of per-thread - Watchdog can now correctly kill stuck tickets in parallel execution
- Less aggressive stuck detection (tool calls without output = normal)
- Processes now tracked per
Improved
- Global Context v4.1 - Mandatory UI Testing Rules
- Color contrast check: Elements must be visible without hover
- Interactive elements: Must open/test all dropdowns and selectors
- Login testing: Must test authenticated views if login exists
- Test IDs (
data-testid): Mandatory for all interactive elements - Full Playwright test template with complete automation
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.2.zip
unzip codehero-2.83.2.zip
cd codehero
sudo ./upgrade.shv2.83.1 - Security Fixes & Global Context v4.0
What's New
Security
- Fixed Cookie Injection - Sanitized project folder names in cookie names/paths
- Fixed Path Injection - Added extra validation for context type in file paths
Improved
-
Global Context v4.0 - Enhanced AI development guidelines
- Mandatory 7-step workflow for all tasks
- Verification Protocol with syntax check, log check, and visual verification
- Multi-platform visual verification (Playwright for web, ADB for Android, simctl for iOS, etc.)
- Stricter code quality rules (no minified code, no CDN, relative paths only)
- Mandatory project documentation (technologies.md, map.md)
-
Persistent Project Auth Secret - Session cookies now last full 7 days
- Secret stored in
/opt/codehero/data/project_auth_secret - Survives server restarts (previously regenerated on each restart)
- Secret stored in
-
CORS Headers for Static Files - Fixed cross-origin resource loading
- Fixes ORB/CORS errors when accessing projects from different origins
-
Update Flow Improvements - Better handling of server restart
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.1.zip
unzip codehero-2.83.1.zip
cd codehero
sudo ./upgrade.shv2.83.0 - Extended Thinking & Context System
What's New
Added
-
Extended Thinking for All Models - Better reasoning, fewer errors
- MAX_THINKING_TOKENS=31,999 for haiku, sonnet, and opus
- Consistent thinking budget across all AI models
- Reduces retries by enabling deeper analysis before responses
-
Context System Refactoring - Per-project customizable AI context
global_contextcolumn for project-specific universal rulesproject_contextcolumn for language-specific patterns- Context defaults loader for different tech stacks (php, python, node, react, etc.)
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.0.zip
unzip codehero-2.83.0.zip
cd codehero
sudo ./upgrade.sh🤖 Generated with Claude Code
v2.82.3 - Enhanced Global Context & Playwright Testing
What's New
Enhanced Global Context
- Server Environment section (OS, PHP, Node, Python, MySQL versions)
- Ports & File Locations reference
- Installed Tools list
- Libraries: Download Locally (NO CDN!) rule
Visual Verification with Playwright
- Full page screenshots (desktop + mobile + tablet)
- Console errors & failed requests capture
- Server logs check (PHP, Nginx, MySQL, Python, Java)
- Alignment & Symmetry verification
- Color & contrast checking
- Typography & Interactive elements testing
- Performance/load time measurement
Full Site Test (End-to-End)
- Automated complete application testing
- Login functionality testing
- Every interactive element testing
- Coverage percentage reporting
Programming Philosophy
- No Minify/Obfuscate - Clean code only
- Bottom-Up Development approach
- Comments everywhere
Project Documentation (Mandatory)
technologies.md- Technology stack notesmap.md- Application structure mapdocs/folder - Library quick references
Code Tags System
- HTML
data-testidattributes on every element - PHP/Python
#TAG:comments for code search - 100% Playwright testing using tags
Closed Box Principle
- Every script has test file
- Every script has documentation header
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.82.3.zip
unzip codehero-2.82.3.zip
cd codehero
sudo ./upgrade.shv2.82.2 - Design Standards & Dynamic Context Loading
What's New
Added
- Design Standards (PART 12) - Comprehensive UI/UX guidelines
- 4px/8px spacing grid system
- 60-30-10 color rule (primary/secondary/accent)
- Typography hierarchy, border radius, shadows
- Copy-paste ready component patterns (buttons, cards, inputs)
- Dark mode guidelines
- Design checklist
Improved
- Dynamic Global Context Loading - Single source of truth
- All assistants now load
global-context.mddynamically - HeroAgent loads context via
get_system_prompt() - Removed duplicate content from assistant files
- Changes to global-context.md now apply everywhere automatically
- All assistants now load
Fixed
- MySQL 8.0+ charset collation updated to
utf8mb4_0900_ai_ci - Ticket live preview now includes secure key for authentication
Upgrade
cd /opt/codehero
sudo ./upgrade.shOr fresh install:
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.82.2.zip
unzip codehero-2.82.2.zip && cd codehero && sudo ./setup.shv2.82.1 - Self-parent Prevention & Assistant Context
What's New
Fixed
- Self-parent Prevention - MCP server now validates
parent_sequence- Detects if a ticket would be its own parent
- Returns error and rolls back ALL tickets - no partial commits
- Error message: "Skipped self-parent: TICKET cannot be its own parent"
Improved
- Assistant Context Files - Comprehensive dependency rules documentation
- Clear examples of WRONG vs CORRECT usage
- Explains that
depends_onandparent_sequenceuse 1-indexed array position - Updated: assistant-planner.md, assistant-general.md, assistant-progress.md, CLAUDE.md
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.82.1.zip
unzip codehero-2.82.1.zip
cd codehero
sudo ./upgrade.shv2.82.0 - Secure Project URLs
What's New
Added
- Secure Project URLs - Client preview URLs now require authentication
- Each project gets a unique secure key for URL access
- Session cookies scoped per-project (7-day expiry)
- Clients can only access their assigned project, not others
- Changing the key immediately invalidates all existing sessions
- Localhost (127.0.0.1) bypasses auth for Playwright automation
Improved
- Project Detail UI - New "Client URL" section with one-click copy
- Auto-upgrade - Nginx config automatically updated from Basic Auth
Upgrade
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.82.0.zip
unzip codehero-2.82.0.zip
cd codehero
sudo ./upgrade.sh