maestro-flow 0.5.35 → 0.5.37
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/.agents/agents/cli-explore-agent.md +72 -69
- package/.agents/agents/role-design-author.md +1 -1
- package/.agents/agents/team-supervisor.md +131 -131
- package/.agents/agents/ui-design-agent.md +1 -1
- package/.agents/agents/workflow-analyzer.md +1 -0
- package/.agents/agents/workflow-codebase-mapper.md +67 -67
- package/.agents/agents/workflow-collab-planner.md +1 -1
- package/.agents/agents/workflow-debugger.md +2 -1
- package/.agents/agents/workflow-executor.md +3 -2
- package/.agents/agents/workflow-external-researcher.md +78 -78
- package/.agents/agents/workflow-nyquist-auditor.md +1 -1
- package/.agents/agents/workflow-plan-checker.md +1 -1
- package/.agents/agents/workflow-planner.md +1 -1
- package/.agents/agents/workflow-project-researcher.md +63 -63
- package/.agents/agents/workflow-research-synthesizer.md +63 -63
- package/.agents/agents/workflow-reviewer.md +73 -73
- package/.agents/agents/workflow-verifier.md +1 -1
- package/.agents/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agents/skills/delegation-check/SKILL.md +292 -292
- package/.agents/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.agents/skills/domain-add/SKILL.md +71 -0
- package/.agents/skills/learn-follow/SKILL.md +114 -114
- package/.agents/skills/learn-investigate/SKILL.md +138 -138
- package/.agents/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agents/skills/maestro/SKILL.md +227 -226
- package/.agents/skills/maestro-amend/SKILL.md +150 -152
- package/.agents/skills/maestro-analyze/SKILL.md +210 -201
- package/.agents/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agents/skills/maestro-brainstorm/SKILL.md +205 -196
- package/.agents/skills/maestro-collab/SKILL.md +173 -160
- package/.agents/skills/maestro-companion/SKILL.md +517 -517
- package/.agents/skills/maestro-composer/SKILL.md +173 -173
- package/.agents/skills/maestro-execute/SKILL.md +169 -169
- package/.agents/skills/maestro-fork/SKILL.md +97 -97
- package/.agents/skills/maestro-grill/SKILL.md +161 -161
- package/.agents/skills/maestro-guard/SKILL.md +93 -93
- package/.agents/skills/maestro-help/index/catalog.json +1 -1
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agents/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agents/skills/maestro-init/SKILL.md +117 -117
- package/.agents/skills/maestro-merge/SKILL.md +73 -73
- package/.agents/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agents/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agents/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agents/skills/maestro-next/SKILL.md +252 -241
- package/.agents/skills/maestro-overlay/SKILL.md +177 -176
- package/.agents/skills/maestro-plan/SKILL.md +222 -213
- package/.agents/skills/maestro-player/SKILL.md +167 -167
- package/.agents/skills/maestro-quick/SKILL.md +69 -69
- package/.agents/skills/maestro-ralph/SKILL.md +831 -756
- package/.agents/skills/maestro-ralph-execute/SKILL.md +276 -276
- package/.agents/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agents/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agents/skills/maestro-tools-register/SKILL.md +142 -148
- package/.agents/skills/maestro-ui-codify/SKILL.md +101 -103
- package/.agents/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agents/skills/maestro-update/SKILL.md +109 -109
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agents/skills/manage-harvest/SKILL.md +86 -86
- package/.agents/skills/manage-issue/SKILL.md +59 -59
- package/.agents/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agents/skills/manage-kg-extractors/SKILL.md +2 -4
- package/.agents/skills/manage-knowhow/SKILL.md +70 -70
- package/.agents/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agents/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agents/skills/manage-status/SKILL.md +52 -52
- package/.agents/skills/manage-wiki/SKILL.md +69 -69
- package/.agents/skills/odyssey-debug/SKILL.md +465 -465
- package/.agents/skills/odyssey-improve/SKILL.md +496 -496
- package/.agents/skills/odyssey-planex/SKILL.md +594 -594
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agents/skills/odyssey-ui/SKILL.md +450 -450
- package/.agents/skills/prompt-generator/SKILL.md +465 -465
- package/.agents/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agents/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agents/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agents/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agents/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agents/skills/quality-auto-test/SKILL.md +140 -140
- package/.agents/skills/quality-debug/SKILL.md +145 -145
- package/.agents/skills/quality-refactor/SKILL.md +91 -91
- package/.agents/skills/quality-retrospective/SKILL.md +109 -109
- package/.agents/skills/quality-review/SKILL.md +144 -144
- package/.agents/skills/quality-sync/SKILL.md +74 -74
- package/.agents/skills/quality-test/SKILL.md +157 -159
- package/.agents/skills/scholar-anti-ai-writing/SKILL.md +168 -168
- package/.agents/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agents/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agents/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agents/skills/scholar-citation-verify/SKILL.md +161 -161
- package/.agents/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agents/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agents/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agents/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agents/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agents/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agents/skills/scholar-experiment/SKILL.md +316 -316
- package/.agents/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agents/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agents/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agents/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agents/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agents/skills/scholar-ideation/SKILL.md +283 -283
- package/.agents/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agents/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agents/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agents/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agents/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agents/skills/scholar-latex-organizer/SKILL.md +181 -181
- package/.agents/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agents/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agents/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agents/skills/scholar-publish/SKILL.md +215 -215
- package/.agents/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agents/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agents/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agents/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agents/skills/scholar-rebuttal-pro/SKILL.md +507 -507
- package/.agents/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agents/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agents/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agents/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agents/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agents/skills/scholar-review/SKILL.md +222 -222
- package/.agents/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agents/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agents/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agents/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agents/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agents/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agents/skills/scholar-thesis-docx/README.md +111 -111
- package/.agents/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agents/skills/scholar-thesis-docx/SKILL.md +208 -208
- package/.agents/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agents/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agents/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agents/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agents/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agents/skills/scholar-writing/SKILL.md +291 -291
- package/.agents/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agents/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agents/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agents/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agents/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agents/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agents/skills/security-audit/SKILL.md +217 -217
- package/.agents/skills/skill-generator/SKILL.md +465 -465
- package/.agents/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agents/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agents/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agents/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agents/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agents/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.agents/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agents/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agents/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agents/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agents/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agents/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agents/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agents/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agents/skills/skill-generator/templates/script-template.md +368 -368
- package/.agents/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.agents/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agents/skills/skill-iter-tune/SKILL.md +378 -378
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agents/skills/skill-simplify/SKILL.md +58 -58
- package/.agents/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agents/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agents/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agents/skills/skill-tuning/SKILL.md +170 -170
- package/.agents/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agents/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agents/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agents/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agents/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agents/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agents/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agents/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agents/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agents/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agents/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agents/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agents/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agents/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agents/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agents/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agents/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agents/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agents/skills/spec-add/SKILL.md +66 -66
- package/.agents/skills/spec-load/SKILL.md +67 -68
- package/.agents/skills/spec-remove/SKILL.md +42 -42
- package/.agents/skills/spec-setup/SKILL.md +37 -38
- package/.agents/skills/team-arch-opt/SKILL.md +153 -153
- package/.agents/skills/team-arch-opt/roles/analyzer/role.md +80 -80
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agents/skills/team-arch-opt/roles/designer/role.md +109 -109
- package/.agents/skills/team-arch-opt/roles/refactorer/role.md +98 -98
- package/.agents/skills/team-arch-opt/roles/reviewer/role.md +105 -105
- package/.agents/skills/team-arch-opt/roles/validator/role.md +109 -109
- package/.agents/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agents/skills/team-brainstorm/SKILL.md +166 -166
- package/.agents/skills/team-brainstorm/roles/challenger/role.md +55 -55
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.agents/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-brainstorm/roles/evaluator/role.md +50 -50
- package/.agents/skills/team-brainstorm/roles/ideator/role.md +63 -63
- package/.agents/skills/team-brainstorm/roles/synthesizer/role.md +51 -51
- package/.agents/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agents/skills/team-coordinate/SKILL.md +261 -261
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +360 -360
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agents/skills/team-designer/SKILL.md +155 -155
- package/.agents/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agents/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agents/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agents/skills/team-designer/phases/04-validation.md +329 -329
- package/.agents/skills/team-executor/SKILL.md +184 -184
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.agents/skills/team-executor/roles/executor/role.md +171 -171
- package/.agents/skills/team-executor/specs/session-schema.md +264 -264
- package/.agents/skills/team-frontend/SKILL.md +131 -131
- package/.agents/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agents/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agents/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agents/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.agents/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agents/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agents/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agents/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agents/skills/team-frontend-debug/SKILL.md +193 -193
- package/.agents/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agents/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agents/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agents/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agents/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agents/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agents/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agents/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agents/skills/team-interactive-craft/SKILL.md +136 -136
- package/.agents/skills/team-interactive-craft/roles/a11y-tester/role.md +153 -153
- package/.agents/skills/team-interactive-craft/roles/builder/role.md +210 -210
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.agents/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agents/skills/team-interactive-craft/roles/interaction-designer/role.md +138 -138
- package/.agents/skills/team-interactive-craft/roles/researcher/role.md +125 -125
- package/.agents/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agents/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agents/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agents/skills/team-issue/SKILL.md +166 -166
- package/.agents/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agents/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.agents/skills/team-issue/roles/coordinator/role.md +172 -172
- package/.agents/skills/team-issue/roles/explorer/role.md +96 -96
- package/.agents/skills/team-issue/roles/implementer/role.md +81 -81
- package/.agents/skills/team-issue/roles/integrator/role.md +78 -78
- package/.agents/skills/team-issue/roles/planner/role.md +74 -74
- package/.agents/skills/team-issue/roles/reviewer/role.md +80 -80
- package/.agents/skills/team-issue/specs/pipelines.md +124 -124
- package/.agents/skills/team-lifecycle-v4/SKILL.md +204 -204
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +14 -8
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agents/skills/team-motion-design/SKILL.md +137 -137
- package/.agents/skills/team-motion-design/roles/animator/role.md +188 -188
- package/.agents/skills/team-motion-design/roles/choreographer/role.md +158 -158
- package/.agents/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agents/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agents/skills/team-motion-design/roles/motion-researcher/role.md +109 -109
- package/.agents/skills/team-motion-design/roles/motion-tester/role.md +169 -169
- package/.agents/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agents/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agents/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agents/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agents/skills/team-perf-opt/SKILL.md +170 -170
- package/.agents/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.agents/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agents/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agents/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agents/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agents/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agents/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agents/skills/team-planex/SKILL.md +132 -132
- package/.agents/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agents/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.agents/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-planex/roles/executor/role.md +83 -83
- package/.agents/skills/team-planex/roles/planner/role.md +111 -111
- package/.agents/skills/team-planex/specs/pipelines.md +93 -93
- package/.agents/skills/team-quality-assurance/SKILL.md +142 -142
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +70 -66
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agents/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agents/skills/team-review/SKILL.md +142 -142
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agents/skills/team-review/roles/fixer/role.md +68 -68
- package/.agents/skills/team-review/specs/dimensions.md +82 -82
- package/.agents/skills/team-review/specs/pipelines.md +102 -102
- package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agents/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agents/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agents/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agents/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agents/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agents/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agents/skills/team-swarm/SKILL.md +173 -173
- package/.agents/skills/team-tech-debt/SKILL.md +123 -123
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +71 -71
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agents/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agents/skills/team-tech-debt/roles/planner/role.md +63 -63
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +84 -84
- package/.agents/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agents/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agents/skills/team-testing/SKILL.md +138 -138
- package/.agents/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agents/skills/team-testing/roles/executor/role.md +2 -2
- package/.agents/skills/team-testing/roles/generator/role.md +1 -1
- package/.agents/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agents/skills/team-testing/specs/pipelines.md +101 -101
- package/.agents/skills/team-ui-polish/SKILL.md +136 -136
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.agents/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agents/skills/team-ui-polish/roles/diagnostician/role.md +154 -154
- package/.agents/skills/team-ui-polish/roles/optimizer/role.md +219 -219
- package/.agents/skills/team-ui-polish/roles/scanner/role.md +350 -350
- package/.agents/skills/team-ui-polish/roles/verifier/role.md +136 -136
- package/.agents/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agents/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agents/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agents/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agents/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agents/skills/team-uidesign/SKILL.md +139 -139
- package/.agents/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agents/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agents/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agents/skills/team-uidesign/roles/designer/role.md +87 -87
- package/.agents/skills/team-uidesign/roles/implementer/role.md +88 -88
- package/.agents/skills/team-uidesign/roles/researcher/role.md +95 -95
- package/.agents/skills/team-uidesign/roles/reviewer/role.md +63 -63
- package/.agents/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agents/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agents/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agents/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agents/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agents/skills/team-ultra-analyze/SKILL.md +168 -168
- package/.agents/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.agents/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agents/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agents/skills/team-ultra-analyze/roles/explorer/role.md +74 -67
- package/.agents/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agents/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agents/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agents/skills/team-ux-improve/SKILL.md +146 -146
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.agents/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agents/skills/team-ux-improve/roles/designer/role.md +146 -146
- package/.agents/skills/team-ux-improve/roles/diagnoser/role.md +102 -102
- package/.agents/skills/team-ux-improve/roles/explorer/role.md +71 -71
- package/.agents/skills/team-ux-improve/roles/implementer/role.md +96 -96
- package/.agents/skills/team-ux-improve/roles/scanner/role.md +129 -129
- package/.agents/skills/team-ux-improve/roles/tester/role.md +78 -78
- package/.agents/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agents/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agents/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agents/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agents/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agents/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agents/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agents/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agents/skills/team-visual-a11y/SKILL.md +151 -151
- package/.agents/skills/team-visual-a11y/roles/color-auditor/role.md +172 -172
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.agents/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agents/skills/team-visual-a11y/roles/fix-implementer/role.md +240 -240
- package/.agents/skills/team-visual-a11y/roles/focus-auditor/role.md +216 -216
- package/.agents/skills/team-visual-a11y/roles/remediation-planner/role.md +200 -200
- package/.agents/skills/team-visual-a11y/roles/typo-auditor/role.md +179 -179
- package/.agents/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agents/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agents/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agents/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agents/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.agy/agents/cli-explore-agent.md +72 -69
- package/.agy/agents/role-design-author.md +1 -1
- package/.agy/agents/team-supervisor.md +131 -131
- package/.agy/agents/ui-design-agent.md +1 -1
- package/.agy/agents/workflow-analyzer.md +1 -0
- package/.agy/agents/workflow-codebase-mapper.md +67 -67
- package/.agy/agents/workflow-collab-planner.md +1 -1
- package/.agy/agents/workflow-debugger.md +2 -1
- package/.agy/agents/workflow-executor.md +3 -2
- package/.agy/agents/workflow-external-researcher.md +78 -78
- package/.agy/agents/workflow-nyquist-auditor.md +1 -1
- package/.agy/agents/workflow-plan-checker.md +1 -1
- package/.agy/agents/workflow-planner.md +1 -1
- package/.agy/agents/workflow-project-researcher.md +63 -63
- package/.agy/agents/workflow-research-synthesizer.md +63 -63
- package/.agy/agents/workflow-reviewer.md +73 -73
- package/.agy/agents/workflow-verifier.md +1 -1
- package/.agy/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agy/skills/delegation-check/SKILL.md +297 -292
- package/.agy/skills/delegation-check/specs/separation-rules.md +248 -248
- package/.agy/skills/domain-add/SKILL.md +68 -0
- package/.agy/skills/learn-follow/SKILL.md +114 -114
- package/.agy/skills/learn-investigate/SKILL.md +138 -138
- package/.agy/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agy/skills/maestro/SKILL.md +227 -226
- package/.agy/skills/maestro-amend/SKILL.md +150 -152
- package/.agy/skills/maestro-analyze/SKILL.md +210 -201
- package/.agy/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agy/skills/maestro-brainstorm/SKILL.md +205 -196
- package/.agy/skills/maestro-collab/SKILL.md +173 -160
- package/.agy/skills/maestro-companion/SKILL.md +517 -517
- package/.agy/skills/maestro-composer/SKILL.md +173 -173
- package/.agy/skills/maestro-execute/SKILL.md +169 -169
- package/.agy/skills/maestro-fork/SKILL.md +97 -97
- package/.agy/skills/maestro-grill/SKILL.md +161 -161
- package/.agy/skills/maestro-guard/SKILL.md +93 -93
- package/.agy/skills/maestro-help/index/catalog.json +1 -1
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agy/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agy/skills/maestro-init/SKILL.md +117 -117
- package/.agy/skills/maestro-merge/SKILL.md +73 -73
- package/.agy/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agy/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agy/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agy/skills/maestro-next/SKILL.md +252 -241
- package/.agy/skills/maestro-overlay/SKILL.md +177 -176
- package/.agy/skills/maestro-plan/SKILL.md +222 -213
- package/.agy/skills/maestro-player/SKILL.md +167 -167
- package/.agy/skills/maestro-quick/SKILL.md +69 -69
- package/.agy/skills/maestro-ralph/SKILL.md +831 -756
- package/.agy/skills/maestro-ralph-execute/SKILL.md +276 -276
- package/.agy/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agy/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agy/skills/maestro-tools-register/SKILL.md +142 -148
- package/.agy/skills/maestro-ui-codify/SKILL.md +101 -103
- package/.agy/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agy/skills/maestro-update/SKILL.md +109 -109
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agy/skills/manage-harvest/SKILL.md +86 -86
- package/.agy/skills/manage-issue/SKILL.md +59 -59
- package/.agy/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agy/skills/manage-kg-extractors/SKILL.md +2 -4
- package/.agy/skills/manage-knowhow/SKILL.md +70 -70
- package/.agy/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agy/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agy/skills/manage-status/SKILL.md +52 -52
- package/.agy/skills/manage-wiki/SKILL.md +69 -69
- package/.agy/skills/odyssey-debug/SKILL.md +465 -465
- package/.agy/skills/odyssey-improve/SKILL.md +496 -496
- package/.agy/skills/odyssey-planex/SKILL.md +594 -594
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agy/skills/odyssey-ui/SKILL.md +450 -450
- package/.agy/skills/prompt-generator/SKILL.md +472 -465
- package/.agy/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agy/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agy/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agy/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agy/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agy/skills/quality-auto-test/SKILL.md +140 -140
- package/.agy/skills/quality-debug/SKILL.md +145 -145
- package/.agy/skills/quality-refactor/SKILL.md +91 -91
- package/.agy/skills/quality-retrospective/SKILL.md +109 -109
- package/.agy/skills/quality-review/SKILL.md +144 -144
- package/.agy/skills/quality-sync/SKILL.md +74 -74
- package/.agy/skills/quality-test/SKILL.md +157 -159
- package/.agy/skills/scholar-anti-ai-writing/SKILL.md +175 -168
- package/.agy/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agy/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agy/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agy/skills/scholar-citation-verify/SKILL.md +170 -161
- package/.agy/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agy/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agy/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agy/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agy/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agy/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agy/skills/scholar-experiment/SKILL.md +323 -316
- package/.agy/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agy/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agy/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agy/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agy/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agy/skills/scholar-ideation/SKILL.md +292 -283
- package/.agy/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agy/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agy/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agy/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agy/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agy/skills/scholar-latex-organizer/SKILL.md +190 -181
- package/.agy/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agy/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agy/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agy/skills/scholar-publish/SKILL.md +222 -215
- package/.agy/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agy/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agy/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agy/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agy/skills/scholar-rebuttal-pro/SKILL.md +518 -507
- package/.agy/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agy/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agy/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agy/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agy/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agy/skills/scholar-review/SKILL.md +231 -222
- package/.agy/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agy/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agy/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agy/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agy/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agy/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agy/skills/scholar-thesis-docx/README.md +111 -111
- package/.agy/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agy/skills/scholar-thesis-docx/SKILL.md +209 -208
- package/.agy/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agy/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agy/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agy/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agy/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agy/skills/scholar-writing/SKILL.md +301 -291
- package/.agy/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agy/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agy/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agy/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agy/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agy/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agy/skills/security-audit/SKILL.md +217 -217
- package/.agy/skills/skill-generator/SKILL.md +475 -465
- package/.agy/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agy/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agy/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agy/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agy/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agy/skills/skill-generator/specs/cli-integration.md +418 -418
- package/.agy/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agy/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agy/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agy/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agy/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agy/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agy/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agy/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agy/skills/skill-generator/templates/script-template.md +368 -368
- package/.agy/skills/skill-generator/templates/sequential-phase.md +470 -470
- package/.agy/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agy/skills/skill-iter-tune/SKILL.md +389 -378
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agy/skills/skill-simplify/SKILL.md +65 -58
- package/.agy/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agy/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agy/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agy/skills/skill-tuning/SKILL.md +180 -170
- package/.agy/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agy/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agy/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agy/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agy/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agy/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agy/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agy/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agy/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agy/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agy/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agy/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agy/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agy/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agy/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agy/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agy/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agy/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agy/skills/spec-add/SKILL.md +66 -66
- package/.agy/skills/spec-load/SKILL.md +67 -68
- package/.agy/skills/spec-remove/SKILL.md +42 -42
- package/.agy/skills/spec-setup/SKILL.md +37 -38
- package/.agy/skills/team-arch-opt/SKILL.md +142 -130
- package/.agy/skills/team-arch-opt/roles/analyzer/role.md +81 -80
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agy/skills/team-arch-opt/roles/designer/role.md +110 -109
- package/.agy/skills/team-arch-opt/roles/refactorer/role.md +99 -98
- package/.agy/skills/team-arch-opt/roles/reviewer/role.md +106 -105
- package/.agy/skills/team-arch-opt/roles/validator/role.md +110 -109
- package/.agy/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agy/skills/team-brainstorm/SKILL.md +132 -120
- package/.agy/skills/team-brainstorm/roles/challenger/role.md +56 -55
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/monitor.md +171 -171
- package/.agy/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-brainstorm/roles/evaluator/role.md +51 -50
- package/.agy/skills/team-brainstorm/roles/ideator/role.md +64 -63
- package/.agy/skills/team-brainstorm/roles/synthesizer/role.md +52 -51
- package/.agy/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agy/skills/team-coordinate/SKILL.md +250 -238
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +336 -336
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +361 -360
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agy/skills/team-designer/SKILL.md +167 -155
- package/.agy/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agy/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agy/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agy/skills/team-designer/phases/04-validation.md +329 -329
- package/.agy/skills/team-executor/SKILL.md +174 -162
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +223 -223
- package/.agy/skills/team-executor/roles/executor/role.md +171 -171
- package/.agy/skills/team-executor/specs/session-schema.md +264 -264
- package/.agy/skills/team-frontend/SKILL.md +122 -108
- package/.agy/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agy/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agy/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agy/skills/team-frontend/roles/coordinator/commands/monitor.md +210 -210
- package/.agy/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agy/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agy/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agy/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agy/skills/team-frontend-debug/SKILL.md +183 -170
- package/.agy/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agy/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agy/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agy/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agy/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agy/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agy/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agy/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agy/skills/team-interactive-craft/SKILL.md +128 -113
- package/.agy/skills/team-interactive-craft/roles/a11y-tester/role.md +154 -153
- package/.agy/skills/team-interactive-craft/roles/builder/role.md +211 -210
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agy/skills/team-interactive-craft/roles/interaction-designer/role.md +139 -138
- package/.agy/skills/team-interactive-craft/roles/researcher/role.md +126 -125
- package/.agy/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agy/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agy/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agy/skills/team-issue/SKILL.md +132 -120
- package/.agy/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agy/skills/team-issue/roles/coordinator/commands/monitor.md +183 -183
- package/.agy/skills/team-issue/roles/coordinator/role.md +173 -172
- package/.agy/skills/team-issue/roles/explorer/role.md +97 -96
- package/.agy/skills/team-issue/roles/implementer/role.md +82 -81
- package/.agy/skills/team-issue/roles/integrator/role.md +79 -78
- package/.agy/skills/team-issue/roles/planner/role.md +75 -74
- package/.agy/skills/team-issue/roles/reviewer/role.md +81 -80
- package/.agy/skills/team-issue/specs/pipelines.md +124 -124
- package/.agy/skills/team-lifecycle-v4/SKILL.md +170 -158
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +14 -8
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agy/skills/team-motion-design/SKILL.md +134 -114
- package/.agy/skills/team-motion-design/roles/animator/role.md +189 -188
- package/.agy/skills/team-motion-design/roles/choreographer/role.md +159 -158
- package/.agy/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agy/skills/team-motion-design/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agy/skills/team-motion-design/roles/motion-researcher/role.md +110 -109
- package/.agy/skills/team-motion-design/roles/motion-tester/role.md +170 -169
- package/.agy/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agy/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agy/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agy/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agy/skills/team-perf-opt/SKILL.md +159 -147
- package/.agy/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/monitor.md +339 -339
- package/.agy/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agy/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agy/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agy/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agy/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agy/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agy/skills/team-planex/SKILL.md +120 -108
- package/.agy/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agy/skills/team-planex/roles/coordinator/commands/monitor.md +174 -174
- package/.agy/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-planex/roles/executor/role.md +83 -83
- package/.agy/skills/team-planex/roles/planner/role.md +111 -111
- package/.agy/skills/team-planex/specs/pipelines.md +93 -93
- package/.agy/skills/team-quality-assurance/SKILL.md +131 -119
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +223 -223
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +70 -66
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agy/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agy/skills/team-review/SKILL.md +131 -119
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +197 -197
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agy/skills/team-review/roles/fixer/role.md +68 -68
- package/.agy/skills/team-review/specs/dimensions.md +82 -82
- package/.agy/skills/team-review/specs/pipelines.md +102 -102
- package/.agy/skills/team-roadmap-dev/SKILL.md +153 -141
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +448 -448
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agy/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agy/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agy/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agy/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agy/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agy/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agy/skills/team-swarm/SKILL.md +159 -147
- package/.agy/skills/team-tech-debt/SKILL.md +115 -100
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +72 -71
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +186 -186
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agy/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agy/skills/team-tech-debt/roles/planner/role.md +64 -63
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +85 -84
- package/.agy/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agy/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agy/skills/team-testing/SKILL.md +127 -115
- package/.agy/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +230 -230
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agy/skills/team-testing/roles/executor/role.md +2 -2
- package/.agy/skills/team-testing/roles/generator/role.md +1 -1
- package/.agy/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agy/skills/team-testing/specs/pipelines.md +101 -101
- package/.agy/skills/team-ui-polish/SKILL.md +132 -113
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/monitor.md +189 -189
- package/.agy/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agy/skills/team-ui-polish/roles/diagnostician/role.md +155 -154
- package/.agy/skills/team-ui-polish/roles/optimizer/role.md +220 -219
- package/.agy/skills/team-ui-polish/roles/scanner/role.md +351 -350
- package/.agy/skills/team-ui-polish/roles/verifier/role.md +137 -136
- package/.agy/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agy/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agy/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agy/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agy/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agy/skills/team-uidesign/SKILL.md +131 -116
- package/.agy/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agy/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agy/skills/team-uidesign/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agy/skills/team-uidesign/roles/designer/role.md +88 -87
- package/.agy/skills/team-uidesign/roles/implementer/role.md +89 -88
- package/.agy/skills/team-uidesign/roles/researcher/role.md +96 -95
- package/.agy/skills/team-uidesign/roles/reviewer/role.md +64 -63
- package/.agy/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agy/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agy/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agy/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agy/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agy/skills/team-ultra-analyze/SKILL.md +156 -144
- package/.agy/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +344 -344
- package/.agy/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agy/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agy/skills/team-ultra-analyze/roles/explorer/role.md +74 -67
- package/.agy/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agy/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agy/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agy/skills/team-ux-improve/SKILL.md +138 -123
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/monitor.md +163 -163
- package/.agy/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agy/skills/team-ux-improve/roles/designer/role.md +147 -146
- package/.agy/skills/team-ux-improve/roles/diagnoser/role.md +103 -102
- package/.agy/skills/team-ux-improve/roles/explorer/role.md +72 -71
- package/.agy/skills/team-ux-improve/roles/implementer/role.md +97 -96
- package/.agy/skills/team-ux-improve/roles/scanner/role.md +130 -129
- package/.agy/skills/team-ux-improve/roles/tester/role.md +79 -78
- package/.agy/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agy/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agy/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agy/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agy/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agy/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agy/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agy/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agy/skills/team-visual-a11y/SKILL.md +149 -128
- package/.agy/skills/team-visual-a11y/roles/color-auditor/role.md +173 -172
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +213 -213
- package/.agy/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agy/skills/team-visual-a11y/roles/fix-implementer/role.md +241 -240
- package/.agy/skills/team-visual-a11y/roles/focus-auditor/role.md +217 -216
- package/.agy/skills/team-visual-a11y/roles/remediation-planner/role.md +201 -200
- package/.agy/skills/team-visual-a11y/roles/typo-auditor/role.md +180 -179
- package/.agy/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agy/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agy/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agy/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agy/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.claude/agents/cli-explore-agent.md +72 -69
- package/.claude/agents/role-design-author.md +1 -1
- package/.claude/agents/team-supervisor.md +143 -143
- package/.claude/agents/ui-design-agent.md +1 -1
- package/.claude/agents/workflow-analyzer.md +1 -0
- package/.claude/agents/workflow-codebase-mapper.md +77 -77
- package/.claude/agents/workflow-collab-planner.md +1 -1
- package/.claude/agents/workflow-debugger.md +2 -1
- package/.claude/agents/workflow-executor.md +3 -2
- package/.claude/agents/workflow-external-researcher.md +86 -86
- package/.claude/agents/workflow-nyquist-auditor.md +1 -1
- package/.claude/agents/workflow-plan-checker.md +1 -1
- package/.claude/agents/workflow-planner.md +1 -1
- package/.claude/agents/workflow-project-researcher.md +74 -74
- package/.claude/agents/workflow-research-synthesizer.md +70 -70
- package/.claude/agents/workflow-reviewer.md +82 -82
- package/.claude/agents/workflow-verifier.md +1 -1
- package/.claude/commands/domain-add.md +69 -0
- package/.claude/commands/learn-follow.md +127 -127
- package/.claude/commands/learn-investigate.md +151 -151
- package/.claude/commands/learn-second-opinion.md +118 -118
- package/.claude/commands/maestro-amend.md +162 -164
- package/.claude/commands/maestro-analyze.md +224 -215
- package/.claude/commands/maestro-blueprint.md +189 -189
- package/.claude/commands/maestro-brainstorm.md +218 -209
- package/.claude/commands/maestro-collab.md +185 -172
- package/.claude/commands/maestro-companion.md +531 -531
- package/.claude/commands/maestro-composer.md +188 -188
- package/.claude/commands/maestro-execute.md +183 -183
- package/.claude/commands/maestro-fork.md +111 -111
- package/.claude/commands/maestro-grill.md +175 -175
- package/.claude/commands/maestro-guard.md +103 -103
- package/.claude/commands/maestro-impeccable.md +311 -311
- package/.claude/commands/maestro-init.md +130 -130
- package/.claude/commands/maestro-merge.md +87 -87
- package/.claude/commands/maestro-milestone-audit.md +139 -139
- package/.claude/commands/maestro-milestone-complete.md +136 -136
- package/.claude/commands/maestro-milestone-release.md +136 -136
- package/.claude/commands/maestro-next.md +264 -253
- package/.claude/commands/maestro-overlay.md +189 -188
- package/.claude/commands/maestro-plan.md +236 -227
- package/.claude/commands/maestro-player.md +182 -182
- package/.claude/commands/maestro-quick.md +83 -83
- package/.claude/commands/maestro-ralph-execute.md +289 -289
- package/.claude/commands/maestro-ralph.md +845 -770
- package/.claude/commands/maestro-roadmap.md +173 -173
- package/.claude/commands/maestro-swarm-workflow.md +243 -243
- package/.claude/commands/maestro-tools-execute.md +122 -122
- package/.claude/commands/maestro-tools-register.md +156 -162
- package/.claude/commands/maestro-ui-codify.md +115 -117
- package/.claude/commands/maestro-universal-workflow.md +548 -548
- package/.claude/commands/maestro-update.md +122 -122
- package/.claude/commands/maestro.md +242 -241
- package/.claude/commands/manage-codebase-rebuild.md +87 -87
- package/.claude/commands/manage-harvest.md +100 -100
- package/.claude/commands/manage-issue-discover.md +83 -83
- package/.claude/commands/manage-issue.md +72 -72
- package/.claude/commands/manage-kg-extractors.md +2 -4
- package/.claude/commands/manage-knowhow-capture.md +92 -92
- package/.claude/commands/manage-knowhow.md +83 -83
- package/.claude/commands/manage-knowledge-audit.md +134 -134
- package/.claude/commands/manage-status.md +62 -62
- package/.claude/commands/manage-wiki.md +82 -82
- package/.claude/commands/odyssey-debug.md +479 -479
- package/.claude/commands/odyssey-improve.md +510 -510
- package/.claude/commands/odyssey-planex.md +608 -608
- package/.claude/commands/odyssey-review-test-fix.md +436 -436
- package/.claude/commands/odyssey-ui.md +464 -464
- package/.claude/commands/quality-auto-test.md +153 -153
- package/.claude/commands/quality-debug.md +159 -159
- package/.claude/commands/quality-refactor.md +105 -105
- package/.claude/commands/quality-retrospective.md +123 -123
- package/.claude/commands/quality-review.md +158 -158
- package/.claude/commands/quality-sync.md +88 -88
- package/.claude/commands/quality-test.md +171 -173
- package/.claude/commands/security-audit.md +230 -230
- package/.claude/commands/spec-add.md +77 -77
- package/.claude/commands/spec-load.md +77 -78
- package/.claude/commands/spec-remove.md +55 -55
- package/.claude/commands/spec-setup.md +48 -49
- package/.claude/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.claude/skills/delegation-check/SKILL.md +297 -297
- package/.claude/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.claude/skills/maestro-help/index/catalog.json +1 -1
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.claude/skills/prompt-generator/SKILL.md +470 -470
- package/.claude/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.claude/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.claude/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.claude/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.claude/skills/prompt-generator/templates/command-md.md +118 -118
- package/.claude/skills/scholar-anti-ai-writing/SKILL.md +173 -173
- package/.claude/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.claude/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.claude/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.claude/skills/scholar-citation-verify/SKILL.md +166 -166
- package/.claude/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.claude/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.claude/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.claude/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.claude/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.claude/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.claude/skills/scholar-experiment/SKILL.md +321 -321
- package/.claude/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.claude/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.claude/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.claude/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.claude/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.claude/skills/scholar-ideation/SKILL.md +288 -288
- package/.claude/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.claude/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.claude/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.claude/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.claude/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.claude/skills/scholar-latex-organizer/SKILL.md +186 -186
- package/.claude/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.claude/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.claude/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.claude/skills/scholar-publish/SKILL.md +220 -220
- package/.claude/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.claude/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.claude/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.claude/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.claude/skills/scholar-rebuttal-pro/SKILL.md +511 -511
- package/.claude/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.claude/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.claude/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.claude/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.claude/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.claude/skills/scholar-review/SKILL.md +227 -227
- package/.claude/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.claude/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.claude/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.claude/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.claude/skills/scholar-review/phases/05-revision.md +183 -183
- package/.claude/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.claude/skills/scholar-thesis-docx/README.md +111 -111
- package/.claude/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.claude/skills/scholar-thesis-docx/SKILL.md +212 -212
- package/.claude/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.claude/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.claude/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.claude/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.claude/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.claude/skills/scholar-writing/SKILL.md +296 -296
- package/.claude/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.claude/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.claude/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.claude/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.claude/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.claude/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.claude/skills/skill-generator/SKILL.md +471 -471
- package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
- package/.claude/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.claude/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.claude/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.claude/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
- package/.claude/skills/skill-generator/templates/script-template.md +368 -368
- package/.claude/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.claude/skills/skill-generator/templates/skill-md.md +312 -312
- package/.claude/skills/skill-iter-tune/SKILL.md +382 -382
- package/.claude/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.claude/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.claude/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.claude/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.claude/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.claude/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.claude/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.claude/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.claude/skills/skill-simplify/SKILL.md +63 -63
- package/.claude/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.claude/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.claude/skills/skill-simplify/phases/03-check.md +224 -224
- package/.claude/skills/skill-tuning/SKILL.md +174 -174
- package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.claude/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.claude/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.claude/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.claude/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.claude/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.claude/skills/team-arch-opt/SKILL.md +158 -158
- package/.claude/skills/team-arch-opt/roles/analyzer/role.md +86 -86
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.claude/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.claude/skills/team-arch-opt/roles/refactorer/role.md +104 -104
- package/.claude/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.claude/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.claude/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.claude/skills/team-brainstorm/SKILL.md +171 -171
- package/.claude/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.claude/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.claude/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.claude/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.claude/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.claude/skills/team-coordinate/SKILL.md +266 -266
- package/.claude/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.claude/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.claude/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.claude/skills/team-coordinate/roles/coordinator/role.md +363 -363
- package/.claude/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.claude/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.claude/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.claude/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.claude/skills/team-designer/SKILL.md +160 -160
- package/.claude/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.claude/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.claude/skills/team-designer/phases/04-validation.md +329 -329
- package/.claude/skills/team-executor/SKILL.md +189 -189
- package/.claude/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.claude/skills/team-executor/roles/executor/role.md +171 -171
- package/.claude/skills/team-executor/specs/session-schema.md +264 -264
- package/.claude/skills/team-frontend/SKILL.md +136 -136
- package/.claude/skills/team-frontend/roles/analyst/role.md +100 -100
- package/.claude/skills/team-frontend/roles/architect/role.md +86 -86
- package/.claude/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.claude/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.claude/skills/team-frontend/roles/developer/role.md +93 -93
- package/.claude/skills/team-frontend/roles/qa/role.md +79 -79
- package/.claude/skills/team-frontend/specs/pipelines.md +76 -76
- package/.claude/skills/team-frontend-debug/SKILL.md +198 -198
- package/.claude/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.claude/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.claude/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.claude/skills/team-frontend-debug/roles/reproducer/role.md +155 -155
- package/.claude/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.claude/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.claude/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.claude/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.claude/skills/team-interactive-craft/SKILL.md +141 -141
- package/.claude/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -159
- package/.claude/skills/team-interactive-craft/roles/builder/role.md +216 -216
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.claude/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.claude/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -144
- package/.claude/skills/team-interactive-craft/roles/researcher/role.md +131 -131
- package/.claude/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.claude/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.claude/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.claude/skills/team-issue/SKILL.md +171 -171
- package/.claude/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.claude/skills/team-issue/roles/coordinator/role.md +175 -175
- package/.claude/skills/team-issue/roles/explorer/role.md +102 -102
- package/.claude/skills/team-issue/roles/implementer/role.md +87 -87
- package/.claude/skills/team-issue/roles/integrator/role.md +84 -84
- package/.claude/skills/team-issue/roles/planner/role.md +81 -81
- package/.claude/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.claude/skills/team-issue/specs/pipelines.md +124 -124
- package/.claude/skills/team-lifecycle-v4/SKILL.md +209 -209
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +14 -8
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.claude/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.claude/skills/team-lifecycle-v4/roles/executor/role.md +67 -67
- package/.claude/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-lifecycle-v4/roles/supervisor/role.md +192 -192
- package/.claude/skills/team-lifecycle-v4/roles/tester/role.md +87 -87
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.claude/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.claude/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.claude/skills/team-motion-design/SKILL.md +142 -142
- package/.claude/skills/team-motion-design/roles/animator/role.md +194 -194
- package/.claude/skills/team-motion-design/roles/choreographer/role.md +164 -164
- package/.claude/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.claude/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.claude/skills/team-motion-design/roles/motion-researcher/role.md +115 -115
- package/.claude/skills/team-motion-design/roles/motion-tester/role.md +175 -175
- package/.claude/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.claude/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.claude/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.claude/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.claude/skills/team-perf-opt/SKILL.md +175 -175
- package/.claude/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.claude/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.claude/skills/team-perf-opt/roles/optimizer/role.md +99 -99
- package/.claude/skills/team-perf-opt/roles/profiler/role.md +81 -81
- package/.claude/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.claude/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.claude/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.claude/skills/team-planex/SKILL.md +137 -137
- package/.claude/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.claude/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-planex/roles/executor/role.md +91 -91
- package/.claude/skills/team-planex/roles/planner/role.md +119 -119
- package/.claude/skills/team-planex/specs/pipelines.md +93 -93
- package/.claude/skills/team-quality-assurance/SKILL.md +147 -147
- package/.claude/skills/team-quality-assurance/roles/analyst/role.md +88 -88
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.claude/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.claude/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.claude/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.claude/skills/team-quality-assurance/roles/scout/role.md +79 -75
- package/.claude/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.claude/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.claude/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.claude/skills/team-review/SKILL.md +147 -147
- package/.claude/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.claude/skills/team-review/roles/coordinator/role.md +132 -132
- package/.claude/skills/team-review/roles/fixer/role.md +76 -76
- package/.claude/skills/team-review/specs/dimensions.md +82 -82
- package/.claude/skills/team-review/specs/pipelines.md +102 -102
- package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.claude/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.claude/skills/team-roadmap-dev/roles/executor/role.md +72 -72
- package/.claude/skills/team-roadmap-dev/roles/planner/role.md +86 -86
- package/.claude/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.claude/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.claude/skills/team-swarm/SKILL.md +178 -178
- package/.claude/skills/team-tech-debt/SKILL.md +128 -128
- package/.claude/skills/team-tech-debt/roles/assessor/role.md +77 -77
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.claude/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.claude/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.claude/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.claude/skills/team-tech-debt/roles/scanner/role.md +90 -90
- package/.claude/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.claude/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.claude/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.claude/skills/team-testing/SKILL.md +143 -143
- package/.claude/skills/team-testing/roles/analyst/role.md +103 -103
- package/.claude/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.claude/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.claude/skills/team-testing/roles/executor/role.md +2 -2
- package/.claude/skills/team-testing/roles/generator/role.md +1 -1
- package/.claude/skills/team-testing/roles/strategist/role.md +83 -83
- package/.claude/skills/team-testing/specs/pipelines.md +101 -101
- package/.claude/skills/team-ui-polish/SKILL.md +141 -141
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.claude/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.claude/skills/team-ui-polish/roles/diagnostician/role.md +160 -160
- package/.claude/skills/team-ui-polish/roles/optimizer/role.md +225 -225
- package/.claude/skills/team-ui-polish/roles/scanner/role.md +356 -356
- package/.claude/skills/team-ui-polish/roles/verifier/role.md +142 -142
- package/.claude/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.claude/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.claude/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.claude/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.claude/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.claude/skills/team-uidesign/SKILL.md +144 -144
- package/.claude/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.claude/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.claude/skills/team-uidesign/roles/designer/role.md +93 -93
- package/.claude/skills/team-uidesign/roles/implementer/role.md +94 -94
- package/.claude/skills/team-uidesign/roles/researcher/role.md +101 -101
- package/.claude/skills/team-uidesign/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.claude/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.claude/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.claude/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.claude/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.claude/skills/team-ultra-analyze/SKILL.md +173 -173
- package/.claude/skills/team-ultra-analyze/roles/analyst/role.md +98 -98
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.claude/skills/team-ultra-analyze/roles/discussant/role.md +107 -107
- package/.claude/skills/team-ultra-analyze/roles/explorer/role.md +82 -75
- package/.claude/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.claude/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.claude/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.claude/skills/team-ux-improve/SKILL.md +151 -151
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.claude/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.claude/skills/team-ux-improve/roles/designer/role.md +152 -152
- package/.claude/skills/team-ux-improve/roles/diagnoser/role.md +108 -108
- package/.claude/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.claude/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.claude/skills/team-ux-improve/roles/scanner/role.md +135 -135
- package/.claude/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.claude/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.claude/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.claude/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.claude/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.claude/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.claude/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.claude/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.claude/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.claude/skills/team-visual-a11y/SKILL.md +156 -156
- package/.claude/skills/team-visual-a11y/roles/color-auditor/role.md +178 -178
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.claude/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.claude/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -246
- package/.claude/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -222
- package/.claude/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -206
- package/.claude/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -185
- package/.claude/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.claude/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.claude/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.claude/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.claude/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.codex/skills/codify-to-knowhow/SKILL.md +3 -3
- package/.codex/skills/domain-add/SKILL.md +79 -0
- package/.codex/skills/domain-discover/SKILL.md +43 -0
- package/.codex/skills/domain-list/SKILL.md +38 -0
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-follow/SKILL.md +0 -3
- package/.codex/skills/learn-investigate/SKILL.md +1 -4
- package/.codex/skills/learn-retro/SKILL.md +0 -2
- package/.codex/skills/maestro/SKILL.md +565 -559
- package/.codex/skills/maestro-amend/SKILL.md +0 -2
- package/.codex/skills/maestro-analyze/SKILL.md +19 -6
- package/.codex/skills/maestro-blueprint/SKILL.md +2 -6
- package/.codex/skills/maestro-brainstorm/SKILL.md +19 -5
- package/.codex/skills/maestro-collab/SKILL.md +16 -3
- package/.codex/skills/maestro-companion/SKILL.md +5 -7
- package/.codex/skills/maestro-composer/SKILL.md +2 -2
- package/.codex/skills/maestro-execute/SKILL.md +2 -2
- package/.codex/skills/maestro-fork/SKILL.md +156 -158
- package/.codex/skills/maestro-grill/SKILL.md +2 -3
- package/.codex/skills/maestro-impeccable/SKILL.md +1 -1
- package/.codex/skills/maestro-init/SKILL.md +161 -161
- package/.codex/skills/maestro-milestone-audit/SKILL.md +202 -202
- package/.codex/skills/maestro-milestone-complete/SKILL.md +1 -1
- package/.codex/skills/maestro-next/SKILL.md +12 -5
- package/.codex/skills/maestro-overlay/SKILL.md +119 -119
- package/.codex/skills/maestro-plan/SKILL.md +18 -3
- package/.codex/skills/maestro-quick/SKILL.md +2 -2
- package/.codex/skills/maestro-ralph/SKILL.md +4 -3
- package/.codex/skills/maestro-roadmap/SKILL.md +2 -4
- package/.codex/skills/maestro-tools-execute/SKILL.md +3 -3
- package/.codex/skills/maestro-tools-register/SKILL.md +2 -2
- package/.codex/skills/maestro-ui-codify/SKILL.md +2 -2
- package/.codex/skills/manage-codebase-refresh/SKILL.md +72 -72
- package/.codex/skills/manage-issue/SKILL.md +88 -88
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-learn/SKILL.md +137 -137
- package/.codex/skills/manage-status/SKILL.md +75 -75
- package/.codex/skills/manage-wiki/SKILL.md +0 -2
- package/.codex/skills/odyssey-debug/SKILL.md +2 -4
- package/.codex/skills/odyssey-improve/SKILL.md +3 -9
- package/.codex/skills/odyssey-planex/SKILL.md +3 -3
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +2 -5
- package/.codex/skills/odyssey-ui/SKILL.md +3 -6
- package/.codex/skills/quality-debug/SKILL.md +1 -1
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-review/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +1 -1
- package/.codex/skills/spec-load/SKILL.md +1 -1
- package/.codex/skills/spec-setup/SKILL.md +73 -75
- package/.codex/skills/team-coordinate/SKILL.md +1 -4
- package/.codex/skills/team-lifecycle-v4/instructions/agent-instruction.md +0 -2
- package/.codex/skills/team-lifecycle-v4/roles/executor/role.md +3 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +1 -1
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +1 -1
- package/.codex/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.codex/skills/team-review/roles/reviewer/role.md +1 -1
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/planner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/validator/role.md +1 -1
- package/.codex/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.codex/skills/team-testing/roles/executor/role.md +2 -2
- package/.codex/skills/team-testing/roles/generator/role.md +1 -1
- package/chains/_intent-map.json +307 -277
- package/chains/_router.json +149 -168
- package/chains/blueprint-driven.json +49 -0
- package/chains/grill-driven.json +51 -0
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.d.ts +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +39 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-adapter.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.d.ts +0 -10
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js +0 -73
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +16 -23
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.d.ts +11 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +551 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.d.ts +6 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +114 -33
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.js +2 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +4 -0
- package/dashboard/dist-server/shared/agent-types.d.ts +3 -1
- package/dashboard/dist-server/src/commands/hooks.js +55 -3
- package/dashboard/dist-server/src/commands/hooks.js.map +1 -1
- package/dashboard/dist-server/src/commands/install-backend.d.ts +1 -1
- package/dashboard/dist-server/src/commands/install-backend.js +1 -1
- package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/graph-types.d.ts +6 -0
- package/dashboard/dist-server/src/coordinator/graph-walker.js +7 -2
- package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
- package/dashboard/dist-server/src/core/component-defs.d.ts +6 -0
- package/dashboard/dist-server/src/core/component-defs.js +15 -0
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.js +4 -2
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge-extractor-registry.js +6 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge-extractor-registry.js.map +1 -1
- package/dashboard/dist-server/src/hooks/session-context.js +37 -1
- package/dashboard/dist-server/src/hooks/session-context.js.map +1 -1
- package/dashboard/dist-server/src/hooks/spec-injector.js +7 -8
- package/dashboard/dist-server/src/hooks/spec-injector.js.map +1 -1
- package/dashboard/dist-server/src/search/daemon-client.d.ts +33 -0
- package/dashboard/dist-server/src/search/daemon-client.js +115 -0
- package/dashboard/dist-server/src/search/daemon-client.js.map +1 -0
- package/dashboard/dist-server/src/search/daemon.d.ts +42 -0
- package/dashboard/dist-server/src/search/daemon.js +180 -0
- package/dashboard/dist-server/src/search/daemon.js.map +1 -0
- package/dashboard/dist-server/src/tools/domain-loader.d.ts +4 -1
- package/dashboard/dist-server/src/tools/domain-loader.js +56 -25
- package/dashboard/dist-server/src/tools/domain-loader.js.map +1 -1
- package/dashboard/dist-server/src/tools/domain-schema.d.ts +1 -1
- package/dashboard/dist-server/src/tools/domain-schema.js +1 -1
- package/dashboard/dist-server/src/tools/spec-entry-parser.js +1 -1
- package/dashboard/dist-server/src/tools/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-loader.js +2 -2
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
- package/dist/shared/agent-types.d.ts +3 -1
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/api-explore/agent-loop.d.ts +14 -0
- package/dist/src/agents/api-explore/agent-loop.d.ts.map +1 -0
- package/dist/src/agents/api-explore/agent-loop.js +86 -0
- package/dist/src/agents/api-explore/agent-loop.js.map +1 -0
- package/dist/src/agents/api-explore/config.d.ts +46 -0
- package/dist/src/agents/api-explore/config.d.ts.map +1 -0
- package/dist/src/agents/api-explore/config.js +102 -0
- package/dist/src/agents/api-explore/config.js.map +1 -0
- package/dist/src/agents/api-explore/index.d.ts +2 -0
- package/dist/src/agents/api-explore/index.d.ts.map +1 -0
- package/dist/src/agents/api-explore/index.js +107 -0
- package/dist/src/agents/api-explore/index.js.map +1 -0
- package/dist/src/agents/api-explore/llm.d.ts +30 -0
- package/dist/src/agents/api-explore/llm.d.ts.map +1 -0
- package/dist/src/agents/api-explore/llm.js +184 -0
- package/dist/src/agents/api-explore/llm.js.map +1 -0
- package/dist/src/agents/api-explore/prompt-parser.d.ts +23 -0
- package/dist/src/agents/api-explore/prompt-parser.d.ts.map +1 -0
- package/dist/src/agents/api-explore/prompt-parser.js +73 -0
- package/dist/src/agents/api-explore/prompt-parser.js.map +1 -0
- package/dist/src/agents/api-explore/runner.d.ts +65 -0
- package/dist/src/agents/api-explore/runner.d.ts.map +1 -0
- package/dist/src/agents/api-explore/runner.js +196 -0
- package/dist/src/agents/api-explore/runner.js.map +1 -0
- package/dist/src/agents/api-explore/session.d.ts +23 -0
- package/dist/src/agents/api-explore/session.d.ts.map +1 -0
- package/dist/src/agents/api-explore/session.js +57 -0
- package/dist/src/agents/api-explore/session.js.map +1 -0
- package/dist/src/agents/api-explore/stream-json-emitter.d.ts +10 -0
- package/dist/src/agents/api-explore/stream-json-emitter.d.ts.map +1 -0
- package/dist/src/agents/api-explore/stream-json-emitter.js +19 -0
- package/dist/src/agents/api-explore/stream-json-emitter.js.map +1 -0
- package/dist/src/agents/api-explore/system-prompt.d.ts +2 -0
- package/dist/src/agents/api-explore/system-prompt.d.ts.map +1 -0
- package/dist/src/agents/api-explore/system-prompt.js +31 -0
- package/dist/src/agents/api-explore/system-prompt.js.map +1 -0
- package/dist/src/agents/api-explore/tools.d.ts +11 -0
- package/dist/src/agents/api-explore/tools.d.ts.map +1 -0
- package/dist/src/agents/api-explore/tools.js +168 -0
- package/dist/src/agents/api-explore/tools.js.map +1 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +3 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +6 -2
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/coordinate.d.ts.map +1 -1
- package/dist/src/commands/coordinate.js +2 -0
- package/dist/src/commands/coordinate.js.map +1 -1
- package/dist/src/commands/domain.d.ts.map +1 -1
- package/dist/src/commands/domain.js +5 -4
- package/dist/src/commands/domain.js.map +1 -1
- package/dist/src/commands/explore.d.ts +7 -0
- package/dist/src/commands/explore.d.ts.map +1 -0
- package/dist/src/commands/explore.js +201 -0
- package/dist/src/commands/explore.js.map +1 -0
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +55 -3
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +1 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +7 -2
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/load.d.ts +12 -0
- package/dist/src/commands/load.d.ts.map +1 -0
- package/dist/src/commands/load.js +185 -0
- package/dist/src/commands/load.js.map +1 -0
- package/dist/src/commands/search.d.ts +35 -4
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +425 -97
- package/dist/src/commands/search.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +50 -47
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +29 -28
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/commands/workspace.d.ts.map +1 -1
- package/dist/src/commands/workspace.js +9 -3
- package/dist/src/commands/workspace.js.map +1 -1
- package/dist/src/config/cli-tools-defaults.json +2 -1
- package/dist/src/coordinator/graph-types.d.ts +6 -0
- package/dist/src/coordinator/graph-types.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.js +7 -2
- package/dist/src/coordinator/graph-walker.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +6 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +15 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/install-profile.d.ts +7 -0
- package/dist/src/core/install-profile.d.ts.map +1 -1
- package/dist/src/core/install-profile.js +64 -0
- package/dist/src/core/install-profile.js.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.js +4 -2
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.js.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.js +6 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.js.map +1 -1
- package/dist/src/graph/kg/surface/cli.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/cli.js +7 -3
- package/dist/src/graph/kg/surface/cli.js.map +1 -1
- package/dist/src/hooks/plugins/explore-plugin.d.ts +16 -0
- package/dist/src/hooks/plugins/explore-plugin.d.ts.map +1 -0
- package/dist/src/hooks/plugins/explore-plugin.js +63 -0
- package/dist/src/hooks/plugins/explore-plugin.js.map +1 -0
- package/dist/src/hooks/plugins/index.d.ts +2 -0
- package/dist/src/hooks/plugins/index.d.ts.map +1 -1
- package/dist/src/hooks/plugins/index.js +1 -0
- package/dist/src/hooks/plugins/index.js.map +1 -1
- package/dist/src/hooks/session-context.d.ts.map +1 -1
- package/dist/src/hooks/session-context.js +37 -1
- package/dist/src/hooks/session-context.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +7 -8
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/i18n/detect.d.ts +2 -1
- package/dist/src/i18n/detect.d.ts.map +1 -1
- package/dist/src/i18n/detect.js +32 -8
- package/dist/src/i18n/detect.js.map +1 -1
- package/dist/src/ralph/cmd-next.d.ts.map +1 -1
- package/dist/src/ralph/cmd-next.js +74 -2
- package/dist/src/ralph/cmd-next.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +1 -0
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/search/daemon-client.d.ts +34 -0
- package/dist/src/search/daemon-client.d.ts.map +1 -0
- package/dist/src/search/daemon-client.js +115 -0
- package/dist/src/search/daemon-client.js.map +1 -0
- package/dist/src/search/daemon.d.ts +43 -0
- package/dist/src/search/daemon.d.ts.map +1 -0
- package/dist/src/search/daemon.js +182 -0
- package/dist/src/search/daemon.js.map +1 -0
- package/dist/src/tools/__tests__/domain-search-debug.js +3 -1
- package/dist/src/tools/__tests__/domain-search-debug.js.map +1 -1
- package/dist/src/tools/domain-loader.d.ts +4 -1
- package/dist/src/tools/domain-loader.d.ts.map +1 -1
- package/dist/src/tools/domain-loader.js +56 -25
- package/dist/src/tools/domain-loader.js.map +1 -1
- package/dist/src/tools/domain-schema.d.ts +1 -1
- package/dist/src/tools/domain-schema.js +1 -1
- package/dist/src/tools/spec-entry-parser.js +1 -1
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.js +2 -2
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +4 -4
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.d.ts.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.js +7 -10
- package/dist/src/tui/install-ui/CyberItem.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +2 -4
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.js +6 -6
- package/dist/src/tui/install-ui/GroupedHub.js.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +3 -3
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +3 -3
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/tui/install-ui/McpConfig.js +1 -1
- package/dist/src/tui/install-ui/McpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StatuslineConfig.js +2 -2
- package/dist/src/tui/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StepSelector.js +1 -1
- package/dist/src/tui/install-ui/StepSelector.js.map +1 -1
- package/dist/src/utils/cli-format.d.ts +3 -3
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +32 -21
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -3
- package/shared/agent-types.ts +3 -1
- package/templates/search-tools.md +22 -6
- package/workflows/agy-instructions.md +0 -4
- package/workflows/analyze.md +2 -2
- package/workflows/boundary-grill.md +50 -0
- package/workflows/brainstorm.md +6 -5
- package/workflows/claude-instructions.md +51 -21
- package/workflows/codebase-rebuild.md +0 -1
- package/workflows/codex-instructions.md +51 -21
- package/workflows/debug.md +0 -4
- package/workflows/domain-add.md +115 -0
- package/workflows/execute.md +7 -0
- package/workflows/explore-usage.md +133 -0
- package/workflows/finish-work.md +2 -6
- package/workflows/fork.md +0 -4
- package/workflows/grill.md +14 -1
- package/workflows/harvest.md +0 -3
- package/workflows/impeccable/audit.md +0 -2
- package/workflows/impeccable/codex.md +0 -4
- package/workflows/init.md +9 -0
- package/workflows/interview-mechanics.md +3 -2
- package/workflows/issue-analyze.md +0 -5
- package/workflows/issue-discover.md +4 -4
- package/workflows/issue-gaps-analyze.codex.md +1 -7
- package/workflows/issue-gaps-analyze.md +3 -4
- package/workflows/knowledge-audit.md +0 -4
- package/workflows/learn.md +0 -6
- package/workflows/maestro.codex.md +0 -4
- package/workflows/maestro.md +31 -18
- package/workflows/merge.md +0 -4
- package/workflows/milestone-complete.md +0 -4
- package/workflows/overlays.md +0 -10
- package/workflows/plan.md +0 -2
- package/workflows/roadmap-common.md +0 -4
- package/workflows/tdd.md +0 -2
- package/workflows/tools-spec.md +1 -7
- package/workflows/ui-codify-extract.md +0 -2
- package/workflows/ui-codify-package.md +0 -2
- package/chains/singles/spec-generate.json +0 -31
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Search Command — Unified knowledge search across
|
|
2
|
+
* Search Command — Unified knowledge search across wiki + code.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Default: mixed results (wiki + code interleaved by normalized score).
|
|
5
|
+
* --code: code graph results only (no wiki).
|
|
6
|
+
* --wiki-only: wiki results only (no code search).
|
|
7
|
+
*
|
|
8
|
+
* Scoring: multi-signal normalization inspired by codebase-memory-mcp.
|
|
9
|
+
* Wiki: BM25F score + type boost (spec > knowhow > note)
|
|
10
|
+
* Code: BM25 score + kind boost + name-match bonus
|
|
11
|
+
* Merge: percentile-aware normalization + source weight
|
|
12
|
+
*
|
|
13
|
+
* Per-source caps: session ≤3, scratch ≤3 to prevent low-value source spam.
|
|
6
14
|
*/
|
|
7
15
|
import { resolve } from 'node:path';
|
|
8
16
|
import { truncate, extractSnippet, highlightTerms } from '../utils/cli-format.js';
|
|
9
|
-
import { WikiIndexer } from '#maestro-dashboard/wiki/wiki-indexer.js';
|
|
10
17
|
import { loadWorkspaceConfig, resolveWorkspaceLinks } from '../config/index.js';
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
import { tryDaemonSearch, stopDaemon, spawnDaemon, readDaemonInfo, isDaemonAlive, getDaemonPath } from '../search/daemon-client.js';
|
|
19
|
+
// Valid type filter values — matches WikiNodeType + virtual aliases.
|
|
20
|
+
const VALID_TYPES = ['project', 'roadmap', 'spec', 'issue', 'knowhow', 'note', 'domain', 'session', 'scratch'];
|
|
21
|
+
// Per-category result caps — prevents low-value sources from dominating.
|
|
22
|
+
const CATEGORY_CAPS = {
|
|
23
|
+
session: 3,
|
|
24
|
+
scratch: 3,
|
|
25
|
+
};
|
|
13
26
|
// ── Lazy offline client ────────────────────────────────────────────────
|
|
14
27
|
let _indexer = null;
|
|
15
|
-
function getIndexer() {
|
|
28
|
+
async function getIndexer() {
|
|
16
29
|
if (!_indexer) {
|
|
30
|
+
const { WikiIndexer: Cls } = await import('#maestro-dashboard/wiki/wiki-indexer.js');
|
|
17
31
|
const workflowRoot = resolve('.workflow');
|
|
18
32
|
const projectPath = process.cwd();
|
|
19
33
|
const wsConfig = loadWorkspaceConfig(projectPath);
|
|
@@ -21,7 +35,7 @@ function getIndexer() {
|
|
|
21
35
|
const linkedWorkspaces = resolved
|
|
22
36
|
.filter(lw => lw.valid)
|
|
23
37
|
.map(lw => ({ name: lw.name, workflowRoot: lw.workflowRoot, shareTypes: lw.share }));
|
|
24
|
-
_indexer = new
|
|
38
|
+
_indexer = new Cls({ workflowRoot, linkedWorkspaces });
|
|
25
39
|
}
|
|
26
40
|
return _indexer;
|
|
27
41
|
}
|
|
@@ -29,13 +43,41 @@ let _lastSearchMeta = { embeddingUsed: false, embeddingDocs: 0 };
|
|
|
29
43
|
export function getLastSearchMeta() { return _lastSearchMeta; }
|
|
30
44
|
export async function runUnifiedSearch(q, opts) {
|
|
31
45
|
const limit = opts.limit > 0 ? opts.limit : 20;
|
|
32
|
-
const indexer = getIndexer();
|
|
33
46
|
const candidateLimit = Math.max(limit * 3, 60);
|
|
34
|
-
|
|
47
|
+
// Try daemon first (warm ONNX model, no cold-start penalty)
|
|
48
|
+
const workflowRoot = resolve('.workflow');
|
|
49
|
+
const daemonResult = await tryDaemonSearch(workflowRoot, q, candidateLimit, opts.skipEmbedding);
|
|
50
|
+
let scored;
|
|
51
|
+
let embeddingUsed;
|
|
52
|
+
let embeddingDocs;
|
|
53
|
+
if (daemonResult?.ok && daemonResult.results) {
|
|
54
|
+
scored = daemonResult.results;
|
|
55
|
+
embeddingUsed = daemonResult.embeddingUsed ?? false;
|
|
56
|
+
embeddingDocs = daemonResult.embeddingDocs ?? 0;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
// Daemon unavailable — use BM25-only to avoid ONNX cold-start (~1800ms).
|
|
60
|
+
// Spawn daemon in background so future searches get embedding.
|
|
61
|
+
const indexer = await getIndexer();
|
|
62
|
+
const result = await indexer.searchWithMeta(q, candidateLimit, { skipEmbedding: true });
|
|
63
|
+
scored = result.results;
|
|
64
|
+
embeddingUsed = result.embeddingUsed;
|
|
65
|
+
embeddingDocs = result.embeddingDocs;
|
|
66
|
+
spawnDaemon(workflowRoot).catch(() => { });
|
|
67
|
+
}
|
|
35
68
|
_lastSearchMeta = { embeddingUsed, embeddingDocs };
|
|
36
69
|
let filtered = scored;
|
|
37
70
|
if (opts.type) {
|
|
38
|
-
|
|
71
|
+
// Virtual type aliases: session/scratch map to category filter
|
|
72
|
+
if (opts.type === 'session') {
|
|
73
|
+
filtered = filtered.filter(r => r.entry.category === 'session');
|
|
74
|
+
}
|
|
75
|
+
else if (opts.type === 'scratch') {
|
|
76
|
+
filtered = filtered.filter(r => r.entry.category === 'scratch');
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
filtered = filtered.filter(r => r.entry.type === opts.type);
|
|
80
|
+
}
|
|
39
81
|
}
|
|
40
82
|
if (opts.category) {
|
|
41
83
|
filtered = filtered.filter(r => r.entry.category === opts.category);
|
|
@@ -43,11 +85,24 @@ export async function runUnifiedSearch(q, opts) {
|
|
|
43
85
|
if (opts.workspace) {
|
|
44
86
|
filtered = filtered.filter(r => r.entry.source.workspace === opts.workspace);
|
|
45
87
|
}
|
|
88
|
+
// CATEGORY_CAPS only when user didn't explicitly filter by type/category
|
|
89
|
+
const applyCaps = !opts.type && !opts.category;
|
|
46
90
|
const seen = new Set();
|
|
47
91
|
const deduped = [];
|
|
92
|
+
const catCounts = new Map();
|
|
48
93
|
for (const r of filtered) {
|
|
49
94
|
if (seen.has(r.entry.id))
|
|
50
95
|
continue;
|
|
96
|
+
if (applyCaps) {
|
|
97
|
+
const cat = r.entry.category ?? '';
|
|
98
|
+
const cap = CATEGORY_CAPS[cat];
|
|
99
|
+
if (cap !== undefined) {
|
|
100
|
+
const count = catCounts.get(cat) ?? 0;
|
|
101
|
+
if (count >= cap)
|
|
102
|
+
continue;
|
|
103
|
+
catCounts.set(cat, count + 1);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
51
106
|
seen.add(r.entry.id);
|
|
52
107
|
deduped.push(r);
|
|
53
108
|
if (deduped.length >= limit)
|
|
@@ -92,6 +147,33 @@ function incrementSearchHitsAsync(entryIds) {
|
|
|
92
147
|
}
|
|
93
148
|
}).catch(() => { });
|
|
94
149
|
}
|
|
150
|
+
async function runKgSearch(q, limit) {
|
|
151
|
+
try {
|
|
152
|
+
const { MaestroGraph } = await import('../graph/kg/engine.js');
|
|
153
|
+
if (!MaestroGraph.isInitialized(resolve('.')))
|
|
154
|
+
return { results: [], summary: {} };
|
|
155
|
+
const mg = await MaestroGraph.open(resolve('.'));
|
|
156
|
+
try {
|
|
157
|
+
const output = mg.searchUnified(q, { limit });
|
|
158
|
+
const results = output.directMatches.map(r => ({
|
|
159
|
+
id: r.node.id,
|
|
160
|
+
sourceType: r.node.sourceType,
|
|
161
|
+
kind: r.node.kind,
|
|
162
|
+
name: r.node.name,
|
|
163
|
+
definition: r.node.definition?.substring(0, 120) || '',
|
|
164
|
+
filePath: r.node.filePath,
|
|
165
|
+
score: r.score,
|
|
166
|
+
}));
|
|
167
|
+
return { results, summary: output.summary };
|
|
168
|
+
}
|
|
169
|
+
finally {
|
|
170
|
+
mg.close();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
catch {
|
|
174
|
+
return { results: [], summary: {} };
|
|
175
|
+
}
|
|
176
|
+
}
|
|
95
177
|
/**
|
|
96
178
|
* Search MaestroGraph for code nodes matching the query. Gracefully returns
|
|
97
179
|
* empty when MaestroGraph is not initialized.
|
|
@@ -124,105 +206,224 @@ async function runCodeSearch(q, limit) {
|
|
|
124
206
|
export function registerSearchCommand(program) {
|
|
125
207
|
program
|
|
126
208
|
.command('search <query...>')
|
|
127
|
-
.description('Unified knowledge search across
|
|
209
|
+
.description('Unified knowledge search across wiki + code (mixed by default)')
|
|
128
210
|
.option('--type <type>', `Filter by type: ${VALID_TYPES.join(', ')}`)
|
|
129
211
|
.option('--category <cat>', 'Filter by category (e.g. coding, arch, debug, test, review, learning)')
|
|
130
|
-
.option('--code', '
|
|
131
|
-
.option('--
|
|
212
|
+
.option('--code', 'Code graph results only (no wiki)')
|
|
213
|
+
.option('--kg', 'KG unified search (MaestroGraph full-source)')
|
|
214
|
+
.option('--all', 'Alias for default mixed mode (backward compat)')
|
|
215
|
+
.option('--wiki-only', 'Search wiki only, skip code results')
|
|
132
216
|
.option('--workspace <name>', 'Filter results to a specific linked workspace')
|
|
217
|
+
.option('--no-emb', 'Skip embedding, use BM25 only')
|
|
133
218
|
.option('--limit <n>', 'Max results', '20')
|
|
134
219
|
.option('--json', 'Output as JSON')
|
|
135
220
|
.action(async (queryParts, opts) => {
|
|
136
221
|
const q = queryParts.join(' ');
|
|
137
222
|
const limit = parseInt(opts.limit, 10) || 20;
|
|
138
|
-
const
|
|
223
|
+
const wikiOnly = opts.wikiOnly === true;
|
|
224
|
+
const codeOnly = opts.code === true && !opts.all;
|
|
225
|
+
const kgMode = opts.kg === true;
|
|
139
226
|
if (opts.type && !VALID_TYPES.includes(opts.type)) {
|
|
140
227
|
console.error(`Error: --type must be one of ${VALID_TYPES.join(', ')} (got "${opts.type}")`);
|
|
141
228
|
process.exit(1);
|
|
142
229
|
}
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
230
|
+
const skipEmbedding = opts.emb === false;
|
|
231
|
+
const isTTY = process.stdout.isTTY === true;
|
|
232
|
+
const qTerms = q.toLowerCase().split(/\s+/).filter(Boolean);
|
|
233
|
+
// --kg: MaestroGraph unified search
|
|
234
|
+
if (kgMode) {
|
|
235
|
+
const { results: kgResults, summary } = await runKgSearch(q, limit);
|
|
148
236
|
if (opts.json) {
|
|
149
|
-
console.log(JSON.stringify({ query: q, count:
|
|
237
|
+
console.log(JSON.stringify({ query: q, engine: 'maestrograph', count: kgResults.length, summary, results: kgResults }, null, 2));
|
|
150
238
|
return;
|
|
151
239
|
}
|
|
152
|
-
|
|
153
|
-
if (
|
|
240
|
+
const parts = [];
|
|
241
|
+
if (summary.codeSymbols)
|
|
242
|
+
parts.push(`codegraph ${summary.codeSymbols}`);
|
|
243
|
+
if (summary.domainTerms)
|
|
244
|
+
parts.push(`domain ${summary.domainTerms}`);
|
|
245
|
+
if (summary.specRules)
|
|
246
|
+
parts.push(`spec ${summary.specRules}`);
|
|
247
|
+
if (summary.knowhowDocs)
|
|
248
|
+
parts.push(`knowhow ${summary.knowhowDocs}`);
|
|
249
|
+
const headerSummary = parts.length > 0 ? `${parts.join(' + ')} = ${kgResults.length}` : `${kgResults.length}`;
|
|
250
|
+
console.log(`Search: "${q}" (${headerSummary}, KG)`);
|
|
251
|
+
if (kgResults.length === 0) {
|
|
154
252
|
console.log(' No matches found.');
|
|
155
253
|
return;
|
|
156
254
|
}
|
|
157
|
-
const
|
|
158
|
-
const qTerms = q.toLowerCase().split(/\s+/).filter(Boolean);
|
|
159
|
-
for (const r of merged) {
|
|
255
|
+
for (const r of kgResults) {
|
|
160
256
|
const name = isTTY ? highlightTerms(r.name, qTerms) : r.name;
|
|
161
|
-
const
|
|
162
|
-
|
|
257
|
+
const def = r.definition ? ` ${truncate(r.definition, 70)}` : '';
|
|
258
|
+
const scoreTag = ` (${r.score.toFixed(1)})`;
|
|
259
|
+
console.log(` [${r.sourceType}:${r.kind}] ${name}${def}${scoreTag}`);
|
|
163
260
|
}
|
|
164
261
|
return;
|
|
165
262
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
263
|
+
// Parallel: wiki + code search (skip irrelevant source based on flags)
|
|
264
|
+
const [wikiResults, codeResults] = await Promise.all([
|
|
265
|
+
codeOnly ? [] : runUnifiedSearch(q, { type: opts.type, category: opts.category, workspace: opts.workspace, limit, skipEmbedding }),
|
|
266
|
+
wikiOnly ? [] : runCodeSearch(q, limit),
|
|
267
|
+
]);
|
|
268
|
+
const meta = getLastSearchMeta();
|
|
269
|
+
const embTag = meta.embeddingUsed ? `+emb(${meta.embeddingDocs})` : 'bm25';
|
|
270
|
+
// --code: code graph results only
|
|
271
|
+
if (codeOnly) {
|
|
272
|
+
if (opts.json) {
|
|
273
|
+
console.log(JSON.stringify({ query: q, count: codeResults.length, results: codeResults }, null, 2));
|
|
274
|
+
return;
|
|
173
275
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
276
|
+
console.log(`Search: "${q}" (code ${codeResults.length}, ${embTag})`);
|
|
277
|
+
if (codeResults.length === 0) {
|
|
278
|
+
console.log(' No matches found.');
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
for (const r of codeResults) {
|
|
282
|
+
printCodeResult(r, ' ', isTTY, qTerms);
|
|
177
283
|
}
|
|
178
|
-
console.log(JSON.stringify(output, null, 2));
|
|
179
284
|
return;
|
|
180
285
|
}
|
|
181
|
-
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
const
|
|
185
|
-
if (
|
|
186
|
-
|
|
286
|
+
// Default / --all / --wiki-only: mixed interleaved results
|
|
287
|
+
const merged = mergeAndNormalize(wikiResults, codeResults, limit, q);
|
|
288
|
+
const wikiCount = merged.filter(r => r.source === 'wiki').length;
|
|
289
|
+
const codeCount = merged.filter(r => r.source === 'code').length;
|
|
290
|
+
if (opts.json) {
|
|
291
|
+
const typeCountsJson = {};
|
|
292
|
+
for (const r of merged) {
|
|
293
|
+
let dt;
|
|
294
|
+
if (r.source === 'code')
|
|
295
|
+
dt = 'code';
|
|
296
|
+
else if (r.category === 'session')
|
|
297
|
+
dt = 'session';
|
|
298
|
+
else if (r.category === 'scratch')
|
|
299
|
+
dt = 'scratch';
|
|
300
|
+
else
|
|
301
|
+
dt = r.kind;
|
|
302
|
+
typeCountsJson[dt] = (typeCountsJson[dt] ?? 0) + 1;
|
|
303
|
+
}
|
|
304
|
+
console.log(JSON.stringify({ query: q, wikiCount, codeCount, typeCounts: typeCountsJson, count: merged.length, results: merged }, null, 2));
|
|
305
|
+
return;
|
|
187
306
|
}
|
|
188
|
-
|
|
189
|
-
|
|
307
|
+
// Per-type breakdown header
|
|
308
|
+
const TYPE_DISPLAY_ORDER = ['spec', 'domain', 'knowhow', 'issue', 'project', 'roadmap', 'note', 'session', 'scratch', 'code'];
|
|
309
|
+
const typeCounts = new Map();
|
|
310
|
+
for (const r of merged) {
|
|
311
|
+
let displayType;
|
|
312
|
+
if (r.source === 'code')
|
|
313
|
+
displayType = 'code';
|
|
314
|
+
else if (r.category === 'session')
|
|
315
|
+
displayType = 'session';
|
|
316
|
+
else if (r.category === 'scratch')
|
|
317
|
+
displayType = 'scratch';
|
|
318
|
+
else
|
|
319
|
+
displayType = r.kind;
|
|
320
|
+
typeCounts.set(displayType, (typeCounts.get(displayType) ?? 0) + 1);
|
|
321
|
+
}
|
|
322
|
+
const countParts = [];
|
|
323
|
+
for (const t of TYPE_DISPLAY_ORDER) {
|
|
324
|
+
const c = typeCounts.get(t);
|
|
325
|
+
if (c)
|
|
326
|
+
countParts.push(`${t} ${c}`);
|
|
327
|
+
}
|
|
328
|
+
for (const [t, c] of typeCounts) {
|
|
329
|
+
if (!TYPE_DISPLAY_ORDER.includes(t))
|
|
330
|
+
countParts.push(`${t} ${c}`);
|
|
190
331
|
}
|
|
332
|
+
const countSummary = countParts.length > 0
|
|
333
|
+
? `${countParts.join(' + ')} = ${merged.length} results`
|
|
334
|
+
: '0 results';
|
|
335
|
+
console.log(`Search: "${q}" (${countSummary}, ${embTag})`);
|
|
191
336
|
if (qTerms.length > 4) {
|
|
192
|
-
console.log(` Hint: ${qTerms.length} terms
|
|
337
|
+
console.log(` Hint: ${qTerms.length} terms — split into 1-3 keyword queries for better precision`);
|
|
193
338
|
}
|
|
194
|
-
if (
|
|
339
|
+
if (merged.length === 0) {
|
|
195
340
|
console.log(' No matches found.');
|
|
196
341
|
return;
|
|
197
342
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
const
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
console.log(`${indent}${typeTag}${catTag}${wsTag} ${r.id} ${title}${scoreTag}`);
|
|
209
|
-
if (r.snippet) {
|
|
210
|
-
const snippet = isTTY ? highlightTerms(r.snippet, qTerms) : r.snippet;
|
|
211
|
-
console.log(`${indent} ${snippet}`);
|
|
212
|
-
}
|
|
213
|
-
else if (r.summary) {
|
|
214
|
-
const summary = isTTY ? highlightTerms(truncate(r.summary, 80), qTerms) : truncate(r.summary, 80);
|
|
215
|
-
console.log(`${indent} ${summary}`);
|
|
343
|
+
for (const r of merged) {
|
|
344
|
+
const displayName = truncate(r.name, 60);
|
|
345
|
+
const name = isTTY ? highlightTerms(displayName, qTerms) : displayName;
|
|
346
|
+
const scoreTag = ` (${r.normalizedScore.toFixed(4)})`;
|
|
347
|
+
if (r.source === 'wiki') {
|
|
348
|
+
console.log(` [wiki:${r.kind}] ${name} ${r.detail}${scoreTag}`);
|
|
349
|
+
const subtitle = pickSubtitle(r);
|
|
350
|
+
if (subtitle) {
|
|
351
|
+
const text = isTTY ? highlightTerms(subtitle, qTerms) : subtitle;
|
|
352
|
+
console.log(` ${text}`);
|
|
216
353
|
}
|
|
217
354
|
}
|
|
355
|
+
else {
|
|
356
|
+
const sigTag = r.signature ? ` ${truncate(r.signature, 60)}` : '';
|
|
357
|
+
console.log(` [code:${r.kind}] ${name} ${r.detail}${sigTag}${scoreTag}`);
|
|
358
|
+
}
|
|
218
359
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
360
|
+
});
|
|
361
|
+
// ── Search daemon management ───────────────────────────────────────────
|
|
362
|
+
program
|
|
363
|
+
.command('search-daemon')
|
|
364
|
+
.description('Manage the resident search daemon (warm ONNX model)')
|
|
365
|
+
.argument('<action>', 'start | stop | status')
|
|
366
|
+
.action(async (action) => {
|
|
367
|
+
const workflowRoot = resolve('.workflow');
|
|
368
|
+
if (action === 'start' || action === 'start-daemon') {
|
|
369
|
+
const info = readDaemonInfo(workflowRoot);
|
|
370
|
+
if (info && isDaemonAlive(info)) {
|
|
371
|
+
console.log(`Search daemon already running (pid=${info.pid}, port=${info.port})`);
|
|
372
|
+
return;
|
|
225
373
|
}
|
|
374
|
+
console.log('Starting search daemon...');
|
|
375
|
+
const projectPath = process.cwd();
|
|
376
|
+
const wsConfig = loadWorkspaceConfig(projectPath);
|
|
377
|
+
const resolved = resolveWorkspaceLinks(projectPath, wsConfig);
|
|
378
|
+
const linkedWorkspaces = resolved
|
|
379
|
+
.filter(lw => lw.valid)
|
|
380
|
+
.map(lw => ({ name: lw.name, workflowRoot: lw.workflowRoot, shareTypes: lw.share }));
|
|
381
|
+
const { startDaemon } = await import('../search/daemon.js');
|
|
382
|
+
const { port } = await startDaemon(workflowRoot, { workflowRoot, linkedWorkspaces });
|
|
383
|
+
console.log(`Search daemon started (pid=${process.pid}, port=${port})`);
|
|
384
|
+
// Keep process alive
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
if (action === 'stop') {
|
|
388
|
+
const stopped = stopDaemon(workflowRoot);
|
|
389
|
+
console.log(stopped ? 'Search daemon stopped.' : 'No daemon running.');
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
if (action === 'status') {
|
|
393
|
+
const info = readDaemonInfo(workflowRoot);
|
|
394
|
+
if (!info) {
|
|
395
|
+
console.log('Search daemon: not running');
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
const alive = isDaemonAlive(info);
|
|
399
|
+
console.log(`Search daemon: ${alive ? 'running' : 'stale (pid dead)'} pid=${info.pid} port=${info.port} started=${info.startedAt}`);
|
|
400
|
+
if (!alive)
|
|
401
|
+
try {
|
|
402
|
+
const { unlinkSync } = await import('node:fs');
|
|
403
|
+
unlinkSync(getDaemonPath(workflowRoot));
|
|
404
|
+
}
|
|
405
|
+
catch { }
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
console.error(`Unknown action: ${action}. Use: start, stop, status`);
|
|
409
|
+
});
|
|
410
|
+
// Hidden flag for hook-spawned daemon startup
|
|
411
|
+
program
|
|
412
|
+
.command('search-start-daemon', { hidden: true })
|
|
413
|
+
.action(async () => {
|
|
414
|
+
const workflowRoot = resolve('.workflow');
|
|
415
|
+
const projectPath = process.cwd();
|
|
416
|
+
const wsConfig = loadWorkspaceConfig(projectPath);
|
|
417
|
+
const resolved = resolveWorkspaceLinks(projectPath, wsConfig);
|
|
418
|
+
const linkedWorkspaces = resolved
|
|
419
|
+
.filter(lw => lw.valid)
|
|
420
|
+
.map(lw => ({ name: lw.name, workflowRoot: lw.workflowRoot, shareTypes: lw.share }));
|
|
421
|
+
try {
|
|
422
|
+
const { startDaemon } = await import('../search/daemon.js');
|
|
423
|
+
await startDaemon(workflowRoot, { workflowRoot, linkedWorkspaces });
|
|
424
|
+
}
|
|
425
|
+
catch {
|
|
426
|
+
process.exit(0);
|
|
226
427
|
}
|
|
227
428
|
});
|
|
228
429
|
program
|
|
@@ -291,45 +492,172 @@ export function registerSearchCommand(program) {
|
|
|
291
492
|
process.exit(1);
|
|
292
493
|
});
|
|
293
494
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
495
|
+
// ── Display helpers ──────────────────────────────────────────────────
|
|
496
|
+
function isDuplicate(text, title) {
|
|
497
|
+
const a = text.replace(/^#+\s+/, '').replace(/^[-*]\s+/, '').trim();
|
|
498
|
+
const b = title.trim();
|
|
499
|
+
if (!a || !b)
|
|
500
|
+
return true;
|
|
501
|
+
if (a === b)
|
|
502
|
+
return true;
|
|
503
|
+
if (a.startsWith(b.slice(0, 30)) || b.startsWith(a.slice(0, 30)))
|
|
504
|
+
return true;
|
|
505
|
+
return false;
|
|
506
|
+
}
|
|
507
|
+
function pickSubtitle(r) {
|
|
508
|
+
if (r.snippet) {
|
|
509
|
+
const content = r.snippet.replace(/^L\d+:\s*/, '');
|
|
510
|
+
if (!isDuplicate(content, r.name))
|
|
511
|
+
return r.snippet;
|
|
512
|
+
}
|
|
513
|
+
if (r.summary) {
|
|
514
|
+
const cleaned = r.summary.replace(/^#+\s+/, '').trim();
|
|
515
|
+
if (!isDuplicate(cleaned, r.name))
|
|
516
|
+
return truncate(cleaned, 80);
|
|
302
517
|
}
|
|
303
|
-
return
|
|
518
|
+
return null;
|
|
304
519
|
}
|
|
305
|
-
function
|
|
306
|
-
const
|
|
307
|
-
const
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
520
|
+
function printCodeResult(r, indent, isTTY, qTerms) {
|
|
521
|
+
const scoreTag = r.score !== null ? ` (${r.score.toFixed(4)})` : '';
|
|
522
|
+
const name = isTTY ? highlightTerms(r.name, qTerms) : r.name;
|
|
523
|
+
const sigTag = r.signature ? ` ${truncate(r.signature, 60)}` : '';
|
|
524
|
+
console.log(`${indent}[${r.kind}] ${name} ${r.filePath}${sigTag}${scoreTag}`);
|
|
525
|
+
}
|
|
526
|
+
const WIKI_TYPE_BOOST = {
|
|
527
|
+
spec: 1.15,
|
|
528
|
+
domain: 1.10,
|
|
529
|
+
knowhow: 1.05,
|
|
530
|
+
project: 0.95,
|
|
531
|
+
roadmap: 0.95,
|
|
532
|
+
issue: 0.85,
|
|
533
|
+
note: 0.80,
|
|
534
|
+
};
|
|
535
|
+
const CODE_KIND_BOOST = {
|
|
536
|
+
class: 1.20,
|
|
537
|
+
interface: 1.15,
|
|
538
|
+
function: 1.10,
|
|
539
|
+
method: 1.10,
|
|
540
|
+
component: 1.08,
|
|
541
|
+
route: 1.12,
|
|
542
|
+
type_alias: 1.05,
|
|
543
|
+
enum: 1.05,
|
|
544
|
+
constant: 1.00,
|
|
545
|
+
variable: 0.90,
|
|
546
|
+
field: 0.85,
|
|
547
|
+
property: 0.80,
|
|
548
|
+
};
|
|
549
|
+
function isCodeIdentifier(query) {
|
|
550
|
+
const trimmed = query.trim();
|
|
551
|
+
if (/^[a-z]+[A-Z]/.test(trimmed))
|
|
552
|
+
return true;
|
|
553
|
+
if (/^[A-Z][a-z]+[A-Z]/.test(trimmed))
|
|
554
|
+
return true;
|
|
555
|
+
if (/^[A-Z]{2,}[a-z]/.test(trimmed))
|
|
556
|
+
return true;
|
|
557
|
+
if (/^[a-z]+_[a-z]+/.test(trimmed))
|
|
558
|
+
return true;
|
|
559
|
+
if (/^[A-Z][a-zA-Z]+$/.test(trimmed) && !trimmed.includes(' '))
|
|
560
|
+
return true;
|
|
561
|
+
return false;
|
|
562
|
+
}
|
|
563
|
+
function splitCamelSnake(s) {
|
|
564
|
+
return s
|
|
565
|
+
.replace(/([a-z])([A-Z])/g, '$1 $2')
|
|
566
|
+
.replace(/([A-Z]+)([A-Z][a-z])/g, '$1 $2')
|
|
567
|
+
.split(/[\s_\-.]+/)
|
|
568
|
+
.map(t => t.toLowerCase())
|
|
569
|
+
.filter(t => t.length > 0);
|
|
570
|
+
}
|
|
571
|
+
function codeNameMatchBonus(codeName, query) {
|
|
572
|
+
const nameLower = codeName.toLowerCase();
|
|
573
|
+
const queryLower = query.toLowerCase().trim();
|
|
574
|
+
if (!queryLower)
|
|
575
|
+
return 0;
|
|
576
|
+
if (nameLower === queryLower)
|
|
577
|
+
return 50;
|
|
578
|
+
if (nameLower.startsWith(queryLower))
|
|
579
|
+
return 30;
|
|
580
|
+
if (queryLower.startsWith(nameLower))
|
|
581
|
+
return 20;
|
|
582
|
+
if (nameLower.includes(queryLower) || queryLower.includes(nameLower))
|
|
583
|
+
return 10;
|
|
584
|
+
const queryTokens = splitCamelSnake(query);
|
|
585
|
+
const nameTokens = splitCamelSnake(codeName);
|
|
586
|
+
if (queryTokens.length === 0)
|
|
587
|
+
return 0;
|
|
588
|
+
const matched = queryTokens.filter(qt => nameTokens.some(nt => nt.includes(qt) || qt.includes(nt)));
|
|
589
|
+
if (matched.length === queryTokens.length)
|
|
590
|
+
return 15 + 5 * matched.length;
|
|
591
|
+
if (matched.length > 0)
|
|
592
|
+
return 5 * matched.length;
|
|
593
|
+
return 0;
|
|
594
|
+
}
|
|
595
|
+
function rankNormalize(items) {
|
|
596
|
+
if (items.length === 0)
|
|
597
|
+
return [];
|
|
598
|
+
const n = items.length;
|
|
599
|
+
const sorted = [...items].sort((a, b) => b.score - a.score);
|
|
600
|
+
const result = new Array(n);
|
|
601
|
+
let i = 0;
|
|
602
|
+
while (i < n) {
|
|
603
|
+
let j = i;
|
|
604
|
+
while (j < n - 1 && sorted[j + 1].score === sorted[j].score)
|
|
605
|
+
j++;
|
|
606
|
+
const avgRank = (i + j) / 2;
|
|
607
|
+
const normalizedRank = 1 - avgRank / n;
|
|
608
|
+
for (let k = i; k <= j; k++) {
|
|
609
|
+
result[sorted[k].index] = normalizedRank;
|
|
610
|
+
}
|
|
611
|
+
i = j + 1;
|
|
612
|
+
}
|
|
613
|
+
return result;
|
|
614
|
+
}
|
|
615
|
+
function mergeAndNormalize(wiki, code, limit, query) {
|
|
616
|
+
const q = query ?? '';
|
|
617
|
+
const isIdQuery = isCodeIdentifier(q);
|
|
618
|
+
const hasStrongCodeMatch = code.length > 0 && code.some(r => codeNameMatchBonus(r.name, q) >= 15);
|
|
619
|
+
const WIKI_WEIGHT = isIdQuery ? 0.4 : hasStrongCodeMatch ? 0.5 : 0.6;
|
|
620
|
+
const CODE_WEIGHT = isIdQuery ? 0.6 : hasStrongCodeMatch ? 0.5 : 0.4;
|
|
621
|
+
const codeNames = new Set(code.map(r => r.name.toLowerCase()));
|
|
622
|
+
const wikiScored = wiki.map((r, i) => {
|
|
316
623
|
const raw = r.score ?? 0;
|
|
624
|
+
let typeBoost = WIKI_TYPE_BOOST[r.type] ?? 1.0;
|
|
625
|
+
if (r.id.startsWith('kg-') && codeNames.has(r.title.toLowerCase())) {
|
|
626
|
+
typeBoost *= 0.7;
|
|
627
|
+
}
|
|
628
|
+
return { ...r, finalScore: raw * typeBoost, index: i };
|
|
629
|
+
});
|
|
630
|
+
const codeScored = code.map((r, i) => {
|
|
631
|
+
const raw = r.score ?? 0;
|
|
632
|
+
const kindBoost = CODE_KIND_BOOST[r.kind] ?? 1.0;
|
|
633
|
+
const nameBonus = codeNameMatchBonus(r.name, q);
|
|
634
|
+
return { ...r, finalScore: raw * kindBoost + nameBonus, index: i };
|
|
635
|
+
});
|
|
636
|
+
const wikiRanks = rankNormalize(wikiScored.map(r => ({ index: r.index, score: r.finalScore })));
|
|
637
|
+
const codeRanks = rankNormalize(codeScored.map(r => ({ index: r.index, score: r.finalScore })));
|
|
638
|
+
const merged = [];
|
|
639
|
+
for (let i = 0; i < wikiScored.length; i++) {
|
|
640
|
+
const r = wikiScored[i];
|
|
317
641
|
merged.push({
|
|
318
642
|
source: 'wiki',
|
|
319
643
|
kind: r.type,
|
|
320
644
|
name: r.title,
|
|
321
645
|
detail: r.category ? `${r.category} ${r.id}` : r.id,
|
|
322
|
-
normalizedScore:
|
|
646
|
+
normalizedScore: wikiRanks[i] * WIKI_WEIGHT,
|
|
647
|
+
snippet: r.snippet ?? undefined,
|
|
648
|
+
summary: r.summary || undefined,
|
|
649
|
+
category: r.category ?? undefined,
|
|
323
650
|
});
|
|
324
651
|
}
|
|
325
|
-
for (
|
|
326
|
-
const
|
|
652
|
+
for (let i = 0; i < codeScored.length; i++) {
|
|
653
|
+
const r = codeScored[i];
|
|
327
654
|
merged.push({
|
|
328
655
|
source: 'code',
|
|
329
656
|
kind: r.kind,
|
|
330
657
|
name: r.name,
|
|
331
658
|
detail: r.filePath,
|
|
332
|
-
normalizedScore:
|
|
659
|
+
normalizedScore: codeRanks[i] * CODE_WEIGHT,
|
|
660
|
+
signature: r.signature,
|
|
333
661
|
});
|
|
334
662
|
}
|
|
335
663
|
merged.sort((a, b) => b.normalizedScore - a.normalizedScore);
|