takt 0.15.0 → 0.16.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 +13 -3
- package/builtins/en/config.yaml +60 -62
- package/builtins/en/pieces/backend-cqrs.yaml +1 -1
- package/builtins/en/pieces/backend.yaml +1 -1
- package/builtins/en/pieces/coding.yaml +2 -2
- package/builtins/en/pieces/default.yaml +3 -3
- package/builtins/en/pieces/e2e-test.yaml +3 -3
- package/builtins/en/pieces/expert-cqrs.yaml +1 -1
- package/builtins/en/pieces/expert.yaml +1 -1
- package/builtins/en/pieces/frontend.yaml +1 -1
- package/builtins/en/pieces/minimal.yaml +5 -5
- package/builtins/en/pieces/passthrough.yaml +1 -1
- package/builtins/en/pieces/review-fix-minimal.yaml +5 -5
- package/builtins/en/pieces/structural-reform.yaml +2 -2
- package/builtins/en/pieces/unit-test.yaml +3 -3
- package/builtins/ja/config.yaml +60 -62
- package/builtins/ja/pieces/backend-cqrs.yaml +1 -1
- package/builtins/ja/pieces/backend.yaml +1 -1
- package/builtins/ja/pieces/coding.yaml +2 -2
- package/builtins/ja/pieces/default.yaml +3 -3
- package/builtins/ja/pieces/e2e-test.yaml +3 -3
- package/builtins/ja/pieces/expert-cqrs.yaml +1 -1
- package/builtins/ja/pieces/expert.yaml +1 -1
- package/builtins/ja/pieces/frontend.yaml +1 -1
- package/builtins/ja/pieces/minimal.yaml +5 -5
- package/builtins/ja/pieces/passthrough.yaml +1 -1
- package/builtins/ja/pieces/review-fix-minimal.yaml +5 -5
- package/builtins/ja/pieces/structural-reform.yaml +2 -2
- package/builtins/ja/pieces/unit-test.yaml +3 -3
- package/builtins/skill/references/yaml-schema.md +1 -1
- package/dist/core/models/global-config.d.ts +5 -0
- package/dist/core/models/global-config.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/piece-types.d.ts +2 -2
- package/dist/core/models/piece-types.d.ts.map +1 -1
- package/dist/core/models/provider-profiles.d.ts +16 -0
- package/dist/core/models/provider-profiles.d.ts.map +1 -0
- package/dist/core/models/provider-profiles.js +5 -0
- package/dist/core/models/provider-profiles.js.map +1 -0
- package/dist/core/models/schemas.d.ts +181 -5
- package/dist/core/models/schemas.d.ts.map +1 -1
- package/dist/core/models/schemas.js +24 -3
- package/dist/core/models/schemas.js.map +1 -1
- package/dist/core/models/types.d.ts +1 -0
- package/dist/core/models/types.d.ts.map +1 -1
- package/dist/core/piece/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/piece/engine/OptionsBuilder.js +13 -1
- package/dist/core/piece/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/piece/engine/TeamLeaderRunner.js +1 -1
- package/dist/core/piece/engine/TeamLeaderRunner.js.map +1 -1
- package/dist/core/piece/permission-profile-resolution.d.ts +24 -0
- package/dist/core/piece/permission-profile-resolution.d.ts.map +1 -0
- package/dist/core/piece/permission-profile-resolution.js +61 -0
- package/dist/core/piece/permission-profile-resolution.js.map +1 -0
- package/dist/core/piece/types.d.ts +9 -0
- package/dist/core/piece/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/pieceExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/pieceExecution.js +4 -0
- package/dist/features/tasks/execute/pieceExecution.js.map +1 -1
- package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskExecution.js +6 -1
- package/dist/features/tasks/execute/taskExecution.js.map +1 -1
- package/dist/features/tasks/execute/types.d.ts +9 -0
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfig.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfig.js +27 -0
- package/dist/infra/config/global/globalConfig.js.map +1 -1
- package/dist/infra/config/loaders/pieceParser.js +1 -1
- package/dist/infra/config/loaders/pieceParser.js.map +1 -1
- package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
- package/dist/infra/config/project/projectConfig.js +37 -3
- package/dist/infra/config/project/projectConfig.js.map +1 -1
- package/dist/infra/config/types.d.ts +5 -0
- package/dist/infra/config/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -366,7 +366,7 @@ movements:
|
|
|
366
366
|
policy: coding
|
|
367
367
|
knowledge: architecture
|
|
368
368
|
edit: true
|
|
369
|
-
|
|
369
|
+
required_permission_mode: edit
|
|
370
370
|
rules:
|
|
371
371
|
- condition: Implementation complete
|
|
372
372
|
next: review
|
|
@@ -590,6 +590,16 @@ interactive_preview_movements: 3 # Movement previews in interactive mode (0-10,
|
|
|
590
590
|
# coder: codex # Run coder on Codex
|
|
591
591
|
# ai-antipattern-reviewer: claude # Keep reviewers on Claude
|
|
592
592
|
|
|
593
|
+
# Provider-specific permission profiles (optional)
|
|
594
|
+
# Priority: project override → global override → project default → global default → required_permission_mode (floor)
|
|
595
|
+
# provider_profiles:
|
|
596
|
+
# codex:
|
|
597
|
+
# default_permission_mode: full
|
|
598
|
+
# movement_permission_overrides:
|
|
599
|
+
# ai_review: readonly
|
|
600
|
+
# claude:
|
|
601
|
+
# default_permission_mode: edit
|
|
602
|
+
|
|
593
603
|
# API Key configuration (optional)
|
|
594
604
|
# Can be overridden by environment variables TAKT_ANTHROPIC_API_KEY / TAKT_OPENAI_API_KEY / TAKT_OPENCODE_API_KEY
|
|
595
605
|
anthropic_api_key: sk-ant-... # For Claude (Anthropic)
|
|
@@ -739,7 +749,7 @@ movements:
|
|
|
739
749
|
- name: implement
|
|
740
750
|
persona: coder
|
|
741
751
|
edit: true
|
|
742
|
-
|
|
752
|
+
required_permission_mode: edit
|
|
743
753
|
pass_previous_response: true
|
|
744
754
|
rules:
|
|
745
755
|
- condition: Complete
|
|
@@ -808,7 +818,7 @@ Special `next` values: `COMPLETE` (success), `ABORT` (failure)
|
|
|
808
818
|
| `allowed_tools` | - | List of tools agent can use (Read, Glob, Grep, Edit, Write, Bash, etc.) |
|
|
809
819
|
| `provider` | - | Override provider for this movement (`claude`, `codex`, or `opencode`) |
|
|
810
820
|
| `model` | - | Override model for this movement |
|
|
811
|
-
| `
|
|
821
|
+
| `required_permission_mode` | - | Required minimum permission mode: `readonly`, `edit`, `full` (acts as floor; actual mode resolved via `provider_profiles`) |
|
|
812
822
|
| `provider_options` | - | Provider-specific options (e.g. `codex.network_access`, `opencode.network_access`) |
|
|
813
823
|
| `output_contracts` | - | Output contract definitions for report files |
|
|
814
824
|
| `quality_gates` | - | AI directives for movement completion requirements |
|
package/builtins/en/config.yaml
CHANGED
|
@@ -1,91 +1,92 @@
|
|
|
1
|
-
# TAKT
|
|
1
|
+
# TAKT global configuration sample
|
|
2
2
|
# Location: ~/.takt/config.yaml
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
# Language (en | ja)
|
|
4
|
+
# ---- Core ----
|
|
7
5
|
language: en
|
|
8
|
-
|
|
9
|
-
# Default piece when no piece is specified
|
|
10
6
|
default_piece: default
|
|
11
|
-
|
|
12
|
-
# Log level (debug | info | warn | error)
|
|
13
7
|
log_level: info
|
|
14
8
|
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
# Provider runtime (claude | codex)
|
|
9
|
+
# ---- Provider ----
|
|
10
|
+
# provider: claude | codex | opencode | mock
|
|
18
11
|
provider: claude
|
|
19
12
|
|
|
20
|
-
#
|
|
21
|
-
# Claude: opus, sonnet, haiku
|
|
22
|
-
# Codex: gpt-5.2-codex, gpt-5.1-codex
|
|
13
|
+
# Model (optional)
|
|
14
|
+
# Claude examples: opus, sonnet, haiku
|
|
15
|
+
# Codex examples: gpt-5.2-codex, gpt-5.1-codex
|
|
16
|
+
# OpenCode format: provider/model
|
|
23
17
|
# model: sonnet
|
|
24
18
|
|
|
25
|
-
# Per-persona provider override
|
|
26
|
-
# Override provider for specific personas. Others use the global provider.
|
|
19
|
+
# Per-persona provider override
|
|
27
20
|
# persona_providers:
|
|
28
21
|
# coder: codex
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
|
|
22
|
+
# reviewer: claude
|
|
23
|
+
|
|
24
|
+
# Provider-specific movement permission policy
|
|
25
|
+
# Priority:
|
|
26
|
+
# 1) project provider_profiles override
|
|
27
|
+
# 2) global provider_profiles override
|
|
28
|
+
# 3) project provider_profiles default
|
|
29
|
+
# 4) global provider_profiles default
|
|
30
|
+
# 5) movement.required_permission_mode (minimum floor)
|
|
31
|
+
# provider_profiles:
|
|
32
|
+
# codex:
|
|
33
|
+
# default_permission_mode: full
|
|
34
|
+
# movement_permission_overrides:
|
|
35
|
+
# ai_review: readonly
|
|
36
|
+
# claude:
|
|
37
|
+
# default_permission_mode: edit
|
|
38
|
+
|
|
39
|
+
# Provider-specific runtime options
|
|
40
|
+
# provider_options:
|
|
41
|
+
# codex:
|
|
42
|
+
# network_access: true
|
|
43
|
+
# claude:
|
|
44
|
+
# sandbox:
|
|
45
|
+
# allow_unsandboxed_commands: true
|
|
46
|
+
|
|
47
|
+
# ---- API Keys ----
|
|
48
|
+
# Environment variables take priority:
|
|
49
|
+
# TAKT_ANTHROPIC_API_KEY / TAKT_OPENAI_API_KEY / TAKT_OPENCODE_API_KEY
|
|
34
50
|
# anthropic_api_key: ""
|
|
35
51
|
# openai_api_key: ""
|
|
52
|
+
# opencode_api_key: ""
|
|
36
53
|
|
|
37
|
-
#
|
|
38
|
-
|
|
39
|
-
# Worktree (shared clone) directory (default: ../{clone-name} relative to project)
|
|
40
|
-
# worktree_dir: ~/takt-worktrees
|
|
41
|
-
|
|
42
|
-
# Auto-create PR after worktree execution (default: prompt in interactive mode)
|
|
43
|
-
# auto_pr: false
|
|
44
|
-
|
|
45
|
-
# Prevent macOS idle sleep during execution using caffeinate (default: false)
|
|
46
|
-
# prevent_sleep: false
|
|
47
|
-
|
|
48
|
-
# Runtime environment defaults (applies to all pieces unless piece_config.runtime overrides)
|
|
54
|
+
# ---- Runtime ----
|
|
55
|
+
# Global runtime preparation (piece_config.runtime overrides this)
|
|
49
56
|
# runtime:
|
|
50
57
|
# prepare:
|
|
51
58
|
# - gradle
|
|
52
59
|
# - node
|
|
53
60
|
|
|
54
|
-
#
|
|
61
|
+
# ---- Execution ----
|
|
62
|
+
# worktree_dir: ~/takt-worktrees
|
|
63
|
+
# auto_pr: false
|
|
64
|
+
# prevent_sleep: false
|
|
55
65
|
|
|
56
|
-
#
|
|
66
|
+
# ---- Run Loop ----
|
|
57
67
|
# concurrency: 1
|
|
58
|
-
|
|
59
|
-
# Polling interval in ms for picking up new tasks (100-5000, default: 500)
|
|
60
68
|
# task_poll_interval_ms: 500
|
|
61
|
-
|
|
62
|
-
# ── Interactive Mode ──
|
|
63
|
-
|
|
64
|
-
# Number of movement previews shown in interactive mode (0 to disable, max: 10)
|
|
65
69
|
# interactive_preview_movements: 3
|
|
66
|
-
|
|
67
|
-
# Branch name generation strategy (romaji: fast default | ai: slow)
|
|
68
70
|
# branch_name_strategy: romaji
|
|
69
71
|
|
|
70
|
-
#
|
|
71
|
-
|
|
72
|
-
# Notification sounds (default: true)
|
|
73
|
-
# notification_sound: true
|
|
74
|
-
|
|
75
|
-
# Minimal output for CI - suppress AI output (default: false)
|
|
72
|
+
# ---- Output ----
|
|
76
73
|
# minimal_output: false
|
|
77
|
-
|
|
78
|
-
#
|
|
79
|
-
|
|
80
|
-
#
|
|
74
|
+
# notification_sound: true
|
|
75
|
+
# notification_sound_events:
|
|
76
|
+
# iteration_limit: true
|
|
77
|
+
# piece_complete: true
|
|
78
|
+
# piece_abort: true
|
|
79
|
+
# run_complete: true
|
|
80
|
+
# run_abort: true
|
|
81
|
+
# observability:
|
|
82
|
+
# provider_events: true
|
|
83
|
+
|
|
84
|
+
# ---- Builtins ----
|
|
81
85
|
# enable_builtin_pieces: true
|
|
82
|
-
|
|
83
|
-
# Exclude specific builtins from loading
|
|
84
86
|
# disabled_builtins:
|
|
85
87
|
# - magi
|
|
86
88
|
|
|
87
|
-
#
|
|
88
|
-
|
|
89
|
+
# ---- Pipeline ----
|
|
89
90
|
# pipeline:
|
|
90
91
|
# default_branch_prefix: "takt/"
|
|
91
92
|
# commit_message_template: "feat: {title} (#{issue})"
|
|
@@ -94,14 +95,11 @@ provider: claude
|
|
|
94
95
|
# {issue_body}
|
|
95
96
|
# Closes #{issue}
|
|
96
97
|
|
|
97
|
-
#
|
|
98
|
-
|
|
99
|
-
# Custom paths for preference files
|
|
98
|
+
# ---- Preferences ----
|
|
100
99
|
# bookmarks_file: ~/.takt/preferences/bookmarks.yaml
|
|
101
100
|
# piece_categories_file: ~/.takt/preferences/piece-categories.yaml
|
|
102
101
|
|
|
103
|
-
#
|
|
104
|
-
|
|
102
|
+
# ---- Debug ----
|
|
105
103
|
# debug:
|
|
106
104
|
# enabled: false
|
|
107
105
|
# log_file: ~/.takt/logs/debug.log
|
|
@@ -51,7 +51,7 @@ movements:
|
|
|
51
51
|
- Bash
|
|
52
52
|
- WebSearch
|
|
53
53
|
- WebFetch
|
|
54
|
-
|
|
54
|
+
required_permission_mode: edit
|
|
55
55
|
rules:
|
|
56
56
|
- condition: Implementation complete
|
|
57
57
|
next: reviewers
|
|
@@ -132,7 +132,7 @@ movements:
|
|
|
132
132
|
- Bash
|
|
133
133
|
- WebSearch
|
|
134
134
|
- WebFetch
|
|
135
|
-
|
|
135
|
+
required_permission_mode: edit
|
|
136
136
|
rules:
|
|
137
137
|
- condition: Fix complete
|
|
138
138
|
next: reviewers
|
|
@@ -82,7 +82,7 @@ movements:
|
|
|
82
82
|
- Bash
|
|
83
83
|
- WebSearch
|
|
84
84
|
- WebFetch
|
|
85
|
-
|
|
85
|
+
required_permission_mode: edit
|
|
86
86
|
rules:
|
|
87
87
|
- condition: Implementation complete
|
|
88
88
|
next: ai_review
|
|
@@ -142,7 +142,7 @@ movements:
|
|
|
142
142
|
- Bash
|
|
143
143
|
- WebSearch
|
|
144
144
|
- WebFetch
|
|
145
|
-
|
|
145
|
+
required_permission_mode: edit
|
|
146
146
|
rules:
|
|
147
147
|
- condition: AI issues fixed
|
|
148
148
|
next: ai_review
|
|
@@ -234,7 +234,7 @@ movements:
|
|
|
234
234
|
- Bash
|
|
235
235
|
- WebSearch
|
|
236
236
|
- WebFetch
|
|
237
|
-
|
|
237
|
+
required_permission_mode: edit
|
|
238
238
|
rules:
|
|
239
239
|
- condition: Fix complete
|
|
240
240
|
next: reviewers
|
|
@@ -85,7 +85,7 @@ movements:
|
|
|
85
85
|
- Bash
|
|
86
86
|
- WebSearch
|
|
87
87
|
- WebFetch
|
|
88
|
-
|
|
88
|
+
required_permission_mode: edit
|
|
89
89
|
rules:
|
|
90
90
|
- condition: Test implementation complete
|
|
91
91
|
next: ai_review
|
|
@@ -145,7 +145,7 @@ movements:
|
|
|
145
145
|
- Bash
|
|
146
146
|
- WebSearch
|
|
147
147
|
- WebFetch
|
|
148
|
-
|
|
148
|
+
required_permission_mode: edit
|
|
149
149
|
rules:
|
|
150
150
|
- condition: AI issues fixed
|
|
151
151
|
next: ai_review
|
|
@@ -212,7 +212,7 @@ movements:
|
|
|
212
212
|
- Bash
|
|
213
213
|
- WebSearch
|
|
214
214
|
- WebFetch
|
|
215
|
-
|
|
215
|
+
required_permission_mode: edit
|
|
216
216
|
rules:
|
|
217
217
|
- condition: Fix complete
|
|
218
218
|
next: review_test
|
|
@@ -25,7 +25,7 @@ movements:
|
|
|
25
25
|
- Bash
|
|
26
26
|
- WebSearch
|
|
27
27
|
- WebFetch
|
|
28
|
-
|
|
28
|
+
required_permission_mode: edit
|
|
29
29
|
instruction: implement
|
|
30
30
|
rules:
|
|
31
31
|
- condition: Implementation complete
|
|
@@ -106,7 +106,7 @@ movements:
|
|
|
106
106
|
- Bash
|
|
107
107
|
- WebSearch
|
|
108
108
|
- WebFetch
|
|
109
|
-
|
|
109
|
+
required_permission_mode: edit
|
|
110
110
|
rules:
|
|
111
111
|
- condition: AI Reviewer's issues fixed
|
|
112
112
|
- condition: No fix needed (verified target files/spec)
|
|
@@ -126,7 +126,7 @@ movements:
|
|
|
126
126
|
- Bash
|
|
127
127
|
- WebSearch
|
|
128
128
|
- WebFetch
|
|
129
|
-
|
|
129
|
+
required_permission_mode: edit
|
|
130
130
|
rules:
|
|
131
131
|
- condition: Supervisor's issues fixed
|
|
132
132
|
- condition: Cannot proceed, insufficient info
|
|
@@ -151,7 +151,7 @@ movements:
|
|
|
151
151
|
- Bash
|
|
152
152
|
- WebSearch
|
|
153
153
|
- WebFetch
|
|
154
|
-
|
|
154
|
+
required_permission_mode: edit
|
|
155
155
|
rules:
|
|
156
156
|
- condition: AI Reviewer's issues fixed
|
|
157
157
|
next: reviewers
|
|
@@ -175,7 +175,7 @@ movements:
|
|
|
175
175
|
- Bash
|
|
176
176
|
- WebSearch
|
|
177
177
|
- WebFetch
|
|
178
|
-
|
|
178
|
+
required_permission_mode: edit
|
|
179
179
|
rules:
|
|
180
180
|
- condition: Supervisor's issues fixed
|
|
181
181
|
next: reviewers
|
|
@@ -25,7 +25,7 @@ movements:
|
|
|
25
25
|
- Bash
|
|
26
26
|
- WebSearch
|
|
27
27
|
- WebFetch
|
|
28
|
-
|
|
28
|
+
required_permission_mode: edit
|
|
29
29
|
instruction: implement
|
|
30
30
|
rules:
|
|
31
31
|
- condition: Implementation complete
|
|
@@ -106,7 +106,7 @@ movements:
|
|
|
106
106
|
- Bash
|
|
107
107
|
- WebSearch
|
|
108
108
|
- WebFetch
|
|
109
|
-
|
|
109
|
+
required_permission_mode: edit
|
|
110
110
|
rules:
|
|
111
111
|
- condition: AI Reviewer's issues fixed
|
|
112
112
|
- condition: No fix needed (verified target files/spec)
|
|
@@ -126,7 +126,7 @@ movements:
|
|
|
126
126
|
- Bash
|
|
127
127
|
- WebSearch
|
|
128
128
|
- WebFetch
|
|
129
|
-
|
|
129
|
+
required_permission_mode: edit
|
|
130
130
|
rules:
|
|
131
131
|
- condition: Supervisor's issues fixed
|
|
132
132
|
- condition: Cannot proceed, insufficient info
|
|
@@ -151,7 +151,7 @@ movements:
|
|
|
151
151
|
- Bash
|
|
152
152
|
- WebSearch
|
|
153
153
|
- WebFetch
|
|
154
|
-
|
|
154
|
+
required_permission_mode: edit
|
|
155
155
|
rules:
|
|
156
156
|
- condition: AI Reviewer's issues fixed
|
|
157
157
|
next: reviewers
|
|
@@ -175,7 +175,7 @@ movements:
|
|
|
175
175
|
- Bash
|
|
176
176
|
- WebSearch
|
|
177
177
|
- WebFetch
|
|
178
|
-
|
|
178
|
+
required_permission_mode: edit
|
|
179
179
|
rules:
|
|
180
180
|
- condition: Supervisor's issues fixed
|
|
181
181
|
next: reviewers
|
|
@@ -226,7 +226,7 @@ movements:
|
|
|
226
226
|
- Bash
|
|
227
227
|
- WebSearch
|
|
228
228
|
- WebFetch
|
|
229
|
-
|
|
229
|
+
required_permission_mode: edit
|
|
230
230
|
instruction: implement
|
|
231
231
|
rules:
|
|
232
232
|
- condition: Implementation complete
|
|
@@ -309,7 +309,7 @@ movements:
|
|
|
309
309
|
- Bash
|
|
310
310
|
- WebSearch
|
|
311
311
|
- WebFetch
|
|
312
|
-
|
|
312
|
+
required_permission_mode: edit
|
|
313
313
|
rules:
|
|
314
314
|
- condition: Fix complete
|
|
315
315
|
next: reviewers
|
|
@@ -85,7 +85,7 @@ movements:
|
|
|
85
85
|
- Bash
|
|
86
86
|
- WebSearch
|
|
87
87
|
- WebFetch
|
|
88
|
-
|
|
88
|
+
required_permission_mode: edit
|
|
89
89
|
rules:
|
|
90
90
|
- condition: Test implementation complete
|
|
91
91
|
next: ai_review
|
|
@@ -145,7 +145,7 @@ movements:
|
|
|
145
145
|
- Bash
|
|
146
146
|
- WebSearch
|
|
147
147
|
- WebFetch
|
|
148
|
-
|
|
148
|
+
required_permission_mode: edit
|
|
149
149
|
rules:
|
|
150
150
|
- condition: AI issues fixed
|
|
151
151
|
next: ai_review
|
|
@@ -212,7 +212,7 @@ movements:
|
|
|
212
212
|
- Bash
|
|
213
213
|
- WebSearch
|
|
214
214
|
- WebFetch
|
|
215
|
-
|
|
215
|
+
required_permission_mode: edit
|
|
216
216
|
rules:
|
|
217
217
|
- condition: Fix complete
|
|
218
218
|
next: review_test
|
package/builtins/ja/config.yaml
CHANGED
|
@@ -1,91 +1,92 @@
|
|
|
1
|
-
# TAKT
|
|
1
|
+
# TAKT グローバル設定サンプル
|
|
2
2
|
# 配置場所: ~/.takt/config.yaml
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
# 言語 (en | ja)
|
|
4
|
+
# ---- 基本 ----
|
|
7
5
|
language: ja
|
|
8
|
-
|
|
9
|
-
# デフォルトピース(指定なし時に使用)
|
|
10
6
|
default_piece: default
|
|
11
|
-
|
|
12
|
-
# ログレベル (debug | info | warn | error)
|
|
13
7
|
log_level: info
|
|
14
8
|
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
# プロバイダー (claude | codex)
|
|
9
|
+
# ---- プロバイダー ----
|
|
10
|
+
# provider: claude | codex | opencode | mock
|
|
18
11
|
provider: claude
|
|
19
12
|
|
|
20
|
-
#
|
|
21
|
-
# Claude
|
|
22
|
-
# Codex
|
|
13
|
+
# モデル(任意)
|
|
14
|
+
# Claude 例: opus, sonnet, haiku
|
|
15
|
+
# Codex 例: gpt-5.2-codex, gpt-5.1-codex
|
|
16
|
+
# OpenCode 形式: provider/model
|
|
23
17
|
# model: sonnet
|
|
24
18
|
|
|
25
|
-
#
|
|
26
|
-
# 特定ペルソナだけプロバイダーを変更。未指定のペルソナはグローバル設定を使用。
|
|
19
|
+
# ペルソナ別プロバイダー上書き
|
|
27
20
|
# persona_providers:
|
|
28
21
|
# coder: codex
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
|
|
22
|
+
# reviewer: claude
|
|
23
|
+
|
|
24
|
+
# プロバイダー別 movement 権限ポリシー
|
|
25
|
+
# 優先順:
|
|
26
|
+
# 1) project provider_profiles override
|
|
27
|
+
# 2) global provider_profiles override
|
|
28
|
+
# 3) project provider_profiles default
|
|
29
|
+
# 4) global provider_profiles default
|
|
30
|
+
# 5) movement.required_permission_mode(下限補正)
|
|
31
|
+
# provider_profiles:
|
|
32
|
+
# codex:
|
|
33
|
+
# default_permission_mode: full
|
|
34
|
+
# movement_permission_overrides:
|
|
35
|
+
# ai_review: readonly
|
|
36
|
+
# claude:
|
|
37
|
+
# default_permission_mode: edit
|
|
38
|
+
|
|
39
|
+
# プロバイダー別ランタイムオプション
|
|
40
|
+
# provider_options:
|
|
41
|
+
# codex:
|
|
42
|
+
# network_access: true
|
|
43
|
+
# claude:
|
|
44
|
+
# sandbox:
|
|
45
|
+
# allow_unsandboxed_commands: true
|
|
46
|
+
|
|
47
|
+
# ---- API キー ----
|
|
48
|
+
# 環境変数が優先:
|
|
49
|
+
# TAKT_ANTHROPIC_API_KEY / TAKT_OPENAI_API_KEY / TAKT_OPENCODE_API_KEY
|
|
34
50
|
# anthropic_api_key: ""
|
|
35
51
|
# openai_api_key: ""
|
|
52
|
+
# opencode_api_key: ""
|
|
36
53
|
|
|
37
|
-
#
|
|
38
|
-
|
|
39
|
-
# ワークツリー(shared clone)ディレクトリ(デフォルト: プロジェクトの ../{clone-name})
|
|
40
|
-
# worktree_dir: ~/takt-worktrees
|
|
41
|
-
|
|
42
|
-
# ワークツリー実行後に自動PR作成(デフォルト: 対話モードで確認)
|
|
43
|
-
# auto_pr: false
|
|
44
|
-
|
|
45
|
-
# macOS のアイドルスリープを防止(デフォルト: false)
|
|
46
|
-
# prevent_sleep: false
|
|
47
|
-
|
|
48
|
-
# 実行時ランタイム環境のデフォルト(piece_config.runtime があればそちらを優先)
|
|
54
|
+
# ---- ランタイム ----
|
|
55
|
+
# グローバルなランタイム準備(piece_config.runtime があればそちらを優先)
|
|
49
56
|
# runtime:
|
|
50
57
|
# prepare:
|
|
51
58
|
# - gradle
|
|
52
59
|
# - node
|
|
53
60
|
|
|
54
|
-
#
|
|
61
|
+
# ---- 実行 ----
|
|
62
|
+
# worktree_dir: ~/takt-worktrees
|
|
63
|
+
# auto_pr: false
|
|
64
|
+
# prevent_sleep: false
|
|
55
65
|
|
|
56
|
-
#
|
|
66
|
+
# ---- Run Loop ----
|
|
57
67
|
# concurrency: 1
|
|
58
|
-
|
|
59
|
-
# 新規タスクのポーリング間隔 ms(100-5000、デフォルト: 500)
|
|
60
68
|
# task_poll_interval_ms: 500
|
|
61
|
-
|
|
62
|
-
# ── 対話モード ──
|
|
63
|
-
|
|
64
|
-
# ムーブメントプレビューの表示数(0 で無効、最大: 10)
|
|
65
69
|
# interactive_preview_movements: 3
|
|
66
|
-
|
|
67
|
-
# ブランチ名の生成方式(romaji: 高速デフォルト | ai: 低速)
|
|
68
70
|
# branch_name_strategy: romaji
|
|
69
71
|
|
|
70
|
-
#
|
|
71
|
-
|
|
72
|
-
# 通知音(デフォルト: true)
|
|
73
|
-
# notification_sound: true
|
|
74
|
-
|
|
75
|
-
# CI 向け最小出力 - AI 出力を抑制(デフォルト: false)
|
|
72
|
+
# ---- 出力 ----
|
|
76
73
|
# minimal_output: false
|
|
77
|
-
|
|
78
|
-
#
|
|
79
|
-
|
|
80
|
-
#
|
|
74
|
+
# notification_sound: true
|
|
75
|
+
# notification_sound_events:
|
|
76
|
+
# iteration_limit: true
|
|
77
|
+
# piece_complete: true
|
|
78
|
+
# piece_abort: true
|
|
79
|
+
# run_complete: true
|
|
80
|
+
# run_abort: true
|
|
81
|
+
# observability:
|
|
82
|
+
# provider_events: true
|
|
83
|
+
|
|
84
|
+
# ---- Builtins ----
|
|
81
85
|
# enable_builtin_pieces: true
|
|
82
|
-
|
|
83
|
-
# 特定のビルトインを除外
|
|
84
86
|
# disabled_builtins:
|
|
85
87
|
# - magi
|
|
86
88
|
|
|
87
|
-
#
|
|
88
|
-
|
|
89
|
+
# ---- Pipeline ----
|
|
89
90
|
# pipeline:
|
|
90
91
|
# default_branch_prefix: "takt/"
|
|
91
92
|
# commit_message_template: "feat: {title} (#{issue})"
|
|
@@ -94,14 +95,11 @@ provider: claude
|
|
|
94
95
|
# {issue_body}
|
|
95
96
|
# Closes #{issue}
|
|
96
97
|
|
|
97
|
-
#
|
|
98
|
-
|
|
99
|
-
# プリファレンスファイルのカスタムパス
|
|
98
|
+
# ---- Preferences ----
|
|
100
99
|
# bookmarks_file: ~/.takt/preferences/bookmarks.yaml
|
|
101
100
|
# piece_categories_file: ~/.takt/preferences/piece-categories.yaml
|
|
102
101
|
|
|
103
|
-
#
|
|
104
|
-
|
|
102
|
+
# ---- Debug ----
|
|
105
103
|
# debug:
|
|
106
104
|
# enabled: false
|
|
107
105
|
# log_file: ~/.takt/logs/debug.log
|
|
@@ -51,7 +51,7 @@ movements:
|
|
|
51
51
|
- Bash
|
|
52
52
|
- WebSearch
|
|
53
53
|
- WebFetch
|
|
54
|
-
|
|
54
|
+
required_permission_mode: edit
|
|
55
55
|
rules:
|
|
56
56
|
- condition: 実装完了
|
|
57
57
|
next: reviewers
|
|
@@ -132,7 +132,7 @@ movements:
|
|
|
132
132
|
- Bash
|
|
133
133
|
- WebSearch
|
|
134
134
|
- WebFetch
|
|
135
|
-
|
|
135
|
+
required_permission_mode: edit
|
|
136
136
|
rules:
|
|
137
137
|
- condition: 修正完了
|
|
138
138
|
next: reviewers
|