Follow up Takt upstream updates: provider_profiles permission modes (design decision)
Summary
Takt has a structured permission system (provider_profiles) in its config files, but rulesync marks takt permissions as unsupported. The model is a coarse mode-based scheme that does not map 1:1 onto rulesync's pattern-based permissions, so this warrants a design decision rather than a mechanical adapter.
Recent Releases
- Takt v0.46.0 (2026-06-13): https://github.com/nrslib/takt ; CHANGELOG https://raw.githubusercontent.com/nrslib/takt/main/CHANGELOG.md
- Configuration docs: https://github.com/nrslib/takt/blob/main/docs/configuration.md
(The output-contracts facet and --global facet root are already tracked in #1786 / #1746.)
Gaps
- permissions —
unsupported, and a non-trivial model fit. Takt defines permissions viaprovider_profilesin.takt/config.yaml(project) and~/.takt/config.yaml(global): three modesreadonly/edit/full, adefault_permission_modeper provider,step_permission_overrides.<step>, a documented 5-level resolution priority, and arequired_permission_modefloor. rulesync's permission model (src/types/permissions.ts) is per-tool, per-patternallow/ask/deny(e.g.bash: { "git *": "allow" }). Takt's mode-based scheme is a different shape, so any adapter would be a lossy/approximate mapping rather than a 1:1 fit like codexcli/claudecode. Today Takt permissions are skipped entirely ("does not support the feature 'permissions'").
Proposed Follow-up
- Decide between (a) a
takt-permissions.tsthat emitsprovider_profilesmode defaults (project + global), accepting the mode-vs-pattern mismatch, or (b) documenting Takt permissions as intentionally out-of-scope due to the impedance mismatch.
Notes
- MCP for Takt is only a transport-policy toggle (
workflow_mcp_servers: { stdio/sse/http }) with no server-definition surface, so it remains correctly unsupported (low value as a target).
References
- https://github.com/nrslib/takt/blob/main/docs/configuration.md —
provider_profiles, permission modes, and resolution priority.
Re-validated this against the current upstream and code, and I'm leaving it open as a maintainer design decision rather than acting on it.
Upstream is real and current. Takt v0.46.0 (2026-06-13) documents the provider_profiles mode-based permission model: three coarse modes readonly / edit / full, set via provider_profiles.<provider>.default_permission_mode and step_permission_overrides.<step>, resolved through a 5-level priority chain (project step override > global step override > project default > global default > step floor). Config lives at .takt/config.yaml (project) and ~/.takt/config.yaml (global). Source: https://github.com/nrslib/takt/blob/main/docs/configuration.md
Gap is real. No takt-permissions.ts exists, takt is absent from permissions-processor.ts, and the README permissions cell for Takt is blank. Takt is otherwise wired (rules/commands/mcp/subagents/skills).
Why this needs a decision. rulesync's permission model is per-tool, per-pattern allow/ask/deny. Takt's is a coarse three-mode model with no pattern granularity. Any adapter would be an inherently lossy mapping, and the collapse rule ("any deny present ⇒ readonly? any write/bash allow ⇒ edit/full?") plus the provider/step dimensions (which rulesync has no concept of) are semantic choices with no canonical-correct answer.
The decision: (a) implement a lossy provider_profiles adapter and define the mapping, or (b) document Takt permissions as intentionally out-of-scope due to the mode-vs-pattern impedance mismatch. Leaning toward (b), but it's a product call.
Triaged — leaving open pending a maintainer design decision (the issue title already flags this).
Verified (real gap). Takt defines permissions via provider_profiles in .takt/config.yaml (project) / ~/.takt/config.yaml (global): three coarse modes readonly/edit/full, a per-provider default_permission_mode, step_permission_overrides.<step>, a documented 5-level resolution priority, and a required_permission_mode floor (Takt v0.46.0, https://github.com/nrslib/takt/blob/main/docs/configuration.md). rulesync marks takt permissions unsupported.
Why this is not a mechanical adapter — design decision needed. rulesync's canonical permission model (src/types/permissions.ts) is per-tool, per-pattern allow/ask/deny (e.g. bash: { "git *": "allow" }). Takt's scheme is a fundamentally different shape: coarse capability modes (readonly/edit/full) resolved through a 5-level priority with a floor, not per-command/per-path globs. Any adapter would be a lossy, approximate mapping (e.g. collapsing pattern rules into a single mode), unlike the clean 1:1 mappings rulesync has for codexcli/claudecode/goose.
Decision needed from a maintainer: whether to (a) define an approximate, documented lossy mapping (e.g. derive a single default_permission_mode from the canonical model: any deny→readonly, any edit/write allow→edit, broad bash allow→full), accepting the fidelity loss; (b) extend the canonical model with a mode/capability concept that mode-based tools (and similar) can share; or (c) keep Takt permissions intentionally unsupported. Leaving open and labeled for that design discussion rather than forcing a lossy one-off.