takomi 2.1.29 → 2.1.30

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.
@@ -11,6 +11,21 @@ Follow the blueprints precisely. Verify constantly.
11
11
 
12
12
  ---
13
13
 
14
+ ## Build Orchestration Readiness
15
+
16
+ If Build is being run through an orchestration session, do not start with bare board placeholders.
17
+ Before dispatching Build subagents, each Build task packet must include:
18
+ - exact FR IDs and mockup files covered
19
+ - objective and concrete scope boundaries
20
+ - dependencies and handoff assumptions
21
+ - expected files/artifacts
22
+ - definition of done and verification commands
23
+ - privacy/payment/security constraints that apply
24
+
25
+ If existing Build task packets say `Scope: None specified`, `Definition Of Done: None specified`, or `Expected Artifacts: None specified`, pause and repair the task packet before launching or continuing subagents.
26
+
27
+ ---
28
+
14
29
  ## Steps
15
30
 
16
31
  ### 1. Context Loading (MANDATORY)
@@ -138,3 +138,11 @@ Usually recommend:
138
138
  - make decisive recommendations when the evidence is clear
139
139
  - make the output strong enough that design/build can follow without guessing
140
140
  - keep FRs and issue files aligned 1:1
141
+
142
+ ## Tool-Use Safety for Genesis Artifacts
143
+ - Do not generate PRDs, coding guidelines, builder prompts, issue packs, or session docs by embedding huge markdown strings inside a single `bash` command.
144
+ - Prefer `write` for large markdown artifacts.
145
+ - For many repeated issue files, `write` a compact generator script first, then run that script with `bash`.
146
+ - Use `bash` for short filesystem commands, script execution, and verification only.
147
+ - Avoid massive inline heredocs because they can hit command-length limits and fail before writing anything.
148
+ - If `ENAMETOOLONG` appears, immediately switch to file-based writes or a written generator script; do not retry the same oversized inline command.
@@ -27,6 +27,22 @@ Always-on Takomi behavior.
27
27
  - For implementation, verify before claiming completion.
28
28
  - For planning/review, produce actionable handoffs rather than vague commentary.
29
29
 
30
+ ## Large Generated Content / Bash Safety
31
+ - Do not place large generated documents or long scripts directly inside a `bash` command.
32
+ - If generating large content, use `write` for individual markdown/text files.
33
+ - If many files need generated content, first `write` a small generator script to disk, then run it with a short `bash` command.
34
+ - Keep `bash` commands short and focused on shell work: directory creation, running scripts, inspections, and verification.
35
+ - Never use massive inline heredocs for multi-file generation; they can fail with OS command-length limits such as `ENAMETOOLONG`, especially on Windows.
36
+ - If a command fails with `ENAMETOOLONG`, do not retry the same inline approach. Switch immediately to file-based writes or a written generator script.
37
+
38
+ ## Launch-Ready Orchestration Tasks
39
+ - Never use `takomi_board` as a placeholder task generator for Design or Build stage work.
40
+ - Before `takomi_board init_session` or `takomi_board expand_stage`, author launch-ready task packets or provide full `taskMarkdown` for every non-trivial task.
41
+ - A launch-ready task packet must have non-empty Objective, Scope, Context, Definition of Done, Expected Artifacts, Dependencies, Verification/Review checkpoint, and exact prime-agent files to read.
42
+ - JSON task fields are tracking metadata only; they must not replace the human-readable task packet.
43
+ - If the subagent launch prompt is more detailed than the task packet, copy that launch prompt back into the task packet before or immediately after launch.
44
+ - Do not move to the next lifecycle stage with `Scope: None specified`, `Definition Of Done: None specified`, or `Expected Artifacts: None specified` task files.
45
+
30
46
  ## Provider / Model Selection
31
47
  Before using `takomi_subagent`, setting a model override, or naming a provider/model:
32
48
  - use the injected Pi model-registry context and active Takomi routing policy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takomi",
3
- "version": "2.1.29",
3
+ "version": "2.1.30",
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": {