Go to file
StillHammer b60bb48e9e Intelligent merge: Align Main.js/StepExecutor with API setup base
Combines two parallel developments:
1. Remote: API setup base (326a6a5) with new /api/generate-simple endpoint
2. Local: Main.js/StepExecutor alignment for production consistency

Key technical improvements:
- Main.js: Migrated from generateSimple() to StepExecutor.executeInitialGeneration()
- StepExecutor: Fixed to respect HTML options (selectiveStack, adversarialMode, etc.)
  * executeSelective() now uses applyPredefinedStack() with specific stack
  * executeAdversarial() uses proper mode mapping (light→lightDefense, etc.)
  * executeHumanSimulation() uses applyPredefinedSimulation() with mode
  * executePatternBreaking() uses applyPatternBreakingStack() with mode
- Updated process_real.js and DigitalOceanWorkflow.js to use handleModularWorkflow()
- Removed legacy ManualTrigger.js (Apps Script compatibility)

This ensures 100% consistency between step-by-step debugging interface and
automated Main.js workflow, while preserving the new API functionality.
Both development paths now use identical, tested and validated functions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:43:21 +08:00
.github/workflows Setup test system extended 2025-09-05 20:09:53 +08:00
backup/sequential-system Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
lib Intelligent merge: Align Main.js/StepExecutor with API setup base 2025-09-15 15:43:21 +08:00
public Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
tests setup base for api system 2025-09-15 14:14:32 +08:00
tools update test system and logger 2025-09-08 12:33:16 +08:00
.env.example update test system and logger 2025-09-08 12:33:16 +08:00
.gitignore Add logviewer.html, prompt improvment, clean duplication 2025-09-04 09:27:07 +08:00
ARCHITECTURE_REFACTOR.md Module system code base 2025-09-04 21:24:45 +08:00
claude_save.md Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
CLAUDE.md Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
code.js Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
debug_instructions.js Initial commit 2025-09-03 15:29:19 +08:00
fdsm Module system code base 2025-09-04 21:24:45 +08:00
GOOGLE_SHEET_VERSIONING_SPEC.md [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
launch_real.js Initial commit 2025-09-03 15:29:19 +08:00
package-lock.json Initial commit 2025-09-03 15:29:19 +08:00
package.json Setup test system extended 2025-09-05 20:09:53 +08:00
plan.md Module system code base 2025-09-04 21:24:45 +08:00
process_real.js Intelligent merge: Align Main.js/StepExecutor with API setup base 2025-09-15 15:43:21 +08:00
RAPPORT_ETAT_SYSTEME_GLOBAL.md [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
server-old.js Setup test system extended 2025-09-05 20:09:53 +08:00
server.js Setup test system extended 2025-09-05 20:09:53 +08:00
TODO.md Initial commit 2025-09-03 15:29:19 +08:00