kenaz 0.3.21 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/.claude/commands/Ansuz.md +2 -0
- package/core/.claude/hooks/__tests__/peer-session-fill.test.js +37 -0
- package/core/.claude/hooks/_ansuz-conversation.js +32 -1
- package/core/.claude/hooks/_user-scope.js +1 -1
- package/core/.claude/hooks/core-resolve.js +1 -1
- package/core/.claude/hooks/peer-optin.test.js +74 -0
- package/core/.claude/hooks/peer-session-fill.js +38 -0
- package/core/.claude/hooks/turn-context.js +5 -4
- package/core/.claude/hooks/worktree-create.js +6 -6
- package/core/.claude/hooks/worktree-remove.js +4 -4
- package/core/.claude/settings.json +9 -0
- package/core/.collaboration/core/reconcile.js +16 -1
- package/core/.collaboration/core/task-2467-lifecycle.test.js +63 -0
- package/core/.collaboration/core/task-api.js +37 -7
- package/core/.formation/bifrost/launch.js +1 -1
- package/core/.formation/bifrost/openai/codex-hook-shim.js +21 -4
- package/core/.formation/bifrost/openai/codex-peer-pull.test.js +42 -0
- package/core/.formation/bifrost/provider-launch.js +2 -1
- package/core/.formation/tools/kenaz-stats.js +1 -1
- package/core/.formation/tools/post-complete/git-merge.js +1 -1
- package/core/.formation/tools/prompt.js +1 -1
- package/core/.kenaz/specialist/ansuz_rules.yaml +7 -51
- package/core/.kenaz/specialist/ansuz_session_handoff.schema.json +2 -6
- package/core/.rule/general/project-self-containment.yaml +2 -2
- package/core/.specialist/Amelia/README.md +1 -1
- package/core/.specialist/Amelia/rule.yaml +1 -1
- package/core/.specialist/Ansuz/RULES.md +1 -1
- package/core/.specialist/Ansuz/concepts/commitment_layer.yaml +1 -1
- package/core/.specialist/Ansuz/concepts/evolvable_guardrails.yaml +1 -1
- package/core/.specialist/Ansuz/knowledge.yaml +1 -3
- package/core/.specialist/tools/__tests__/task-2409-lessons.test.js +10 -0
- package/core/.specialist/tools/__tests__/task-2427-harvest.test.js +25 -0
- package/core/.specialist/tools/ansuz-boot-fast.js +1 -1
- package/core/.specialist/tools/failure-detector.js +4 -4
- package/core/.specialist/tools/handoff-doc.js +1 -1
- package/core/.specialist/tools/lessons.js +2 -2
- package/core/CLAUDE.md +5 -5
- package/core/KENAZ_CORE_VERSION +1 -1
- package/core/dashboard/scripts/install-kenaz-cli.js +471 -0
- package/core/dev/scripts/check-file-size.js +1 -1
- package/core/dev/scripts/ci-feedback.js +1 -1
- package/core/dev/scripts/gc-agent-worktrees.js +11 -11
- package/core/dev/scripts/kenaz-session.js +3 -3
- package/core/dev/scripts/peer-identity-e2e.js +3 -3
- package/core/dev/scripts/run-rust-tests.js +2 -2
- package/core/dev/scripts/skill-routing-replay.js +3 -3
- package/core/dev/scripts/task1961/selftest.js +2 -2
- package/core/dev/scripts/windows-hide-guard.test.js +97 -0
- package/core/plugins/kenaz/commands/Ansuz.md +2 -0
- package/core/plugins/kenaz/guidance.md +2 -0
- package/core/plugins/kenaz/hooks/core-resolve.js +1 -1
- package/core/plugins/kenaz/hooks/hooks.json +9 -0
- package/core/plugins/kenaz/hooks/kenaz-hook.js +53 -4
- package/core/plugins/kenaz/scripts/kenaz.test.js +72 -5
- package/core/plugins/kenaz/scripts/ygg.js +40 -4
- package/core/plugins/kenaz/scripts/ygg.test.js +63 -3
- package/core/plugins/kenaz-peer/hooks/register.test.ts +59 -2
- package/core/plugins/kenaz-peer/hooks/register.ts +24 -1
- package/lib/cli.js +9 -5
- package/package.json +6 -6
- package/vendor/install-kenaz-cli.js +21 -6
- package/core/.kenaz/designs/METAPLASTICITY_CONFIDENCE_DESIGN.md +0 -537
- package/core/.kenaz/designs/REFLEX_INITIATOR_DESIGN.md +0 -501
- package/core/.kenaz/designs/TASK_1385_handoff_mcp_design.md +0 -426
- package/core/.kenaz/designs/TASK_932_hippocampus_consolidation.md +0 -103
- package/core/.kenaz/designs/TASK_934_efe_signal_engine.md +0 -97
- package/core/.kenaz/designs/TASK_935_self_evolution_framework.md +0 -154
- package/core/.kenaz/designs/VISION_cognitive_architecture_roadmap.md +0 -159
- package/core/.kenaz/designs/metaplasticity_simulation_results.json +0 -696
- package/core/.kenaz/main-memory/README.md +0 -230
- package/core/.kenaz/main-memory/kenaz/cortex/001_cortex_overview.md +0 -168
- package/core/.kenaz/main-memory/kenaz/cortex/001_rag_engine_overview.md +0 -30
- package/core/.kenaz/main-memory/kenaz/memory-system/001_three_tier_architecture.md +0 -361
- package/core/.kenaz/main-memory/kenaz/pipeline/001_task_execution_flow.md +0 -117
- package/core/.kenaz/main-memory/kenaz/pipeline/001_task_granularity.md +0 -154
- package/core/.kenaz/main-memory/kenaz/pipeline/002_team_priority.md +0 -51
- package/core/.kenaz/main-memory/kenaz/pipeline/003_feature_id_system.md +0 -46
- package/core/.kenaz/main-memory/kenaz/rules/001_gen_007_self_containment.md +0 -108
- package/core/.kenaz/main-memory/kenaz/rules/001_rule_priority_system.md +0 -121
- package/core/.kenaz/main-memory/kenaz/rules/002_agt_006_pre_check.md +0 -0
- package/core/.kenaz/main-memory/kenaz/rules/003_ppl_002_task_archival.md +0 -48
- package/core/.kenaz/main-memory/kenaz/system/001_dual_track_task_system.md +0 -197
- package/core/.kenaz/main-memory/knowledge/patterns/001_json_bom_issue.md +0 -78
- package/core/.kenaz/main-memory/knowledge/patterns/001_leader_worker_pattern.md +0 -0
- package/core/.kenaz/main-memory/knowledge/patterns/002_scope_path_conflict.md +0 -115
- package/core/.kenaz/main-memory/knowledge/patterns/002_task_dependency_resolution.md +0 -223
- package/core/.kenaz/main-memory/knowledge/patterns/003_question_protocol.md +0 -242
- package/core/.kenaz/main-memory/knowledge/patterns/004_user_insight_value.md +0 -111
- package/core/.kenaz/main-memory/knowledge/patterns/005_file_lock_pattern.md +0 -274
- package/core/.kenaz/main-memory/knowledge/references/001_ppl_rules.md +0 -28
- package/core/.kenaz/main-memory/knowledge/solutions/001_json_bom_issue.md +0 -137
- package/core/.kenaz/main-memory/knowledge/solutions/001_team_invocation.md +0 -0
- package/core/.kenaz/main-memory/knowledge/solutions/002_passive_monitoring.md +0 -0
- package/core/.kenaz/main-memory/knowledge/solutions/003_windows_file_race_condition.md +0 -239
- package/core/.kenaz/main-memory/registry.json +0 -326
- package/core/.kenaz/main-memory/version.yaml +0 -58
- package/core/.kenaz/specialist/memory_guard_fired.json +0 -1
- package/core/.kenaz/specialist/memory_guard_trigger_cache.json +0 -1
- package/core/.kenaz/specialist/memory_source_priority.yaml +0 -260
- package/core/.kenaz/specialist/prompt_1775.txt +0 -317
- package/core/.kenaz/specialist/prompt_1776.txt +0 -326
- package/core/.kenaz/specialist/prompt_1791.txt +0 -320
- package/core/.kenaz/specialist/prompt_1792.txt +0 -320
- package/core/.kenaz/specialist/prompt_1795.txt +0 -281
- package/core/.kenaz/specialist/prompt_1813.txt +0 -332
- package/core/.kenaz/specialist/prompt_1814.txt +0 -401
- package/core/.kenaz/specialist/prompt_1815.txt +0 -394
- package/core/.kenaz/specialist/prompt_1816.txt +0 -437
- package/core/.kenaz/specialist/prompt_1818.txt +0 -361
- package/core/.kenaz/specialist/prompt_1819.txt +0 -421
- package/core/.kenaz/specialist/prompt_1821.txt +0 -345
- package/core/.kenaz/specialist/prompt_1822.txt +0 -313
- package/core/.kenaz/specialist/prompt_1824.txt +0 -348
- package/core/.kenaz/specialist/prompt_1826.txt +0 -388
- package/core/.kenaz/specialist/rune_efe_salience_gap.md +0 -21
- package/core/.kenaz/specialist/task1825_update.json +0 -43
- package/core/.kenaz/specialist/taskgen/consolidation_i.json +0 -38
- package/core/.kenaz/specialist/taskgen/csharp_a.json +0 -44
- package/core/.kenaz/specialist/taskgen/csharp_b.json +0 -40
- package/core/.kenaz/specialist/taskgen/embedding_e.json +0 -34
- package/core/.kenaz/specialist/taskgen/hygiene_fg.json +0 -39
- package/core/.kenaz/specialist/taskgen/pathology_h.json +0 -36
- package/core/.kenaz/specialist/taskgen/unity_noise_d.json +0 -38
- package/core/.kenaz/specialist/taskgen/visibility_c.json +0 -38
- package/core/.specialist/Ansuz/decisions/ADR-requirement-graph-layer.md +0 -390
- package/core/.specialist/Ansuz/self_model_seed.backup.json +0 -100
- package/core/.specialist/ansuz_session_handoff.json +0 -96
- package/core/dev/ALAYA_FIELD_FEEDBACK_DESIGN.md +0 -126
- package/core/dev/ANSUZ_SCAFFOLD_DIET_2026-09-20.md +0 -231
- package/core/dev/ANSUZ_STARTUP_INJECTION_REVIEW.md +0 -355
- package/core/dev/ANSUZ_WORKFLOW_MODERNIZATION.md +0 -143
- package/core/dev/CORTEX_META_GRAPH_ASSESSMENT.md +0 -99
- package/core/dev/FREYA_DOWNSTREAM_BUGS_2026-09-19.md +0 -44
- package/core/dev/GLOBAL_MEMORY_IDENTITY_CONSOLIDATION.md +0 -263
- package/core/dev/GUARD_EFFECTIVENESS_DESIGN.md +0 -180
- package/core/dev/HEALTH_GATE_VARIANCE_ASSESSMENT.md +0 -271
- package/core/dev/HOOK_DIET_2026-09-21.md +0 -126
- package/core/dev/JEV_INTEGRATION_PLAN.md +0 -189
- package/core/dev/KENAZ_AGENT_CONNECT_v1_SPEC.md +0 -139
- package/core/dev/MOBILE_DESIGN_SPEC.md +0 -569
- package/core/dev/MULTI_ANSUZ_SPEC.md +0 -136
- package/core/dev/MUNINN_RETIREMENT.md +0 -115
- package/core/dev/PHASE3_ATTRIBUTION_POPULATION_DIAGNOSIS.md +0 -211
- package/core/dev/PHASE3_P3-2B_TASKLEVEL_PROBE.md +0 -83
- package/core/dev/PHASE3_P3-2_POPULATION_DISJOINTNESS.md +0 -83
- package/core/dev/PHASE3_P3-2_REMEASURE_REPORT.md +0 -231
- package/core/dev/PREDICTION_GROUNDING_DESIGN.md +0 -376
- package/core/dev/PRODUCT_SPEC.md +0 -317
- package/core/dev/PROJECT_REGISTRY_DUPLICATE_ASSESSMENT.md +0 -86
- package/core/dev/STARTUP_TIMELINE_TASK_1995.md +0 -181
- package/core/dev/SYNAPSE_WORKER_PER_PROJECT.md +0 -881
- package/core/dev/TASK_1680_P3-3_DISPATCH_SPEC.md +0 -96
- package/core/dev/TASK_1684_CALIBRATION_IMPACT_ANALYSIS.md +0 -170
- package/core/dev/TASK_1684_FORK_A_GOODHART_DESIGN.md +0 -171
- package/core/dev/TASK_1684_P3_2_REMEASURE_VALIDATION.md +0 -262
- package/core/dev/TASK_1903_SIGNAL_AUC_MEASUREMENT.md +0 -207
- package/core/dev/TASK_1904_BRANCH_INTEGRITY_AUDIT.md +0 -146
- package/core/dev/ansuz-eval/README.md +0 -38
- package/core/dev/ansuz-eval/build-fixtures.js +0 -87
- package/core/dev/ansuz-eval/grade.js +0 -96
- package/core/dev/ansuz-eval/grader.test.js +0 -117
- package/core/dev/ansuz-eval/tasks.md +0 -32
- package/core/dev/archive/ansuz/BOOT_FULL.md +0 -141
- package/core/dev/archive/ansuz/agents/ansuz-boot.md +0 -176
- package/core/dev/archive/ansuz/designs/alaya-passive-surfacing.md +0 -84
- package/core/dev/archive/ansuz/designs/cc_memory_indexing.md +0 -307
- package/core/dev/archive/ansuz/designs/check_guard.md +0 -322
- package/core/dev/archive/ansuz/designs/consequence_loop.md +0 -227
- package/core/dev/archive/ansuz/designs/mcp_kuzudb_lock_architecture.md +0 -312
- package/core/dev/archive/ansuz/designs/phase0_git_enrichment.md +0 -278
- package/core/dev/archive/ansuz/designs/refactor_mcp_tools_synapse.md +0 -490
- package/core/dev/archive/ansuz/designs/semantic_markdown_extraction.md +0 -167
- package/core/dev/archive/ansuz/designs/task_1372_prompt_injects_into.md +0 -193
- package/core/dev/archive/ansuz/designs/thought_stack.md +0 -286
- package/core/dev/archive/ansuz/investigations/reachability_unified_api_2026-04-11.md +0 -330
- package/core/dev/archive/ansuz/investigations/synapse_orphans_indexing_bug_2026-04-11.md +0 -352
- package/core/dev/archive/ansuz/investigations/synapse_orphans_reindex_verification_2026-04-11.md +0 -48
- package/core/dev/archive/ansuz/investigations/synapse_orphans_verification_2026-04-11.md +0 -170
- package/core/dev/archive/ansuz/legacy/kernel.yaml +0 -399
- package/core/dev/archive/ansuz/legacy/phases/phase_0.yaml +0 -418
- package/core/dev/archive/ansuz/legacy/phases/phase_1.yaml +0 -376
- package/core/dev/archive/ansuz/legacy/phases/phase_10.yaml +0 -35
- package/core/dev/archive/ansuz/legacy/phases/phase_11.yaml +0 -582
- package/core/dev/archive/ansuz/legacy/phases/phase_2.yaml +0 -94
- package/core/dev/archive/ansuz/legacy/phases/phase_3.yaml +0 -274
- package/core/dev/archive/ansuz/legacy/phases/phase_4.yaml +0 -67
- package/core/dev/archive/ansuz/legacy/phases/phase_5.yaml +0 -32
- package/core/dev/archive/ansuz/legacy/phases/phase_6.yaml +0 -91
- package/core/dev/archive/ansuz/legacy/phases/phase_7.yaml +0 -58
- package/core/dev/archive/ansuz/legacy/phases/phase_8.yaml +0 -146
- package/core/dev/archive/ansuz/legacy/phases/phase_9.yaml +0 -424
- package/core/dev/archive/ansuz/specs/INDEX_bifrost_hook_parity.yaml +0 -92
- package/core/dev/archive/ansuz/specs/active-inference-formation.yaml +0 -453
- package/core/dev/archive/ansuz/specs/brief_TASK_1228_userpromptsubmit.yaml +0 -191
- package/core/dev/archive/ansuz/specs/brief_TASK_1229_pretooluse_posttooluse.yaml +0 -250
- package/core/dev/archive/ansuz/specs/brief_TASK_1230_sessionstart_stop.yaml +0 -301
- package/core/dev/archive/ansuz/specs/brief_TASK_1231_verification.yaml +0 -272
- package/core/dev/archive/skills/feature_agent/SKILL.md +0 -289
- package/core/dev/design/PHASE4_DESIGN.md +0 -559
- package/core/dev/design/dashboard_docs_integration_PLAN.md +0 -388
- package/core/dev/design/matrix_format_ABBREVIATIONS.md +0 -655
- package/core/dev/design/matrix_format_DESIGN_SPEC.md +0 -601
- package/core/dev/design/matrix_format_DISCUSSION_SUMMARY.md +0 -484
- package/core/dev/design/matrix_format_EXAMPLE_memory.matrix +0 -13
- package/core/dev/design/matrix_format_EXAMPLE_project_status.matrix +0 -9
- package/core/dev/design/matrix_format_EXAMPLE_tasks.matrix +0 -14
- package/core/dev/design/matrix_format_SYNTAX_BNF.md +0 -754
- package/core/dev/design/matrix_format_TOKEN_COMPARISON.md +0 -484
- package/core/dev/design/matrix_v2_COGNITIVE_DESIGN.md +0 -503
- package/core/dev/design/matrix_v2_DISCUSSION_SUMMARY.md +0 -414
- package/core/dev/design/matrix_v2_EXAMPLE.matrix +0 -67
- package/core/dev/designs/EXPANDABLE_CARD_DESIGN_SPEC.md +0 -509
- package/core/dev/jev-eval/ACTIVE_CORRECTION.md +0 -52
- package/core/dev/jev-eval/ANNOTATION_GUIDE.md +0 -68
- package/core/dev/jev-eval/BASELINE_COMPARISON.md +0 -45
- package/core/dev/jev-eval/CONTEXT_REVIEW.md +0 -31
- package/core/dev/jev-eval/EVALUATION_STATUS.md +0 -39
- package/core/dev/jev-eval/HISTORICAL_CORPUS.md +0 -33
- package/core/dev/jev-eval/PACKAGING_VERIFICATION.md +0 -42
- package/core/dev/jev-eval/README.md +0 -101
- package/core/dev/jev-eval/THALAMUS_RANKING.md +0 -58
- package/core/dev/jev-eval/VALIDATION_PROGRESS.md +0 -54
- package/core/dev/jev-eval/cli.mjs +0 -50
- package/core/dev/jev-eval/context.mjs +0 -183
- package/core/dev/jev-eval/corpus.mjs +0 -186
- package/core/dev/jev-eval/fixtures/conversation-review.seed.jsonl +0 -6
- package/core/dev/jev-eval/fixtures/synthetic.jsonl +0 -11
- package/core/dev/jev-eval/metrics.mjs +0 -67
- package/core/dev/jev-eval/muninn-baseline.mjs +0 -119
- package/core/dev/jev-eval/providers.mjs +0 -95
- package/core/dev/jev-eval/reports/annotation-pilot-2026-09-20.json +0 -32
- package/core/dev/jev-eval/reports/context-review-2026-09-20.json +0 -48
- package/core/dev/jev-eval/reports/conversation-review.pending.json +0 -151
- package/core/dev/jev-eval/reports/history-corpus-2026-09-20.json +0 -52
- package/core/dev/jev-eval/reports/length-probe-2026-09-20.json +0 -133
- package/core/dev/jev-eval/reports/live-smoke-2026-09-20.json +0 -616
- package/core/dev/jev-eval/reports/muninn-baseline-2026-09-20.json +0 -52
- package/core/dev/jev-eval/reports/resilience-2026-09-20.json +0 -520
- package/core/dev/jev-eval/reports/rules-baseline.json +0 -197
- package/core/dev/jev-eval/reports/synthetic-review.pending.json +0 -357
- package/core/dev/jev-eval/resilience.mjs +0 -71
- package/core/dev/jev-eval/review.mjs +0 -78
- package/core/dev/jev-eval/schema.mjs +0 -87
- package/core/dev/jev-eval/test/context.test.mjs +0 -95
- package/core/dev/jev-eval/test/corpus.test.mjs +0 -102
- package/core/dev/jev-eval/test/eval.test.mjs +0 -146
- package/core/dev/jev-eval/test/muninn-baseline.test.mjs +0 -71
- package/core/dev/jev-eval/test/resilience.test.mjs +0 -72
- package/core/dev/jev-eval/test/review.test.mjs +0 -61
- package/core/dev/pipeline/PHASE3_PLANNING_SUMMARY.md +0 -338
- package/core/dev/pipeline/PROGRESS.md +0 -113
- package/core/dev/pipeline/PROGRESS_template.md +0 -860
- package/core/dev/pipeline/QA_REPORT_F008.md +0 -431
- package/core/dev/pipeline/QA_REPORT_LOCAL_CLAUDE_DIAGNOSIS.md +0 -583
- package/core/dev/pipeline/README.md +0 -210
- package/core/dev/pipeline/WORKFLOW_GUIDE.md +0 -824
- package/core/dev/pipeline/archived/TASK_015_tauri_init.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_016_tauri_commands.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_017_rust_pty.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_018_tauri_bundle.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_019_release_workflow.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_020_update_ui.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_021_update_notification_ui.yaml +0 -55
- package/core/dev/pipeline/archived/TASK_022_remove_node_pty.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_023_api_routes_migration.yaml +0 -86
- package/core/dev/pipeline/archived/TASK_024_feature_id_system.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_025_executable_acceptance.yaml +0 -66
- package/core/dev/pipeline/archived/TASK_026_spec_versioning.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_027_drift_detection.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_028_tauri_pty_manager.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_029_tauri_pty_commands.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_030_frontend_session_adapter.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_031_terminal_tauri_events.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_041_scheduler_data_models.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_042_path_lock_manager.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_043_process_manager.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_044_git_integration.yaml +0 -85
- package/core/dev/pipeline/archived/TASK_045_task_queue_manager.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_046_scheduler_dispatcher.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_047_tauri_scheduler_commands.yaml +0 -55
- package/core/dev/pipeline/archived/TASK_048_realtime_status_push.yaml +0 -92
- package/core/dev/pipeline/archived/TASK_049_frontend_scheduler_integration.yaml +0 -58
- package/core/dev/pipeline/archived/TASK_050_error_recovery.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_051_optimization_proposals_backend.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_052_optimization_proposals_ui.yaml +0 -58
- package/core/dev/pipeline/archived/TASK_053_optimization_proposals_diff_view.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_054_multi_project_scheduler_state.yaml +0 -76
- package/core/dev/pipeline/archived/TASK_055_scheduler_api_project_scope.yaml +0 -64
- package/core/dev/pipeline/archived/TASK_056_frontend_scheduler_project_scope.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_057_scheduler_module_structure.yaml +0 -54
- package/core/dev/pipeline/archived/TASK_058_scheduler_models_extract.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_059_scheduler_core_extract.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_060_scheduler_commands_extract.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_061_scheduler_specialized_commands.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_062_process_manager_module_structure.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_063_process_manager_core_extract.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_064_recovery_module_structure.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_065_recovery_core_extract.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_066_self_enhancement_scheduler_models.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_067_agents_section_quick_actions.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_067_self_enhancement_scheduler_core.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_068_agent_workflow_rule_enhancement.yaml +0 -46
- package/core/dev/pipeline/archived/TASK_068_self_enhancement_tauri_commands.yaml +0 -61
- package/core/dev/pipeline/archived/TASK_069_agent_wizard_responsive.yaml +0 -46
- package/core/dev/pipeline/archived/TASK_069_self_enhancement_ui.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_070_preview_panel_redesign.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_070_self_enhancement_integration.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_071_preview_panel_qa.yaml +0 -98
- package/core/dev/pipeline/archived/TASK_071_single_agent_config.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_072_preview_modal_esc_fix.yaml +0 -71
- package/core/dev/pipeline/archived/TASK_072_product_review_module.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_073_agents_page_component_refactor.yaml +0 -68
- package/core/dev/pipeline/archived/TASK_073_rename_single_agent.yaml +0 -64
- package/core/dev/pipeline/archived/TASK_074_preview_mode_ui_diagnosis.yaml +0 -71
- package/core/dev/pipeline/archived/TASK_074_single_agent_ui_toggle.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_075_agents_page_component_refactor.yaml +0 -69
- package/core/dev/pipeline/archived/TASK_075_single_agent_integration_test.yaml +0 -75
- package/core/dev/pipeline/archived/TASK_076_preview_mode_ui_diagnosis.yaml +0 -70
- package/core/dev/pipeline/archived/TASK_076_single_agent_continuous_mode.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_077_failure_directory_structure.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_077_single_agent_typescript_types.yaml +0 -59
- package/core/dev/pipeline/archived/TASK_078_fail_001_agent_no_output.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_078_single_agent_ui_simplify.yaml +0 -74
- package/core/dev/pipeline/archived/TASK_079_dashboard_rwd_responsive.yaml +0 -63
- package/core/dev/pipeline/archived/TASK_079_fail_002_json_bom.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_080_fail_003_queue_pollution.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_080_http_server_module.yaml +0 -55
- package/core/dev/pipeline/archived/TASK_081_failure_logging_tools.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_081_http_api_routes.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_082_frontend_api_adapter.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_082_integrate_failure_to_workflow.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_083_cleanup_nextjs_api.yaml +0 -48
- package/core/dev/pipeline/archived/TASK_083_task_queue_cleanup.yaml +0 -67
- package/core/dev/pipeline/archived/TASK_084_rust_dead_code_cleanup.yaml +0 -66
- package/core/dev/pipeline/archived/TASK_084_scheduler_sync_logic_fix.yaml +0 -68
- package/core/dev/pipeline/archived/TASK_085_http_api_web_mode_fixes.yaml +0 -46
- package/core/dev/pipeline/archived/TASK_085_memory_consolidation_0204_0205.yaml +0 -98
- package/core/dev/pipeline/archived/TASK_086_collapsible_preview_panel.yaml +0 -161
- package/core/dev/pipeline/archived/TASK_086_web_mode_feature_parity.yaml +0 -62
- package/core/dev/pipeline/archived/TASK_087_manual_memory_archival.yaml +0 -163
- package/core/dev/pipeline/archived/TASK_087_mobile_http_control.yaml +0 -68
- package/core/dev/pipeline/archived/TASK_088_fail_003_to_ppl_002_rule.yaml +0 -63
- package/core/dev/pipeline/archived/TASK_088_mobile_http_qa.yaml +0 -121
- package/core/dev/pipeline/archived/TASK_089_agent_collaboration_topic.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_089_web_mode_monitor_fix.yaml +0 -58
- package/core/dev/pipeline/archived/TASK_090_cli_detection_fix.yaml +0 -61
- package/core/dev/pipeline/archived/TASK_090_ui_ux_lessons_topic.yaml +0 -63
- package/core/dev/pipeline/archived/TASK_091_expandable_card_design.yaml +0 -56
- package/core/dev/pipeline/archived/TASK_091_move_agent_section_components.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_092_expandable_card_component.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_092_refactor_agent_create_wizard.yaml +0 -84
- package/core/dev/pipeline/archived/TASK_093_taskcard_detail_integration.yaml +0 -57
- package/core/dev/pipeline/archived/TASK_093_update_barrel_exports_test.yaml +0 -84
- package/core/dev/pipeline/archived/TASK_094_ai_agent_generation_enhancement.yaml +0 -115
- package/core/dev/pipeline/archived/TASK_094_proposalcard_detail_integration.yaml +0 -55
- package/core/dev/pipeline/archived/TASK_095_preview_fixes.yaml +0 -129
- package/core/dev/pipeline/archived/TASK_095_single_agent_task_selector.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_096_agents_page_ux_improvements.yaml +0 -163
- package/core/dev/pipeline/archived/TASK_096_single_agent_status_sync.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_097_local_claude_error_logging.yaml +0 -59
- package/core/dev/pipeline/archived/TASK_097_single_agent_monitor_events.yaml +0 -59
- package/core/dev/pipeline/archived/TASK_098_product_manager_team_phase2.yaml +0 -60
- package/core/dev/pipeline/archived/TASK_098_single_agent_refactor_test.yaml +0 -58
- package/core/dev/pipeline/archived/TASK_099_backend_team_creation.yaml +0 -258
- package/core/dev/pipeline/archived/TASK_100_frontend_team_creation.yaml +0 -61
- package/core/dev/pipeline/archived/TASK_101_orchestrator_system.yaml +0 -403
- package/core/dev/pipeline/archived/TASK_102_designer_sre_teams.yaml +0 -90
- package/core/dev/pipeline/archived/TASK_103_integration_testing.yaml +0 -86
- package/core/dev/pipeline/archived/TASK_128_integration_testing.yaml +0 -83
- package/core/dev/pipeline/archived/TASK_134_cortex_v2_phase3_file_watcher.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_134_team_http_api.yaml +0 -96
- package/core/dev/pipeline/archived/TASK_135_cortex_v2_phase3_git_monitor.yaml +0 -63
- package/core/dev/pipeline/archived/TASK_136_cortex_v2_phase3_change_analyzer.yaml +0 -69
- package/core/dev/pipeline/archived/TASK_137_cortex_v2_phase3_cache_invalidator.yaml +0 -67
- package/core/dev/pipeline/archived/TASK_137_team_orchestrator_integration.yaml +0 -93
- package/core/dev/pipeline/archived/TASK_138_cortex_v2_phase3_distributed_cache.yaml +0 -68
- package/core/dev/pipeline/archived/TASK_138_matrix_folder_structure.yaml +0 -61
- package/core/dev/pipeline/archived/TASK_139_cortex_v2_phase3_cache_prewarming.yaml +0 -65
- package/core/dev/pipeline/archived/TASK_146_unified_documentation.yaml +0 -141
- package/core/dev/pipeline/archived/TASK_147_pipeline_execution_rules.yaml +0 -76
- package/core/dev/pipeline/archived/TASK_148_update_claude_md.yaml +0 -77
- package/core/dev/pipeline/archived/TASK_149_fix_nextjs_mdx_serialization.yaml +0 -63
- package/core/dev/pipeline/archived/TASK_149_update_team_docs.yaml +0 -77
- package/core/dev/pipeline/archived/TASK_150_pipeline_workflow_guide.yaml +0 -82
- package/core/dev/pipeline/archived/TASK_164_fix_smart_context_switch.yaml +0 -49
- package/core/dev/pipeline/archived/TASK_165_ctags_symbol_index.yaml +0 -53
- package/core/dev/pipeline/archived/TASK_166_symbol_search_mcp_tool.yaml +0 -48
- package/core/dev/pipeline/archived/TASK_167_llm_module_summary.yaml +0 -55
- package/core/dev/pipeline/archived/TASK_168_map_reduce_context.yaml +0 -51
- package/core/dev/pipeline/archived/TASK_169_v2_integration_testing.yaml +0 -52
- package/core/dev/pipeline/backups/archive_2026-02-04T22-07-22/TASK_QUEUE_backup.json +0 -95
- package/core/dev/pipeline/docs/multi-agent-coordination.md +0 -446
- package/core/dev/pipeline/docs/overview.md +0 -406
- package/core/dev/pipeline/docs/task-management.md +0 -412
- package/core/dev/pipeline/docs/workflows.md +0 -32
- package/core/dev/pipeline/orchestrator/schemas/task_queue_schema.json +0 -58
- package/core/dev/pipeline/orchestrator/schemas/task_schema.json +0 -139
- package/core/dev/pipeline/plans/PLAN_task_cli_refactor.md +0 -281
- package/core/dev/pipeline/test_results/TASK_TEST_PARALLEL_002_result.txt +0 -27
- package/core/dev/plans/ANSUZ_SLIM_PLAN.md +0 -68
- package/core/dev/plans/CLI_FIRST_INSTALL_FLOW.md +0 -120
- package/core/dev/plans/FORMATION_RETIREMENT_PLAN.md +0 -313
- package/core/dev/plans/KUZU_REPLACEMENT_PLAN.md +0 -126
- package/core/dev/scripts/CRASH_DIAGNOSIS.md +0 -47
- package/core/dev/scripts/README.md +0 -142
- package/core/dev/scripts/RUN_ONCE.bat +0 -40
- package/core/dev/scripts/START_DEV_AGENT.bat +0 -63
- package/core/dev/scripts/START_MULTI_AGENT.bat +0 -80
- package/core/dev/scripts/dev_agent_scheduler.ps1 +0 -536
- package/core/dev/scripts/init_git.ps1 +0 -396
- package/core/dev/scripts/init_git.sh +0 -337
- package/core/dev/scripts/init_project.ps1 +0 -851
- package/core/dev/scripts/init_project.sh +0 -477
- package/core/dev/scripts/multi_agent_scheduler.ps1 +0 -2021
- package/core/dev/scripts/multi_agent_scheduler.sh +0 -1344
- package/core/dev/scripts/run_once.sh +0 -47
- package/core/dev/scripts/setup_rag.ps1 +0 -304
- package/core/dev/scripts/setup_rag.sh +0 -230
- package/core/dev/scripts/start_dev_agent.sh +0 -137
- package/core/dev/scripts/start_multi_agent.sh +0 -41
- package/core/dev/scripts/sync_task_queue.ps1 +0 -505
- package/core/dev/scripts/sync_task_queue.sh +0 -392
- package/core/dev/specs/agent-connect/PROTOCOL.md +0 -177
- package/core/dev/specs/agent-connect/SDK_GUIDE.md +0 -915
- package/core/dev/specs/agent-connect/examples/minimal-site/README.md +0 -137
- package/core/dev/specs/agent-connect/examples/minimal-site/package.json +0 -12
- package/core/dev/specs/agent-connect/examples/minimal-site/public/index.html +0 -116
- package/core/dev/specs/agent-connect/examples/minimal-site/public/install-redirect.js +0 -73
- package/core/dev/specs/agent-connect/examples/minimal-site/server.js +0 -516
- package/core/dev/specs/agent-connect/examples/minimal-site/test/smoke.test.mjs +0 -263
- package/core/dev/specs/agent-connect/history/DEFECT_REPORT_kenaz-agent-hub_2026-09-09_v0.4-empty-prompt-no-first-turn.md +0 -77
- package/core/dev/specs/agent-connect/history/DEFECT_REPORT_kenaz-agent-hub_2026-09-09_v0.4-prompt-mojibake.md +0 -90
- package/core/dev/specs/agent-connect/history/FEATURE_REQUEST_kenaz-agent-hub_2026-09-07.md +0 -61
- package/core/dev/specs/agent-connect/history/FEATURE_REQUEST_kenaz-agent-hub_2026-09-08_relay-v1-conformance.md +0 -76
- package/core/dev/specs/agent-connect/history/FEATURE_REQUEST_kenaz-agent-hub_2026-09-09_v0.4-session-channel.md +0 -87
- package/core/dev/specs/agent-connect/history/FLOWPIX_REPLY_agent-hub_2026-09-08_relay-v1-answers.md +0 -68
- package/core/dev/specs/agent-connect/history/FLOWPIX_bridge_CONTRACT.md +0 -642
- package/core/dev/specs/agent-connect/history/FLOWPIX_spikes_relay_spike_relay.mjs +0 -244
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-07.md +0 -77
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-08_direction-change-v0.3.md +0 -44
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-08_relay-v1-answers-ack.md +0 -37
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-08_relay-v1-conformance.md +0 -56
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-09_annotations-install-coldstart.md +0 -44
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-09_empty-prompt-first-turn.md +0 -56
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-09_prompt-mojibake-fixed.md +0 -48
- package/core/dev/specs/agent-connect/history/KENAZ_RESPONSE_agent-hub_2026-09-09_session-channel.md +0 -57
- package/core/dev/specs/agent-connect/history/PROTOCOL_v0.3_snapshot.md +0 -379
- package/core/dev/specs/agent-connect/history/README.md +0 -47
- package/core/dev/specs/peer/CODEX_INTERACTIVE_PUSH.md +0 -65
- package/core/dev/specs/peer/CODEX_MANAGED_DAEMON.md +0 -54
- package/core/dev/specs/peer/CODEX_PEER_PULL_SPIKE.md +0 -54
- package/core/dev/specs/peer/MODS_SPIKE.md +0 -133
- package/core/dev/specs/peer/PER_PROJECT_ADDRESSING.md +0 -143
- package/core/dev/specs/peer/SWARM_PROTOCOLS.md +0 -256
- package/core/dev/specs/peer/codex-hook-shim-peer.test.js +0 -113
- package/core/dev/specs/peer/codex-push-launcher.test.js +0 -142
- package/core/dev/specs/peer/setup-codex-hooks.test.js +0 -60
- package/core/dev/specs/peer-ansuz/DELIVERY_SPIKE.md +0 -397
- package/core/dev/specs/peer-ansuz/DESIGN.md +0 -109
- package/core/dev/specs/peer-ansuz/spike/claude_poke.js +0 -129
- package/core/dev/specs/peer-ansuz/spike/claude_session_start_hook.js +0 -37
- package/core/dev/specs/peer-ansuz/spike/claude_settings_hook.json +0 -14
- package/core/dev/specs/peer-ansuz/spike/codex_appserver_client.js +0 -105
- package/core/dev/specs/peer-ansuz/spike/codex_appserver_query.js +0 -29
- package/core/dev/specs/peer-ansuz/spike/extract_timeline.js +0 -26
- package/core/dev/specs/synapse/SYMBOL_IDENTITY.md +0 -305
- package/core/dev/spikes/A4-cypher-varlen.md +0 -176
- package/core/dev/spikes/bloat-rounds.sh +0 -25
- package/core/dev/spikes/mods/clean-claude.js +0 -9
- package/core/dev/spikes/mods/drive-probe.js +0 -29
- package/core/dev/spikes/mods/e2e-peer.js +0 -71
- package/core/dev/spikes/mods/evidence/e2e-peer-control.json +0 -17
- package/core/dev/spikes/mods/evidence/e2e-peer-mod.json +0 -17
- package/core/dev/spikes/mods/evidence/probe-006a6e65-d807-4bc1-b648-fd7d1edfe0b4.jsonl +0 -4
- package/core/dev/spikes/mods/evidence/probe-cebdf1f7-f9c4-47a8-83cd-7c0786177404.jsonl +0 -12
- package/core/dev/spikes/mods/evidence/probe-eb21147d-10ce-4c32-93ed-37ca37d88d5a.jsonl +0 -11
- package/core/dev/spikes/mods/evidence/stream-cebdf1f7.jsonl +0 -18
- package/core/dev/spikes/mods/kenaz-mod-probe/.claude-plugin/plugin.json +0 -1
- package/core/dev/spikes/mods/kenaz-mod-probe/hooks/hooks.json +0 -1
- package/core/dev/spikes/mods/kenaz-mod-probe/hooks/register.ts +0 -65
- package/core/dev/spikes/mods/kenaz-mod-probe/tsconfig.json +0 -3
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# TASK_067: Self-Enhancement Scheduler Rust 核心調度邏輯
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_067"
|
|
5
|
-
title: "Self-Enhancement Scheduler Rust 核心調度邏輯"
|
|
6
|
-
description: |
|
|
7
|
-
實作 Self-Enhancement Scheduler 的核心調度邏輯。
|
|
8
|
-
將 dev_agent_scheduler.ps1 的主要功能用 Rust 重寫。
|
|
9
|
-
|
|
10
|
-
核心功能:
|
|
11
|
-
1. 主循環邏輯(while 迴圈直到完成或達到最大循環次數)
|
|
12
|
-
2. 執行 Claude CLI(/dev 命令)
|
|
13
|
-
3. 檢查 pending tasks(讀取 PROGRESS.md 和 tasks/ 目錄)
|
|
14
|
-
4. 執行 /product-review 產品檢視
|
|
15
|
-
5. 讀取並解析 SELF_ENHANCEMENT_STATUS.json
|
|
16
|
-
6. 決策邏輯(繼續、完成、帶建議完成)
|
|
17
|
-
7. 日誌記錄
|
|
18
|
-
|
|
19
|
-
priority: "P1"
|
|
20
|
-
status: "pending"
|
|
21
|
-
agent_type: "backend"
|
|
22
|
-
source: "F-002"
|
|
23
|
-
feature_ids:
|
|
24
|
-
- "F-002"
|
|
25
|
-
|
|
26
|
-
dependencies:
|
|
27
|
-
- "TASK_066"
|
|
28
|
-
|
|
29
|
-
scope_paths:
|
|
30
|
-
- "dashboard/src-tauri/src/cmd_modules/"
|
|
31
|
-
|
|
32
|
-
requirements:
|
|
33
|
-
- "實作 SelfEnhancementScheduler 結構體"
|
|
34
|
-
- "實作 start() 方法啟動排程循環"
|
|
35
|
-
- "實作 stop() 方法停止排程"
|
|
36
|
-
- "實作 run_dev_agent() 執行 Claude CLI /dev 命令"
|
|
37
|
-
- "實作 run_product_review() 執行 /product-review 命令"
|
|
38
|
-
- "實作 check_pending_tasks() 檢查待處理任務"
|
|
39
|
-
- "實作 read_enhancement_status() 讀取決策狀態"
|
|
40
|
-
- "實作 write_log() 寫入日誌檔案"
|
|
41
|
-
- "使用 tokio::process 非同步執行 Claude CLI"
|
|
42
|
-
- "支援超時控制(預設 60 分鐘)"
|
|
43
|
-
|
|
44
|
-
acceptance_criteria:
|
|
45
|
-
- "SelfEnhancementScheduler 可以正確執行 /dev 和 /product-review"
|
|
46
|
-
- "正確偵測 pending tasks 狀態"
|
|
47
|
-
- "根據 SELF_ENHANCEMENT_STATUS.json 做出正確決策"
|
|
48
|
-
- "最大循環次數限制生效"
|
|
49
|
-
- "日誌正確寫入 dev/pipeline/logs/"
|
|
50
|
-
- "單元測試覆蓋主要邏輯"
|
|
51
|
-
- "cargo build 編譯通過"
|
|
52
|
-
|
|
53
|
-
technical_notes:
|
|
54
|
-
- "Claude CLI 命令格式:claude --dangerously-skip-permissions /dev"
|
|
55
|
-
- "Product Review 命令:claude --dangerously-skip-permissions /product-review"
|
|
56
|
-
- "日誌檔案路徑:dev/pipeline/logs/scheduler_YYYY-MM-DD.log"
|
|
57
|
-
- "使用 tokio::time::sleep 實作等待間隔"
|
|
58
|
-
- "進程超時使用 tokio::time::timeout"
|
|
59
|
-
|
|
60
|
-
estimated_hours: 5
|
|
61
|
-
complexity: "complex"
|
|
62
|
-
|
|
63
|
-
metadata:
|
|
64
|
-
created_at: "2026-02-04T00:00:00+08:00"
|
|
65
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# TASK_068: Agent 工作流程規則強化
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_068"
|
|
5
|
-
title: "Agent 工作流程規則強化"
|
|
6
|
-
description: |
|
|
7
|
-
強化 .rule/general/agent-workflow.yaml 中的規則定義,確保 Agent 在執行任務前
|
|
8
|
-
必須先讀取 .memory/CONTEXT.md,同時保持任務單驅動的開發形式。
|
|
9
|
-
|
|
10
|
-
主要改進:
|
|
11
|
-
1. 重寫 AGT-001 規則,加入明確的執行步驟
|
|
12
|
-
2. 新增 AGT-004 規則:定義「任務執行前置流程」
|
|
13
|
-
3. 明確記憶點與任務單的協作關係
|
|
14
|
-
|
|
15
|
-
priority: "P1"
|
|
16
|
-
status: "pending"
|
|
17
|
-
agent_type: "architect"
|
|
18
|
-
source: "用戶需求:調整開發流程規則"
|
|
19
|
-
|
|
20
|
-
scope_paths:
|
|
21
|
-
- ".rule/general/agent-workflow.yaml"
|
|
22
|
-
- ".memory/"
|
|
23
|
-
|
|
24
|
-
requirements:
|
|
25
|
-
- "保持 YAML 規則文件格式一致"
|
|
26
|
-
- "保持與現有規則優先級體系兼容"
|
|
27
|
-
- "使用 severity: must 確保強制執行"
|
|
28
|
-
- "定義清晰的執行步驟"
|
|
29
|
-
|
|
30
|
-
acceptance_criteria:
|
|
31
|
-
- "AGT-001 規則包含明確的三步驟流程:讀 CONTEXT.md → 評估 → 讀任務單"
|
|
32
|
-
- "新增 AGT-004 規則定義完整的任務執行前置流程"
|
|
33
|
-
- "規則文件語法正確,可被系統解析"
|
|
34
|
-
- "規則與 CLAUDE.md 和 dev_agent/SKILL.md 不衝突"
|
|
35
|
-
|
|
36
|
-
technical_notes:
|
|
37
|
-
- "規則優先級:.rule/ > CLAUDE.md > .claude/skills/"
|
|
38
|
-
- "只修改規則文件,不修改 SKILL.md"
|
|
39
|
-
- "保持 _meta 區塊的格式一致"
|
|
40
|
-
|
|
41
|
-
estimated_hours: 1
|
|
42
|
-
complexity: "simple"
|
|
43
|
-
|
|
44
|
-
metadata:
|
|
45
|
-
created_at: "2026-02-05T11:00:00+08:00"
|
|
46
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# TASK_068: Self-Enhancement Scheduler Tauri Commands
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_068"
|
|
5
|
-
title: "Self-Enhancement Scheduler Tauri Commands"
|
|
6
|
-
description: |
|
|
7
|
-
為 Self-Enhancement Scheduler 實作 Tauri Commands。
|
|
8
|
-
讓前端能透過 IPC 控制自我增強排程器。
|
|
9
|
-
|
|
10
|
-
需要實作的命令:
|
|
11
|
-
1. start_self_enhancement - 啟動自我增強排程
|
|
12
|
-
2. stop_self_enhancement - 停止排程
|
|
13
|
-
3. get_self_enhancement_status - 取得當前狀態
|
|
14
|
-
4. get_self_enhancement_logs - 取得日誌內容
|
|
15
|
-
|
|
16
|
-
同時需要更新 tauri-commands.ts 前端綁定。
|
|
17
|
-
|
|
18
|
-
priority: "P1"
|
|
19
|
-
status: "pending"
|
|
20
|
-
agent_type: "backend"
|
|
21
|
-
source: "F-002"
|
|
22
|
-
feature_ids:
|
|
23
|
-
- "F-002"
|
|
24
|
-
|
|
25
|
-
dependencies:
|
|
26
|
-
- "TASK_067"
|
|
27
|
-
|
|
28
|
-
scope_paths:
|
|
29
|
-
- "dashboard/src-tauri/src/cmd_modules/"
|
|
30
|
-
- "dashboard/src-tauri/src/lib.rs"
|
|
31
|
-
- "dashboard/src/lib/tauri-commands.ts"
|
|
32
|
-
|
|
33
|
-
requirements:
|
|
34
|
-
- "實作 start_self_enhancement Tauri command(接受 config 和 project_path)"
|
|
35
|
-
- "實作 stop_self_enhancement Tauri command"
|
|
36
|
-
- "實作 get_self_enhancement_status Tauri command"
|
|
37
|
-
- "實作 get_self_enhancement_logs Tauri command(支援行數限制)"
|
|
38
|
-
- "在 lib.rs 註冊所有新命令"
|
|
39
|
-
- "更新 tauri-commands.ts 新增 TypeScript 類型和函數"
|
|
40
|
-
- "支援多專案(使用 project_path 參數)"
|
|
41
|
-
- "實作 Tauri Events 推送狀態更新"
|
|
42
|
-
|
|
43
|
-
acceptance_criteria:
|
|
44
|
-
- "4 個 Tauri commands 實作完成"
|
|
45
|
-
- "前端 tauri-commands.ts 有對應的 TypeScript 函數"
|
|
46
|
-
- "從前端能成功啟動/停止自我增強排程"
|
|
47
|
-
- "能取得即時狀態和歷史日誌"
|
|
48
|
-
- "支援多專案獨立運行"
|
|
49
|
-
- "cargo build 編譯通過"
|
|
50
|
-
|
|
51
|
-
technical_notes:
|
|
52
|
-
- "參考現有的 scheduler commands 實作模式"
|
|
53
|
-
- "使用 SchedulerAppState 管理多專案狀態"
|
|
54
|
-
- "Event 推送使用 Tauri emit"
|
|
55
|
-
|
|
56
|
-
estimated_hours: 4
|
|
57
|
-
complexity: "medium"
|
|
58
|
-
|
|
59
|
-
metadata:
|
|
60
|
-
created_at: "2026-02-04T00:00:00+08:00"
|
|
61
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# TASK_069: AgentCreateWizard 自適應響應式改進
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_069"
|
|
5
|
-
title: "AgentCreateWizard 自適應響應式改進"
|
|
6
|
-
description: |
|
|
7
|
-
修復 AgentCreateWizard 在小螢幕上邊緣被遮住的問題。
|
|
8
|
-
採用桌面優先策略,優化桌面體驗並保持響應式支援。
|
|
9
|
-
|
|
10
|
-
主要改進:
|
|
11
|
-
1. 響應式容器尺寸(避免溢出)
|
|
12
|
-
2. 自適應 Split View(小螢幕改為 Tab 切換)
|
|
13
|
-
3. 安全邊距和觸控優化
|
|
14
|
-
|
|
15
|
-
priority: "P1"
|
|
16
|
-
status: "pending"
|
|
17
|
-
agent_type: "frontend"
|
|
18
|
-
source: "用戶需求:編輯/創建時畫面太小把邊邊遮住"
|
|
19
|
-
|
|
20
|
-
scope_paths:
|
|
21
|
-
- "dashboard/src/components/agent-section/AgentCreateWizard.tsx"
|
|
22
|
-
|
|
23
|
-
requirements:
|
|
24
|
-
- "桌面優先:優化 1024px+ 體驗"
|
|
25
|
-
- "響應式斷點:1024px (desktop)、768px (tablet)、<768px (mobile)"
|
|
26
|
-
- "避免內容溢出視窗"
|
|
27
|
-
- "保持現有 HUD 風格"
|
|
28
|
-
|
|
29
|
-
acceptance_criteria:
|
|
30
|
-
- "Desktop (≥1024px):保持 Split View,最大寬度不超出視窗"
|
|
31
|
-
- "Tablet (768-1024px):改為 Tab 切換單欄"
|
|
32
|
-
- "Mobile (<768px):全屏模式,Tab 切換"
|
|
33
|
-
- "所有斷點下邊緣不被遮住"
|
|
34
|
-
- "保存按鈕始終可見可點擊"
|
|
35
|
-
|
|
36
|
-
technical_notes:
|
|
37
|
-
- "使用 Tailwind 響應式前綴:sm/md/lg/xl"
|
|
38
|
-
- "使用 CSS max() 或 clamp() 做安全邊距"
|
|
39
|
-
- "viewMode state 需配合響應式自動切換"
|
|
40
|
-
|
|
41
|
-
estimated_hours: 2
|
|
42
|
-
complexity: "medium"
|
|
43
|
-
|
|
44
|
-
metadata:
|
|
45
|
-
created_at: "2026-02-05T11:30:00+08:00"
|
|
46
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# TASK_069: Self-Enhancement Scheduler 前端 UI 組件
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_069"
|
|
5
|
-
title: "Self-Enhancement Scheduler 前端 UI 組件"
|
|
6
|
-
description: |
|
|
7
|
-
在 Quick Actions 面板中新增 Self-Enhancement Scheduler 控制卡。
|
|
8
|
-
提供啟動/停止自我增強模式的 UI 介面。
|
|
9
|
-
|
|
10
|
-
UI 功能:
|
|
11
|
-
1. 啟動/停止按鈕
|
|
12
|
-
2. 當前狀態顯示(運行中/已停止/已完成)
|
|
13
|
-
3. 循環次數進度(目前/最大)
|
|
14
|
-
4. 最近日誌預覽
|
|
15
|
-
5. 完成狀態指示(complete/complete_with_suggestions)
|
|
16
|
-
|
|
17
|
-
priority: "P1"
|
|
18
|
-
status: "pending"
|
|
19
|
-
agent_type: "frontend"
|
|
20
|
-
source: "F-002"
|
|
21
|
-
feature_ids:
|
|
22
|
-
- "F-002"
|
|
23
|
-
|
|
24
|
-
dependencies:
|
|
25
|
-
- "TASK_068"
|
|
26
|
-
|
|
27
|
-
scope_paths:
|
|
28
|
-
- "dashboard/src/components/quick-actions/"
|
|
29
|
-
- "dashboard/src/hooks/"
|
|
30
|
-
- "dashboard/src/lib/tauri-commands.ts"
|
|
31
|
-
|
|
32
|
-
requirements:
|
|
33
|
-
- "新增 SelfEnhancementCard.tsx 組件"
|
|
34
|
-
- "新增 use-self-enhancement.ts hook"
|
|
35
|
-
- "在 QuickActionsPanel.tsx 中整合新卡片"
|
|
36
|
-
- "顯示運行狀態(RUNNING/STOPPED/COMPLETE)"
|
|
37
|
-
- "顯示循環進度(Cycle 1/3)"
|
|
38
|
-
- "顯示最近 5 行日誌"
|
|
39
|
-
- "完成時顯示結果(帶建議時顯示提示)"
|
|
40
|
-
- "配置表單:最大循環次數(1-10)"
|
|
41
|
-
|
|
42
|
-
acceptance_criteria:
|
|
43
|
-
- "SelfEnhancementCard 組件正確渲染"
|
|
44
|
-
- "啟動按鈕能成功啟動自我增強模式"
|
|
45
|
-
- "停止按鈕能優雅停止排程"
|
|
46
|
-
- "狀態即時更新(透過 Tauri Events)"
|
|
47
|
-
- "日誌預覽正確顯示"
|
|
48
|
-
- "響應式設計適配不同螢幕"
|
|
49
|
-
- "TypeScript 類型檢查通過"
|
|
50
|
-
|
|
51
|
-
technical_notes:
|
|
52
|
-
- "參考 SchedulerControlCard.tsx 的設計風格"
|
|
53
|
-
- "使用 useSchedulerEvents hook 模式接收狀態更新"
|
|
54
|
-
- "卡片放在 SchedulerControlCard 下方"
|
|
55
|
-
- "顏色主題:運行中=綠色,已完成=藍色,帶建議=黃色"
|
|
56
|
-
|
|
57
|
-
estimated_hours: 5
|
|
58
|
-
complexity: "medium"
|
|
59
|
-
|
|
60
|
-
metadata:
|
|
61
|
-
created_at: "2026-02-04T00:00:00+08:00"
|
|
62
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# TASK_070: 預覽功能 UI/UX 重新設計
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_070"
|
|
5
|
-
title: "AgentCreateWizard 預覽功能 UI/UX 重新設計"
|
|
6
|
-
description: |
|
|
7
|
-
重新設計 AgentCreateWizard 中的 PreviewPanel 組件,解決「無法看到全部內容」的問題。
|
|
8
|
-
|
|
9
|
-
**現有問題分析**:
|
|
10
|
-
1. 長內容可能被截斷,用戶無法查看完整的 SKILL.md 內容
|
|
11
|
-
2. 缺少全屏預覽模式,無法在更大的視窗查看
|
|
12
|
-
3. 缺少 Markdown 語法高亮,純文字不易閱讀
|
|
13
|
-
4. 缺少行號顯示,不便於定位和參考
|
|
14
|
-
5. 在 compact(手機/平板)模式下,滾動區域可能計算錯誤
|
|
15
|
-
|
|
16
|
-
**相關組件**:
|
|
17
|
-
- `dashboard/src/components/agent-section/AgentCreateWizard.tsx`
|
|
18
|
-
- PreviewPanel 子組件(第 640-690 行)
|
|
19
|
-
|
|
20
|
-
priority: "P1"
|
|
21
|
-
status: "pending"
|
|
22
|
-
agent_type: "designer"
|
|
23
|
-
source: "Bug Report - 預覽功能無法看到全部內容"
|
|
24
|
-
|
|
25
|
-
scope_paths:
|
|
26
|
-
- "dashboard/src/components/agent-section/"
|
|
27
|
-
- "dashboard/src/components/spec/"
|
|
28
|
-
|
|
29
|
-
requirements:
|
|
30
|
-
- "設計全屏預覽模式(Fullscreen Preview)"
|
|
31
|
-
- "添加 Markdown 語法高亮(參考 YamlPreview.tsx 的實現方式)"
|
|
32
|
-
- "添加行號顯示功能"
|
|
33
|
-
- "優化滾動區域的高度計算,確保內容可完整滾動"
|
|
34
|
-
- "設計預覽工具欄(含:全屏切換、格式切換、複製按鈕)"
|
|
35
|
-
- "考慮深色主題下的可讀性"
|
|
36
|
-
- "確保在所有設備尺寸下(desktop/tablet/mobile)都能正常預覽完整內容"
|
|
37
|
-
|
|
38
|
-
acceptance_criteria:
|
|
39
|
-
- "用戶可以在預覽區查看完整的 SKILL.md 內容,無截斷"
|
|
40
|
-
- "提供全屏預覽按鈕,點擊後可在全屏 Modal 中查看"
|
|
41
|
-
- "預覽內容有語法高亮(至少支援 YAML frontmatter 和 Markdown headers)"
|
|
42
|
-
- "行號顯示正確,與內容對齊"
|
|
43
|
-
- "在 mobile 模式(< 768px)下可完整滾動查看所有內容"
|
|
44
|
-
- "在 tablet 模式(768px - 1024px)下可完整滾動查看所有內容"
|
|
45
|
-
- "全屏 Modal 可通過 ESC 鍵或點擊背景關閉"
|
|
46
|
-
|
|
47
|
-
technical_notes:
|
|
48
|
-
- "參考 YamlPreview.tsx 的語法高亮實現方式"
|
|
49
|
-
- "可復用 highlightYaml() 函數處理 YAML frontmatter"
|
|
50
|
-
- "全屏 Modal 可考慮使用現有的 Modal 模式或新建 FullscreenPreview 組件"
|
|
51
|
-
- "注意 flex-1 和 min-h-0 的配合使用確保滾動區域正確"
|
|
52
|
-
- "考慮使用 CSS scroll-snap 優化滾動體驗"
|
|
53
|
-
|
|
54
|
-
estimated_hours: 4
|
|
55
|
-
complexity: "medium"
|
|
56
|
-
|
|
57
|
-
related_tasks:
|
|
58
|
-
- "TASK_069" # AgentCreateWizard 自適應響應式改進
|
|
59
|
-
|
|
60
|
-
metadata:
|
|
61
|
-
created_at: "2026-02-05T13:00:00+08:00"
|
|
62
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# TASK_070: Self-Enhancement Scheduler 整合測試與 PowerShell 備份
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_070"
|
|
5
|
-
title: "Self-Enhancement Scheduler 整合測試與 PowerShell 備份"
|
|
6
|
-
description: |
|
|
7
|
-
完成 Self-Enhancement Scheduler 的整合測試,
|
|
8
|
-
並將原本的 PowerShell 腳本備份到 legacy 目錄。
|
|
9
|
-
|
|
10
|
-
包含:
|
|
11
|
-
1. 端對端功能測試
|
|
12
|
-
2. PowerShell 腳本備份
|
|
13
|
-
3. 文檔更新
|
|
14
|
-
4. CLAUDE.md 更新
|
|
15
|
-
|
|
16
|
-
priority: "P2"
|
|
17
|
-
status: "pending"
|
|
18
|
-
agent_type: "backend"
|
|
19
|
-
source: "F-002"
|
|
20
|
-
feature_ids:
|
|
21
|
-
- "F-002"
|
|
22
|
-
|
|
23
|
-
dependencies:
|
|
24
|
-
- "TASK_069"
|
|
25
|
-
|
|
26
|
-
scope_paths:
|
|
27
|
-
- "dev/scripts/"
|
|
28
|
-
- "CLAUDE.md"
|
|
29
|
-
- "dashboard/src-tauri/"
|
|
30
|
-
|
|
31
|
-
requirements:
|
|
32
|
-
- "將 dev_agent_scheduler.ps1 複製到 dev/scripts/legacy/"
|
|
33
|
-
- "新增 legacy/README.md 說明備份原因"
|
|
34
|
-
- "更新 CLAUDE.md 的排程腳本章節"
|
|
35
|
-
- "新增指令說明(如何使用新的 Rust Self-Enhancement)"
|
|
36
|
-
- "端對端測試:啟動 → 執行一個循環 → 停止"
|
|
37
|
-
- "驗證日誌檔案正確生成"
|
|
38
|
-
- "驗證 SELF_ENHANCEMENT_STATUS.json 正確更新"
|
|
39
|
-
|
|
40
|
-
acceptance_criteria:
|
|
41
|
-
- "dev/scripts/legacy/dev_agent_scheduler.ps1 存在"
|
|
42
|
-
- "dev/scripts/legacy/README.md 說明備份原因"
|
|
43
|
-
- "CLAUDE.md 更新完成"
|
|
44
|
-
- "Rust 版本功能與 PowerShell 版本等效"
|
|
45
|
-
- "cargo test 所有測試通過"
|
|
46
|
-
|
|
47
|
-
technical_notes:
|
|
48
|
-
- "保留原 PowerShell 腳本以便回退"
|
|
49
|
-
- "legacy 目錄已存在於 dev/scripts/legacy/"
|
|
50
|
-
- "更新 CLAUDE.md 的「排程腳本」章節"
|
|
51
|
-
|
|
52
|
-
estimated_hours: 2
|
|
53
|
-
complexity: "simple"
|
|
54
|
-
|
|
55
|
-
metadata:
|
|
56
|
-
created_at: "2026-02-04T00:00:00+08:00"
|
|
57
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
# TASK_071: 預覽功能完整性 QA 驗證
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_071"
|
|
5
|
-
title: "AgentCreateWizard 預覽功能完整性 QA 驗證"
|
|
6
|
-
description: |
|
|
7
|
-
在 TASK_070 完成後,對 AgentCreateWizard 的預覽功能進行完整的 QA 驗證,
|
|
8
|
-
確保所有設計改進都已正確實現,並在各種設備尺寸和使用場景下正常工作。
|
|
9
|
-
|
|
10
|
-
**測試範圍**:
|
|
11
|
-
- PreviewPanel 組件的完整性測試
|
|
12
|
-
- 全屏預覽功能測試
|
|
13
|
-
- 語法高亮功能測試
|
|
14
|
-
- 響應式設計測試(desktop/tablet/mobile)
|
|
15
|
-
- 邊界情況測試(超長內容、空內容、特殊字符)
|
|
16
|
-
|
|
17
|
-
priority: "P1"
|
|
18
|
-
status: "pending"
|
|
19
|
-
agent_type: "qa"
|
|
20
|
-
source: "QA - TASK_070 完成後驗證"
|
|
21
|
-
|
|
22
|
-
dependencies:
|
|
23
|
-
- "TASK_070"
|
|
24
|
-
|
|
25
|
-
scope_paths:
|
|
26
|
-
- "dashboard/src/components/agent-section/"
|
|
27
|
-
- "dashboard/src/components/spec/"
|
|
28
|
-
|
|
29
|
-
requirements:
|
|
30
|
-
- "驗證預覽內容可完整顯示,無截斷"
|
|
31
|
-
- "驗證全屏預覽功能正常工作"
|
|
32
|
-
- "驗證語法高亮正確呈現"
|
|
33
|
-
- "驗證行號顯示正確"
|
|
34
|
-
- "驗證響應式設計在各設備尺寸下正常工作"
|
|
35
|
-
- "驗證鍵盤快捷鍵(ESC 關閉全屏)正常工作"
|
|
36
|
-
- "驗證邊界情況處理正確"
|
|
37
|
-
|
|
38
|
-
acceptance_criteria:
|
|
39
|
-
- "建立測試報告,列出所有測試項目和結果"
|
|
40
|
-
- "所有 acceptance_criteria(來自 TASK_070)測試通過"
|
|
41
|
-
- "無新增的 UI Bug 或回歸問題"
|
|
42
|
-
- "響應式測試覆蓋至少 3 種設備尺寸"
|
|
43
|
-
- "邊界情況測試至少包含:空內容、超長內容(>500行)、含特殊字符內容"
|
|
44
|
-
|
|
45
|
-
technical_notes:
|
|
46
|
-
- "可使用 Chrome DevTools 的設備模擬進行響應式測試"
|
|
47
|
-
- "建議測試尺寸:375px (mobile), 768px (tablet), 1440px (desktop)"
|
|
48
|
-
- "測試全屏 Modal 時確保背景滾動已禁用"
|
|
49
|
-
- "檢查 Console 是否有 React 警告或錯誤"
|
|
50
|
-
|
|
51
|
-
test_cases:
|
|
52
|
-
- name: "TC-001: 基本預覽功能"
|
|
53
|
-
steps:
|
|
54
|
-
- "開啟 Agent 創建嚮導"
|
|
55
|
-
- "輸入描述並生成 Agent"
|
|
56
|
-
- "切換到預覽視圖"
|
|
57
|
-
- "驗證內容完整顯示"
|
|
58
|
-
expected: "所有生成的內容可見,可滾動查看"
|
|
59
|
-
|
|
60
|
-
- name: "TC-002: 全屏預覽"
|
|
61
|
-
steps:
|
|
62
|
-
- "在預覽視圖點擊全屏按鈕"
|
|
63
|
-
- "驗證 Modal 正確顯示"
|
|
64
|
-
- "按 ESC 鍵"
|
|
65
|
-
- "驗證 Modal 關閉"
|
|
66
|
-
expected: "全屏 Modal 正常開啟和關閉"
|
|
67
|
-
|
|
68
|
-
- name: "TC-003: Mobile 響應式"
|
|
69
|
-
steps:
|
|
70
|
-
- "將瀏覽器調整為 375px 寬度"
|
|
71
|
-
- "開啟 Agent 創建嚮導"
|
|
72
|
-
- "生成並查看預覽"
|
|
73
|
-
- "嘗試滾動到底部"
|
|
74
|
-
expected: "可完整滾動,無內容截斷"
|
|
75
|
-
|
|
76
|
-
- name: "TC-004: 超長內容"
|
|
77
|
-
steps:
|
|
78
|
-
- "生成一個包含大量內容的 Agent"
|
|
79
|
-
- "在預覽視圖查看"
|
|
80
|
-
- "滾動到最底部"
|
|
81
|
-
expected: "所有內容可見,行號正確"
|
|
82
|
-
|
|
83
|
-
- name: "TC-005: 語法高亮"
|
|
84
|
-
steps:
|
|
85
|
-
- "查看預覽內容"
|
|
86
|
-
- "確認 YAML frontmatter 有顏色區分"
|
|
87
|
-
- "確認 Markdown headers 有顏色區分"
|
|
88
|
-
expected: "語法高亮正確呈現"
|
|
89
|
-
|
|
90
|
-
estimated_hours: 2
|
|
91
|
-
complexity: "simple"
|
|
92
|
-
|
|
93
|
-
related_tasks:
|
|
94
|
-
- "TASK_070"
|
|
95
|
-
|
|
96
|
-
metadata:
|
|
97
|
-
created_at: "2026-02-05T13:00:00+08:00"
|
|
98
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# TASK_071: Rust 配置模組 - 新增 Product Review 開關
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_071"
|
|
5
|
-
title: "Rust 配置模組 - 新增 Self-Enhancement 開關"
|
|
6
|
-
description: |
|
|
7
|
-
為 Single Agent Scheduler 的配置模組新增 Self-Enhancement 開關。
|
|
8
|
-
|
|
9
|
-
背景:用戶希望能選擇是否啟用 Self-Enhancement 功能(Product Review + 自動任務建立),
|
|
10
|
-
而不是強制執行。這需要在 Rust 配置結構和前端類型定義中新增相應欄位。
|
|
11
|
-
|
|
12
|
-
priority: "P1"
|
|
13
|
-
status: "pending"
|
|
14
|
-
agent_type: "backend"
|
|
15
|
-
source: "User Request - Single Agent Refactor"
|
|
16
|
-
|
|
17
|
-
dependencies: []
|
|
18
|
-
|
|
19
|
-
scope_paths:
|
|
20
|
-
- "dashboard/src-tauri/src/cmd_modules/self_enhancement/config.rs"
|
|
21
|
-
- "dashboard/src-tauri/src/cmd_modules/self_enhancement/commands.rs"
|
|
22
|
-
- "dashboard/src-tauri/src/cmd_modules/scheduler/config.rs"
|
|
23
|
-
- "dashboard/src-tauri/src/cmd_modules/scheduler/commands.rs"
|
|
24
|
-
- "dashboard/src/lib/tauri-commands.ts"
|
|
25
|
-
|
|
26
|
-
requirements:
|
|
27
|
-
- "在 SingleAgentConfig 結構體新增 enable_self_enhancement: bool 欄位(**預設 false**)"
|
|
28
|
-
- "在 Multi-Agent SchedulerConfig 也新增 enable_self_enhancement: bool 欄位(**預設 false**)"
|
|
29
|
-
- "更新 SingleAgentConfigRequest TypeScript 類型,新增 enableSelfEnhancement?: boolean"
|
|
30
|
-
- "更新 SchedulerConfigRequest TypeScript 類型,新增 enableSelfEnhancement?: boolean"
|
|
31
|
-
- "更新 commands.rs 中的配置解析邏輯"
|
|
32
|
-
- "確保向後相容:未提供時預設**不啟用** Self-Enhancement"
|
|
33
|
-
|
|
34
|
-
acceptance_criteria:
|
|
35
|
-
- "Single Agent config.rs 包含 enable_self_enhancement 欄位,預設值為 false"
|
|
36
|
-
- "Multi-Agent scheduler config 包含 enable_self_enhancement 欄位,預設值為 false"
|
|
37
|
-
- "TypeScript 類型 SingleAgentConfigRequest 包含 enableSelfEnhancement 可選欄位"
|
|
38
|
-
- "TypeScript 類型 SchedulerConfigRequest 包含 enableSelfEnhancement 可選欄位"
|
|
39
|
-
- "cargo build 編譯通過"
|
|
40
|
-
- "現有單元測試通過"
|
|
41
|
-
|
|
42
|
-
technical_notes:
|
|
43
|
-
- "使用 #[serde(default)] 設定預設值 false(bool 預設即為 false)"
|
|
44
|
-
- "TypeScript 類型需與 Rust 結構體保持一致"
|
|
45
|
-
- "Multi-Agent 的 Self-Enhancement 邏輯:當所有任務完成後觸發 /product-review"
|
|
46
|
-
|
|
47
|
-
estimated_hours: 2
|
|
48
|
-
complexity: "simple"
|
|
49
|
-
|
|
50
|
-
related_tasks:
|
|
51
|
-
- "TASK_072"
|
|
52
|
-
- "TASK_073"
|
|
53
|
-
- "TASK_074"
|
|
54
|
-
|
|
55
|
-
metadata:
|
|
56
|
-
created_at: "2026-02-05T02:00:00+08:00"
|
|
57
|
-
created_by: "Product Manager Agent"
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# TASK_072: AgentCreateWizard 預覽模式 ESC 退出與 UI 修復
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_072"
|
|
5
|
-
title: "AgentCreateWizard 預覽模式 ESC 退出與按鈕遮擋修復"
|
|
6
|
-
description: |
|
|
7
|
-
修復 AgentCreateWizard 在桌面全屏預覽模式下的兩個問題:
|
|
8
|
-
|
|
9
|
-
**問題 1:按鈕被遮擋**
|
|
10
|
-
- 在桌面版切換到全屏預覽模式時,部分按鈕被遮住無法點擊
|
|
11
|
-
- 用戶無法操作 Footer 區域的按鈕(取消、保存等)
|
|
12
|
-
|
|
13
|
-
**問題 2:缺少 ESC 鍵退出**
|
|
14
|
-
- 當按鈕被遮擋時,用戶無法退出預覽模式,導致卡死
|
|
15
|
-
- TASK_070 驗收標準要求「全屏 Modal 可通過 ESC 鍵關閉」但未實現
|
|
16
|
-
|
|
17
|
-
**相關代碼**:
|
|
18
|
-
- `dashboard/src/components/agent-section/AgentCreateWizard.tsx`
|
|
19
|
-
- 第 244-364 行:Modal 容器和主要佈局
|
|
20
|
-
- 缺少 `useEffect` 監聽 keydown 事件
|
|
21
|
-
|
|
22
|
-
priority: "P0"
|
|
23
|
-
status: "pending"
|
|
24
|
-
agent_type: "frontend"
|
|
25
|
-
source: "Bug Report - 預覽模式卡死無法退出"
|
|
26
|
-
|
|
27
|
-
scope_paths:
|
|
28
|
-
- "dashboard/src/components/agent-section/AgentCreateWizard.tsx"
|
|
29
|
-
|
|
30
|
-
requirements:
|
|
31
|
-
- "加入 ESC 鍵監聽器,按下 ESC 時調用 handleClose()"
|
|
32
|
-
- "檢查並修復 Footer 區域在全屏預覽模式下的 z-index 和定位問題"
|
|
33
|
-
- "確保所有按鈕在任何視圖模式下都可點擊"
|
|
34
|
-
- "ESC 監聽器應在 Modal 開啟時註冊,關閉時移除(避免內存洩漏)"
|
|
35
|
-
|
|
36
|
-
acceptance_criteria:
|
|
37
|
-
- "在任何視圖模式(chat/split/preview/edit)下按 ESC 都能關閉 Modal"
|
|
38
|
-
- "Footer 區域的按鈕(取消、保存、編輯等)在全屏預覽模式下可正常點擊"
|
|
39
|
-
- "不影響 textarea 等需要 ESC 的輸入元素(可選:輸入框聚焦時不攔截 ESC)"
|
|
40
|
-
- "無 ESC 鍵監聽器內存洩漏"
|
|
41
|
-
|
|
42
|
-
technical_notes:
|
|
43
|
-
- |
|
|
44
|
-
ESC 監聯器實現參考:
|
|
45
|
-
```tsx
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
if (!isOpen) return;
|
|
48
|
-
|
|
49
|
-
const handleKeyDown = (e: KeyboardEvent) => {
|
|
50
|
-
if (e.key === 'Escape') {
|
|
51
|
-
handleClose();
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
window.addEventListener('keydown', handleKeyDown);
|
|
56
|
-
return () => window.removeEventListener('keydown', handleKeyDown);
|
|
57
|
-
}, [isOpen, handleClose]);
|
|
58
|
-
```
|
|
59
|
-
- "檢查 Footer 組件的 CSS:可能需要調整 z-index 或 position"
|
|
60
|
-
- "檢查 PreviewPanel 是否有 overflow 或高度計算問題導致覆蓋 Footer"
|
|
61
|
-
|
|
62
|
-
estimated_hours: 1
|
|
63
|
-
complexity: "simple"
|
|
64
|
-
|
|
65
|
-
related_tasks:
|
|
66
|
-
- "TASK_070" # 預覽功能 UI/UX 重新設計
|
|
67
|
-
- "TASK_071" # 預覽功能 QA 驗證
|
|
68
|
-
|
|
69
|
-
metadata:
|
|
70
|
-
created_at: "2026-02-05T15:00:00+08:00"
|
|
71
|
-
created_by: "Product Manager Agent"
|