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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../../../src/agents/api-explore/llm.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE3G,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE/C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;CACtD;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAMA;AAMD,wBAAsB,OAAO,CAC3B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,0BAA0B,EAAE,EACtC,KAAK,EAAE,kBAAkB,EAAE,GAC1B,OAAO,CAAC,WAAW,CAAC,CAKtB"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import OpenAI from 'openai';
|
|
2
|
+
export function createClient(params) {
|
|
3
|
+
const client = new OpenAI({
|
|
4
|
+
apiKey: params.apiKey,
|
|
5
|
+
baseURL: params.baseUrl,
|
|
6
|
+
});
|
|
7
|
+
return { client, config: params };
|
|
8
|
+
}
|
|
9
|
+
// ---------------------------------------------------------------------------
|
|
10
|
+
// Unified call dispatcher
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
export async function callLlm(client, config, messages, tools) {
|
|
13
|
+
if (config.format === 'anthropic') {
|
|
14
|
+
return callAnthropic(config, messages, tools);
|
|
15
|
+
}
|
|
16
|
+
return callOpenAi(client, config, messages, tools);
|
|
17
|
+
}
|
|
18
|
+
// ---------------------------------------------------------------------------
|
|
19
|
+
// OpenAI-compatible provider (existing logic)
|
|
20
|
+
// ---------------------------------------------------------------------------
|
|
21
|
+
async function callOpenAi(client, config, messages, tools) {
|
|
22
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23
|
+
const body = {
|
|
24
|
+
model: config.model,
|
|
25
|
+
messages,
|
|
26
|
+
max_completion_tokens: 2_000,
|
|
27
|
+
temperature: 0.2,
|
|
28
|
+
...config.extraBody,
|
|
29
|
+
};
|
|
30
|
+
if (tools.length > 0) {
|
|
31
|
+
body.tools = tools;
|
|
32
|
+
body.tool_choice = 'auto';
|
|
33
|
+
}
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
35
|
+
const response = await client.chat.completions.create(body);
|
|
36
|
+
const choice = response.choices?.[0];
|
|
37
|
+
if (!choice) {
|
|
38
|
+
throw new Error('No choices returned from LLM API.');
|
|
39
|
+
}
|
|
40
|
+
const msg = choice.message;
|
|
41
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
42
|
+
const toolCalls = (msg.tool_calls ?? [])
|
|
43
|
+
.filter((tc) => tc.type === 'function')
|
|
44
|
+
.map((tc) => ({
|
|
45
|
+
id: tc.id,
|
|
46
|
+
name: tc.function.name,
|
|
47
|
+
arguments: tc.function.arguments,
|
|
48
|
+
}));
|
|
49
|
+
return {
|
|
50
|
+
content: msg.content,
|
|
51
|
+
toolCalls,
|
|
52
|
+
usage: {
|
|
53
|
+
inputTokens: response.usage?.prompt_tokens ?? 0,
|
|
54
|
+
outputTokens: response.usage?.completion_tokens ?? 0,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function openaiToolsToAnthropic(tools) {
|
|
59
|
+
return tools
|
|
60
|
+
.filter(t => t.type === 'function')
|
|
61
|
+
.map(t => ({
|
|
62
|
+
name: t.function.name,
|
|
63
|
+
description: t.function.description ?? '',
|
|
64
|
+
input_schema: (t.function.parameters ?? { type: 'object', properties: {} }),
|
|
65
|
+
}));
|
|
66
|
+
}
|
|
67
|
+
function openaiMessagesToAnthropic(messages) {
|
|
68
|
+
let system = '';
|
|
69
|
+
const result = [];
|
|
70
|
+
for (const msg of messages) {
|
|
71
|
+
if (msg.role === 'system') {
|
|
72
|
+
system += (typeof msg.content === 'string' ? msg.content : '') + '\n';
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (msg.role === 'user') {
|
|
76
|
+
result.push({ role: 'user', content: typeof msg.content === 'string' ? msg.content : '' });
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
if (msg.role === 'assistant') {
|
|
80
|
+
const blocks = [];
|
|
81
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
82
|
+
const m = msg;
|
|
83
|
+
if (m.content) {
|
|
84
|
+
blocks.push({ type: 'text', text: m.content });
|
|
85
|
+
}
|
|
86
|
+
if (m.tool_calls) {
|
|
87
|
+
for (const tc of m.tool_calls) {
|
|
88
|
+
blocks.push({
|
|
89
|
+
type: 'tool_use',
|
|
90
|
+
id: tc.id,
|
|
91
|
+
name: tc.function.name,
|
|
92
|
+
input: safeParseJson(tc.function.arguments),
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
result.push({ role: 'assistant', content: blocks });
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if (msg.role === 'tool') {
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
101
|
+
const m = msg;
|
|
102
|
+
const toolResult = {
|
|
103
|
+
type: 'tool_result',
|
|
104
|
+
tool_use_id: m.tool_call_id,
|
|
105
|
+
content: typeof m.content === 'string' ? m.content : '',
|
|
106
|
+
};
|
|
107
|
+
// Anthropic expects tool_result inside a user message
|
|
108
|
+
const last = result[result.length - 1];
|
|
109
|
+
if (last?.role === 'user' && Array.isArray(last.content)) {
|
|
110
|
+
last.content.push(toolResult);
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
result.push({ role: 'user', content: [toolResult] });
|
|
114
|
+
}
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return { system: system.trim(), messages: result };
|
|
119
|
+
}
|
|
120
|
+
async function callAnthropic(config, messages, tools) {
|
|
121
|
+
const { system, messages: anthropicMessages } = openaiMessagesToAnthropic(messages);
|
|
122
|
+
const anthropicTools = openaiToolsToAnthropic(tools);
|
|
123
|
+
const baseUrl = config.baseUrl.replace(/\/$/, '');
|
|
124
|
+
const url = `${baseUrl}/v1/messages`;
|
|
125
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
126
|
+
const body = {
|
|
127
|
+
model: config.model,
|
|
128
|
+
max_tokens: 2000,
|
|
129
|
+
messages: anthropicMessages,
|
|
130
|
+
...config.extraBody,
|
|
131
|
+
};
|
|
132
|
+
if (system)
|
|
133
|
+
body.system = system;
|
|
134
|
+
if (anthropicTools.length > 0) {
|
|
135
|
+
body.tools = anthropicTools;
|
|
136
|
+
body.tool_choice = { type: 'auto' };
|
|
137
|
+
}
|
|
138
|
+
const response = await fetch(url, {
|
|
139
|
+
method: 'POST',
|
|
140
|
+
headers: {
|
|
141
|
+
'Content-Type': 'application/json',
|
|
142
|
+
'x-api-key': config.apiKey,
|
|
143
|
+
'anthropic-version': '2023-06-01',
|
|
144
|
+
},
|
|
145
|
+
body: JSON.stringify(body),
|
|
146
|
+
});
|
|
147
|
+
if (!response.ok) {
|
|
148
|
+
const text = await response.text();
|
|
149
|
+
throw new Error(`Anthropic API ${response.status}: ${text}`);
|
|
150
|
+
}
|
|
151
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
152
|
+
const data = await response.json();
|
|
153
|
+
let content = null;
|
|
154
|
+
const toolCalls = [];
|
|
155
|
+
for (const block of data.content ?? []) {
|
|
156
|
+
if (block.type === 'text') {
|
|
157
|
+
content = (content ?? '') + block.text;
|
|
158
|
+
}
|
|
159
|
+
else if (block.type === 'tool_use') {
|
|
160
|
+
toolCalls.push({
|
|
161
|
+
id: block.id,
|
|
162
|
+
name: block.name,
|
|
163
|
+
arguments: JSON.stringify(block.input),
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return {
|
|
168
|
+
content,
|
|
169
|
+
toolCalls,
|
|
170
|
+
usage: {
|
|
171
|
+
inputTokens: data.usage?.input_tokens ?? 0,
|
|
172
|
+
outputTokens: data.usage?.output_tokens ?? 0,
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function safeParseJson(str) {
|
|
177
|
+
try {
|
|
178
|
+
return JSON.parse(str);
|
|
179
|
+
}
|
|
180
|
+
catch {
|
|
181
|
+
return {};
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
//# sourceMappingURL=llm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llm.js","sourceRoot":"","sources":["../../../../src/agents/api-explore/llm.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AA0B5B,MAAM,UAAU,YAAY,CAAC,MAAiB;IAI5C,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC;QACxB,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AACpC,CAAC;AAED,8EAA8E;AAC9E,0BAA0B;AAC1B,8EAA8E;AAE9E,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAc,EACd,MAAiB,EACjB,QAAsC,EACtC,KAA2B;IAE3B,IAAI,MAAM,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,aAA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H,CAAC;IAED,OAAO;QACL,OAAO;QACP,SAAS;QACT,KAAK,EAAE;YACL,WAAW,EAAE,IAAI,CAAC,KAAK,EAAE,YAAY,IAAI,CAAC;YAC1C,YAAY,EAAE,IAAI,CAAC,KAAK,EAAE,aAAa,IAAI,CAAC;SAC7C;KACF,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,GAAW;IAChC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAA4B,CAAC;IACpD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structured prompt format for maestro explore:
|
|
3
|
+
*
|
|
4
|
+
* FIND: <what to search for — the core query>
|
|
5
|
+
* SCOPE: <file patterns, directories, or modules>
|
|
6
|
+
* EXCLUDE: <what to skip — files, patterns, false positives>
|
|
7
|
+
* ATTENTION: <caveats, edge cases, things to watch for>
|
|
8
|
+
* EXPECTED: <output format — evidence list, summary, JSON>
|
|
9
|
+
*
|
|
10
|
+
* Also accepts plain text (passed through unchanged).
|
|
11
|
+
* Legacy fields PURPOSE/FOCUS/CONSTRAINTS map to FIND/ATTENTION/EXCLUDE.
|
|
12
|
+
*/
|
|
13
|
+
export interface StructuredPrompt {
|
|
14
|
+
find: string;
|
|
15
|
+
scope?: string;
|
|
16
|
+
exclude?: string;
|
|
17
|
+
attention?: string;
|
|
18
|
+
expected?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function isStructuredPrompt(text: string): boolean;
|
|
21
|
+
export declare function parseStructuredPrompt(text: string): StructuredPrompt;
|
|
22
|
+
export declare function buildExplorePrompt(input: string | StructuredPrompt): string;
|
|
23
|
+
//# sourceMappingURL=prompt-parser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-parser.d.ts","sourceRoot":"","sources":["../../../../src/agents/api-explore/prompt-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAmBD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CA6BpE;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,MAAM,CAY3E"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structured prompt format for maestro explore:
|
|
3
|
+
*
|
|
4
|
+
* FIND: <what to search for — the core query>
|
|
5
|
+
* SCOPE: <file patterns, directories, or modules>
|
|
6
|
+
* EXCLUDE: <what to skip — files, patterns, false positives>
|
|
7
|
+
* ATTENTION: <caveats, edge cases, things to watch for>
|
|
8
|
+
* EXPECTED: <output format — evidence list, summary, JSON>
|
|
9
|
+
*
|
|
10
|
+
* Also accepts plain text (passed through unchanged).
|
|
11
|
+
* Legacy fields PURPOSE/FOCUS/CONSTRAINTS map to FIND/ATTENTION/EXCLUDE.
|
|
12
|
+
*/
|
|
13
|
+
const FIELD_MAP = {
|
|
14
|
+
FIND: 'find',
|
|
15
|
+
SCOPE: 'scope',
|
|
16
|
+
EXCLUDE: 'exclude',
|
|
17
|
+
ATTENTION: 'attention',
|
|
18
|
+
EXPECTED: 'expected',
|
|
19
|
+
// Legacy aliases
|
|
20
|
+
PURPOSE: 'find',
|
|
21
|
+
FOCUS: 'attention',
|
|
22
|
+
CONSTRAINTS: 'exclude',
|
|
23
|
+
};
|
|
24
|
+
const FIELD_PATTERN = new RegExp(`^(${Object.keys(FIELD_MAP).join('|')})\\s*:\\s*(.*)`, 'i');
|
|
25
|
+
export function isStructuredPrompt(text) {
|
|
26
|
+
return /^(FIND|PURPOSE)\s*:/im.test(text);
|
|
27
|
+
}
|
|
28
|
+
export function parseStructuredPrompt(text) {
|
|
29
|
+
const fields = {};
|
|
30
|
+
let currentKey = null;
|
|
31
|
+
const lines = [];
|
|
32
|
+
for (const line of text.split('\n')) {
|
|
33
|
+
const match = line.match(FIELD_PATTERN);
|
|
34
|
+
if (match) {
|
|
35
|
+
if (currentKey && lines.length > 0) {
|
|
36
|
+
fields[currentKey] = lines.join('\n').trim();
|
|
37
|
+
lines.length = 0;
|
|
38
|
+
}
|
|
39
|
+
currentKey = FIELD_MAP[match[1].toUpperCase()] ?? null;
|
|
40
|
+
if (match[2].trim())
|
|
41
|
+
lines.push(match[2].trim());
|
|
42
|
+
}
|
|
43
|
+
else if (currentKey) {
|
|
44
|
+
lines.push(line);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (currentKey && lines.length > 0) {
|
|
48
|
+
fields[currentKey] = lines.join('\n').trim();
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
find: fields.find ?? text.trim(),
|
|
52
|
+
scope: fields.scope,
|
|
53
|
+
exclude: fields.exclude,
|
|
54
|
+
attention: fields.attention,
|
|
55
|
+
expected: fields.expected,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function buildExplorePrompt(input) {
|
|
59
|
+
const parsed = typeof input === 'string'
|
|
60
|
+
? (isStructuredPrompt(input) ? parseStructuredPrompt(input) : { find: input })
|
|
61
|
+
: input;
|
|
62
|
+
const parts = [`Find: ${parsed.find}`];
|
|
63
|
+
if (parsed.scope)
|
|
64
|
+
parts.push(`Scope: ${parsed.scope}`);
|
|
65
|
+
if (parsed.exclude)
|
|
66
|
+
parts.push(`Exclude: ${parsed.exclude}`);
|
|
67
|
+
if (parsed.attention)
|
|
68
|
+
parts.push(`Attention: ${parsed.attention}`);
|
|
69
|
+
if (parsed.expected)
|
|
70
|
+
parts.push(`Expected output: ${parsed.expected}`);
|
|
71
|
+
return parts.join('\n');
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=prompt-parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-parser.js","sourceRoot":"","sources":["../../../../src/agents/api-explore/prompt-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAUH,MAAM,SAAS,GAA2C;IACxD,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,iBAAiB;IACjB,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEF,MAAM,aAAa,GAAG,IAAI,MAAM,CAC9B,KAAK,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,EACrD,GAAG,CACJ,CAAC;AAEF,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,OAAO,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAY;IAChD,MAAM,MAAM,GAA8B,EAAE,CAAC;IAC7C,IAAI,UAAU,GAAkC,IAAI,CAAC;IACrD,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACxC,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,UAAU,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACnC,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,C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,CAAC,IAAI,CAAC,UAAU,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IACvD,IAAI,MAAM,CAAC,OAAO;QAAE,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC7D,IAAI,MAAM,CAAC,SAAS;QAAE,KAAK,CAAC,IAAI,CAAC,cAAc,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC;IACnE,IAAI,MAAM,CAAC,QAAQ;QAAE,KAAK,CAAC,IAAI,CAAC,oBAAoB,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEvE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parallel explore runner.
|
|
3
|
+
*
|
|
4
|
+
* Execution model: serial within same endpoint, parallel across endpoints.
|
|
5
|
+
* Each endpoint gets its own queue; jobs in the same queue run one-by-one.
|
|
6
|
+
* Different endpoint queues run concurrently.
|
|
7
|
+
*
|
|
8
|
+
* Per-endpoint concurrency can be raised via `endpointConcurrency` option
|
|
9
|
+
* (default 1 = fully serial per endpoint).
|
|
10
|
+
*/
|
|
11
|
+
import { type LlmConfig } from './llm.js';
|
|
12
|
+
export interface ExploreJob {
|
|
13
|
+
id: string;
|
|
14
|
+
prompt: string;
|
|
15
|
+
endpointName: string;
|
|
16
|
+
llmConfig: LlmConfig;
|
|
17
|
+
/** Per-endpoint maxTurns override */
|
|
18
|
+
maxTurns?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ExploreResult {
|
|
21
|
+
id: string;
|
|
22
|
+
prompt: string;
|
|
23
|
+
endpointName: string;
|
|
24
|
+
model: string;
|
|
25
|
+
content: string | null;
|
|
26
|
+
error?: string;
|
|
27
|
+
durationMs: number;
|
|
28
|
+
}
|
|
29
|
+
export interface RunnerOptions {
|
|
30
|
+
jobs: ExploreJob[];
|
|
31
|
+
cwd: string;
|
|
32
|
+
maxTurns: number;
|
|
33
|
+
/** Max concurrent endpoint queues (default: number of distinct endpoints) */
|
|
34
|
+
concurrency: number;
|
|
35
|
+
/** Max concurrent jobs within the same endpoint (default: 1 = serial) */
|
|
36
|
+
endpointConcurrency?: number;
|
|
37
|
+
onProgress?: (msg: string) => void;
|
|
38
|
+
onJobStart?: (job: ExploreJob) => void;
|
|
39
|
+
onJobDone?: (result: ExploreResult) => void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Run explore jobs: serial within same endpoint, parallel across endpoints.
|
|
43
|
+
*/
|
|
44
|
+
export declare function runExploreJobs(opts: RunnerOptions): Promise<ExploreResult[]>;
|
|
45
|
+
export interface PromptEntry {
|
|
46
|
+
prompt: string;
|
|
47
|
+
endpoint?: string;
|
|
48
|
+
}
|
|
49
|
+
type NamedEndpoint = {
|
|
50
|
+
name: string;
|
|
51
|
+
llmConfig: LlmConfig;
|
|
52
|
+
maxTurns?: number;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Build job list from prompt entries. Default: 1 prompt = 1 agent (first endpoint).
|
|
56
|
+
* Per-prompt `endpoint` field overrides the global endpoint selection.
|
|
57
|
+
*/
|
|
58
|
+
export declare function buildJobsFromEntries(entries: PromptEntry[], globalEndpoints: NamedEndpoint[], allEndpoints: NamedEndpoint[]): ExploreJob[];
|
|
59
|
+
/**
|
|
60
|
+
* Build job list from prompts × endpoints cartesian product.
|
|
61
|
+
* Used when --all flag fans one prompt to every endpoint.
|
|
62
|
+
*/
|
|
63
|
+
export declare function buildJobs(prompts: string[], endpoints: NamedEndpoint[]): ExploreJob[];
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../../src/agents/api-explore/runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAgB,KAAK,SAAS,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AAC;AAE/E;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,WAAW,EAAE,EACtB,eAAe,EAAE,aAAa,EAAE,EAChC,YAAY,EAAE,aAAa,EAAE,GAC5B,UAAU,EAAE,CAkCd;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EAAE,EACjB,SAAS,EAAE,aAAa,EAAE,GACzB,UAAU,EAAE,CAkBd"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parallel explore runner.
|
|
3
|
+
*
|
|
4
|
+
* Execution model: serial within same endpoint, parallel across endpoints.
|
|
5
|
+
* Each endpoint gets its own queue; jobs in the same queue run one-by-one.
|
|
6
|
+
* Different endpoint queues run concurrently.
|
|
7
|
+
*
|
|
8
|
+
* Per-endpoint concurrency can be raised via `endpointConcurrency` option
|
|
9
|
+
* (default 1 = fully serial per endpoint).
|
|
10
|
+
*/
|
|
11
|
+
import { readdirSync } from 'node:fs';
|
|
12
|
+
import { createClient } from './llm.js';
|
|
13
|
+
import { TOOL_SCHEMAS } from './tools.js';
|
|
14
|
+
import { buildSystemPrompt } from './system-prompt.js';
|
|
15
|
+
import { agentLoop } from './agent-loop.js';
|
|
16
|
+
import { buildExplorePrompt } from './prompt-parser.js';
|
|
17
|
+
function getDirListing(cwd) {
|
|
18
|
+
try {
|
|
19
|
+
return readdirSync(cwd)
|
|
20
|
+
.filter(name => !name.startsWith('.'))
|
|
21
|
+
.slice(0, 50)
|
|
22
|
+
.join('\n');
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
return '(unable to list directory)';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
async function runSingleJob(job, cwd, globalMaxTurns, dirListing) {
|
|
29
|
+
const start = Date.now();
|
|
30
|
+
const maxTurns = job.maxTurns ?? globalMaxTurns;
|
|
31
|
+
try {
|
|
32
|
+
const { client, config } = createClient(job.llmConfig);
|
|
33
|
+
const systemPrompt = buildSystemPrompt(cwd, dirListing);
|
|
34
|
+
const prompt = buildExplorePrompt(job.prompt);
|
|
35
|
+
const content = await agentLoop({
|
|
36
|
+
prompt,
|
|
37
|
+
systemPrompt,
|
|
38
|
+
client,
|
|
39
|
+
llmConfig: config,
|
|
40
|
+
toolSchemas: TOOL_SCHEMAS,
|
|
41
|
+
maxTurns,
|
|
42
|
+
cwd,
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
id: job.id,
|
|
46
|
+
prompt: job.prompt,
|
|
47
|
+
endpointName: job.endpointName,
|
|
48
|
+
model: job.llmConfig.model,
|
|
49
|
+
content,
|
|
50
|
+
durationMs: Date.now() - start,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
return {
|
|
55
|
+
id: job.id,
|
|
56
|
+
prompt: job.prompt,
|
|
57
|
+
endpointName: job.endpointName,
|
|
58
|
+
model: job.llmConfig.model,
|
|
59
|
+
content: null,
|
|
60
|
+
error: err instanceof Error ? err.message : String(err),
|
|
61
|
+
durationMs: Date.now() - start,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Drain a queue of jobs with a per-queue concurrency limit.
|
|
67
|
+
* concurrency=1 means strict serial within this queue.
|
|
68
|
+
*/
|
|
69
|
+
async function drainQueue(queue, concurrency, cwd, maxTurns, dirListing, totalJobs, jobIndexMap, callbacks) {
|
|
70
|
+
const results = [];
|
|
71
|
+
let nextIdx = 0;
|
|
72
|
+
async function runSlot() {
|
|
73
|
+
while (nextIdx < queue.length) {
|
|
74
|
+
const localIdx = nextIdx++;
|
|
75
|
+
const job = queue[localIdx];
|
|
76
|
+
const globalIdx = jobIndexMap.get(job.id) ?? localIdx;
|
|
77
|
+
callbacks.onJobStart?.(job);
|
|
78
|
+
callbacks.onProgress?.(`[${globalIdx + 1}/${totalJobs}] ${job.endpointName}:${job.llmConfig.model} — starting`);
|
|
79
|
+
const result = await runSingleJob(job, cwd, maxTurns, dirListing);
|
|
80
|
+
results.push(result);
|
|
81
|
+
callbacks.onJobDone?.(result);
|
|
82
|
+
const status = result.error
|
|
83
|
+
? `ERROR: ${result.error}`
|
|
84
|
+
: `done (${(result.durationMs / 1000).toFixed(1)}s)`;
|
|
85
|
+
callbacks.onProgress?.(`[${globalIdx + 1}/${totalJobs}] ${job.endpointName}:${job.llmConfig.model} — ${status}`);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
const slots = Math.min(concurrency, queue.length);
|
|
89
|
+
await Promise.allSettled(Array.from({ length: slots }, () => runSlot()));
|
|
90
|
+
return results;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Run explore jobs: serial within same endpoint, parallel across endpoints.
|
|
94
|
+
*/
|
|
95
|
+
export async function runExploreJobs(opts) {
|
|
96
|
+
const { jobs, cwd, maxTurns, concurrency, endpointConcurrency = 1, onProgress, onJobStart, onJobDone, } = opts;
|
|
97
|
+
if (jobs.length === 0)
|
|
98
|
+
return [];
|
|
99
|
+
const dirListing = getDirListing(cwd);
|
|
100
|
+
// Group jobs by endpoint
|
|
101
|
+
const queues = new Map();
|
|
102
|
+
const jobIndexMap = new Map();
|
|
103
|
+
for (let i = 0; i < jobs.length; i++) {
|
|
104
|
+
const job = jobs[i];
|
|
105
|
+
jobIndexMap.set(job.id, i);
|
|
106
|
+
let q = queues.get(job.endpointName);
|
|
107
|
+
if (!q) {
|
|
108
|
+
q = [];
|
|
109
|
+
queues.set(job.endpointName, q);
|
|
110
|
+
}
|
|
111
|
+
q.push(job);
|
|
112
|
+
}
|
|
113
|
+
const endpointNames = [...queues.keys()];
|
|
114
|
+
onProgress?.(`Scheduling: ${endpointNames.length} endpoint(s), ${endpointConcurrency} job(s)/endpoint, ${concurrency} max parallel`);
|
|
115
|
+
// Suppress stream-json-emitter NDJSON stdout writes
|
|
116
|
+
const origStdoutWrite = process.stdout.write.bind(process.stdout);
|
|
117
|
+
process.stdout.write = (() => true);
|
|
118
|
+
// Run endpoint queues in parallel, capped by concurrency
|
|
119
|
+
const allResults = [];
|
|
120
|
+
const queueEntries = [...queues.entries()];
|
|
121
|
+
let nextQueue = 0;
|
|
122
|
+
async function runEndpointSlot() {
|
|
123
|
+
while (nextQueue < queueEntries.length) {
|
|
124
|
+
const idx = nextQueue++;
|
|
125
|
+
const [, queue] = queueEntries[idx];
|
|
126
|
+
const results = await drainQueue(queue, endpointConcurrency, cwd, maxTurns, dirListing, jobs.length, jobIndexMap, { onProgress, onJobStart, onJobDone });
|
|
127
|
+
allResults.push(...results);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
const endpointSlots = Math.min(concurrency, queueEntries.length);
|
|
131
|
+
await Promise.allSettled(Array.from({ length: endpointSlots }, () => runEndpointSlot()));
|
|
132
|
+
process.stdout.write = origStdoutWrite;
|
|
133
|
+
// Return in original job order
|
|
134
|
+
const resultMap = new Map(allResults.map(r => [r.id, r]));
|
|
135
|
+
return jobs.map(j => resultMap.get(j.id)).filter(Boolean);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Build job list from prompt entries. Default: 1 prompt = 1 agent (first endpoint).
|
|
139
|
+
* Per-prompt `endpoint` field overrides the global endpoint selection.
|
|
140
|
+
*/
|
|
141
|
+
export function buildJobsFromEntries(entries, globalEndpoints, allEndpoints) {
|
|
142
|
+
const jobs = [];
|
|
143
|
+
let counter = 0;
|
|
144
|
+
const endpointMap = new Map();
|
|
145
|
+
for (const ep of allEndpoints)
|
|
146
|
+
endpointMap.set(ep.name, ep);
|
|
147
|
+
for (const ep of globalEndpoints)
|
|
148
|
+
endpointMap.set(ep.name, ep);
|
|
149
|
+
for (const entry of entries) {
|
|
150
|
+
let targets;
|
|
151
|
+
if (entry.endpoint) {
|
|
152
|
+
const names = entry.endpoint.split(',').map(s => s.trim()).filter(Boolean);
|
|
153
|
+
targets = names
|
|
154
|
+
.map(n => endpointMap.get(n))
|
|
155
|
+
.filter((ep) => ep !== undefined);
|
|
156
|
+
if (targets.length === 0)
|
|
157
|
+
targets = [globalEndpoints[0]];
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
targets = [globalEndpoints[0]];
|
|
161
|
+
}
|
|
162
|
+
for (const ep of targets) {
|
|
163
|
+
counter++;
|
|
164
|
+
jobs.push({
|
|
165
|
+
id: `explore-${counter}`,
|
|
166
|
+
prompt: entry.prompt,
|
|
167
|
+
endpointName: ep.name,
|
|
168
|
+
llmConfig: ep.llmConfig,
|
|
169
|
+
maxTurns: ep.maxTurns,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return jobs;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Build job list from prompts × endpoints cartesian product.
|
|
177
|
+
* Used when --all flag fans one prompt to every endpoint.
|
|
178
|
+
*/
|
|
179
|
+
export function buildJobs(prompts, endpoints) {
|
|
180
|
+
const jobs = [];
|
|
181
|
+
let counter = 0;
|
|
182
|
+
for (const prompt of prompts) {
|
|
183
|
+
for (const ep of endpoints) {
|
|
184
|
+
counter++;
|
|
185
|
+
jobs.push({
|
|
186
|
+
id: `explore-${counter}`,
|
|
187
|
+
prompt,
|
|
188
|
+
endpointName: ep.name,
|
|
189
|
+
llmConfig: ep.llmConfig,
|
|
190
|
+
maxTurns: ep.maxTurns,
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return jobs;
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=runner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner.js","sourceRoot":"","sources":["../../../../src/agents/api-explore/runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,YAAY,EAAkB,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAA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M,UAAU,SAAS,CACvB,OAAiB,EACjB,SAA0B;IAE1B,MAAM,IAAI,GAAiB,EAAE,CAAC;IAC9B,IAAI,OAAO,GAAG,CAAC,CAAC;IAEhB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE,CAAC;YAC3B,OAAO,EAAE,CAAC;YACV,IAAI,CAAC,IAAI,CAAC;gBACR,EAAE,EAAE,WAAW,OAAO,EAAE;gBACxB,MAAM;gBACN,YAAY,EAAE,EAAE,CAAC,IAAI;gBACrB,SAAS,EAAE,EAAE,CAAC,SAAS;gBACvB,QAAQ,EAAE,EAAE,CAAC,QAAQ;aACtB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ExploreResult } from './runner.js';
|
|
2
|
+
export interface ExploreSession {
|
|
3
|
+
id: string;
|
|
4
|
+
startedAt: string;
|
|
5
|
+
cwd: string;
|
|
6
|
+
prompts: string[];
|
|
7
|
+
endpoints: string[];
|
|
8
|
+
totalJobs: number;
|
|
9
|
+
concurrency: number;
|
|
10
|
+
maxTurns: number;
|
|
11
|
+
durationMs: number;
|
|
12
|
+
results: ExploreResult[];
|
|
13
|
+
}
|
|
14
|
+
export declare function generateSessionId(): string;
|
|
15
|
+
export declare function saveSession(session: ExploreSession, outputDir?: string): string;
|
|
16
|
+
export declare function loadSession(cwd: string, sessionId: string, outputDir?: string): ExploreSession | null;
|
|
17
|
+
export declare function listSessions(cwd: string, outputDir?: string): Array<{
|
|
18
|
+
id: string;
|
|
19
|
+
startedAt: string;
|
|
20
|
+
prompts: number;
|
|
21
|
+
durationMs: number;
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/agents/api-explore/session.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,aAAa,EAAE,CAAC;CAC1B;AAMD,wBAAgB,iBAAiB,IAAI,MAAM,CAa1C;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAO/E;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CASrG;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAgB3I"}
|