kenaz 0.3.22 → 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/hooks/_user-scope.js +1 -1
- package/core/.claude/hooks/core-resolve.js +1 -1
- package/core/.claude/hooks/worktree-create.js +6 -6
- package/core/.claude/hooks/worktree-remove.js +4 -4
- 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/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 +21 -6
- 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/guidance.md +1 -0
- package/core/plugins/kenaz/hooks/core-resolve.js +1 -1
- package/core/plugins/kenaz/hooks/kenaz-hook.js +52 -4
- package/core/plugins/kenaz/scripts/kenaz.test.js +72 -5
- 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,141 +0,0 @@
|
|
|
1
|
-
# TASK_146: 建立統一文檔網站(docs.kenaz.ai)
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_146"
|
|
5
|
-
title: "Dashboard 整合統一文檔模組"
|
|
6
|
-
description: |
|
|
7
|
-
根據 Strategy Team 建議(Phase 1 基礎優化 P0)+ 用戶回饋,
|
|
8
|
-
將統一文檔整合進 Dashboard,提供互動式學習體驗。
|
|
9
|
-
|
|
10
|
-
目標:讓新用戶在 5 分鐘內完成環境設置並執行第一個任務。
|
|
11
|
-
|
|
12
|
-
背景:
|
|
13
|
-
- 當前文檔分散在各子系統(.team/, Pipeline, Cortex, Dashboard)
|
|
14
|
-
- 新用戶入門門檻高(2-3 小時配置時間)
|
|
15
|
-
- 缺少統一的文檔入口和搜尋功能
|
|
16
|
-
- Strategy Team 評估建議優先降低入門門檻(ROI 最高)
|
|
17
|
-
|
|
18
|
-
設計變更(2026-02-09):
|
|
19
|
-
- ❌ 原方案:VitePress 獨立網站 → 體驗分散
|
|
20
|
-
- ✅ 新方案:整合進 Dashboard → 統一體驗 + 互動式功能
|
|
21
|
-
|
|
22
|
-
priority: "P0"
|
|
23
|
-
status: "pending"
|
|
24
|
-
agent_type: "developer"
|
|
25
|
-
source: "Strategy Team 建議(Phase 1 優化)"
|
|
26
|
-
feature_ids: []
|
|
27
|
-
|
|
28
|
-
dependencies: []
|
|
29
|
-
|
|
30
|
-
scope_paths:
|
|
31
|
-
- "dashboard/src/app/docs/" # Docs 主頁面
|
|
32
|
-
- "dashboard/src/components/docs/" # 文檔組件
|
|
33
|
-
- "dashboard/content/docs/" # MDX 文檔內容
|
|
34
|
-
- "dashboard/src/lib/docs/" # 文檔工具函數
|
|
35
|
-
|
|
36
|
-
requirements:
|
|
37
|
-
- "在 Dashboard 新增 /docs 路由和頁面"
|
|
38
|
-
- "使用 Next.js + MDX 或 Nextra 框架"
|
|
39
|
-
- "5 分鐘互動式快速開始指南(可執行範例)"
|
|
40
|
-
- "整合所有子系統文檔(.team, Pipeline, Cortex, Dashboard)"
|
|
41
|
-
- "API Playground(可測試 Team API、CLI 命令)"
|
|
42
|
-
- "範例執行器(一鍵運行範例代碼)"
|
|
43
|
-
- "Team 系統可視化(展示 5 個團隊結構)"
|
|
44
|
-
- "即時狀態顯示(當前專案的實際狀態)"
|
|
45
|
-
- "搜尋功能(整合 Dashboard 搜尋)"
|
|
46
|
-
- "至少 10 個互動式範例"
|
|
47
|
-
|
|
48
|
-
acceptance_criteria:
|
|
49
|
-
- "AC-146-1: 新用戶可在 Dashboard 內 5 分鐘完成環境設置並執行第一個任務"
|
|
50
|
-
- "AC-146-2: 所有主要功能都有互動式文檔(.team, Pipeline, 至少 2 個 Agent)"
|
|
51
|
-
- "AC-146-3: 整合 Dashboard 搜尋,可搜尋文檔內容"
|
|
52
|
-
- "AC-146-4: 文檔結構清晰,包含 Quick Start, Guides, API, Examples, Playground"
|
|
53
|
-
- "AC-146-5: API Playground 可測試至少 3 個 Team API 端點"
|
|
54
|
-
- "AC-146-6: 範例執行器可一鍵運行至少 5 個範例"
|
|
55
|
-
- "AC-146-7: Team 可視化展示 5 個團隊的成員與工作流程"
|
|
56
|
-
- "AC-146-8: Dashboard /docs 路由可正常訪問"
|
|
57
|
-
|
|
58
|
-
technical_notes: |
|
|
59
|
-
技術選型:
|
|
60
|
-
方案 A(推薦):Next.js + Nextra
|
|
61
|
-
- 優點:完整的文檔框架,內建搜尋、深色模式、MDX 支援
|
|
62
|
-
- 整合:與 Dashboard 共用 Next.js 環境
|
|
63
|
-
- 安裝:npm install nextra nextra-theme-docs
|
|
64
|
-
|
|
65
|
-
方案 B:Next.js + MDX + 自定義
|
|
66
|
-
- 優點:完全控制,可深度整合 Dashboard 功能
|
|
67
|
-
- 整合:使用 @next/mdx,自建文檔系統
|
|
68
|
-
- 安裝:npm install @next/mdx @mdx-js/loader @mdx-js/react
|
|
69
|
-
|
|
70
|
-
目錄結構(Dashboard 內):
|
|
71
|
-
dashboard/
|
|
72
|
-
├── src/
|
|
73
|
-
│ ├── app/
|
|
74
|
-
│ │ └── docs/ # Docs 路由
|
|
75
|
-
│ │ ├── page.tsx # /docs 首頁
|
|
76
|
-
│ │ ├── quick-start/ # /docs/quick-start
|
|
77
|
-
│ │ │ └── page.tsx
|
|
78
|
-
│ │ ├── api/
|
|
79
|
-
│ │ │ ├── playground/ # API Playground
|
|
80
|
-
│ │ │ └── reference/ # API 參考
|
|
81
|
-
│ │ ├── examples/
|
|
82
|
-
│ │ │ └── runner/ # 範例執行器
|
|
83
|
-
│ │ └── team/
|
|
84
|
-
│ │ └── visualizer/ # Team 可視化
|
|
85
|
-
│ ├── components/docs/
|
|
86
|
-
│ │ ├── CodeRunner.tsx # 代碼執行組件
|
|
87
|
-
│ │ ├── APIPlayground.tsx # API 測試組件
|
|
88
|
-
│ │ ├── TeamVisualizer.tsx # Team 圖表組件
|
|
89
|
-
│ │ ├── SearchBar.tsx # 搜尋組件
|
|
90
|
-
│ │ └── TableOfContents.tsx # 目錄組件
|
|
91
|
-
│ └── lib/docs/
|
|
92
|
-
│ ├── content-loader.ts # MDX 內容載入
|
|
93
|
-
│ └── search-index.ts # 搜尋索引
|
|
94
|
-
└── content/docs/ # MDX 文檔內容
|
|
95
|
-
├── getting-started/
|
|
96
|
-
├── guides/
|
|
97
|
-
├── api/
|
|
98
|
-
└── examples/
|
|
99
|
-
|
|
100
|
-
核心功能:
|
|
101
|
-
1. API Playground:
|
|
102
|
-
- 即時測試 Team API(/api/team/execute)
|
|
103
|
-
- 顯示請求/回應
|
|
104
|
-
- 支援認證
|
|
105
|
-
|
|
106
|
-
2. 範例執行器:
|
|
107
|
-
- 一鍵運行範例代碼
|
|
108
|
-
- 即時顯示輸出
|
|
109
|
-
- 可修改參數
|
|
110
|
-
|
|
111
|
-
3. Team 可視化:
|
|
112
|
-
- 使用 D3.js 或 Recharts 展示團隊結構
|
|
113
|
-
- 互動式成員關係圖
|
|
114
|
-
- 工作流程動畫
|
|
115
|
-
|
|
116
|
-
4. 即時狀態:
|
|
117
|
-
- 顯示當前專案的實際任務狀態
|
|
118
|
-
- 即時更新(WebSocket)
|
|
119
|
-
|
|
120
|
-
整合點:
|
|
121
|
-
- 導航欄新增 "Docs" 連結
|
|
122
|
-
- 搜尋整合(統一搜尋所有內容)
|
|
123
|
-
- 主題同步(深色/淺色模式)
|
|
124
|
-
- 狀態共享(使用 Dashboard 的狀態管理)
|
|
125
|
-
|
|
126
|
-
estimated_hours: 32
|
|
127
|
-
complexity: "high"
|
|
128
|
-
|
|
129
|
-
related_to_strategy: "Phase 1 - Month 1-2 基礎優化(P0)"
|
|
130
|
-
|
|
131
|
-
metadata:
|
|
132
|
-
created_at: "2026-02-09T17:00:00+08:00"
|
|
133
|
-
created_by: "Strategy Team 建議"
|
|
134
|
-
updated_at: "2026-02-09T18:30:00+08:00"
|
|
135
|
-
design_change: "改為 Dashboard 整合方案(用戶回饋)"
|
|
136
|
-
strategy_report: ".team/strategy/reports/kenazai_optimization_recommendation.md"
|
|
137
|
-
related_commits:
|
|
138
|
-
- "51bd350" # Strategy Team 評估報告
|
|
139
|
-
- "2465ff4" # .matrix 暫停開發存檔點
|
|
140
|
-
- "00b2c16" # VitePress 實作(已回退)
|
|
141
|
-
- "88d659d" # Revert VitePress,改為 Dashboard 整合
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# TASK_147: 建立 Pipeline 執行規則文檔
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_147"
|
|
5
|
-
title: "建立 Pipeline 執行規則文檔"
|
|
6
|
-
description: |
|
|
7
|
-
建立 `.rule/pipeline/task-execution.yaml` 規則文檔,定義完整的 Pipeline 任務執行規範。
|
|
8
|
-
|
|
9
|
-
背景:
|
|
10
|
-
- 剛完成與用戶的開發流程討論,確認了 12 個核心流程規則
|
|
11
|
-
- 需要將這些規則文檔化到 .rule/ 系統
|
|
12
|
-
- 此規則將成為 Lead Agent 和所有 Agent 執行任務的標準
|
|
13
|
-
|
|
14
|
-
目標:
|
|
15
|
-
- 建立 .rule/pipeline/ 目錄
|
|
16
|
-
- 建立 task-execution.yaml 規則文檔
|
|
17
|
-
- 定義 12 條核心規則(任務拆分、依賴、並行、Team 選擇等)
|
|
18
|
-
- 提供實際範例與最佳實踐
|
|
19
|
-
|
|
20
|
-
priority: "P0"
|
|
21
|
-
status: "pending"
|
|
22
|
-
agent_type: "developer_team"
|
|
23
|
-
source: "F-016"
|
|
24
|
-
feature_ids:
|
|
25
|
-
- "F-016"
|
|
26
|
-
|
|
27
|
-
dependencies: []
|
|
28
|
-
|
|
29
|
-
scope_paths:
|
|
30
|
-
- ".rule/pipeline/"
|
|
31
|
-
- ".rule/INDEX.yaml"
|
|
32
|
-
|
|
33
|
-
requirements:
|
|
34
|
-
- "建立 .rule/pipeline/ 目錄"
|
|
35
|
-
- "建立 task-execution.yaml 規則文檔"
|
|
36
|
-
- "定義 12 條核心規則"
|
|
37
|
-
- "更新 .rule/INDEX.yaml(註冊新規則文件)"
|
|
38
|
-
- "規則必須涵蓋:任務拆分、依賴管理、並行執行、Team 選擇、Feature ID、失敗處理、Git commit"
|
|
39
|
-
|
|
40
|
-
acceptance_criteria:
|
|
41
|
-
- ".rule/pipeline/task-execution.yaml 已建立,包含至少 12 條規則"
|
|
42
|
-
- "每條規則包含:id, title, description, rationale, examples"
|
|
43
|
-
- "規則涵蓋完整的任務執行流程(從拆分到完成)"
|
|
44
|
-
- ".rule/INDEX.yaml 已更新,包含 pipeline/task-execution.yaml"
|
|
45
|
-
- "YAML 語法正確(可被解析)"
|
|
46
|
-
- "規則符合用戶確認的開發流程"
|
|
47
|
-
|
|
48
|
-
technical_notes:
|
|
49
|
-
- "參考現有規則格式:.rule/general/*.yaml"
|
|
50
|
-
- "12 條核心規則:
|
|
51
|
-
1. 任務拆分粒度標準(15-20 分鐘)
|
|
52
|
-
2. 依賴管理規則(dependencies 字段)
|
|
53
|
-
3. 並行執行策略(自動判斷)
|
|
54
|
-
4. Team vs 單一 Agent 選擇(優先 Team)
|
|
55
|
-
5. agent_type 命名規則(xxx_team)
|
|
56
|
-
6. Feature ID 自動分配
|
|
57
|
-
7. 工作啟動流程(先展示計劃)
|
|
58
|
-
8. 任務失敗處理(立即報告)
|
|
59
|
-
9. Git commit 策略(按階段)
|
|
60
|
-
10. 任務完成後續動作(自動化)
|
|
61
|
-
11. scope_paths 衝突檢測
|
|
62
|
-
12. 驗收標準驗證"
|
|
63
|
-
- "規則 ID 格式:PPL-001, PPL-002, ..."
|
|
64
|
-
|
|
65
|
-
estimated_hours: 0.25
|
|
66
|
-
complexity: "simple"
|
|
67
|
-
|
|
68
|
-
related_tasks:
|
|
69
|
-
- "TASK_148"
|
|
70
|
-
- "TASK_149"
|
|
71
|
-
- "TASK_150"
|
|
72
|
-
|
|
73
|
-
metadata:
|
|
74
|
-
created_at: "2026-02-09T20:30:00+08:00"
|
|
75
|
-
created_by: "Lead Agent"
|
|
76
|
-
discussion_summary: "用戶確認的統一開發流程,12 個核心規則"
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# TASK_148: 更新 CLAUDE.md 工作流程
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_148"
|
|
5
|
-
title: "更新 CLAUDE.md 工作流程說明"
|
|
6
|
-
description: |
|
|
7
|
-
更新 CLAUDE.md 中的工作流程章節,新增 Lead Agent 開發流程詳細說明。
|
|
8
|
-
|
|
9
|
-
背景:
|
|
10
|
-
- CLAUDE.md 是專案級指令文檔,所有 Agent 都會讀取
|
|
11
|
-
- 當前工作流程說明過於簡化,缺少 Lead Agent 的詳細執行流程
|
|
12
|
-
- 需要整合剛確認的 12 條核心規則
|
|
13
|
-
|
|
14
|
-
目標:
|
|
15
|
-
- 更新「工作流程」章節
|
|
16
|
-
- 新增「Lead Agent 開發流程詳細說明」章節
|
|
17
|
-
- 更新 Agent 調用模式說明(Team 優先)
|
|
18
|
-
- 引用 .rule/pipeline/task-execution.yaml
|
|
19
|
-
|
|
20
|
-
priority: "P0"
|
|
21
|
-
status: "pending"
|
|
22
|
-
agent_type: "developer_team"
|
|
23
|
-
source: "F-016"
|
|
24
|
-
feature_ids:
|
|
25
|
-
- "F-016"
|
|
26
|
-
|
|
27
|
-
dependencies:
|
|
28
|
-
- "TASK_147"
|
|
29
|
-
|
|
30
|
-
scope_paths:
|
|
31
|
-
- "CLAUDE.md"
|
|
32
|
-
|
|
33
|
-
requirements:
|
|
34
|
-
- "更新「工作流程」章節,強調 Team 模式優先"
|
|
35
|
-
- "新增「Lead Agent 開發流程」章節(完整 12 步流程)"
|
|
36
|
-
- "更新 Agent 調用模式說明(單一 vs Team)"
|
|
37
|
-
- "新增任務拆分與並行執行說明"
|
|
38
|
-
- "引用 .rule/pipeline/task-execution.yaml 規則"
|
|
39
|
-
- "提供實際範例(如搜尋功能改進的流程)"
|
|
40
|
-
|
|
41
|
-
acceptance_criteria:
|
|
42
|
-
- "CLAUDE.md 包含完整的 Lead Agent 工作流程(12 步)"
|
|
43
|
-
- "工作流程章節明確說明 Team 模式優先"
|
|
44
|
-
- "包含至少 1 個完整範例(從需求到執行)"
|
|
45
|
-
- "引用 .rule/pipeline/task-execution.yaml 規則"
|
|
46
|
-
- "Markdown 格式正確,結構清晰"
|
|
47
|
-
- "與 TASK_147 建立的規則一致"
|
|
48
|
-
|
|
49
|
-
technical_notes:
|
|
50
|
-
- "參考 CLAUDE.md 現有格式與結構"
|
|
51
|
-
- "Lead Agent 12 步流程:
|
|
52
|
-
1. 接收用戶需求
|
|
53
|
-
2. 自動分配 Feature ID
|
|
54
|
-
3. 拆分任務(15-20 分鐘)
|
|
55
|
-
4. 判斷 agent_type(優先 xxx_team)
|
|
56
|
-
5. 分析依賴與路徑衝突
|
|
57
|
-
6. 規劃 commit 策略
|
|
58
|
-
7. 展示計劃
|
|
59
|
-
8. 等待確認
|
|
60
|
-
9. 建立任務卡
|
|
61
|
-
10. 啟動執行
|
|
62
|
-
11. 監控與自動化
|
|
63
|
-
12. 失敗處理"
|
|
64
|
-
- "新增章節建議位置:「工作流程」之後"
|
|
65
|
-
|
|
66
|
-
estimated_hours: 0.33
|
|
67
|
-
complexity: "simple"
|
|
68
|
-
|
|
69
|
-
related_tasks:
|
|
70
|
-
- "TASK_147"
|
|
71
|
-
- "TASK_149"
|
|
72
|
-
- "TASK_150"
|
|
73
|
-
|
|
74
|
-
metadata:
|
|
75
|
-
created_at: "2026-02-09T20:30:00+08:00"
|
|
76
|
-
created_by: "Lead Agent"
|
|
77
|
-
discussion_summary: "更新 CLAUDE.md 以反映新的開發流程"
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# TASK_149: 修復 Next.js MDX loader 序列化錯誤
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_149"
|
|
5
|
-
title: "修復 Next.js MDX loader 序列化錯誤"
|
|
6
|
-
description: |
|
|
7
|
-
修復 dashboard/ 專案中 Next.js MDX loader 無法序列化 options 的錯誤。
|
|
8
|
-
|
|
9
|
-
錯誤訊息:
|
|
10
|
-
"Error: loader D:\repo\side\ava\KenazAI\dashboard\node_modules\@next\mdx\mdx-js-loader.js
|
|
11
|
-
for match "{*,next-mdx-rule}" does not have serializable options."
|
|
12
|
-
|
|
13
|
-
問題根因:
|
|
14
|
-
- Next.js 15+ 對配置要求更嚴格,plugin 函數無法序列化
|
|
15
|
-
- 當前 next.config.ts 直接傳入 remarkGfm 和 rehypeHighlight 插件
|
|
16
|
-
|
|
17
|
-
解決方案:
|
|
18
|
-
- 將插件配置從 next.config.ts 移除
|
|
19
|
-
- 改用 next.config.mjs 格式或將插件配置移至運行時處理
|
|
20
|
-
|
|
21
|
-
priority: "P0"
|
|
22
|
-
status: "pending"
|
|
23
|
-
agent_type: "developer"
|
|
24
|
-
source: "Bug Report - User"
|
|
25
|
-
feature_ids: ["F-006"]
|
|
26
|
-
|
|
27
|
-
dependencies: []
|
|
28
|
-
|
|
29
|
-
scope_paths:
|
|
30
|
-
- "dashboard/next.config.ts"
|
|
31
|
-
- "dashboard/mdx-components.tsx"
|
|
32
|
-
- "dashboard/src/app/docs/"
|
|
33
|
-
|
|
34
|
-
requirements:
|
|
35
|
-
- "移除 next.config.ts 中的 remarkPlugins 和 rehypePlugins 配置"
|
|
36
|
-
- "將插件配置移至 mdx-components.tsx 或改用 .mjs 格式"
|
|
37
|
-
- "確保現有 2 個 MDX 文檔頁面能正常渲染"
|
|
38
|
-
- "保留 GFM(表格、任務列表)和語法高亮功能"
|
|
39
|
-
- "驗證 npm run dev 啟動無錯誤"
|
|
40
|
-
|
|
41
|
-
acceptance_criteria:
|
|
42
|
-
- "執行 npm run dev 不再出現序列化錯誤"
|
|
43
|
-
- "MDX 文檔頁面 /docs/quick-start 和 /docs/guides/agent-coordination/setup 正常顯示"
|
|
44
|
-
- "GFM 功能正常(表格、任務列表等)"
|
|
45
|
-
- "代碼區塊語法高亮功能正常"
|
|
46
|
-
- "建立至少 1 個 Git commit(格式:[TASK_148] 簡短描述)"
|
|
47
|
-
|
|
48
|
-
technical_notes:
|
|
49
|
-
- "參考 Next.js 15+ MDX 配置最佳實踐"
|
|
50
|
-
- "可參考方案:改用 next.config.mjs 或動態導入插件"
|
|
51
|
-
- "測試文件:dashboard/src/app/docs/quick-start/page.mdx"
|
|
52
|
-
- "確保不影響 Electron/Tauri 靜態導出功能"
|
|
53
|
-
|
|
54
|
-
estimated_hours: 0.33
|
|
55
|
-
complexity: "simple"
|
|
56
|
-
|
|
57
|
-
related_tasks: []
|
|
58
|
-
|
|
59
|
-
metadata:
|
|
60
|
-
created_at: "2026-02-09T18:00:00+08:00"
|
|
61
|
-
created_by: "PM Lead Agent"
|
|
62
|
-
bug_severity: "critical"
|
|
63
|
-
blocks_development: true
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# TASK_149: 更新 .team 系統文檔
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_149"
|
|
5
|
-
title: "更新 .team 系統文檔"
|
|
6
|
-
description: |
|
|
7
|
-
更新 .team 系統文檔,說明 agent_type 命名規則與 run-team.js 使用方式。
|
|
8
|
-
|
|
9
|
-
背景:
|
|
10
|
-
- .team 系統支援 Leader + Team 模式
|
|
11
|
-
- 當前文檔缺少 agent_type 命名規則說明(xxx_team)
|
|
12
|
-
- run-team.js 需要說明 _team 後綴自動映射機制
|
|
13
|
-
|
|
14
|
-
目標:
|
|
15
|
-
- 更新 .team/COMPLETE_README.md
|
|
16
|
-
- 更新 .team/tools/README.md
|
|
17
|
-
- 新增 agent_type 命名規則說明
|
|
18
|
-
- 新增任務完成後自動化流程說明
|
|
19
|
-
|
|
20
|
-
priority: "P0"
|
|
21
|
-
status: "pending"
|
|
22
|
-
agent_type: "developer_team"
|
|
23
|
-
source: "F-016"
|
|
24
|
-
feature_ids:
|
|
25
|
-
- "F-016"
|
|
26
|
-
|
|
27
|
-
dependencies:
|
|
28
|
-
- "TASK_147"
|
|
29
|
-
|
|
30
|
-
scope_paths:
|
|
31
|
-
- ".team/COMPLETE_README.md"
|
|
32
|
-
- ".team/tools/README.md"
|
|
33
|
-
|
|
34
|
-
requirements:
|
|
35
|
-
- "更新 .team/COMPLETE_README.md 團隊調用流程"
|
|
36
|
-
- "新增 agent_type 命名規則章節(developer vs developer_team)"
|
|
37
|
-
- "更新 .team/tools/README.md run-team.js 使用說明"
|
|
38
|
-
- "說明 _team 後綴自動映射機制(developer_team → developer/)"
|
|
39
|
-
- "新增任務完成後自動化流程說明"
|
|
40
|
-
- "提供 agent_type 選擇決策樹"
|
|
41
|
-
|
|
42
|
-
acceptance_criteria:
|
|
43
|
-
- ".team/COMPLETE_README.md 包含 agent_type 命名規則說明"
|
|
44
|
-
- ".team/tools/README.md 包含 _team 後綴映射說明"
|
|
45
|
-
- "文檔包含至少 1 個完整範例(任務卡 → 調用 → 執行)"
|
|
46
|
-
- "說明何時使用 Team 模式 vs 單一 Agent"
|
|
47
|
-
- "文檔與 TASK_147 規則一致"
|
|
48
|
-
- "Markdown 格式正確"
|
|
49
|
-
|
|
50
|
-
technical_notes:
|
|
51
|
-
- "agent_type 命名規則:
|
|
52
|
-
- developer = 單一 Developer Agent
|
|
53
|
-
- developer_team = Developer Team(Leader + Workers)
|
|
54
|
-
- 預設優先使用 xxx_team(根據用戶確認)"
|
|
55
|
-
- "run-team.js 調用範例:
|
|
56
|
-
node .team/tools/run-team.js --team=developer_team --task=TASK_147
|
|
57
|
-
# 內部映射到 .team/developer/"
|
|
58
|
-
- "任務完成後自動化:
|
|
59
|
-
1. 驗證驗收標準
|
|
60
|
-
2. 移動到 completed/
|
|
61
|
-
3. 更新 PROGRESS.md
|
|
62
|
-
4. 檢查依賴鏈
|
|
63
|
-
5. 階段完成時 Git commit
|
|
64
|
-
6. 啟動下一個任務"
|
|
65
|
-
|
|
66
|
-
estimated_hours: 0.3
|
|
67
|
-
complexity: "simple"
|
|
68
|
-
|
|
69
|
-
related_tasks:
|
|
70
|
-
- "TASK_147"
|
|
71
|
-
- "TASK_148"
|
|
72
|
-
- "TASK_150"
|
|
73
|
-
|
|
74
|
-
metadata:
|
|
75
|
-
created_at: "2026-02-09T20:30:00+08:00"
|
|
76
|
-
created_by: "Lead Agent"
|
|
77
|
-
discussion_summary: "更新 .team 文檔以支援新的命名規則與自動化流程"
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# TASK_150: 建立 Pipeline 完整使用指南
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_150"
|
|
5
|
-
title: "建立 Pipeline 完整使用指南"
|
|
6
|
-
description: |
|
|
7
|
-
建立完整的 Pipeline 使用指南,整合所有文檔與實際範例。
|
|
8
|
-
|
|
9
|
-
背景:
|
|
10
|
-
- dev/pipeline/ 缺少完整的使用指南
|
|
11
|
-
- 當前只有 PROGRESS.md 和任務卡
|
|
12
|
-
- 需要整合 TASK_147、TASK_148、TASK_149 的所有內容
|
|
13
|
-
|
|
14
|
-
目標:
|
|
15
|
-
- 建立 dev/pipeline/WORKFLOW_GUIDE.md
|
|
16
|
-
- 提供完整的 Pipeline 使用指南
|
|
17
|
-
- 包含實際範例(如搜尋功能改進的完整流程)
|
|
18
|
-
- 提供任務卡模板與最佳實踐
|
|
19
|
-
|
|
20
|
-
priority: "P0"
|
|
21
|
-
status: "pending"
|
|
22
|
-
agent_type: "developer_team"
|
|
23
|
-
source: "F-016"
|
|
24
|
-
feature_ids:
|
|
25
|
-
- "F-016"
|
|
26
|
-
|
|
27
|
-
dependencies:
|
|
28
|
-
- "TASK_147"
|
|
29
|
-
- "TASK_148"
|
|
30
|
-
- "TASK_149"
|
|
31
|
-
|
|
32
|
-
scope_paths:
|
|
33
|
-
- "dev/pipeline/WORKFLOW_GUIDE.md"
|
|
34
|
-
- "dev/pipeline/README.md"
|
|
35
|
-
|
|
36
|
-
requirements:
|
|
37
|
-
- "建立 dev/pipeline/WORKFLOW_GUIDE.md"
|
|
38
|
-
- "包含完整的 Pipeline 工作流程說明"
|
|
39
|
-
- "提供至少 3 個實際範例(完整流程)"
|
|
40
|
-
- "提供任務卡 YAML 模板"
|
|
41
|
-
- "包含最佳實踐與常見問題 FAQ"
|
|
42
|
-
- "更新 dev/pipeline/README.md(引用新指南)"
|
|
43
|
-
- "整合 TASK_147、TASK_148、TASK_149 的內容"
|
|
44
|
-
|
|
45
|
-
acceptance_criteria:
|
|
46
|
-
- "WORKFLOW_GUIDE.md 已建立,包含至少 3 個完整範例"
|
|
47
|
-
- "文檔包含任務卡 YAML 模板(可直接複製使用)"
|
|
48
|
-
- "包含 FAQ 章節(至少 5 個常見問題)"
|
|
49
|
-
- "README.md 已更新,引用 WORKFLOW_GUIDE.md"
|
|
50
|
-
- "範例涵蓋:簡單任務、複雜任務、並行任務"
|
|
51
|
-
- "文檔與 TASK_147 規則一致"
|
|
52
|
-
- "Markdown 格式正確,結構清晰"
|
|
53
|
-
|
|
54
|
-
technical_notes:
|
|
55
|
-
- "3 個範例建議:
|
|
56
|
-
1. 簡單任務:單一文件修改(1 個任務卡)
|
|
57
|
-
2. 複雜任務:搜尋功能改進(3 個任務卡,依賴鏈)
|
|
58
|
-
3. 並行任務:多文檔更新(2 個任務卡,並行執行)"
|
|
59
|
-
- "FAQ 建議主題:
|
|
60
|
-
1. 如何決定任務拆分粒度?
|
|
61
|
-
2. 何時使用 Team vs 單一 Agent?
|
|
62
|
-
3. 如何處理任務失敗?
|
|
63
|
-
4. 如何管理依賴關係?
|
|
64
|
-
5. 如何判斷任務可並行?"
|
|
65
|
-
- "任務卡模板包含所有必需字段(id, title, description, priority, status, agent_type, dependencies, scope_paths, requirements, acceptance_criteria, estimated_hours, complexity)"
|
|
66
|
-
- "整合參考:
|
|
67
|
-
- TASK_147: .rule/pipeline/task-execution.yaml
|
|
68
|
-
- TASK_148: CLAUDE.md Lead Agent 流程
|
|
69
|
-
- TASK_149: .team 文檔"
|
|
70
|
-
|
|
71
|
-
estimated_hours: 0.33
|
|
72
|
-
complexity: "simple"
|
|
73
|
-
|
|
74
|
-
related_tasks:
|
|
75
|
-
- "TASK_147"
|
|
76
|
-
- "TASK_148"
|
|
77
|
-
- "TASK_149"
|
|
78
|
-
|
|
79
|
-
metadata:
|
|
80
|
-
created_at: "2026-02-09T20:30:00+08:00"
|
|
81
|
-
created_by: "Lead Agent"
|
|
82
|
-
discussion_summary: "建立完整的 Pipeline 使用指南,整合所有文檔"
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# TASK_164: 修復 SmartContextSwitch bug + cortex_context 工具
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_164"
|
|
5
|
-
title: "修復 SmartContextSwitch bug + cortex_context MCP 工具"
|
|
6
|
-
description: |
|
|
7
|
-
cortex_context MCP 工具目前壞了,報錯:
|
|
8
|
-
'SmartContextSwitch' object has no attribute 'get_context_mode'
|
|
9
|
-
|
|
10
|
-
需要修復此 bug 並確保 V1/V2 Context 模式都能正常運作。
|
|
11
|
-
這是後續 RAG 優化任務的前置條件。
|
|
12
|
-
|
|
13
|
-
priority: "P0"
|
|
14
|
-
status: "pending"
|
|
15
|
-
agent_type: "backend"
|
|
16
|
-
source: "F-018"
|
|
17
|
-
feature_ids:
|
|
18
|
-
- "F-018"
|
|
19
|
-
|
|
20
|
-
dependencies: []
|
|
21
|
-
|
|
22
|
-
scope_paths:
|
|
23
|
-
- "kenaz-cortex/src/cortex/context/smart_switch.py"
|
|
24
|
-
- "kenaz-cortex/src/cortex/mcp/server.py"
|
|
25
|
-
- "kenaz-cortex/src/cortex/context/__init__.py"
|
|
26
|
-
|
|
27
|
-
requirements:
|
|
28
|
-
- "修復 SmartContextSwitch 類中 get_context_mode 屬性/方法缺失問題"
|
|
29
|
-
- "確保 cortex_context MCP 工具正常返回結果"
|
|
30
|
-
- "驗證 V1 模式(全量 Context)和 V2 模式(精簡 + RAG)都能正常切換"
|
|
31
|
-
- "確保 threshold_tokens 和 threshold_files 的切換邏輯正確"
|
|
32
|
-
|
|
33
|
-
acceptance_criteria:
|
|
34
|
-
- "cortex_context MCP 工具不再報 AttributeError"
|
|
35
|
-
- "小型專案(< 40k tokens, < 20 files)返回全量 Context"
|
|
36
|
-
- "大型專案(> 40k tokens 或 > 20 files)返回精簡 Context + RAG 提示"
|
|
37
|
-
- "cortex_status 工具正常返回索引統計"
|
|
38
|
-
|
|
39
|
-
technical_notes:
|
|
40
|
-
- "SmartContextSwitch 類定義在 kenaz-cortex/src/cortex/context/smart_switch.py"
|
|
41
|
-
- "MCP server 定義在 kenaz-cortex/src/cortex/mcp/server.py"
|
|
42
|
-
- "可能是方法名稱變更但 MCP server 未同步更新"
|
|
43
|
-
|
|
44
|
-
estimated_hours: 2
|
|
45
|
-
complexity: "simple"
|
|
46
|
-
|
|
47
|
-
metadata:
|
|
48
|
-
created_at: "2026-02-12T00:00:00+08:00"
|
|
49
|
-
created_by: "PM Lead"
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# TASK_165: Universal Ctags 整合 - Symbol Index 建立
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_165"
|
|
5
|
-
title: "Universal Ctags 整合 - Symbol Index 建立"
|
|
6
|
-
description: |
|
|
7
|
-
整合 Universal Ctags 工具,為專案建立結構化的符號索引。
|
|
8
|
-
讓 Agent 能不經向量搜索就精確定位函數/類/介面定義。
|
|
9
|
-
|
|
10
|
-
參考:Greptile/Continue 的 AST 輔助搜索方式。
|
|
11
|
-
|
|
12
|
-
priority: "P1"
|
|
13
|
-
status: "pending"
|
|
14
|
-
agent_type: "backend"
|
|
15
|
-
source: "F-018"
|
|
16
|
-
feature_ids:
|
|
17
|
-
- "F-018"
|
|
18
|
-
|
|
19
|
-
dependencies:
|
|
20
|
-
- "TASK_164"
|
|
21
|
-
|
|
22
|
-
scope_paths:
|
|
23
|
-
- "kenaz-cortex/src/cortex/symbols/"
|
|
24
|
-
- "kenaz-cortex/src/cortex/sync/git_sync.py"
|
|
25
|
-
|
|
26
|
-
requirements:
|
|
27
|
-
- "建立 kenaz-cortex/src/cortex/symbols/ 模組"
|
|
28
|
-
- "整合 Universal Ctags 執行引擎(subprocess 調用 ctags)"
|
|
29
|
-
- "解析 ctags JSON 輸出為結構化 SymbolEntry dataclass"
|
|
30
|
-
- "建立 SymbolIndex 類:支援 search_by_name(), search_by_kind(), get_file_symbols()"
|
|
31
|
-
- "支援增量更新(Git diff 觸發,只重新索引變更文件)"
|
|
32
|
-
- "儲存索引到 .cortex/symbols.json"
|
|
33
|
-
- "處理 ctags 未安裝的 graceful degradation"
|
|
34
|
-
|
|
35
|
-
acceptance_criteria:
|
|
36
|
-
- "能提取 Python/TypeScript/JavaScript 的函數、類、介面、type alias 定義"
|
|
37
|
-
- "按名稱搜索響應時間 < 10ms"
|
|
38
|
-
- "Git commit 後自動增量更新符號索引"
|
|
39
|
-
- ".cortex/symbols.json 格式正確且可被其他模組讀取"
|
|
40
|
-
- "ctags 未安裝時提供友好錯誤訊息而非崩潰"
|
|
41
|
-
|
|
42
|
-
technical_notes:
|
|
43
|
-
- "使用 ctags --output-format=json --fields=+nKS -R"
|
|
44
|
-
- "SymbolEntry 包含:name, kind, file, line, scope, signature"
|
|
45
|
-
- "整合到 git_sync.py 的 post-commit hook 觸發增量更新"
|
|
46
|
-
- "Windows 環境需要考慮 ctags 路徑問題"
|
|
47
|
-
|
|
48
|
-
estimated_hours: 6
|
|
49
|
-
complexity: "medium"
|
|
50
|
-
|
|
51
|
-
metadata:
|
|
52
|
-
created_at: "2026-02-12T00:00:00+08:00"
|
|
53
|
-
created_by: "PM Lead"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# TASK_166: Symbol Search MCP 工具
|
|
2
|
-
# Schema: dev/schemas/TASK.schema.json
|
|
3
|
-
|
|
4
|
-
id: "TASK_166"
|
|
5
|
-
title: "Symbol Search MCP 工具"
|
|
6
|
-
description: |
|
|
7
|
-
為 MCP server 新增 cortex_symbols 工具,讓 Claude Code 能精確搜索
|
|
8
|
-
函數、類、介面等符號定義,無需向量搜索即可快速定位。
|
|
9
|
-
|
|
10
|
-
priority: "P1"
|
|
11
|
-
status: "pending"
|
|
12
|
-
agent_type: "backend"
|
|
13
|
-
source: "F-018"
|
|
14
|
-
feature_ids:
|
|
15
|
-
- "F-018"
|
|
16
|
-
|
|
17
|
-
dependencies:
|
|
18
|
-
- "TASK_165"
|
|
19
|
-
|
|
20
|
-
scope_paths:
|
|
21
|
-
- "kenaz-cortex/src/cortex/mcp/server.py"
|
|
22
|
-
- "kenaz-cortex/src/cortex/symbols/"
|
|
23
|
-
|
|
24
|
-
requirements:
|
|
25
|
-
- "新增 cortex_symbols MCP 工具到 server.py"
|
|
26
|
-
- "支援參數:query(名稱/正則模式)、kind(function/class/interface/type_alias)、file、language"
|
|
27
|
-
- "返回格式化結果:名稱、類型、檔案:行號、函數簽名"
|
|
28
|
-
- "整合到 cortex_context 的 Layer 2(Architecture)輸出中"
|
|
29
|
-
- "支援模糊搜索和精確搜索"
|
|
30
|
-
|
|
31
|
-
acceptance_criteria:
|
|
32
|
-
- "cortex_symbols 工具可在 Claude Code MCP 中正常調用"
|
|
33
|
-
- "搜索 'SmartContextSwitch' 返回正確的類定義位置和行號"
|
|
34
|
-
- "搜索 kind=interface 返回專案中所有介面定義"
|
|
35
|
-
- "結果包含行號,格式為 file_path:line_number"
|
|
36
|
-
- "空結果時返回友好提示"
|
|
37
|
-
|
|
38
|
-
technical_notes:
|
|
39
|
-
- "複用 TASK_165 建立的 SymbolIndex 類"
|
|
40
|
-
- "MCP 工具定義格式參考現有 cortex_search 的實現"
|
|
41
|
-
- "考慮大型專案的結果分頁或 top_k 限制"
|
|
42
|
-
|
|
43
|
-
estimated_hours: 4
|
|
44
|
-
complexity: "simple"
|
|
45
|
-
|
|
46
|
-
metadata:
|
|
47
|
-
created_at: "2026-02-12T00:00:00+08:00"
|
|
48
|
-
created_by: "PM Lead"
|