takomi 2.1.37 → 2.1.38

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.
@@ -106,11 +106,15 @@ Before calling `takomi_board expand_stage`:
106
106
  - Do not leave generated task files with `Scope: None specified`, `Definition Of Done: None specified`, or `Expected Artifacts: None specified`.
107
107
  - If `takomi_board` produced generic task packets, immediately repair them with detailed markdown before dispatching more work.
108
108
 
109
- ## Phase 4: Delegation
110
- When delegating:
111
- - send self-contained task instructions
112
- - include required workflow and relevant context
113
- - preserve conversation IDs for review loops
109
+ ## Phase 4: Delegation
110
+ After decomposition, delegation is the default execution path. Use `takomi_subagent` for implementer work and a separate reviewer pass, then return to the main orchestrator for synthesis, board updates, acceptance, redispatch decisions, and user handoff.
111
+
112
+ Direct execution remains appropriate for small one-shot tasks, unavailable delegation tooling, or explicit user overrides such as "do it yourself", "no subagents", "no new threads", or `/takomi subagents off`.
113
+
114
+ When delegating:
115
+ - send self-contained task instructions
116
+ - include required workflow and relevant context
117
+ - preserve conversation IDs for review loops
114
118
  - keep retries scoped and actionable
115
119
  - do not overload a subagent with unrelated work
116
120
 
@@ -16,9 +16,11 @@ Always-on Takomi behavior.
16
16
  - Do not blend architecture, design, and implementation sloppily.
17
17
  - When the right path is clear, make a recommendation instead of hedging.
18
18
  - For broad work, Genesis may create the orchestration session that carries work into later stages.
19
- - Orchestration sessions use canonical timestamp IDs: `orch-YYYYMMDD-HHMMSS`.
20
- - Orchestration sessions are markdown-first: author `master_plan.md` and task packets first, then call `takomi_board` with the same `sessionId`, `masterPlanMarkdown`, task `taskMarkdown`, and matching task statuses. Do not create a second board session for already-authored session docs.
21
- - `takomi_board` never runs subagents. Use `takomi_subagent` for execution, then come back to `takomi_board update_task` to record results.
19
+ - Orchestration sessions use canonical timestamp IDs: `orch-YYYYMMDD-HHMMSS`.
20
+ - Orchestration sessions are markdown-first: author `master_plan.md` and task packets first, then call `takomi_board` with the same `sessionId`, `masterPlanMarkdown`, task `taskMarkdown`, and matching task statuses. Do not create a second board session for already-authored session docs.
21
+ - `takomi_board` never runs subagents. Use `takomi_subagent` for execution, then come back to `takomi_board update_task` to record results.
22
+ - When Takomi creates subtasks, roadbook tasks, or an orchestration session, delegation is the default next step: implementer `takomi_subagent`, reviewer `takomi_subagent`, then main-agent synthesis and board update.
23
+ - Preserve direct execution for small clear work and explicit user overrides such as "do it yourself", "no subagents", "no new threads", or `/takomi subagents off`.
22
24
 
23
25
  ## Shared Mode Pattern
24
26
  - Load context before acting.
@@ -57,5 +59,5 @@ Before using `takomi_subagent`, setting a model override, or naming a provider/m
57
59
  - Design for sitemap, design system, mockups, and visual direction
58
60
  - Build for implementation, verification, and handoff
59
61
  - Review for audits, QA, or high-risk changes
60
- - Orchestration for broad, multi-step, or delegated work
62
+ - Orchestration for broad, multi-step, or delegated work
61
63
 
@@ -1,6 +1,14 @@
1
1
  # Subagent Routing Policy
2
2
 
3
- Use subagents when delegation reduces risk, improves parallelism, or provides specialist review. Do not delegate small direct tasks just because the tool exists.
3
+ Once Takomi decomposes work into subtasks, roadbook tasks, or an orchestration session, use subagents by default. The main agent should coordinate, synthesize, update the board, and hand off to the user rather than acting as the primary implementer.
4
+
5
+ Do not delegate small direct tasks just because the tool exists. Direct execution is also allowed when the user says "do it yourself", "no subagents", "no new threads", disables subagents with `/takomi subagents off`, or the required delegation tooling is unavailable.
6
+
7
+ Default decomposed-work loop:
8
+
9
+ 1. Send implementation to an implementer `takomi_subagent`.
10
+ 2. Send the result to a separate reviewer `takomi_subagent`.
11
+ 3. Let the main orchestrator synthesize, update the roadbook/board, and accept or redispatch.
4
12
 
5
13
  Before calling `takomi_subagent`:
6
14
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  Default to direct execution for small, clear tasks. Use Takomi lifecycle when scope is large, unclear, risky, multi-file, architecture-heavy, or benefits from durable artifacts.
4
4
 
5
+ When lifecycle routing creates subtasks, roadbook tasks, or an orchestration session, execution becomes delegation-first by default. The main agent remains responsible for context, sequencing, synthesis, board updates, acceptance, redispatch, and final user handoff.
6
+
5
7
  Lifecycle:
6
8
 
7
9
  1. Genesis: mission, constraints, requirements, issues, verification foundation.
@@ -9,4 +11,4 @@ Lifecycle:
9
11
  3. Build: focused implementation tasks with verification.
10
12
  4. Review/Finalize: regression, quality, docs, handoff.
11
13
 
12
- Broad/meta-system projects must be decomposed into meaningful tasks. A single-task Genesis requires explicit justification.
14
+ Broad/meta-system projects must be decomposed into meaningful tasks. Decomposed broad work should not be executed primarily by the parent agent unless the user explicitly says "do it yourself", "no subagents", "no new threads", or otherwise opts out. A single-task Genesis requires explicit justification.
package/README.md CHANGED
@@ -115,17 +115,25 @@ run vibe genesis
115
115
  continue build with takomi
116
116
  ```
117
117
 
118
- Install the Takomi protocol suite:
119
-
120
- ```bash
121
- npx -y skills add https://github.com/JStaRFilms/VibeCode-Protocol-Suite --skill takomi
122
- ```
123
-
124
- Original Takomi-authored skills in this bundle include `21st-dev-components`, `takomi`, `global-brand-namer`, `jstar-reviewer`, and the core VibeCode/Takomi workflow skills that ship with the CLI.
125
-
126
- ---
127
-
128
- ## 📦 Skill Ecosystem
118
+ Install the Takomi protocol suite:
119
+
120
+ ```bash
121
+ npx -y skills add https://github.com/JStaRFilms/VibeCode-Protocol-Suite --skill takomi
122
+ ```
123
+
124
+ Original Takomi-authored skills in this bundle include `21st-dev-components`, `takomi`, `global-brand-namer`, `jstar-reviewer`, and the core VibeCode/Takomi workflow skills that ship with the CLI.
125
+
126
+ ### Codex Plugin Quick Start
127
+
128
+ For the newer repo-local Codex plugin path, enable `takomi-codex` from `.agents/plugins/marketplace.json`. That marketplace entry points Codex at `./plugins/takomi-codex`, which includes plugin metadata, the `takomi-codex` skill, and local verification scripts.
129
+
130
+ This plugin path is distinct from `skills add --skill takomi`, which installs the older global Takomi skill. Use natural language such as `use takomi-codex to inspect this repo`, `use Takomi to plan this feature`, or `create a Takomi roadbook for this work`.
131
+
132
+ See [Takomi Codex Onboarding](docs/takomi-codex-onboarding.md) for activation, first-run verification, policy loading, roadbooks, dry-run dispatch, no-Pi fallback, and troubleshooting.
133
+
134
+ ---
135
+
136
+ ## 📦 Skill Ecosystem
129
137
 
130
138
  Think of skills as specialized team members you can summon on demand. From security audits to AI video generation — there's a skill for that.
131
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takomi",
3
- "version": "2.1.37",
3
+ "version": "2.1.38",
4
4
  "description": "🎯 Stop wrestling with AI. Start building with purpose. The artisan's toolkit for agent workflows, Codex skills, and original Takomi capabilities like 21st.dev integration.",
5
5
  "type": "module",
6
6
  "bin": {