- Add orchestration function guidance to 'Keep Abstraction Levels Consistent'
section in coding policy (ja/en) — no #### nesting, integrated as paragraph
- Criterion: whether branch belongs at the function's abstraction level
- Concrete bad/good examples using pipeline pattern
- Add 1-line behavioral guideline to architecture-reviewer persona (ja/en)
- ja: 関数の責務より低い粒度の分岐が混入していたら見逃さない
- en: Do not overlook branches below a function's responsibility level
Pipeline mode previously ignored the --create-worktree option.
Now when --create-worktree yes is specified with --pipeline,
a worktree is created and the agent executes in the isolated directory.
- Add createWorktree field to PipelineExecutionOptions
- Pass createWorktreeOverride from routing to executePipeline
- Use confirmAndCreateWorktree when createWorktree is true
- Execute task in worktree directory (execCwd) instead of project cwd
Replace the always-on syncDefaultBranch with opt-in resolveBaseBranch:
- Add auto_fetch config (default: false) — only fetch when enabled
- Add base_branch config (project and global) — fallback to current branch
- Fetch-only mode: git fetch origin without modifying local branches
- Use fetched commit hash (origin/<base_branch>) to reset clone to latest
- No more git merge --ff-only or git fetch origin main:main
Config example:
# ~/.takt/config.yaml or .takt/config.yaml
auto_fetch: true
base_branch: develop
Addresses review feedback: opt-in behavior, no local branch changes,
configurable base branch with current-branch fallback.
The default clone base directory was 'takt-worktree' (singular), which is
inconsistent since multiple worktrees are created inside it.
Changed to 'takt-worktrees' (plural) while maintaining backward compatibility:
- If existing 'takt-worktree' directory exists, continue using it
- New installations will use 'takt-worktrees'
- Explicit worktree_dir config always takes priority
@opencode-ai/sdk versions 1.2.7+ have a broken build where dist/v2/
directory is missing (files are incorrectly placed under dist/src/v2/
instead). This causes 'Cannot find module' errors when running takt
installed via npm install -g.
The v2 export path '@opencode-ai/sdk/v2' resolves to dist/v2/index.js
per the package's exports map, but that file does not exist in 1.2.7+.
Pinning to <1.2.7 as a workaround until the SDK package is fixed.