takt 0.41.0 → 0.43.0
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/README.md +59 -28
- package/builtins/en/config.yaml +9 -1
- package/builtins/en/facets/instructions/dual-team-leader-implement.md +7 -2
- package/builtins/en/facets/instructions/fix-maintenance.md +43 -0
- package/builtins/en/facets/instructions/implement-maintenance.md +72 -0
- package/builtins/en/facets/instructions/plan-maintenance.md +51 -0
- package/builtins/en/facets/instructions/review-coding.md +8 -0
- package/builtins/en/facets/instructions/supervise-maintenance.md +110 -0
- package/builtins/en/facets/instructions/team-leader-implement.md +6 -1
- package/builtins/en/facets/instructions/write-tests-first.md +5 -0
- package/builtins/en/facets/instructions/write-tests-maintenance.md +45 -0
- package/builtins/en/facets/knowledge/architecture.md +18 -13
- package/builtins/en/facets/knowledge/cqrs-es.md +48 -0
- package/builtins/en/facets/knowledge/existing-system.md +70 -0
- package/builtins/en/facets/knowledge/frontend.md +25 -0
- package/builtins/en/facets/knowledge/react.md +35 -0
- package/builtins/en/facets/output-contracts/coding-review.md +41 -0
- package/builtins/en/facets/output-contracts/frontend-review.md +1 -0
- package/builtins/en/facets/output-contracts/maintenance-scope.md +29 -0
- package/builtins/en/facets/personas/coding-reviewer.md +27 -0
- package/builtins/en/facets/personas/dual-supervisor.md +1 -1
- package/builtins/en/facets/policies/ai-antipattern.md +59 -0
- package/builtins/en/facets/policies/coding.md +85 -3
- package/builtins/en/facets/policies/existing-system-respect.md +73 -0
- package/builtins/en/facets/policies/qa.md +3 -1
- package/builtins/en/facets/policies/review.md +25 -12
- package/builtins/en/facets/policies/testing.md +33 -0
- package/builtins/en/workflow-categories.yaml +1 -0
- package/builtins/en/workflows/auto-improvement-loop.yaml +20 -4
- package/builtins/en/workflows/default-peer-review.yaml +25 -3
- package/builtins/en/workflows/frontend-maintenance.yaml +499 -0
- package/builtins/en/workflows/peer-review.yaml +23 -1
- package/builtins/en/workflows/review-fix-takt-default.yaml +30 -2
- package/builtins/ja/config.yaml +9 -1
- package/builtins/ja/facets/instructions/dual-team-leader-implement.md +7 -2
- package/builtins/ja/facets/instructions/fix-maintenance.md +43 -0
- package/builtins/ja/facets/instructions/implement-maintenance.md +72 -0
- package/builtins/ja/facets/instructions/plan-maintenance.md +51 -0
- package/builtins/ja/facets/instructions/review-coding.md +8 -0
- package/builtins/ja/facets/instructions/supervise-maintenance.md +110 -0
- package/builtins/ja/facets/instructions/team-leader-implement.md +6 -1
- package/builtins/ja/facets/instructions/write-tests-first.md +5 -0
- package/builtins/ja/facets/instructions/write-tests-maintenance.md +45 -0
- package/builtins/ja/facets/knowledge/architecture.md +18 -13
- package/builtins/ja/facets/knowledge/cqrs-es.md +48 -0
- package/builtins/ja/facets/knowledge/existing-system.md +70 -0
- package/builtins/ja/facets/knowledge/frontend.md +25 -0
- package/builtins/ja/facets/knowledge/react.md +35 -0
- package/builtins/ja/facets/output-contracts/coding-review.md +41 -0
- package/builtins/ja/facets/output-contracts/frontend-review.md +1 -0
- package/builtins/ja/facets/output-contracts/maintenance-scope.md +29 -0
- package/builtins/ja/facets/personas/coding-reviewer.md +27 -0
- package/builtins/ja/facets/personas/dual-supervisor.md +2 -2
- package/builtins/ja/facets/policies/ai-antipattern.md +59 -0
- package/builtins/ja/facets/policies/coding.md +85 -3
- package/builtins/ja/facets/policies/existing-system-respect.md +73 -0
- package/builtins/ja/facets/policies/qa.md +3 -1
- package/builtins/ja/facets/policies/review.md +25 -12
- package/builtins/ja/facets/policies/testing.md +33 -0
- package/builtins/ja/workflow-categories.yaml +1 -0
- package/builtins/ja/workflows/auto-improvement-loop.yaml +20 -4
- package/builtins/ja/workflows/default-peer-review.yaml +25 -3
- package/builtins/ja/workflows/frontend-maintenance.yaml +499 -0
- package/builtins/ja/workflows/peer-review.yaml +23 -1
- package/builtins/ja/workflows/review-fix-takt-default.yaml +30 -2
- package/builtins/skill/references/yaml-schema.md +8 -3
- package/builtins/skill-codex/references/yaml-schema.md +8 -3
- package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
- package/dist/agents/decompose-task-usecase.js +3 -2
- package/dist/agents/decompose-task-usecase.js.map +1 -1
- package/dist/agents/judge-status-usecase.d.ts.map +1 -1
- package/dist/agents/judge-status-usecase.js +4 -3
- package/dist/agents/judge-status-usecase.js.map +1 -1
- package/dist/agents/provider-call-options.d.ts +4 -0
- package/dist/agents/provider-call-options.d.ts.map +1 -0
- package/dist/agents/provider-call-options.js +9 -0
- package/dist/agents/provider-call-options.js.map +1 -0
- package/dist/agents/runner.js +1 -1
- package/dist/agents/runner.js.map +1 -1
- package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -1
- package/dist/agents/structured-caller/prompt-based-structured-caller.js +5 -4
- package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
- package/dist/agents/team-leader-structured-output.d.ts.map +1 -1
- package/dist/agents/team-leader-structured-output.js +21 -0
- package/dist/agents/team-leader-structured-output.js.map +1 -1
- package/dist/app/cli/commands.js +7 -1
- package/dist/app/cli/commands.js.map +1 -1
- package/dist/app/cli/program.js +1 -1
- package/dist/app/cli/program.js.map +1 -1
- package/dist/app/cli/routing.d.ts.map +1 -1
- package/dist/app/cli/routing.js +8 -1
- package/dist/app/cli/routing.js.map +1 -1
- package/dist/core/models/assistant-config.d.ts +4 -0
- package/dist/core/models/assistant-config.d.ts.map +1 -0
- package/dist/core/models/assistant-config.js +4 -0
- package/dist/core/models/assistant-config.js.map +1 -0
- package/dist/core/models/config-schemas.d.ts +160 -9
- package/dist/core/models/config-schemas.d.ts.map +1 -1
- package/dist/core/models/config-schemas.js +12 -2
- package/dist/core/models/config-schemas.js.map +1 -1
- package/dist/core/models/config-types.d.ts +30 -4
- package/dist/core/models/config-types.d.ts.map +1 -1
- package/dist/core/models/index.d.ts +1 -1
- package/dist/core/models/index.d.ts.map +1 -1
- package/dist/core/models/index.js.map +1 -1
- package/dist/core/models/provider-profiles.d.ts +1 -1
- package/dist/core/models/provider-profiles.d.ts.map +1 -1
- package/dist/core/models/quality-gate-defaults.d.ts +2 -0
- package/dist/core/models/quality-gate-defaults.d.ts.map +1 -0
- package/dist/core/models/quality-gate-defaults.js +2 -0
- package/dist/core/models/quality-gate-defaults.js.map +1 -0
- package/dist/core/models/response.d.ts +1 -1
- package/dist/core/models/response.d.ts.map +1 -1
- package/dist/core/models/response.js +1 -1
- package/dist/core/models/response.js.map +1 -1
- package/dist/core/models/schema-base.d.ts +80 -3
- package/dist/core/models/schema-base.d.ts.map +1 -1
- package/dist/core/models/schema-base.js +76 -2
- package/dist/core/models/schema-base.js.map +1 -1
- package/dist/core/models/types.d.ts +2 -2
- package/dist/core/models/types.d.ts.map +1 -1
- package/dist/core/models/workflow-provider-options.d.ts +7 -0
- package/dist/core/models/workflow-provider-options.d.ts.map +1 -1
- package/dist/core/models/workflow-schemas.d.ts +368 -51
- package/dist/core/models/workflow-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-system-input-types.d.ts +8 -1
- package/dist/core/models/workflow-system-input-types.d.ts.map +1 -1
- package/dist/core/models/workflow-system-schemas.d.ts +7 -1
- package/dist/core/models/workflow-system-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-system-schemas.js +12 -1
- package/dist/core/models/workflow-system-schemas.js.map +1 -1
- package/dist/core/models/workflow-types.d.ts +13 -5
- package/dist/core/models/workflow-types.d.ts.map +1 -1
- package/dist/core/models/workflow-types.js.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.d.ts +1 -0
- package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.js +9 -4
- package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.d.ts +11 -0
- package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.js +139 -19
- package/dist/core/workflow/engine/ParallelRunner.js.map +1 -1
- package/dist/core/workflow/engine/TeamLeaderRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/TeamLeaderRunner.js +55 -23
- package/dist/core/workflow/engine/TeamLeaderRunner.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.d.ts +1 -0
- package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.js +29 -4
- package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.js +2 -0
- package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.d.ts +8 -0
- package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.js +78 -7
- package/dist/core/workflow/engine/WorkflowRunLoop.js.map +1 -1
- package/dist/core/workflow/engine/team-leader-execution.d.ts +1 -0
- package/dist/core/workflow/engine/team-leader-execution.d.ts.map +1 -1
- package/dist/core/workflow/engine/team-leader-execution.js +22 -0
- package/dist/core/workflow/engine/team-leader-execution.js.map +1 -1
- package/dist/core/workflow/engine/team-leader-timeout-fallback.d.ts +13 -0
- package/dist/core/workflow/engine/team-leader-timeout-fallback.d.ts.map +1 -0
- package/dist/core/workflow/engine/team-leader-timeout-fallback.js +125 -0
- package/dist/core/workflow/engine/team-leader-timeout-fallback.js.map +1 -0
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js +4 -3
- package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
- package/dist/core/workflow/observability/workflowSpans.d.ts +28 -0
- package/dist/core/workflow/observability/workflowSpans.d.ts.map +1 -0
- package/dist/core/workflow/observability/workflowSpans.js +107 -0
- package/dist/core/workflow/observability/workflowSpans.js.map +1 -0
- package/dist/core/workflow/part-definition-validator.d.ts.map +1 -1
- package/dist/core/workflow/part-definition-validator.js +4 -0
- package/dist/core/workflow/part-definition-validator.js.map +1 -1
- package/dist/core/workflow/permission-profile-resolution.d.ts.map +1 -1
- package/dist/core/workflow/permission-profile-resolution.js +1 -0
- package/dist/core/workflow/permission-profile-resolution.js.map +1 -1
- package/dist/core/workflow/phase-runner.d.ts +1 -3
- package/dist/core/workflow/phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/phase-runner.js.map +1 -1
- package/dist/core/workflow/quality-gates/commandGateMessage.d.ts +4 -0
- package/dist/core/workflow/quality-gates/commandGateMessage.d.ts.map +1 -0
- package/dist/core/workflow/quality-gates/commandGateMessage.js +84 -0
- package/dist/core/workflow/quality-gates/commandGateMessage.js.map +1 -0
- package/dist/core/workflow/quality-gates/commandGateRunner.d.ts +3 -0
- package/dist/core/workflow/quality-gates/commandGateRunner.d.ts.map +1 -0
- package/dist/core/workflow/quality-gates/commandGateRunner.js +242 -0
- package/dist/core/workflow/quality-gates/commandGateRunner.js.map +1 -0
- package/dist/core/workflow/quality-gates/qualityGateRunner.d.ts +3 -0
- package/dist/core/workflow/quality-gates/qualityGateRunner.d.ts.map +1 -0
- package/dist/core/workflow/quality-gates/qualityGateRunner.js +29 -0
- package/dist/core/workflow/quality-gates/qualityGateRunner.js.map +1 -0
- package/dist/core/workflow/quality-gates/types.d.ts +41 -0
- package/dist/core/workflow/quality-gates/types.d.ts.map +1 -0
- package/dist/core/workflow/quality-gates/types.js +2 -0
- package/dist/core/workflow/quality-gates/types.js.map +1 -0
- package/dist/core/workflow/report-phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/report-phase-runner.js +3 -2
- package/dist/core/workflow/report-phase-runner.js.map +1 -1
- package/dist/core/workflow/run/run-meta.d.ts +3 -1
- package/dist/core/workflow/run/run-meta.d.ts.map +1 -1
- package/dist/core/workflow/run/run-meta.js +2 -0
- package/dist/core/workflow/run/run-meta.js.map +1 -1
- package/dist/core/workflow/run/run-slug.d.ts +2 -0
- package/dist/core/workflow/run/run-slug.d.ts.map +1 -0
- package/dist/core/workflow/run/run-slug.js +19 -0
- package/dist/core/workflow/run/run-slug.js.map +1 -0
- package/dist/core/workflow/status-judgment-phase.d.ts.map +1 -1
- package/dist/core/workflow/status-judgment-phase.js +7 -3
- package/dist/core/workflow/status-judgment-phase.js.map +1 -1
- package/dist/core/workflow/system/system-step-effect-runner.d.ts.map +1 -1
- package/dist/core/workflow/system/system-step-effect-runner.js +16 -1
- package/dist/core/workflow/system/system-step-effect-runner.js.map +1 -1
- package/dist/core/workflow/team-leader-continuation-ids.d.ts +3 -0
- package/dist/core/workflow/team-leader-continuation-ids.d.ts.map +1 -0
- package/dist/core/workflow/team-leader-continuation-ids.js +6 -0
- package/dist/core/workflow/team-leader-continuation-ids.js.map +1 -0
- package/dist/core/workflow/types.d.ts +7 -1
- package/dist/core/workflow/types.d.ts.map +1 -1
- package/dist/features/interactive/assistantInitFiles.d.ts +2 -0
- package/dist/features/interactive/assistantInitFiles.d.ts.map +1 -0
- package/dist/features/interactive/assistantInitFiles.js +110 -0
- package/dist/features/interactive/assistantInitFiles.js.map +1 -0
- package/dist/features/interactive/conversationLoop.d.ts +5 -1
- package/dist/features/interactive/conversationLoop.d.ts.map +1 -1
- package/dist/features/interactive/conversationLoop.js +33 -11
- package/dist/features/interactive/conversationLoop.js.map +1 -1
- package/dist/features/interactive/imageAttachments.d.ts +20 -0
- package/dist/features/interactive/imageAttachments.d.ts.map +1 -0
- package/dist/features/interactive/imageAttachments.js +75 -0
- package/dist/features/interactive/imageAttachments.js.map +1 -0
- package/dist/features/interactive/index.d.ts +2 -1
- package/dist/features/interactive/index.d.ts.map +1 -1
- package/dist/features/interactive/index.js +1 -1
- package/dist/features/interactive/index.js.map +1 -1
- package/dist/features/interactive/inlineImagePaste.d.ts +21 -0
- package/dist/features/interactive/inlineImagePaste.d.ts.map +1 -0
- package/dist/features/interactive/inlineImagePaste.js +136 -0
- package/dist/features/interactive/inlineImagePaste.js.map +1 -0
- package/dist/features/interactive/instructModeTypes.d.ts +23 -0
- package/dist/features/interactive/instructModeTypes.d.ts.map +1 -0
- package/dist/features/interactive/instructModeTypes.js +2 -0
- package/dist/features/interactive/instructModeTypes.js.map +1 -0
- package/dist/features/interactive/interactive-summary.d.ts +1 -1
- package/dist/features/interactive/interactive-summary.d.ts.map +1 -1
- package/dist/features/interactive/interactive-summary.js +4 -3
- package/dist/features/interactive/interactive-summary.js.map +1 -1
- package/dist/features/interactive/interactive.d.ts +8 -3
- package/dist/features/interactive/interactive.d.ts.map +1 -1
- package/dist/features/interactive/interactive.js +4 -0
- package/dist/features/interactive/interactive.js.map +1 -1
- package/dist/features/interactive/interactiveInput.d.ts +2 -1
- package/dist/features/interactive/interactiveInput.d.ts.map +1 -1
- package/dist/features/interactive/interactiveInput.js +5 -1
- package/dist/features/interactive/interactiveInput.js.map +1 -1
- package/dist/features/interactive/lineEditor.d.ts +2 -0
- package/dist/features/interactive/lineEditor.d.ts.map +1 -1
- package/dist/features/interactive/lineEditor.js +130 -9
- package/dist/features/interactive/lineEditor.js.map +1 -1
- package/dist/features/interactive/passthroughMode.d.ts.map +1 -1
- package/dist/features/interactive/passthroughMode.js +8 -4
- package/dist/features/interactive/passthroughMode.js.map +1 -1
- package/dist/features/interactive/promptSections.d.ts +2 -0
- package/dist/features/interactive/promptSections.d.ts.map +1 -1
- package/dist/features/interactive/promptSections.js +7 -1
- package/dist/features/interactive/promptSections.js.map +1 -1
- package/dist/features/interactive/quietMode.d.ts.map +1 -1
- package/dist/features/interactive/quietMode.js +12 -8
- package/dist/features/interactive/quietMode.js.map +1 -1
- package/dist/features/interactive/retryMode.d.ts +10 -13
- package/dist/features/interactive/retryMode.d.ts.map +1 -1
- package/dist/features/interactive/retryMode.js +42 -22
- package/dist/features/interactive/retryMode.js.map +1 -1
- package/dist/features/interactive/slashCommandRegistry.d.ts.map +1 -1
- package/dist/features/interactive/slashCommandRegistry.js +1 -0
- package/dist/features/interactive/slashCommandRegistry.js.map +1 -1
- package/dist/features/tasks/add/index.d.ts +4 -0
- package/dist/features/tasks/add/index.d.ts.map +1 -1
- package/dist/features/tasks/add/index.js +12 -29
- package/dist/features/tasks/add/index.js.map +1 -1
- package/dist/features/tasks/attachments.d.ts +19 -0
- package/dist/features/tasks/attachments.d.ts.map +1 -0
- package/dist/features/tasks/attachments.js +129 -0
- package/dist/features/tasks/attachments.js.map +1 -0
- package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
- package/dist/features/tasks/execute/resolveTask.js +4 -3
- package/dist/features/tasks/execute/resolveTask.js.map +1 -1
- package/dist/features/tasks/execute/runMeta.d.ts +5 -1
- package/dist/features/tasks/execute/runMeta.d.ts.map +1 -1
- package/dist/features/tasks/execute/runMeta.js +10 -4
- package/dist/features/tasks/execute/runMeta.js.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.js +48 -4
- package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
- package/dist/features/tasks/execute/taskSpecContext.d.ts +7 -2
- package/dist/features/tasks/execute/taskSpecContext.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskSpecContext.js +23 -36
- package/dist/features/tasks/execute/taskSpecContext.js.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js +2 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/traceReportRedaction.d.ts +0 -1
- package/dist/features/tasks/execute/traceReportRedaction.d.ts.map +1 -1
- package/dist/features/tasks/execute/traceReportRedaction.js +1 -9
- package/dist/features/tasks/execute/traceReportRedaction.js.map +1 -1
- package/dist/features/tasks/execute/types.d.ts +8 -0
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.js +12 -1
- package/dist/features/tasks/execute/workflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts +5 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js +7 -2
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -1
- package/dist/features/tasks/index.d.ts +1 -0
- package/dist/features/tasks/index.d.ts.map +1 -1
- package/dist/features/tasks/index.js +1 -0
- package/dist/features/tasks/index.js.map +1 -1
- package/dist/features/tasks/list/instructMode.d.ts +2 -20
- package/dist/features/tasks/list/instructMode.d.ts.map +1 -1
- package/dist/features/tasks/list/instructMode.js +15 -4
- package/dist/features/tasks/list/instructMode.js.map +1 -1
- package/dist/features/tasks/list/retryTaskSpecAttachments.d.ts +8 -0
- package/dist/features/tasks/list/retryTaskSpecAttachments.d.ts.map +1 -0
- package/dist/features/tasks/list/retryTaskSpecAttachments.js +87 -0
- package/dist/features/tasks/list/retryTaskSpecAttachments.js.map +1 -0
- package/dist/features/tasks/list/taskInstructionActions.d.ts.map +1 -1
- package/dist/features/tasks/list/taskInstructionActions.js +20 -2
- package/dist/features/tasks/list/taskInstructionActions.js.map +1 -1
- package/dist/features/tasks/list/taskRetryActions.d.ts.map +1 -1
- package/dist/features/tasks/list/taskRetryActions.js +24 -6
- package/dist/features/tasks/list/taskRetryActions.js.map +1 -1
- package/dist/features/tasks/resume/directInstructMode.d.ts +13 -0
- package/dist/features/tasks/resume/directInstructMode.d.ts.map +1 -0
- package/dist/features/tasks/resume/directInstructMode.js +67 -0
- package/dist/features/tasks/resume/directInstructMode.js.map +1 -0
- package/dist/features/tasks/resume/directRunFinder.d.ts +7 -0
- package/dist/features/tasks/resume/directRunFinder.d.ts.map +1 -0
- package/dist/features/tasks/resume/directRunFinder.js +43 -0
- package/dist/features/tasks/resume/directRunFinder.js.map +1 -0
- package/dist/features/tasks/resume/index.d.ts +3 -0
- package/dist/features/tasks/resume/index.d.ts.map +1 -0
- package/dist/features/tasks/resume/index.js +229 -0
- package/dist/features/tasks/resume/index.js.map +1 -0
- package/dist/features/tasks/taskSpecFile.d.ts +2 -0
- package/dist/features/tasks/taskSpecFile.d.ts.map +1 -0
- package/dist/features/tasks/taskSpecFile.js +38 -0
- package/dist/features/tasks/taskSpecFile.js.map +1 -0
- package/dist/infra/claude/executor.d.ts.map +1 -1
- package/dist/infra/claude/executor.js +27 -6
- package/dist/infra/claude/executor.js.map +1 -1
- package/dist/infra/claude/mcp-config.d.ts +7 -0
- package/dist/infra/claude/mcp-config.d.ts.map +1 -0
- package/dist/infra/claude/mcp-config.js +30 -0
- package/dist/infra/claude/mcp-config.js.map +1 -0
- package/dist/infra/claude-headless/client.d.ts.map +1 -1
- package/dist/infra/claude-headless/client.js +5 -40
- package/dist/infra/claude-headless/client.js.map +1 -1
- package/dist/infra/claude-headless/result-response.js +1 -1
- package/dist/infra/claude-headless/result-response.js.map +1 -1
- package/dist/infra/claude-terminal/client.d.ts +4 -0
- package/dist/infra/claude-terminal/client.d.ts.map +1 -0
- package/dist/infra/claude-terminal/client.js +314 -0
- package/dist/infra/claude-terminal/client.js.map +1 -0
- package/dist/infra/claude-terminal/command.d.ts +4 -0
- package/dist/infra/claude-terminal/command.d.ts.map +1 -0
- package/dist/infra/claude-terminal/command.js +50 -0
- package/dist/infra/claude-terminal/command.js.map +1 -0
- package/dist/infra/claude-terminal/response-normalizer.d.ts +14 -0
- package/dist/infra/claude-terminal/response-normalizer.d.ts.map +1 -0
- package/dist/infra/claude-terminal/response-normalizer.js +118 -0
- package/dist/infra/claude-terminal/response-normalizer.js.map +1 -0
- package/dist/infra/claude-terminal/tmux-backend.d.ts +7 -0
- package/dist/infra/claude-terminal/tmux-backend.d.ts.map +1 -0
- package/dist/infra/claude-terminal/tmux-backend.js +177 -0
- package/dist/infra/claude-terminal/tmux-backend.js.map +1 -0
- package/dist/infra/claude-terminal/transcript-reader.d.ts +13 -0
- package/dist/infra/claude-terminal/transcript-reader.d.ts.map +1 -0
- package/dist/infra/claude-terminal/transcript-reader.js +329 -0
- package/dist/infra/claude-terminal/transcript-reader.js.map +1 -0
- package/dist/infra/claude-terminal/types.d.ts +106 -0
- package/dist/infra/claude-terminal/types.d.ts.map +1 -0
- package/dist/infra/claude-terminal/types.js +2 -0
- package/dist/infra/claude-terminal/types.js.map +1 -0
- package/dist/infra/codex/CodexStreamHandler.d.ts +4 -2
- package/dist/infra/codex/CodexStreamHandler.d.ts.map +1 -1
- package/dist/infra/codex/CodexStreamHandler.js +55 -21
- package/dist/infra/codex/CodexStreamHandler.js.map +1 -1
- package/dist/infra/codex/client.d.ts +2 -0
- package/dist/infra/codex/client.d.ts.map +1 -1
- package/dist/infra/codex/client.js +42 -6
- package/dist/infra/codex/client.js.map +1 -1
- package/dist/infra/config/configNormalizers.d.ts +23 -16
- package/dist/infra/config/configNormalizers.d.ts.map +1 -1
- package/dist/infra/config/configNormalizers.js +69 -7
- package/dist/infra/config/configNormalizers.js.map +1 -1
- package/dist/infra/config/env/global-current-env-specs.d.ts.map +1 -1
- package/dist/infra/config/env/global-current-env-specs.js +7 -0
- package/dist/infra/config/env/global-current-env-specs.js.map +1 -1
- package/dist/infra/config/env/project-current-env-specs.d.ts.map +1 -1
- package/dist/infra/config/env/project-current-env-specs.js +7 -0
- package/dist/infra/config/env/project-current-env-specs.js.map +1 -1
- package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfigCore.js +5 -0
- package/dist/infra/config/global/globalConfigCore.js.map +1 -1
- package/dist/infra/config/global/globalConfigSerializer.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfigSerializer.js +10 -0
- package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
- package/dist/infra/config/global/initialization.d.ts +1 -1
- package/dist/infra/config/global/initialization.d.ts.map +1 -1
- package/dist/infra/config/global/initialization.js +1 -0
- package/dist/infra/config/global/initialization.js.map +1 -1
- package/dist/infra/config/loaders/qualityGateOverrides.d.ts +3 -2
- package/dist/infra/config/loaders/qualityGateOverrides.d.ts.map +1 -1
- package/dist/infra/config/loaders/qualityGateOverrides.js +42 -3
- package/dist/infra/config/loaders/qualityGateOverrides.js.map +1 -1
- package/dist/infra/config/loaders/workflowFileLoader.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowFileLoader.js +2 -2
- package/dist/infra/config/loaders/workflowFileLoader.js.map +1 -1
- package/dist/infra/config/loaders/workflowNormalizationPolicies.d.ts +3 -1
- package/dist/infra/config/loaders/workflowNormalizationPolicies.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowNormalizationPolicies.js +28 -0
- package/dist/infra/config/loaders/workflowNormalizationPolicies.js.map +1 -1
- package/dist/infra/config/loaders/workflowParser.d.ts +2 -2
- package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowParser.js +3 -2
- package/dist/infra/config/loaders/workflowParser.js.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.js +2 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
- package/dist/infra/config/observabilityConfig.d.ts +13 -0
- package/dist/infra/config/observabilityConfig.d.ts.map +1 -0
- package/dist/infra/config/observabilityConfig.js +52 -0
- package/dist/infra/config/observabilityConfig.js.map +1 -0
- package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
- package/dist/infra/config/project/projectConfig.js +23 -5
- package/dist/infra/config/project/projectConfig.js.map +1 -1
- package/dist/infra/config/project/projectConfigTransforms.d.ts +5 -1
- package/dist/infra/config/project/projectConfigTransforms.d.ts.map +1 -1
- package/dist/infra/config/project/projectConfigTransforms.js +8 -0
- package/dist/infra/config/project/projectConfigTransforms.js.map +1 -1
- package/dist/infra/config/providerOptions.d.ts +8 -2
- package/dist/infra/config/providerOptions.d.ts.map +1 -1
- package/dist/infra/config/providerOptions.js +49 -1
- package/dist/infra/config/providerOptions.js.map +1 -1
- package/dist/infra/config/providerOptionsContract.d.ts +3 -3
- package/dist/infra/config/providerOptionsContract.d.ts.map +1 -1
- package/dist/infra/config/providerOptionsContract.js +14 -0
- package/dist/infra/config/providerOptionsContract.js.map +1 -1
- package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
- package/dist/infra/config/resolveConfigValue.js +18 -0
- package/dist/infra/config/resolveConfigValue.js.map +1 -1
- package/dist/infra/config/resolvedConfig.d.ts +2 -1
- package/dist/infra/config/resolvedConfig.d.ts.map +1 -1
- package/dist/infra/config/traced/tracedConfigSchema.d.ts.map +1 -1
- package/dist/infra/config/traced/tracedConfigSchema.js +16 -0
- package/dist/infra/config/traced/tracedConfigSchema.js.map +1 -1
- package/dist/infra/git/format.d.ts.map +1 -1
- package/dist/infra/git/format.js +75 -8
- package/dist/infra/git/format.js.map +1 -1
- package/dist/infra/git/index.d.ts +1 -1
- package/dist/infra/git/index.d.ts.map +1 -1
- package/dist/infra/git/types.d.ts +5 -0
- package/dist/infra/git/types.d.ts.map +1 -1
- package/dist/infra/github/pr.d.ts.map +1 -1
- package/dist/infra/github/pr.js +174 -28
- package/dist/infra/github/pr.js.map +1 -1
- package/dist/infra/observability/otelFoundation.d.ts +6 -0
- package/dist/infra/observability/otelFoundation.d.ts.map +1 -0
- package/dist/infra/observability/otelFoundation.js +89 -0
- package/dist/infra/observability/otelFoundation.js.map +1 -0
- package/dist/infra/opencode/client.d.ts.map +1 -1
- package/dist/infra/opencode/client.js +19 -15
- package/dist/infra/opencode/client.js.map +1 -1
- package/dist/infra/providers/claude-terminal.d.ts +6 -0
- package/dist/infra/providers/claude-terminal.d.ts.map +1 -0
- package/dist/infra/providers/claude-terminal.js +70 -0
- package/dist/infra/providers/claude-terminal.js.map +1 -0
- package/dist/infra/providers/index.d.ts.map +1 -1
- package/dist/infra/providers/index.js +2 -0
- package/dist/infra/providers/index.js.map +1 -1
- package/dist/infra/providers/provider-capabilities.d.ts +1 -0
- package/dist/infra/providers/provider-capabilities.d.ts.map +1 -1
- package/dist/infra/providers/provider-capabilities.js +16 -0
- package/dist/infra/providers/provider-capabilities.js.map +1 -1
- package/dist/infra/rate-limit/detection.d.ts +2 -0
- package/dist/infra/rate-limit/detection.d.ts.map +1 -1
- package/dist/infra/rate-limit/detection.js +14 -1
- package/dist/infra/rate-limit/detection.js.map +1 -1
- package/dist/infra/task/clone-base-branch.d.ts +11 -0
- package/dist/infra/task/clone-base-branch.d.ts.map +1 -1
- package/dist/infra/task/clone-base-branch.js +34 -4
- package/dist/infra/task/clone-base-branch.js.map +1 -1
- package/dist/infra/task/clone.d.ts +2 -1
- package/dist/infra/task/clone.d.ts.map +1 -1
- package/dist/infra/task/clone.js +20 -3
- package/dist/infra/task/clone.js.map +1 -1
- package/dist/infra/task/index.d.ts +1 -1
- package/dist/infra/task/index.d.ts.map +1 -1
- package/dist/infra/task/index.js +1 -1
- package/dist/infra/task/index.js.map +1 -1
- package/dist/infra/task/projectLocalTaktSync.d.ts.map +1 -1
- package/dist/infra/task/projectLocalTaktSync.js +6 -2
- package/dist/infra/task/projectLocalTaktSync.js.map +1 -1
- package/dist/infra/task/runner.d.ts +2 -2
- package/dist/infra/task/runner.d.ts.map +1 -1
- package/dist/infra/task/runner.js +4 -4
- package/dist/infra/task/runner.js.map +1 -1
- package/dist/infra/task/taskRecordMutations.d.ts +1 -1
- package/dist/infra/task/taskRecordMutations.d.ts.map +1 -1
- package/dist/infra/task/taskRecordMutations.js +5 -1
- package/dist/infra/task/taskRecordMutations.js.map +1 -1
- package/dist/infra/task/taskRetryService.d.ts +2 -2
- package/dist/infra/task/taskRetryService.d.ts.map +1 -1
- package/dist/infra/task/taskRetryService.js +4 -4
- package/dist/infra/task/taskRetryService.js.map +1 -1
- package/dist/infra/workflow/system/system-enqueue-effect.d.ts +2 -2
- package/dist/infra/workflow/system/system-enqueue-effect.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-enqueue-effect.js +5 -2
- package/dist/infra/workflow/system/system-enqueue-effect.js.map +1 -1
- package/dist/shared/constants.d.ts +1 -0
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +1 -0
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/i18n/labels_en.yaml +3 -1
- package/dist/shared/i18n/labels_ja.yaml +3 -1
- package/dist/shared/prompts/en/score_direct_instruct_system_prompt.md +63 -0
- package/dist/shared/prompts/en/score_retry_system_prompt.md +2 -2
- package/dist/shared/prompts/ja/score_direct_instruct_system_prompt.md +63 -0
- package/dist/shared/prompts/ja/score_retry_system_prompt.md +2 -2
- package/dist/shared/types/provider.d.ts +1 -1
- package/dist/shared/types/provider.d.ts.map +1 -1
- package/dist/shared/utils/debug.d.ts +2 -0
- package/dist/shared/utils/debug.d.ts.map +1 -1
- package/dist/shared/utils/debug.js +1 -0
- package/dist/shared/utils/debug.js.map +1 -1
- package/dist/shared/utils/sensitiveText.d.ts +2 -0
- package/dist/shared/utils/sensitiveText.d.ts.map +1 -0
- package/dist/shared/utils/sensitiveText.js +40 -0
- package/dist/shared/utils/sensitiveText.js.map +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
name: frontend-maintenance
|
|
2
|
+
description: Strict frontend maintenance workflow for existing production systems
|
|
3
|
+
workflow_config:
|
|
4
|
+
provider_options:
|
|
5
|
+
codex:
|
|
6
|
+
network_access: true
|
|
7
|
+
opencode:
|
|
8
|
+
network_access: true
|
|
9
|
+
max_steps: 30
|
|
10
|
+
initial_step: plan
|
|
11
|
+
loop_monitors:
|
|
12
|
+
- cycle:
|
|
13
|
+
- ai-antipattern-review-1st
|
|
14
|
+
- ai-antipattern-fix
|
|
15
|
+
threshold: 3
|
|
16
|
+
judge:
|
|
17
|
+
persona: supervisor
|
|
18
|
+
instruction: loop-monitor-ai-antipattern-fix
|
|
19
|
+
rules:
|
|
20
|
+
- condition: Healthy (making progress)
|
|
21
|
+
next: ai-antipattern-review-1st
|
|
22
|
+
- condition: Unproductive (no improvement)
|
|
23
|
+
next: reviewers_1
|
|
24
|
+
- cycle:
|
|
25
|
+
- reviewers_1
|
|
26
|
+
- fix
|
|
27
|
+
threshold: 3
|
|
28
|
+
judge:
|
|
29
|
+
persona: supervisor
|
|
30
|
+
instruction: loop-monitor-reviewers-fix
|
|
31
|
+
rules:
|
|
32
|
+
- condition: converging (findings decreasing, fixes applied)
|
|
33
|
+
next: reviewers_1
|
|
34
|
+
- condition: unproductive (same findings repeating)
|
|
35
|
+
next: supervise
|
|
36
|
+
steps:
|
|
37
|
+
- name: plan
|
|
38
|
+
edit: false
|
|
39
|
+
persona: planner
|
|
40
|
+
policy:
|
|
41
|
+
- design-planning
|
|
42
|
+
- existing-system-respect
|
|
43
|
+
knowledge:
|
|
44
|
+
- frontend
|
|
45
|
+
- react
|
|
46
|
+
- architecture
|
|
47
|
+
- existing-system
|
|
48
|
+
provider_options:
|
|
49
|
+
claude:
|
|
50
|
+
allowed_tools:
|
|
51
|
+
- Read
|
|
52
|
+
- Glob
|
|
53
|
+
- Grep
|
|
54
|
+
- Bash
|
|
55
|
+
- WebSearch
|
|
56
|
+
- WebFetch
|
|
57
|
+
instruction: plan-maintenance
|
|
58
|
+
rules:
|
|
59
|
+
- condition: Task analysis and planning is complete
|
|
60
|
+
next: write_tests
|
|
61
|
+
- condition: Requirements are unclear and planning cannot proceed
|
|
62
|
+
next: ABORT
|
|
63
|
+
output_contracts:
|
|
64
|
+
report:
|
|
65
|
+
- name: plan.md
|
|
66
|
+
format: plan-frontend
|
|
67
|
+
- name: write_tests
|
|
68
|
+
edit: true
|
|
69
|
+
persona: coder
|
|
70
|
+
policy:
|
|
71
|
+
- coding
|
|
72
|
+
- testing
|
|
73
|
+
- existing-system-respect
|
|
74
|
+
knowledge:
|
|
75
|
+
- frontend
|
|
76
|
+
- react
|
|
77
|
+
- architecture
|
|
78
|
+
- unit-testing
|
|
79
|
+
- e2e-testing
|
|
80
|
+
- existing-system
|
|
81
|
+
provider_options:
|
|
82
|
+
claude:
|
|
83
|
+
allowed_tools:
|
|
84
|
+
- Read
|
|
85
|
+
- Glob
|
|
86
|
+
- Grep
|
|
87
|
+
- Edit
|
|
88
|
+
- Write
|
|
89
|
+
- Bash
|
|
90
|
+
- WebSearch
|
|
91
|
+
- WebFetch
|
|
92
|
+
required_permission_mode: edit
|
|
93
|
+
instruction: write-tests-maintenance
|
|
94
|
+
rules:
|
|
95
|
+
- condition: Test creation is complete
|
|
96
|
+
next: implement
|
|
97
|
+
- condition: Skipping test creation as target is not yet implemented
|
|
98
|
+
next: implement
|
|
99
|
+
- condition: Cannot proceed with test creation
|
|
100
|
+
next: plan
|
|
101
|
+
- condition: User input required for clarification
|
|
102
|
+
next: write_tests
|
|
103
|
+
requires_user_input: true
|
|
104
|
+
interactive_only: true
|
|
105
|
+
output_contracts:
|
|
106
|
+
report:
|
|
107
|
+
- name: test-report.md
|
|
108
|
+
format: test-report
|
|
109
|
+
- name: implement
|
|
110
|
+
edit: true
|
|
111
|
+
persona: coder
|
|
112
|
+
policy:
|
|
113
|
+
- coding
|
|
114
|
+
- testing
|
|
115
|
+
- design-fidelity
|
|
116
|
+
- existing-system-respect
|
|
117
|
+
session: refresh
|
|
118
|
+
knowledge:
|
|
119
|
+
- frontend
|
|
120
|
+
- react
|
|
121
|
+
- security
|
|
122
|
+
- architecture
|
|
123
|
+
- existing-system
|
|
124
|
+
provider_options:
|
|
125
|
+
claude:
|
|
126
|
+
allowed_tools:
|
|
127
|
+
- Read
|
|
128
|
+
- Glob
|
|
129
|
+
- Grep
|
|
130
|
+
- Edit
|
|
131
|
+
- Write
|
|
132
|
+
- Bash
|
|
133
|
+
- WebSearch
|
|
134
|
+
- WebFetch
|
|
135
|
+
instruction: implement-maintenance
|
|
136
|
+
rules:
|
|
137
|
+
- condition: Implementation is complete
|
|
138
|
+
next: ai-antipattern-review-1st
|
|
139
|
+
- condition: No implementation (report only)
|
|
140
|
+
next: ai-antipattern-review-1st
|
|
141
|
+
- condition: Cannot proceed with implementation
|
|
142
|
+
next: ai-antipattern-review-1st
|
|
143
|
+
- condition: User input required
|
|
144
|
+
next: implement
|
|
145
|
+
requires_user_input: true
|
|
146
|
+
interactive_only: true
|
|
147
|
+
output_contracts:
|
|
148
|
+
report:
|
|
149
|
+
- name: maintenance-scope.md
|
|
150
|
+
format: maintenance-scope
|
|
151
|
+
- name: coder-decisions.md
|
|
152
|
+
format: coder-decisions
|
|
153
|
+
- name: ai-antipattern-review-1st
|
|
154
|
+
edit: false
|
|
155
|
+
persona: ai-antipattern-reviewer
|
|
156
|
+
policy:
|
|
157
|
+
- review
|
|
158
|
+
- ai-antipattern
|
|
159
|
+
- existing-system-respect
|
|
160
|
+
provider_options:
|
|
161
|
+
claude:
|
|
162
|
+
allowed_tools:
|
|
163
|
+
- Read
|
|
164
|
+
- Glob
|
|
165
|
+
- Grep
|
|
166
|
+
- WebSearch
|
|
167
|
+
- WebFetch
|
|
168
|
+
instruction: ai-antipattern-review
|
|
169
|
+
rules:
|
|
170
|
+
- condition: No AI-specific issues found
|
|
171
|
+
next: reviewers_1
|
|
172
|
+
- condition: AI-specific issues detected
|
|
173
|
+
next: ai-antipattern-fix
|
|
174
|
+
output_contracts:
|
|
175
|
+
report:
|
|
176
|
+
- name: ai-antipattern-review.md
|
|
177
|
+
format: ai-antipattern-review
|
|
178
|
+
knowledge:
|
|
179
|
+
- existing-system
|
|
180
|
+
- name: ai-antipattern-fix
|
|
181
|
+
edit: true
|
|
182
|
+
persona: coder
|
|
183
|
+
policy:
|
|
184
|
+
- coding
|
|
185
|
+
- testing
|
|
186
|
+
- design-fidelity
|
|
187
|
+
- existing-system-respect
|
|
188
|
+
session: refresh
|
|
189
|
+
knowledge:
|
|
190
|
+
- frontend
|
|
191
|
+
- react
|
|
192
|
+
- security
|
|
193
|
+
- architecture
|
|
194
|
+
- existing-system
|
|
195
|
+
provider_options:
|
|
196
|
+
claude:
|
|
197
|
+
allowed_tools:
|
|
198
|
+
- Read
|
|
199
|
+
- Glob
|
|
200
|
+
- Grep
|
|
201
|
+
- Edit
|
|
202
|
+
- Write
|
|
203
|
+
- Bash
|
|
204
|
+
- WebSearch
|
|
205
|
+
- WebFetch
|
|
206
|
+
instruction: ai-antipattern-fix
|
|
207
|
+
pass_previous_response: false
|
|
208
|
+
rules:
|
|
209
|
+
- condition: AI Reviewer's issues have been fixed
|
|
210
|
+
next: ai-antipattern-review-1st
|
|
211
|
+
- condition: No fix needed (verified target files/spec)
|
|
212
|
+
next: ai-antipattern-no-fix
|
|
213
|
+
- condition: Unable to proceed with fixes
|
|
214
|
+
next: ai-antipattern-no-fix
|
|
215
|
+
- name: ai-antipattern-no-fix
|
|
216
|
+
edit: false
|
|
217
|
+
persona: architecture-reviewer
|
|
218
|
+
policy:
|
|
219
|
+
- review
|
|
220
|
+
- existing-system-respect
|
|
221
|
+
provider_options:
|
|
222
|
+
claude:
|
|
223
|
+
allowed_tools:
|
|
224
|
+
- Read
|
|
225
|
+
- Glob
|
|
226
|
+
- Grep
|
|
227
|
+
rules:
|
|
228
|
+
- condition: ai-antipattern-review-1st's findings are valid (fix required)
|
|
229
|
+
next: ai-antipattern-fix
|
|
230
|
+
- condition: ai-antipattern-fix's judgment is valid (no fix needed)
|
|
231
|
+
next: reviewers_1
|
|
232
|
+
instruction: arbitrate
|
|
233
|
+
knowledge:
|
|
234
|
+
- existing-system
|
|
235
|
+
- name: reviewers_1
|
|
236
|
+
parallel:
|
|
237
|
+
- name: arch-review
|
|
238
|
+
edit: false
|
|
239
|
+
persona: architecture-reviewer
|
|
240
|
+
policy:
|
|
241
|
+
- review
|
|
242
|
+
- existing-system-respect
|
|
243
|
+
knowledge:
|
|
244
|
+
- architecture
|
|
245
|
+
- frontend
|
|
246
|
+
- react
|
|
247
|
+
- existing-system
|
|
248
|
+
provider_options:
|
|
249
|
+
claude:
|
|
250
|
+
allowed_tools:
|
|
251
|
+
- Read
|
|
252
|
+
- Glob
|
|
253
|
+
- Grep
|
|
254
|
+
- WebSearch
|
|
255
|
+
- WebFetch
|
|
256
|
+
rules:
|
|
257
|
+
- condition: approved
|
|
258
|
+
- condition: needs_fix
|
|
259
|
+
instruction: review-arch
|
|
260
|
+
output_contracts:
|
|
261
|
+
report:
|
|
262
|
+
- name: architect-review.md
|
|
263
|
+
format: architecture-review
|
|
264
|
+
- name: frontend-review
|
|
265
|
+
edit: false
|
|
266
|
+
persona: frontend-reviewer
|
|
267
|
+
policy:
|
|
268
|
+
- review
|
|
269
|
+
- design-fidelity
|
|
270
|
+
- existing-system-respect
|
|
271
|
+
knowledge:
|
|
272
|
+
- frontend
|
|
273
|
+
- react
|
|
274
|
+
- existing-system
|
|
275
|
+
provider_options:
|
|
276
|
+
claude:
|
|
277
|
+
allowed_tools:
|
|
278
|
+
- Read
|
|
279
|
+
- Glob
|
|
280
|
+
- Grep
|
|
281
|
+
- WebSearch
|
|
282
|
+
- WebFetch
|
|
283
|
+
rules:
|
|
284
|
+
- condition: approved
|
|
285
|
+
- condition: needs_fix
|
|
286
|
+
instruction: review-frontend
|
|
287
|
+
output_contracts:
|
|
288
|
+
report:
|
|
289
|
+
- name: frontend-review.md
|
|
290
|
+
format: frontend-review
|
|
291
|
+
- name: testing-review
|
|
292
|
+
edit: false
|
|
293
|
+
persona: testing-reviewer
|
|
294
|
+
policy:
|
|
295
|
+
- review
|
|
296
|
+
- testing
|
|
297
|
+
- existing-system-respect
|
|
298
|
+
knowledge:
|
|
299
|
+
- unit-testing
|
|
300
|
+
- e2e-testing
|
|
301
|
+
- existing-system
|
|
302
|
+
provider_options:
|
|
303
|
+
claude:
|
|
304
|
+
allowed_tools:
|
|
305
|
+
- Read
|
|
306
|
+
- Glob
|
|
307
|
+
- Grep
|
|
308
|
+
- WebSearch
|
|
309
|
+
- WebFetch
|
|
310
|
+
rules:
|
|
311
|
+
- condition: approved
|
|
312
|
+
- condition: needs_fix
|
|
313
|
+
instruction: review-test
|
|
314
|
+
output_contracts:
|
|
315
|
+
report:
|
|
316
|
+
- name: testing-review.md
|
|
317
|
+
format: testing-review
|
|
318
|
+
- name: ai-antipattern-review-2nd
|
|
319
|
+
edit: false
|
|
320
|
+
persona: ai-antipattern-reviewer
|
|
321
|
+
policy:
|
|
322
|
+
- review
|
|
323
|
+
- ai-antipattern
|
|
324
|
+
- existing-system-respect
|
|
325
|
+
provider_options:
|
|
326
|
+
claude:
|
|
327
|
+
allowed_tools:
|
|
328
|
+
- Read
|
|
329
|
+
- Glob
|
|
330
|
+
- Grep
|
|
331
|
+
- WebSearch
|
|
332
|
+
- WebFetch
|
|
333
|
+
instruction: ai-antipattern-review
|
|
334
|
+
rules:
|
|
335
|
+
- condition: approved
|
|
336
|
+
- condition: needs_fix
|
|
337
|
+
output_contracts:
|
|
338
|
+
report:
|
|
339
|
+
- name: ai-antipattern-review.md
|
|
340
|
+
format: ai-antipattern-review
|
|
341
|
+
knowledge:
|
|
342
|
+
- existing-system
|
|
343
|
+
rules:
|
|
344
|
+
- condition: all("approved")
|
|
345
|
+
next: reviewers_2
|
|
346
|
+
- condition: any("needs_fix")
|
|
347
|
+
next: fix
|
|
348
|
+
- name: reviewers_2
|
|
349
|
+
parallel:
|
|
350
|
+
- name: security-review
|
|
351
|
+
edit: false
|
|
352
|
+
persona: security-reviewer
|
|
353
|
+
policy:
|
|
354
|
+
- review
|
|
355
|
+
- existing-system-respect
|
|
356
|
+
knowledge:
|
|
357
|
+
- security
|
|
358
|
+
- existing-system
|
|
359
|
+
provider_options:
|
|
360
|
+
claude:
|
|
361
|
+
allowed_tools:
|
|
362
|
+
- Read
|
|
363
|
+
- Glob
|
|
364
|
+
- Grep
|
|
365
|
+
- WebSearch
|
|
366
|
+
- WebFetch
|
|
367
|
+
rules:
|
|
368
|
+
- condition: approved
|
|
369
|
+
- condition: needs_fix
|
|
370
|
+
instruction: review-security
|
|
371
|
+
output_contracts:
|
|
372
|
+
report:
|
|
373
|
+
- name: security-review.md
|
|
374
|
+
format: security-review
|
|
375
|
+
- name: qa-review
|
|
376
|
+
edit: false
|
|
377
|
+
persona: qa-reviewer
|
|
378
|
+
policy:
|
|
379
|
+
- review
|
|
380
|
+
- qa
|
|
381
|
+
- existing-system-respect
|
|
382
|
+
provider_options:
|
|
383
|
+
claude:
|
|
384
|
+
allowed_tools:
|
|
385
|
+
- Read
|
|
386
|
+
- Glob
|
|
387
|
+
- Grep
|
|
388
|
+
- WebSearch
|
|
389
|
+
- WebFetch
|
|
390
|
+
rules:
|
|
391
|
+
- condition: approved
|
|
392
|
+
- condition: needs_fix
|
|
393
|
+
instruction: review-qa
|
|
394
|
+
output_contracts:
|
|
395
|
+
report:
|
|
396
|
+
- name: qa-review.md
|
|
397
|
+
format: qa-review
|
|
398
|
+
knowledge:
|
|
399
|
+
- existing-system
|
|
400
|
+
rules:
|
|
401
|
+
- condition: all("approved")
|
|
402
|
+
next: supervise
|
|
403
|
+
- condition: any("needs_fix")
|
|
404
|
+
next: fix
|
|
405
|
+
- name: fix
|
|
406
|
+
edit: true
|
|
407
|
+
persona: coder
|
|
408
|
+
policy:
|
|
409
|
+
- coding
|
|
410
|
+
- testing
|
|
411
|
+
- design-fidelity
|
|
412
|
+
- existing-system-respect
|
|
413
|
+
knowledge:
|
|
414
|
+
- frontend
|
|
415
|
+
- react
|
|
416
|
+
- security
|
|
417
|
+
- architecture
|
|
418
|
+
- existing-system
|
|
419
|
+
provider_options:
|
|
420
|
+
claude:
|
|
421
|
+
allowed_tools:
|
|
422
|
+
- Read
|
|
423
|
+
- Glob
|
|
424
|
+
- Grep
|
|
425
|
+
- Edit
|
|
426
|
+
- Write
|
|
427
|
+
- Bash
|
|
428
|
+
- WebSearch
|
|
429
|
+
- WebFetch
|
|
430
|
+
required_permission_mode: edit
|
|
431
|
+
pass_previous_response: false
|
|
432
|
+
rules:
|
|
433
|
+
- condition: Fix complete
|
|
434
|
+
next: reviewers_1
|
|
435
|
+
- condition: Cannot proceed, insufficient info
|
|
436
|
+
next: plan
|
|
437
|
+
instruction: fix-maintenance
|
|
438
|
+
- name: supervise
|
|
439
|
+
edit: false
|
|
440
|
+
persona: dual-supervisor
|
|
441
|
+
policy:
|
|
442
|
+
- review
|
|
443
|
+
- existing-system-respect
|
|
444
|
+
provider_options:
|
|
445
|
+
claude:
|
|
446
|
+
allowed_tools:
|
|
447
|
+
- Read
|
|
448
|
+
- Glob
|
|
449
|
+
- Grep
|
|
450
|
+
- WebSearch
|
|
451
|
+
- WebFetch
|
|
452
|
+
instruction: supervise-maintenance
|
|
453
|
+
pass_previous_response: false
|
|
454
|
+
rules:
|
|
455
|
+
- condition: All validations pass and ready to merge
|
|
456
|
+
next: COMPLETE
|
|
457
|
+
- condition: Issues detected during final review
|
|
458
|
+
next: fix_supervisor
|
|
459
|
+
output_contracts:
|
|
460
|
+
report:
|
|
461
|
+
- name: supervisor-validation.md
|
|
462
|
+
format: supervisor-validation
|
|
463
|
+
- name: summary.md
|
|
464
|
+
format: summary
|
|
465
|
+
use_judge: false
|
|
466
|
+
knowledge:
|
|
467
|
+
- existing-system
|
|
468
|
+
- name: fix_supervisor
|
|
469
|
+
edit: true
|
|
470
|
+
persona: coder
|
|
471
|
+
policy:
|
|
472
|
+
- coding
|
|
473
|
+
- testing
|
|
474
|
+
- design-fidelity
|
|
475
|
+
- existing-system-respect
|
|
476
|
+
knowledge:
|
|
477
|
+
- frontend
|
|
478
|
+
- react
|
|
479
|
+
- security
|
|
480
|
+
- architecture
|
|
481
|
+
- existing-system
|
|
482
|
+
provider_options:
|
|
483
|
+
claude:
|
|
484
|
+
allowed_tools:
|
|
485
|
+
- Read
|
|
486
|
+
- Glob
|
|
487
|
+
- Grep
|
|
488
|
+
- Edit
|
|
489
|
+
- Write
|
|
490
|
+
- Bash
|
|
491
|
+
- WebSearch
|
|
492
|
+
- WebFetch
|
|
493
|
+
instruction: fix-maintenance
|
|
494
|
+
pass_previous_response: false
|
|
495
|
+
rules:
|
|
496
|
+
- condition: Supervisor's issues have been fixed
|
|
497
|
+
next: supervise
|
|
498
|
+
- condition: Unable to proceed with fixes
|
|
499
|
+
next: plan
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name: peer-review
|
|
2
|
-
description: takt-default Phase 2.
|
|
2
|
+
description: takt-default Phase 2. Six parallel peer reviewers (+ ai-antipattern-review-2nd) ⇄ fix loop.
|
|
3
3
|
subworkflow:
|
|
4
4
|
callable: true
|
|
5
5
|
visibility: internal
|
|
@@ -151,6 +151,28 @@ steps:
|
|
|
151
151
|
report:
|
|
152
152
|
- name: requirements-review.md
|
|
153
153
|
format: requirements-review
|
|
154
|
+
- name: coding-review
|
|
155
|
+
edit: false
|
|
156
|
+
persona: coding-reviewer
|
|
157
|
+
policy: review
|
|
158
|
+
pass_previous_response: false
|
|
159
|
+
provider_options:
|
|
160
|
+
claude:
|
|
161
|
+
allowed_tools:
|
|
162
|
+
- Read
|
|
163
|
+
- Glob
|
|
164
|
+
- Grep
|
|
165
|
+
- Bash
|
|
166
|
+
- WebSearch
|
|
167
|
+
- WebFetch
|
|
168
|
+
instruction: review-coding
|
|
169
|
+
rules:
|
|
170
|
+
- condition: approved
|
|
171
|
+
- condition: needs_fix
|
|
172
|
+
output_contracts:
|
|
173
|
+
report:
|
|
174
|
+
- name: coding-review.md
|
|
175
|
+
format: coding-review
|
|
154
176
|
- name: ai-antipattern-review-2nd
|
|
155
177
|
edit: false
|
|
156
178
|
persona: ai-antipattern-reviewer
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name: review-fix-takt-default
|
|
2
|
-
description: "TAKT-focused multi-perspective review + fix loop (6-parallel initial review, AI antipattern pre-review on fix iterations)"
|
|
2
|
+
description: "TAKT-focused multi-perspective review + fix loop (6-parallel initial review, AI antipattern pre-review on fix iterations, supervisor-finding fixes)"
|
|
3
3
|
workflow_config:
|
|
4
4
|
provider_options:
|
|
5
5
|
codex:
|
|
@@ -334,7 +334,7 @@ steps:
|
|
|
334
334
|
- condition: All checks passed
|
|
335
335
|
next: COMPLETE
|
|
336
336
|
- condition: Requirements unmet, tests failing, build errors
|
|
337
|
-
next:
|
|
337
|
+
next: fix_supervisor
|
|
338
338
|
output_contracts:
|
|
339
339
|
report:
|
|
340
340
|
- name: supervisor-validation.md
|
|
@@ -342,3 +342,31 @@ steps:
|
|
|
342
342
|
- name: summary.md
|
|
343
343
|
format: summary
|
|
344
344
|
use_judge: false
|
|
345
|
+
- name: fix_supervisor
|
|
346
|
+
edit: true
|
|
347
|
+
persona: coder
|
|
348
|
+
policy:
|
|
349
|
+
- coding
|
|
350
|
+
- testing
|
|
351
|
+
knowledge:
|
|
352
|
+
- takt
|
|
353
|
+
- architecture
|
|
354
|
+
provider_options:
|
|
355
|
+
claude:
|
|
356
|
+
allowed_tools:
|
|
357
|
+
- Read
|
|
358
|
+
- Glob
|
|
359
|
+
- Grep
|
|
360
|
+
- Edit
|
|
361
|
+
- Write
|
|
362
|
+
- Bash
|
|
363
|
+
- WebSearch
|
|
364
|
+
- WebFetch
|
|
365
|
+
required_permission_mode: edit
|
|
366
|
+
instruction: fix-supervisor
|
|
367
|
+
pass_previous_response: false
|
|
368
|
+
rules:
|
|
369
|
+
- condition: Fixes for supervisor findings complete
|
|
370
|
+
next: supervise
|
|
371
|
+
- condition: Unable to proceed with fixes
|
|
372
|
+
next: supervise
|
package/builtins/ja/config.yaml
CHANGED
|
@@ -91,10 +91,18 @@ language: ja # 表示言語: ja | en
|
|
|
91
91
|
# runtime:
|
|
92
92
|
# prepare: [node, gradle, ./custom-script.sh]
|
|
93
93
|
|
|
94
|
+
# workflow YAML command gate ポリシー
|
|
95
|
+
# workflow_command_gates:
|
|
96
|
+
# custom_scripts: false
|
|
97
|
+
|
|
94
98
|
# ワークフローレベルのオーバーライド
|
|
95
99
|
# workflow_overrides:
|
|
96
100
|
# quality_gates:
|
|
97
|
-
# - "All tests pass"
|
|
101
|
+
# - "All tests pass" # AI への完了条件
|
|
102
|
+
# - type: command # step 完了時に機械実行される gate
|
|
103
|
+
# name: quality-check
|
|
104
|
+
# command: "./.takt/quality-gates/check.sh"
|
|
105
|
+
# timeout_ms: 300000
|
|
98
106
|
# quality_gates_edit_only: true
|
|
99
107
|
# steps:
|
|
100
108
|
# review:
|
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
1. 分解の可否を判断する
|
|
8
8
|
- 変更対象ファイルを特定し、ファイル間の依存関係を確認する
|
|
9
|
-
-
|
|
9
|
+
- まず並行可能な責務境界を探す
|
|
10
|
+
- 横断的関心事(共有型・ID・イベント)がある場合も、基盤 part → 消費 part → 検証 part に段階分けできるか検討する
|
|
10
11
|
- 変更ファイル数が少ない場合、リファクタ・リネーム系の場合も1パートで実装する
|
|
12
|
+
- `parts.length === 1` になる場合も、検証分離や段階分けができないか先に検討する
|
|
13
|
+
- 「実装と検証」のような巨大な単一 part は避ける
|
|
11
14
|
|
|
12
|
-
2. 分解する場合:
|
|
15
|
+
2. 分解する場合: フロントエンドとバックエンドでの分割を優先的に検討し、難しい場合はファイルをレイヤー/モジュール単位でグループ化する
|
|
13
16
|
- **デザイン参照があり、バックエンド変更が明示要件でない場合は分解しない。** UI の見た目・構造・文言・間隔は相互依存が強く、分割すると忠実再現を壊しやすいため、1パートでまとめて実装する
|
|
14
17
|
- **デザイン参照がある場合、同一画面を構成する UI コンポーネント群は同じパートにまとめる。** ヘッダー・フィルタ・カード・バナー・モーダルなど、見た目の整合性に関わる要素を別パートへ分散しない
|
|
15
18
|
- フロントエンド(UI・コンポーネント・スタイル)とバックエンド(API・ロジック・データ層)で分けるのが最も自然な分割軸
|
|
@@ -19,6 +22,7 @@
|
|
|
19
22
|
- 型・インターフェースの依存がある場合は、依存元と依存先を同じグループにまとめる
|
|
20
23
|
- 1つのファイルを複数のパートに割り当てない
|
|
21
24
|
- テストファイルと実装ファイルは同じパートにまとめる
|
|
25
|
+
- 実装 part と検証 part を分ける
|
|
22
26
|
|
|
23
27
|
3. 各パートに排他的なファイル担当を割り当てる
|
|
24
28
|
- 各パートの instruction に以下を必ず明記する:
|
|
@@ -32,6 +36,7 @@
|
|
|
32
36
|
- テスト済みの場合は「既存テストがパスするよう実装する」と明記する
|
|
33
37
|
- 品質ゲート(Quality Gates)を参照し、必要な検証は専用の単独パートとして計画する
|
|
34
38
|
- 並列の実装パートには、全体ビルド・全体テストを重複して実行させない
|
|
39
|
+
- npm test / npm run test:e2e:mock は各実装 part に重複して持たせない
|
|
35
40
|
|
|
36
41
|
**制約:**
|
|
37
42
|
- テストやビルドが必要な場合は、他パートの変更が揃った後に、単独の検証パートで実行する
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Report Directory内のレビューレポートを確認し、指摘事項を既存契約を保つ最小差分で修正してください。
|
|
2
|
+
|
|
3
|
+
**修正の原則:**
|
|
4
|
+
- 指摘の「修正案」が示されている場合はそれに沿った対応を優先し、独自の迂回策を取らない
|
|
5
|
+
- 指摘の対象コードを直接修正すること。テストやドキュメントの追加で指摘を回避しない
|
|
6
|
+
- 指摘を「修正必須」「確認のみ」「要求外」に分ける
|
|
7
|
+
- 修正必須の指摘だけを対象にする
|
|
8
|
+
- 指摘対象外のリファクタ、改名、コメント削除、テスト期待値変更を混ぜない
|
|
9
|
+
|
|
10
|
+
**レポート参照方針:**
|
|
11
|
+
- Report Directory内の最新レビューレポートを一次情報として参照してください。
|
|
12
|
+
- 過去イテレーションのレポートは `{ファイル名}.{タイムスタンプ}` 形式で同ディレクトリに保存されています(例: `architect-review.md.20260304T123456Z`)。各レポートについて `{レポート名}.*` パターンで Glob を実行し、タイムスタンプ降順で最大2件まで読み、persists / reopened の傾向を把握してから修正に入ること。
|
|
13
|
+
|
|
14
|
+
**完了条件(以下をすべて満たすこと):**
|
|
15
|
+
- 今回受け取った全指摘(new / reopened)のうち、修正必須のものを修正したこと
|
|
16
|
+
- 同一 `family_tag` の潜在箇所を同時に修正したこと(部分修正で再発させない)
|
|
17
|
+
- `family_tag` ごとに最低1件の再発防止テストを追加したこと(config契約/境界チェック系は必須)
|
|
18
|
+
- 複数レビュアーから同一 `family_tag` の指摘が届いている場合は1件に統合して対応したこと
|
|
19
|
+
- 修正後に全差分を確認し、指摘や要求と無関係な変更を戻したこと
|
|
20
|
+
|
|
21
|
+
**重要**: 修正後、ビルド(型チェック)とテストを必ず実行してください。
|
|
22
|
+
|
|
23
|
+
**必須出力(見出しを含める)**
|
|
24
|
+
## 作業結果
|
|
25
|
+
- {実施内容の要約}
|
|
26
|
+
## 指摘への対応
|
|
27
|
+
- {修正必須、確認のみ、要求外の分類と対応}
|
|
28
|
+
## 変更内容
|
|
29
|
+
- {必須変更と関連変更の要約}
|
|
30
|
+
## 戻した不要変更
|
|
31
|
+
- {戻した変更。なければ「なし」}
|
|
32
|
+
## ビルド結果
|
|
33
|
+
- {ビルド実行結果}
|
|
34
|
+
## テスト結果
|
|
35
|
+
- {テスト実行コマンドと結果}
|
|
36
|
+
## 収束ゲート
|
|
37
|
+
| 指標 | 件数 |
|
|
38
|
+
|------|------|
|
|
39
|
+
| new(今回修正) | {N} |
|
|
40
|
+
| reopened(再発修正) | {N} |
|
|
41
|
+
| persists(前回から継続、今回未着手) | {N} |
|
|
42
|
+
## 証拠
|
|
43
|
+
- {確認したファイル/検索/差分/ログの要点を列挙}
|