docs: update CLAUDE.md to reflect current project architecture (#115)

Sync CLAUDE.md with actual codebase structure:
- Add controller layer (thin-router, fat-controller pattern)
- Fix service paths (services/hermes/hermes-cli.ts)
- Document 8 locales, Vitest testing, esbuild bundling
- Add new modules: composables, profiles, gateways, codex-auth
- Fix route registration (routes/index.ts, not routes/hermes/index.ts)
- Add missing env vars (UPLOAD_DIR, CORS_ORIGINS, HERMES_BIN)
- Update bootstrap sequence and auth middleware docs

Also change docker-publish workflow to manual trigger only,
and remove dev branch from build workflow trigger.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-21 19:39:02 +08:00
committed by GitHub
parent 81dad4c939
commit c4bea63a5e
3 changed files with 157 additions and 65 deletions
-1
View File
@@ -4,7 +4,6 @@ on:
pull_request:
branches:
- main
- dev
jobs:
build:
+1 -5
View File
@@ -1,11 +1,7 @@
name: Build and Push Docker Image to Docker Hub
# 触发条件配置
on:
push:
branches:
- main
workflow_dispatch: # 允许在 GitHub 网页端手动点击按钮触发
workflow_dispatch: # 仅手动触发
jobs:
build-and-push: