67 Commits

Author SHA1 Message Date
eda23f7ae5 refactor: extract pipeline_dist and pipeline_ops as independent modules 2026-08-03 16:21:20 +08:00
9d6446410f refactor: extract pipeline_core and pipeline_task as independent modules
- pipeline_core moved to independent repo pipeline_core.git
- pipeline_task symlink fixed to relative path
- All modules now cloned independently under pkgs/
- Removed embedded module source from umbrella repo
2026-08-03 16:12:29 +08:00
941c3c838e fix: replace wwwroot/pipeline_core dir with symlink to pkgs/pipeline_core/wwwroot; delete old CRUD files 2026-08-01 12:21:15 +08:00
0b01c58534 fix: llm CRUD json URLs match generated dspy names; rebuild llm index.ui 2026-08-01 11:33:32 +08:00
7288eb5ba8 fix: remove cockpit sidebar menu item (replaced by pipeline-sdlc index) 2026-07-31 12:24:08 +08:00
c994beb85a feat: add cockpit sidebar menu item 2026-07-30 18:26:36 +08:00
5c478b34f5 bugfix 2026-07-19 12:00:58 +08:00
a3fc40e281 bugfix 2026-07-19 11:54:51 +08:00
4b29ed0f87 bgfix 2026-07-19 11:53:13 +08:00
ffd36a3c51 fix: get_module_dbname returns pipeline for all modules 2026-07-18 23:48:23 +08:00
668bc55ed8 feat: get_module_dbname in pipeline_app.py + ServerEnv registration 2026-07-18 23:44:59 +08:00
36c7aa3648 fix(build): config sync only password_key, databases are app-specific 2026-07-18 23:42:52 +08:00
e92008c52b fix(build): link appbase wwwroot for get_code.dspy 2026-07-18 23:31:30 +08:00
756c0ac0cc fix(build): xls2ui CRUD for all pipeline modules (core/ops/dist/sdlc) 2026-07-18 23:28:52 +08:00
495bbb1422 fix(build): auto-sync config from Sage (password_key + sage DB) 2026-07-18 23:24:47 +08:00
d2a3f216dc fix(build): wwwroot symlinks to pkgs/ modules 2026-07-18 23:19:08 +08:00
59bcc3da9f fix(build): bricks dist → wwwroot/bricks link 2026-07-18 23:17:53 +08:00
126f0c0a68 fix(build): link module wwwroot directories 2026-07-18 23:03:14 +08:00
f5d7e15290 fix(build): bricks dist mkdir + tenant module 2026-07-18 22:53:13 +08:00
3c9fdcf444 feat: UI pages, build.sh, deployment scripts, model uitype fixes
- Add SDLC dashboard, pipeline editor, ops center UI
- build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by
- global_func.py: password_encode None-safe wrapper
- pipeline_app.py: permission cache warmup removed
- load_path.py: RBAC permission registration for all modules
- scripts/merge_i18n.py: i18n merge tool
- bin/init_perms.py, bin/init_data.py: init scripts
- set_role_perm.py: single permission registration
- Model uitype fields set for form editing
- pipeline_core/pipeline_ops load_path.py scripts
2026-07-18 22:44:34 +08:00
3623d5725e feat: add tenant module — menu entry + init loading
- Add tenant wwwroot symlink to pipeline-app
- Add '租户管理' to sidebar menu
- Load tenant.init in app init
2026-07-09 11:17:20 +08:00
4e560116e9 feat: add KTV产线 sidebar menu entry 2026-07-09 08:09:13 +08:00
e23b32066e fix: add pipeline_sdlc nav entry, fix pipeline_task url 2026-07-09 07:42:36 +08:00
da80c0b153 fix: sor.U() 3-arg -> 2-arg in update_pipeline_step and update_pipeline_version 2026-07-09 07:08:58 +08:00
4277d14aee fix: sor.U() 3-arg -> 2-arg in publish_pipeline 2026-07-09 07:07:18 +08:00
fc041fc5f4 style: modernize card UI — colored icon boxes, fixed height, white bg, Title3
- pipeline_core: 3 cards with colored icon containers (blue/green/amber)
- pipeline_ops: 3 cards with icons (red/sky/purple), consistent height
- pipeline_dist: 2 cards with icons (green/orange), added distributor management card
2026-07-08 19:10:44 +08:00
7f50eba204 fix: pipeline_core index.ui — widget id mismatch broke card clicks
Cards used target=app.pipeline_core_content but widget id was app.pipeline_core_content (dot in name).
Fixed: id → pipeline_core_content, now matches bricks app.child lookup.
2026-07-08 18:53:23 +08:00
76a7e0444f bugfix 2026-07-08 18:45:44 +08:00
8bbba45564 fix: config — pipeline DB, remove redundant paths, add module_dbname
- DB was pointing to 'sage' instead of 'pipeline' (root cause of login 500)
- Removed extra path entries that conflict with wwwroot symlinks
- Added module_dbname mapping for all pipeline modules
2026-07-08 18:36:57 +08:00
d615a9ed0c bugfix 2026-07-08 18:27:23 +08:00
a243f1d9cf fix: ktv_adapter model names — remove ky- prefix to match actual Sage llm records
- All 8 GPU service models now match tokentest llm names
- Add supporting app modules (quality_gate, model_selector, global_func, eval_music, eval_video)
2026-07-08 18:05:13 +08:00
bba2e12cbf fix: pipeline UI - menu width, task URL, admin button target
- Fix task center URL: /pipeline_task/ → /pipeline_sdlc/sd_projects/
- Admin button opens in new window instead of replacing main content
- Menu width: fixed 220px with min-width 200px
2026-07-08 18:03:14 +08:00
5bc6bdce85 bugfix 2026-07-08 17:47:20 +08:00
abd5837509 fix: rewrite index.ui for pipeline_ops/pipeline_dist as proper bricks cards
- pipeline_ops: VBox+ResponsableBox cards → pricing/capacity/usage_log
- pipeline_dist: VBox+ResponsableBox cards → distributor_pipeline
- main index.ui: fix task center URL (/pipeline_task→/pipeline_sdlc/sd_projects), menu cwidth
2026-07-08 17:43:49 +08:00
9ea18c9607 bugfix 2026-07-08 17:35:26 +08:00
24d1e4937c fix: 数据库密码使用AES加密而非RC4 2026-07-07 22:28:16 +08:00
212a0c1f85 fix: ktv_adapter pipeline_service导入改为可选 2026-07-07 22:14:10 +08:00
246a68dd26 fix: pipeline_service和pipeline_sdlc导入改为可选,缺失时优雅降级 2026-07-07 22:05:18 +08:00
9c29e367d6 fix: 移除硬编码路径,全部从git仓库克隆 — 修复config.json DB凭证和路径,build.sh克隆pipeline-sdlc/showcase 2026-07-07 21:46:39 +08:00
216f2f9f59 fix: demucs固定separate_full模式 2026-07-06 17:26:40 +08:00
0fbc0d11cc chore: 清理最后一个wan2.6引用 2026-07-06 17:24:47 +08:00
bee01f6c3e fix: wan2.6→wan2.7 作为推荐默认模型 2026-07-06 17:23:57 +08:00
0d73abfb20 fix: 可灵替换为Seedance 2.0 + 清理旧GPU计算逻辑 2026-07-06 17:22:41 +08:00
225c654811 fix: 模型选择读取客户选项+定价改为llmage模型(wan2.6/happyhorse/kling) 2026-07-06 17:20:30 +08:00
3493444307 refactor: KTV产线全部改为通过llmage API调用,环境变量配置供应商/端点/APIKey 2026-07-06 17:11:51 +08:00
ffdba55fd7 feat: add full 4-stem demucs mode with MIDI instrument replacement
- Support mode='full' in handle_demucs_separating config
- Full mode: 4-stem separation → basic-pitch MIDI → fluidsynth render → mix
- Each instrument gets correct GM instrument (drums=channel10, bass=34, other=1)
- 2-stem mode preserved as default for backward compatibility
- Uses run_full.py standalone script on GPU server via SSH
2026-07-06 11:30:43 +08:00
0bc74fdd1a feat: 修复工作区状态并提交CRUD生成文件
- 修复文件权限 (600→644)
- 删除调试日志 (global_func.py)
- 添加 CRUD 生成的 wwwroot 文件 (pipeline_core/dist/ops)
- 添加 mysql.ddl.sql 文件
- 更新 pyproject.toml 配置
- 添加 showcase 模块安装 (build.sh)
- 更新 index.ui (sidebar toggle + 管理按钮)
- 设置 start.sh/stop.sh 可执行权限
- 添加 wwwroot 符号链接 (appbase/rbac/pipeline_sdlc)
- 更新 .gitignore (排除 pkgs/bricks/pipeline.pid)
2026-06-26 16:44:23 +08:00
eb10d97aa2 feat: eval_video/eval_music 接入 LLM 评估
- eval_video.py: semantic_consistency + character_consistency 调用 llm_bridge
- eval_music.py: emotion_lyrics_match + prompt_adherence 调用 llm_bridge
- 异常时回退默认分数,保证产线不中断
2026-06-25 21:10:35 +08:00
8408570ed7 feat: add multi-model cost estimation and selection after storyboard
- Add cost_estimator.py: supports Wan 2.2, Wan 2.7, Vidu 2.0 pricing
- Add model_selector.py: creates human_task for customer model selection
- Update ktv_adapter.py: add model_selecting step, modify scene_video_generating to use selected model
- Add integration guide: docs/model-selection-integration.md
2026-06-25 18:51:29 +08:00
9d3f0ff38c feat: 多维度质量评估体系 - 视频5维度/音乐7维度
新增模块:
- app/eval_video.py: 场景视频多维度评估 (视觉质量25%, 运动流畅度20%, 语义一致性30%, 角色一致性15%, 时间连贯性10%)
- app/eval_music.py: 音乐多维度评估 (节奏15%, 和弦10%, 听感20%, 情绪-歌词匹配20%, 指令匹配15%, 伴奏10%, 人声10%)

更新模块:
- app/quality_gate.py: 集成多维度评估函数,支持降级
- app/ktv_adapter.py: 注册6个质量门控 handlers (步骤9-10, 11, 12, 13, 14-15, 17)

质量门控流程:
1. 执行 handler
2. 多维度评估
3. 不达标自动重试(最多3次)
4. 仍不达标创建 human_task 暂停任务等待人工决策
2026-06-25 18:34:26 +08:00