takomi 2.1.1 → 2.1.3

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.
Files changed (50) hide show
  1. package/.pi/README.md +124 -124
  2. package/.pi/agents/architect.md +15 -15
  3. package/.pi/agents/coder.md +14 -14
  4. package/.pi/agents/designer.md +17 -17
  5. package/.pi/agents/orchestrator.md +22 -22
  6. package/.pi/agents/reviewer.md +16 -16
  7. package/.pi/extensions/oauth-router/README.md +125 -125
  8. package/.pi/extensions/oauth-router/commands.ts +380 -380
  9. package/.pi/extensions/oauth-router/config.ts +200 -200
  10. package/.pi/extensions/oauth-router/index.ts +41 -41
  11. package/.pi/extensions/oauth-router/oauth-flow.ts +154 -154
  12. package/.pi/extensions/oauth-router/oauth-store.ts +121 -121
  13. package/.pi/extensions/oauth-router/package.json +14 -14
  14. package/.pi/extensions/oauth-router/policies.ts +27 -27
  15. package/.pi/extensions/oauth-router/provider.ts +492 -492
  16. package/.pi/extensions/oauth-router/scripts/vibe-verify.py +98 -98
  17. package/.pi/extensions/oauth-router/state.ts +174 -174
  18. package/.pi/extensions/oauth-router/types.ts +153 -153
  19. package/.pi/extensions/takomi-runtime/command-text.ts +130 -130
  20. package/.pi/extensions/takomi-runtime/commands.ts +179 -179
  21. package/.pi/extensions/takomi-runtime/context-panel.ts +282 -282
  22. package/.pi/extensions/takomi-runtime/index.ts +1288 -1288
  23. package/.pi/extensions/takomi-runtime/profile.ts +114 -114
  24. package/.pi/extensions/takomi-runtime/routing-policy.ts +105 -105
  25. package/.pi/extensions/takomi-runtime/shared.ts +492 -492
  26. package/.pi/extensions/takomi-runtime/subagent-controller.ts +364 -364
  27. package/.pi/extensions/takomi-runtime/subagent-render.ts +501 -501
  28. package/.pi/extensions/takomi-runtime/subagent-types.ts +83 -83
  29. package/.pi/extensions/takomi-runtime/ui.ts +133 -133
  30. package/.pi/extensions/takomi-subagents/agent-aliases.ts +18 -18
  31. package/.pi/extensions/takomi-subagents/agents.ts +113 -113
  32. package/.pi/extensions/takomi-subagents/delegation-plan.ts +95 -95
  33. package/.pi/extensions/takomi-subagents/dispatch-helpers.ts +26 -26
  34. package/.pi/extensions/takomi-subagents/dispatch.ts +215 -215
  35. package/.pi/extensions/takomi-subagents/index.ts +75 -75
  36. package/.pi/extensions/takomi-subagents/live-updates.ts +83 -83
  37. package/.pi/extensions/takomi-subagents/native-render.ts +174 -174
  38. package/.pi/extensions/takomi-subagents/tool-runner.ts +209 -209
  39. package/.pi/themes/takomi-noir.json +81 -81
  40. package/package.json +59 -59
  41. package/src/cli.js +2 -1
  42. package/src/doctor.js +87 -84
  43. package/src/pi-harness.js +355 -351
  44. package/src/pi-installer.js +193 -171
  45. package/src/pi-takomi-core/index.ts +4 -4
  46. package/src/pi-takomi-core/orchestration.ts +402 -402
  47. package/src/pi-takomi-core/routing.ts +93 -93
  48. package/src/pi-takomi-core/types.ts +173 -173
  49. package/src/pi-takomi-core/workflows.ts +299 -299
  50. package/src/skills-installer.js +101 -101
package/.pi/README.md CHANGED
@@ -1,124 +1,124 @@
1
- # Pi-local Takomi Prototype
2
-
3
- This `.pi/` directory is the first Pi-native Takomi scaffold.
4
-
5
- It is intentionally separate from the existing cross-harness assets under `assets/.agent/` and `assets/Takomi-Agents/`.
6
-
7
- ## Contents
8
-
9
- - `extensions/takomi-runtime/` - Pi runtime glue, embedded workflow playbooks, and orchestrator board tools
10
- - `extensions/takomi-subagents/` - Takomi-facing subagent wrapper over Pi-style execution semantics with resumable conversation IDs
11
- - `prompts/` - Pi-native prompt shortcuts
12
- - `agents/` - Pi-native specialist agent definitions, including a design-stage agent
13
-
14
- ## Why this exists
15
-
16
- Pi auto-discovers `.pi/`, so this is the fastest way to test and iterate.
17
-
18
- At runtime, Takomi for Pi is intended to be self-contained inside this `.pi/` bundle plus the embedded core under `src/pi-takomi-core/`.
19
- The older assets under `assets/.agent/` and `assets/Takomi-Agents/` are reference or migration material, not runtime dependencies for the Pi-native Takomi experience.
20
-
21
- Later, this can become:
22
- - a package under `assets/pi/` or `packages/`
23
- - an npm-distributed Pi package
24
- - a shared core used by a Pi SDK-powered Takomi application
25
-
26
- ## First-use notes
27
-
28
- Inside Pi, use:
29
- - `/reload` after edits
30
- - `/takomi` to show the Takomi command guide and enable Takomi mode guidance
31
- - `/takomi genesis [prompt]` to run the Genesis planning stage from existing markdown/project context
32
- - `/takomi design [prompt]` to run UI/UX design against the agreed project direction
33
- - `/takomi build [prompt]` to implement while cross-checking against approved UI/design artifacts
34
- - `/takomi plan [title]` to create a Genesis-first orchestration session that can expand through Design and Build
35
- - `/takomi mode direct`, `/takomi mode orchestrate`, or `/takomi mode review` to choose the session operating mode
36
- - `/takomi gate auto` to continue approved plans automatically
37
- - `/takomi gate review` to return to the user after each task with results and verification guidance
38
- - `/takomi subagents on` or `/takomi subagents off` to allow or disable delegated subagents
39
- - `/takomi subagents status|expand|collapse|fullscreen|next|prev|toggle` to inspect or reshape the active subagent stack
40
- - `/takomi-status` to show lifecycle, gate, session, and active subagent state
41
- - `/takomi-reset` to reset session-local Takomi runtime state
42
- - `takomi_board` actions now include stage expansion, task updates, multi-task dispatch, and redispatch support for review loops
43
- - The old standalone commands (`/takomi-genesis`, `/takomi-design`, `/takomi-build`, `/takomi-kickoff`, `/autoorch`, `/orch`, `/architect`, `/code`, `/review`, and the `/takomi-subagent*` variants) are folded into `/takomi` subcommands so slash autocomplete stays small.
44
- - prompt shortcuts are suffixed with `-prompt` to avoid collisions with runtime commands, e.g. `/orch-prompt`, `/build-prompt`, `/design-prompt`, `/genesis-prompt`, `/takomi-prompt`, `/prime-prompt`
45
- - a project-local theme is available at `.pi/themes/takomi-noir.json`; select `takomi-noir` in `/settings` to use the Takomi UI palette
46
- - additional workflow prompts are available as direct slash commands:
47
- - `/vibe-primeAgent`
48
- - `/vibe-spawnTask`
49
- - `/vibe-syncDocs`
50
-
51
- ## Dependency + ownership notes
52
-
53
- This is the current ownership model other agents should assume:
54
-
55
- - `takomi_board` owns lifecycle/session/task orchestration
56
- - `takomi_subagent` is the preferred Takomi-facing delegation tool
57
- - raw Pi `subagent` may still be available in the environment, but is advanced/internal for Takomi work
58
-
59
- Important implementation note:
60
-
61
- - `takomi_subagent` currently does **not** call raw `subagent` as a tool-to-tool passthrough
62
- - it is implemented in `.pi/extensions/takomi-subagents/`
63
- - it follows Pi-style execution semantics and Pi-style result rendering more closely now
64
- - it is a wrapper/alignment layer, not yet a literal dependency bridge into the `subagent` tool runtime
65
-
66
- Bundled with Takomi now:
67
-
68
- - `.pi/extensions/takomi-runtime/`
69
- - `.pi/extensions/takomi-subagents/`
70
- - `.pi/prompts/`
71
- - `.pi/agents/`
72
- - `.pi/themes/`
73
- - `src/pi-takomi-core/`
74
-
75
- Not yet guaranteed bundled as package dependencies:
76
-
77
- - user/global Pi installation
78
- - user/global raw `subagent` extension
79
- - `pi-subagents` as a direct npm dependency of this package
80
-
81
- So when working on packaging, agents should distinguish between:
82
-
83
- - Takomi-shipped Pi-native runtime assets
84
- - optional user/global Pi runtime dependencies
85
- - optional raw `subagent` availability in the host environment
86
-
87
- ## Notable behavior
88
-
89
- - The lifecycle explicitly models `Genesis -> Design -> Build`.
90
- - Takomi lifecycle judgment is the default runtime behavior, not something that should require the literal phrase `use Takomi`.
91
- - Project defaults live in `.pi/takomi-profile.json`; optional user overrides can be read from `~/.pi/agent/takomi/profile.json`.
92
- - The runtime reads user profile overrides only. It does not write profile files outside the project.
93
- - Profile defaults can assign agents, model preferences, fallback model lists, thinking levels, and dispatch policies by role or lifecycle stage.
94
- - Profile defaults also include `launchMode`, `foreground`, `background`, and `reviewAfterImplementation`.
95
- - Design stage includes a Gemini-oriented hint for model selection.
96
- - Build is treated as a workflow/stage, not as a separate specialist agent.
97
- - A fresh orchestration session starts with a Genesis foundation task, then expands Design and Build only when the scope justifies it.
98
- - The main execution roles remain things like `orchestrator`, `coder`, `designer`, `architect`, and `reviewer`.
99
- - Agent discovery prefers `project/.pi/agents/`, also supports legacy `project/.agents/`, and falls back to Pi's configured user agent directory so new projects can reuse the global Takomi agent pack without hard-coding `~/.pi` assumptions.
100
- - Orchestrator sessions run in hybrid mode:
101
- - human-readable docs live under `docs/tasks/orchestrator-sessions/<sessionId>/`
102
- - machine state lives under `.pi/takomi/orchestrator/<sessionId>.json`
103
- - Task packets can carry `workflow`, `skills`, `preferredModel`, `fallbackModels`, `preferredThinking`, `dispatchPolicy`, `conversationId`, and `checklist` metadata.
104
- - Board redispatch and direct subagent calls now build a `TakomiDelegationPlan` before launch. In auto mode the plan launches immediately; in manual mode the plan is returned for review until `confirmLaunch=true` is supplied.
105
- - The subagent tool supports `conversationId`, so reviewed work can be sent back to the same agent for continuation instead of restarting from scratch.
106
- - The subagent tool supports Pi-style single, parallel `tasks`, and sequential `chain` modes.
107
- - The subagent tool supports `agentScope` values of `user`, `project`, and `both`; project-local agents require confirmation by default.
108
- - The subagent tool also supports per-run `workflow`, `skills`, `model`, `fallbackModels`, `thinking`, and `checklist` overrides.
109
- - Board redispatch and direct `takomi_subagent` calls now share one launch path, so model preflight, thinking, fallback behavior, default prompts, and persisted session files stay aligned.
110
- - Pi's default `subagent` tool remains owned by the user-level/default subagent extension to avoid tool-name conflicts; Takomi uses `takomi_subagent` as the preferred lifecycle-aware interface and renders it with the native Pi-style result surface.
111
- - Treat raw `subagent` usage as advanced/internal. Normal Takomi lifecycle work should go through `takomi_subagent` or `takomi_board`.
112
- - Active Takomi subagent work now streams through the native Pi-style result UI instead of Takomi's older below-editor stack.
113
- - Use Pi's native result expansion, `Alt+T`, or `/takomi subagents expand` to inspect detailed subagent output.
114
- - Takomi still tracks active runs internally for status, review continuity, and board synchronization, but it no longer opens a custom subagent fullscreen overlay.
115
- - `takomi_board` can:
116
- - create a Genesis-first lifecycle session by default
117
- - expand a lifecycle stage into additional tasks
118
- - update task status and notes
119
- - update checklist progress
120
- - dispatch approved tasks as single, parallel, or chain subagent run groups
121
- - rewrite JSON machine state
122
- - regenerate task docs into `pending/`, `in-progress/`, `completed/`, and `blocked/`
123
- - redispatch a task to the same agent with the same `conversationId`
124
- - use `review_and_redispatch` for a cleaner review loop
1
+ # Pi-local Takomi Prototype
2
+
3
+ This `.pi/` directory is the first Pi-native Takomi scaffold.
4
+
5
+ It is intentionally separate from the existing cross-harness assets under `assets/.agent/` and `assets/Takomi-Agents/`.
6
+
7
+ ## Contents
8
+
9
+ - `extensions/takomi-runtime/` - Pi runtime glue, embedded workflow playbooks, and orchestrator board tools
10
+ - `extensions/takomi-subagents/` - Takomi-facing subagent wrapper over Pi-style execution semantics with resumable conversation IDs
11
+ - `prompts/` - Pi-native prompt shortcuts
12
+ - `agents/` - Pi-native specialist agent definitions, including a design-stage agent
13
+
14
+ ## Why this exists
15
+
16
+ Pi auto-discovers `.pi/`, so this is the fastest way to test and iterate.
17
+
18
+ At runtime, Takomi for Pi is intended to be self-contained inside this `.pi/` bundle plus the embedded core under `src/pi-takomi-core/`.
19
+ The older assets under `assets/.agent/` and `assets/Takomi-Agents/` are reference or migration material, not runtime dependencies for the Pi-native Takomi experience.
20
+
21
+ Later, this can become:
22
+ - a package under `assets/pi/` or `packages/`
23
+ - an npm-distributed Pi package
24
+ - a shared core used by a Pi SDK-powered Takomi application
25
+
26
+ ## First-use notes
27
+
28
+ Inside Pi, use:
29
+ - `/reload` after edits
30
+ - `/takomi` to show the Takomi command guide and enable Takomi mode guidance
31
+ - `/takomi genesis [prompt]` to run the Genesis planning stage from existing markdown/project context
32
+ - `/takomi design [prompt]` to run UI/UX design against the agreed project direction
33
+ - `/takomi build [prompt]` to implement while cross-checking against approved UI/design artifacts
34
+ - `/takomi plan [title]` to create a Genesis-first orchestration session that can expand through Design and Build
35
+ - `/takomi mode direct`, `/takomi mode orchestrate`, or `/takomi mode review` to choose the session operating mode
36
+ - `/takomi gate auto` to continue approved plans automatically
37
+ - `/takomi gate review` to return to the user after each task with results and verification guidance
38
+ - `/takomi subagents on` or `/takomi subagents off` to allow or disable delegated subagents
39
+ - `/takomi subagents status|expand|collapse|fullscreen|next|prev|toggle` to inspect or reshape the active subagent stack
40
+ - `/takomi-status` to show lifecycle, gate, session, and active subagent state
41
+ - `/takomi-reset` to reset session-local Takomi runtime state
42
+ - `takomi_board` actions now include stage expansion, task updates, multi-task dispatch, and redispatch support for review loops
43
+ - The old standalone commands (`/takomi-genesis`, `/takomi-design`, `/takomi-build`, `/takomi-kickoff`, `/autoorch`, `/orch`, `/architect`, `/code`, `/review`, and the `/takomi-subagent*` variants) are folded into `/takomi` subcommands so slash autocomplete stays small.
44
+ - prompt shortcuts are suffixed with `-prompt` to avoid collisions with runtime commands, e.g. `/orch-prompt`, `/build-prompt`, `/design-prompt`, `/genesis-prompt`, `/takomi-prompt`, `/prime-prompt`
45
+ - a project-local theme is available at `.pi/themes/takomi-noir.json`; select `takomi-noir` in `/settings` to use the Takomi UI palette
46
+ - additional workflow prompts are available as direct slash commands:
47
+ - `/vibe-primeAgent`
48
+ - `/vibe-spawnTask`
49
+ - `/vibe-syncDocs`
50
+
51
+ ## Dependency + ownership notes
52
+
53
+ This is the current ownership model other agents should assume:
54
+
55
+ - `takomi_board` owns lifecycle/session/task orchestration
56
+ - `takomi_subagent` is the preferred Takomi-facing delegation tool
57
+ - raw Pi `subagent` may still be available in the environment, but is advanced/internal for Takomi work
58
+
59
+ Important implementation note:
60
+
61
+ - `takomi_subagent` currently does **not** call raw `subagent` as a tool-to-tool passthrough
62
+ - it is implemented in `.pi/extensions/takomi-subagents/`
63
+ - it follows Pi-style execution semantics and Pi-style result rendering more closely now
64
+ - it is a wrapper/alignment layer, not yet a literal dependency bridge into the `subagent` tool runtime
65
+
66
+ Bundled with Takomi now:
67
+
68
+ - `.pi/extensions/takomi-runtime/`
69
+ - `.pi/extensions/takomi-subagents/`
70
+ - `.pi/prompts/`
71
+ - `.pi/agents/`
72
+ - `.pi/themes/`
73
+ - `src/pi-takomi-core/`
74
+
75
+ Not yet guaranteed bundled as package dependencies:
76
+
77
+ - user/global Pi installation
78
+ - user/global raw `subagent` extension
79
+ - `pi-subagents` as a direct npm dependency of this package
80
+
81
+ So when working on packaging, agents should distinguish between:
82
+
83
+ - Takomi-shipped Pi-native runtime assets
84
+ - optional user/global Pi runtime dependencies
85
+ - optional raw `subagent` availability in the host environment
86
+
87
+ ## Notable behavior
88
+
89
+ - The lifecycle explicitly models `Genesis -> Design -> Build`.
90
+ - Takomi lifecycle judgment is the default runtime behavior, not something that should require the literal phrase `use Takomi`.
91
+ - Project defaults live in `.pi/takomi-profile.json`; optional user overrides can be read from `~/.pi/agent/takomi/profile.json`.
92
+ - The runtime reads user profile overrides only. It does not write profile files outside the project.
93
+ - Profile defaults can assign agents, model preferences, fallback model lists, thinking levels, and dispatch policies by role or lifecycle stage.
94
+ - Profile defaults also include `launchMode`, `foreground`, `background`, and `reviewAfterImplementation`.
95
+ - Design stage includes a Gemini-oriented hint for model selection.
96
+ - Build is treated as a workflow/stage, not as a separate specialist agent.
97
+ - A fresh orchestration session starts with a Genesis foundation task, then expands Design and Build only when the scope justifies it.
98
+ - The main execution roles remain things like `orchestrator`, `coder`, `designer`, `architect`, and `reviewer`.
99
+ - Agent discovery prefers `project/.pi/agents/`, also supports legacy `project/.agents/`, and falls back to Pi's configured user agent directory so new projects can reuse the global Takomi agent pack without hard-coding `~/.pi` assumptions.
100
+ - Orchestrator sessions run in hybrid mode:
101
+ - human-readable docs live under `docs/tasks/orchestrator-sessions/<sessionId>/`
102
+ - machine state lives under `.pi/takomi/orchestrator/<sessionId>.json`
103
+ - Task packets can carry `workflow`, `skills`, `preferredModel`, `fallbackModels`, `preferredThinking`, `dispatchPolicy`, `conversationId`, and `checklist` metadata.
104
+ - Board redispatch and direct subagent calls now build a `TakomiDelegationPlan` before launch. In auto mode the plan launches immediately; in manual mode the plan is returned for review until `confirmLaunch=true` is supplied.
105
+ - The subagent tool supports `conversationId`, so reviewed work can be sent back to the same agent for continuation instead of restarting from scratch.
106
+ - The subagent tool supports Pi-style single, parallel `tasks`, and sequential `chain` modes.
107
+ - The subagent tool supports `agentScope` values of `user`, `project`, and `both`; project-local agents require confirmation by default.
108
+ - The subagent tool also supports per-run `workflow`, `skills`, `model`, `fallbackModels`, `thinking`, and `checklist` overrides.
109
+ - Board redispatch and direct `takomi_subagent` calls now share one launch path, so model preflight, thinking, fallback behavior, default prompts, and persisted session files stay aligned.
110
+ - Pi's default `subagent` tool remains owned by the user-level/default subagent extension to avoid tool-name conflicts; Takomi uses `takomi_subagent` as the preferred lifecycle-aware interface and renders it with the native Pi-style result surface.
111
+ - Treat raw `subagent` usage as advanced/internal. Normal Takomi lifecycle work should go through `takomi_subagent` or `takomi_board`.
112
+ - Active Takomi subagent work now streams through the native Pi-style result UI instead of Takomi's older below-editor stack.
113
+ - Use Pi's native result expansion, `Alt+T`, or `/takomi subagents expand` to inspect detailed subagent output.
114
+ - Takomi still tracks active runs internally for status, review continuity, and board synchronization, but it no longer opens a custom subagent fullscreen overlay.
115
+ - `takomi_board` can:
116
+ - create a Genesis-first lifecycle session by default
117
+ - expand a lifecycle stage into additional tasks
118
+ - update task status and notes
119
+ - update checklist progress
120
+ - dispatch approved tasks as single, parallel, or chain subagent run groups
121
+ - rewrite JSON machine state
122
+ - regenerate task docs into `pending/`, `in-progress/`, `completed/`, and `blocked/`
123
+ - redispatch a task to the same agent with the same `conversationId`
124
+ - use `review_and_redispatch` for a cleaner review loop
@@ -1,16 +1,16 @@
1
- ---
2
- name: architect
3
- description: Plan, design, and clarify before implementation.
4
- tools: read,bash,grep,find,ls
5
- model: gpt-5.4
6
- ---
7
- You are the Takomi Architect.
8
-
9
- Focus on:
10
- - requirement clarity
11
- - architecture and interfaces
12
- - decomposition
13
- - acceptance criteria
14
- - implementation planning
15
-
1
+ ---
2
+ name: architect
3
+ description: Plan, design, and clarify before implementation.
4
+ tools: read,bash,grep,find,ls
5
+ model: gpt-5.4
6
+ ---
7
+ You are the Takomi Architect.
8
+
9
+ Focus on:
10
+ - requirement clarity
11
+ - architecture and interfaces
12
+ - decomposition
13
+ - acceptance criteria
14
+ - implementation planning
15
+
16
16
  Avoid implementation unless the user explicitly asks for it or the plan is already approved.
@@ -1,15 +1,15 @@
1
- ---
2
- name: coder
3
- description: Implement focused changes with verification and minimal drift.
4
- tools: read,bash,edit,write,grep,find,ls
5
- model: gpt-5.4-mini
6
- ---
7
- You are the Takomi Coder.
8
-
9
- Focus on:
10
- - making the smallest correct set of changes
11
- - matching repository conventions
12
- - verifying after changes
13
- - reporting what changed and what remains
14
-
1
+ ---
2
+ name: coder
3
+ description: Implement focused changes with verification and minimal drift.
4
+ tools: read,bash,edit,write,grep,find,ls
5
+ model: gpt-5.4-mini
6
+ ---
7
+ You are the Takomi Coder.
8
+
9
+ Focus on:
10
+ - making the smallest correct set of changes
11
+ - matching repository conventions
12
+ - verifying after changes
13
+ - reporting what changed and what remains
14
+
15
15
  Do not expand scope without calling it out clearly.
@@ -1,18 +1,18 @@
1
- ---
2
- name: designer
3
- description: Turn approved genesis context into build-ready UI and UX direction.
4
- tools: read,bash,grep,find,ls
5
- model: gemini-3.1-pro-preview
6
- ---
7
- You are the Takomi Designer.
8
-
9
- You sit between genesis and build.
10
-
11
- Focus on:
12
- - translating requirements into UI and UX direction
13
- - producing build-ready design guidance
14
- - clarifying information hierarchy, flows, and visual language
15
- - choosing practical interface patterns the build agent can implement
16
-
17
- Prefer concrete design decisions over vague inspiration.
1
+ ---
2
+ name: designer
3
+ description: Turn approved genesis context into build-ready UI and UX direction.
4
+ tools: read,bash,grep,find,ls
5
+ model: gemini-3.1-pro-preview
6
+ ---
7
+ You are the Takomi Designer.
8
+
9
+ You sit between genesis and build.
10
+
11
+ Focus on:
12
+ - translating requirements into UI and UX direction
13
+ - producing build-ready design guidance
14
+ - clarifying information hierarchy, flows, and visual language
15
+ - choosing practical interface patterns the build agent can implement
16
+
17
+ Prefer concrete design decisions over vague inspiration.
18
18
  Assume the next stage is build orchestration.
@@ -1,23 +1,23 @@
1
- ---
2
- name: orchestrator
3
- description: Break complex work into stages, delegate mentally to specialists, and keep the user aligned on plan and progress.
4
- tools: read,bash,grep,find,ls
5
- model: gpt-5.4
6
- ---
7
- You are the Takomi Orchestrator.
8
-
9
- Your job is to:
10
- - decompose broad requests
11
- - identify whether planning, coding, debugging, or review should happen next
12
- - keep scope under control
13
- - produce task structure before heavy implementation
14
- - recommend specialist handoffs clearly
15
-
16
- Do not rush straight into code if the request is ambiguous, large, or multi-phase.
17
- Prefer sequencing, dependency mapping, and explicit next steps.
18
-
19
- Before delegating to subagents or naming a model/provider:
20
- - use the injected Pi model-registry context and active Takomi routing policy
21
- - prefer provider-qualified model IDs when reliability matters
22
- - if a preferred provider is unavailable, choose an available provider-qualified model before dispatching
1
+ ---
2
+ name: orchestrator
3
+ description: Break complex work into stages, delegate mentally to specialists, and keep the user aligned on plan and progress.
4
+ tools: read,bash,grep,find,ls
5
+ model: gpt-5.4
6
+ ---
7
+ You are the Takomi Orchestrator.
8
+
9
+ Your job is to:
10
+ - decompose broad requests
11
+ - identify whether planning, coding, debugging, or review should happen next
12
+ - keep scope under control
13
+ - produce task structure before heavy implementation
14
+ - recommend specialist handoffs clearly
15
+
16
+ Do not rush straight into code if the request is ambiguous, large, or multi-phase.
17
+ Prefer sequencing, dependency mapping, and explicit next steps.
18
+
19
+ Before delegating to subagents or naming a model/provider:
20
+ - use the injected Pi model-registry context and active Takomi routing policy
21
+ - prefer provider-qualified model IDs when reliability matters
22
+ - if a preferred provider is unavailable, choose an available provider-qualified model before dispatching
23
23
  - only run `pi --list-models` when registry context is missing or the user asks for visible diagnostics
@@ -1,17 +1,17 @@
1
- ---
2
- name: reviewer
3
- description: Review correctness, risk, gaps, and quality before final handoff.
4
- tools: read,bash,grep,find,ls
5
- model: gpt-5.4-mini
6
- ---
7
- You are the Takomi Reviewer.
8
-
9
- Focus on:
10
- - correctness
11
- - missing edge cases
12
- - security or logic risks
13
- - spec compliance
14
- - code quality
15
-
16
- Prefer precise findings over vague commentary.
1
+ ---
2
+ name: reviewer
3
+ description: Review correctness, risk, gaps, and quality before final handoff.
4
+ tools: read,bash,grep,find,ls
5
+ model: gpt-5.4-mini
6
+ ---
7
+ You are the Takomi Reviewer.
8
+
9
+ Focus on:
10
+ - correctness
11
+ - missing edge cases
12
+ - security or logic risks
13
+ - spec compliance
14
+ - code quality
15
+
16
+ Prefer precise findings over vague commentary.
17
17
  Separate blockers from optional suggestions.