@lovelybunch/core 1.0.76-alpha.9 → 1.0.76
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.
- package/dist/context.d.ts +27 -27
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +5 -4
- package/dist/context.js.map +1 -1
- package/dist/knowledge.d.ts +92 -92
- package/dist/logging/kinds.d.ts +18 -0
- package/dist/logging/kinds.d.ts.map +1 -1
- package/dist/logging/kinds.js +15 -0
- package/dist/logging/kinds.js.map +1 -1
- package/dist/mail.d.ts +8 -8
- package/dist/skill-instructions.d.ts +1 -1
- package/dist/skill-instructions.d.ts.map +1 -1
- package/dist/skill-instructions.js +1 -1
- package/dist/skill-instructions.js.map +1 -1
- package/dist/system-prompts/coconut-assistant.md +46 -23
- package/dist/tasks.d.ts +48 -48
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/logging/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,cAAc;IACvB,aAAa,EAAE,oBAAoB;CAC3B,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,aAAa,EAAE,qBAAqB;IACpC,cAAc,EAAE,sBAAsB;IACtC,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,qBAAqB;CAC5B,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,aAAa,EAAE,oBAAoB;IACnC,aAAa,EAAE,oBAAoB;IACnC,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,YAAY,EAAE,m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KAAK,CAAC;KACtB;IACD,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE;QAC1B,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;KACtB;CACO,CAAC"}
|
package/dist/mail.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ export declare const MailMessageSchema: z.ZodObject<{
|
|
|
55
55
|
processing: z.ZodOptional<z.ZodBoolean>;
|
|
56
56
|
processingStartedAt: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
subject: string;
|
|
59
58
|
content: string;
|
|
60
59
|
id: string;
|
|
61
60
|
emailId: string;
|
|
@@ -63,6 +62,7 @@ export declare const MailMessageSchema: z.ZodObject<{
|
|
|
63
62
|
to: string[];
|
|
64
63
|
cc: string[];
|
|
65
64
|
bcc: string[];
|
|
65
|
+
subject: string;
|
|
66
66
|
messageId: string;
|
|
67
67
|
attachments: {
|
|
68
68
|
filename: string;
|
|
@@ -77,11 +77,11 @@ export declare const MailMessageSchema: z.ZodObject<{
|
|
|
77
77
|
processing?: boolean | undefined;
|
|
78
78
|
processingStartedAt?: string | undefined;
|
|
79
79
|
}, {
|
|
80
|
-
subject: string;
|
|
81
80
|
id: string;
|
|
82
81
|
emailId: string;
|
|
83
82
|
from: string;
|
|
84
83
|
to: string[];
|
|
84
|
+
subject: string;
|
|
85
85
|
messageId: string;
|
|
86
86
|
receivedAt: string;
|
|
87
87
|
folder: "inbox" | "read" | "sent";
|
|
@@ -129,13 +129,13 @@ export declare const SaveMailInputSchema: z.ZodObject<{
|
|
|
129
129
|
receivedAt: z.ZodOptional<z.ZodString>;
|
|
130
130
|
content: z.ZodDefault<z.ZodString>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
subject: string;
|
|
133
132
|
content: string;
|
|
134
133
|
emailId: string;
|
|
135
134
|
from: string;
|
|
136
135
|
to: string[];
|
|
137
136
|
cc: string[];
|
|
138
137
|
bcc: string[];
|
|
138
|
+
subject: string;
|
|
139
139
|
messageId: string;
|
|
140
140
|
attachments: {
|
|
141
141
|
filename: string;
|
|
@@ -149,10 +149,10 @@ export declare const SaveMailInputSchema: z.ZodObject<{
|
|
|
149
149
|
emailId: string;
|
|
150
150
|
from: string;
|
|
151
151
|
to: string[];
|
|
152
|
-
subject?: string | undefined;
|
|
153
152
|
content?: string | undefined;
|
|
154
153
|
cc?: string[] | undefined;
|
|
155
154
|
bcc?: string[] | undefined;
|
|
155
|
+
subject?: string | undefined;
|
|
156
156
|
messageId?: string | undefined;
|
|
157
157
|
attachments?: {
|
|
158
158
|
filename: string;
|
|
@@ -285,7 +285,6 @@ export declare const mailSchemas: {
|
|
|
285
285
|
processing: z.ZodOptional<z.ZodBoolean>;
|
|
286
286
|
processingStartedAt: z.ZodOptional<z.ZodString>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
subject: string;
|
|
289
288
|
content: string;
|
|
290
289
|
id: string;
|
|
291
290
|
emailId: string;
|
|
@@ -293,6 +292,7 @@ export declare const mailSchemas: {
|
|
|
293
292
|
to: string[];
|
|
294
293
|
cc: string[];
|
|
295
294
|
bcc: string[];
|
|
295
|
+
subject: string;
|
|
296
296
|
messageId: string;
|
|
297
297
|
attachments: {
|
|
298
298
|
filename: string;
|
|
@@ -307,11 +307,11 @@ export declare const mailSchemas: {
|
|
|
307
307
|
processing?: boolean | undefined;
|
|
308
308
|
processingStartedAt?: string | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
subject: string;
|
|
311
310
|
id: string;
|
|
312
311
|
emailId: string;
|
|
313
312
|
from: string;
|
|
314
313
|
to: string[];
|
|
314
|
+
subject: string;
|
|
315
315
|
messageId: string;
|
|
316
316
|
receivedAt: string;
|
|
317
317
|
folder: "inbox" | "read" | "sent";
|
|
@@ -359,13 +359,13 @@ export declare const mailSchemas: {
|
|
|
359
359
|
receivedAt: z.ZodOptional<z.ZodString>;
|
|
360
360
|
content: z.ZodDefault<z.ZodString>;
|
|
361
361
|
}, "strip", z.ZodTypeAny, {
|
|
362
|
-
subject: string;
|
|
363
362
|
content: string;
|
|
364
363
|
emailId: string;
|
|
365
364
|
from: string;
|
|
366
365
|
to: string[];
|
|
367
366
|
cc: string[];
|
|
368
367
|
bcc: string[];
|
|
368
|
+
subject: string;
|
|
369
369
|
messageId: string;
|
|
370
370
|
attachments: {
|
|
371
371
|
filename: string;
|
|
@@ -379,10 +379,10 @@ export declare const mailSchemas: {
|
|
|
379
379
|
emailId: string;
|
|
380
380
|
from: string;
|
|
381
381
|
to: string[];
|
|
382
|
-
subject?: string | undefined;
|
|
383
382
|
content?: string | undefined;
|
|
384
383
|
cc?: string[] | undefined;
|
|
385
384
|
bcc?: string[] | undefined;
|
|
385
|
+
subject?: string | undefined;
|
|
386
386
|
messageId?: string | undefined;
|
|
387
387
|
attachments?: {
|
|
388
388
|
filename: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SCHEMA_REFERENCE_INSTRUCTION = "Consult the schema references in .nut/.schema (task.schema.md, project.schema.md, architecture.schema.md, skill.schema.md, knowledge.schema.md) so any updates you make follow the documented structure and include complete arrays for plan steps, dependencies, tags, labels, and comments.";
|
|
2
|
-
export declare const PROJECT_REFERENCE_INSTRUCTION = "Use .nut/context/
|
|
2
|
+
export declare const PROJECT_REFERENCE_INSTRUCTION = "Use .nut/context/role.md for reference.";
|
|
3
3
|
/**
|
|
4
4
|
* Get instructions for change task (task-*) workflows
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-instructions.d.ts","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,kSACwP,CAAC;AAClS,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"skill-instructions.d.ts","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,kSACwP,CAAC;AAClS,eAAO,MAAM,6BAA6B,4CACC,CAAA;AAE3C;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,EAC1B,0BAA0B,GAAE,OAAc,GACzC,MAAM,EAAE,CAyFV;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAqFV;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAgBV;AAGD,mDAAmD;AACnD,eAAO,MAAM,oBAAoB,6BAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const SCHEMA_REFERENCE_INSTRUCTION = 'Consult the schema references in .nut/.schema (task.schema.md, project.schema.md, architecture.schema.md, skill.schema.md, knowledge.schema.md) so any updates you make follow the documented structure and include complete arrays for plan steps, dependencies, tags, labels, and comments.';
|
|
2
|
-
export const PROJECT_REFERENCE_INSTRUCTION = 'Use .nut/context/
|
|
2
|
+
export const PROJECT_REFERENCE_INSTRUCTION = 'Use .nut/context/role.md for reference.';
|
|
3
3
|
/**
|
|
4
4
|
* Get instructions for change task (task-*) workflows
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-instructions.js","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GACvC,+RAA+R,CAAC;AAClS,MAAM,CAAC,MAAM,6BAA6B,GACxC,
|
|
1
|
+
{"version":3,"file":"skill-instructions.js","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,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,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACf,CAAC;IAED,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;AAChC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAClC,UAAoB,EACpB,iBAA0B;IAE1B,MAAM,KAAK,GAAa,EAAE,CAAA;IAE1B,KAAK,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAE1C,mCAAmC;IACnC,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,KAAK,CAAC,IAAI,CAAC,4BAA4B,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACjE,CAAC;IAED,qCAAqC;IACrC,IAAI,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC;QAClD,KAAK,CAAC,IAAI,CAAC,2BAA2B,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACnE,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,kEAAkE;AAClE,mDAAmD;AACnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
You are the Coconut 🥥 assistant — a **knowledge curator** for agent‑native development workflows.
|
|
2
2
|
|
|
3
|
+
> **Note:** The API may append `.nut/context/role.md` and `.nut/context/memory.md` to this prompt server-side when those files exist (as “Your Role for This Instance” and “Memory for This Instance”). The same `memory.md` can also be read or updated via the `memory_context` tool — when summarizing what is stored in memory, prefer quoting **one** source (the latest tool result, or the injected “Memory for This Instance” block) and avoid duplicating or inventing content between them.
|
|
4
|
+
|
|
3
5
|
## Your Role & Capabilities
|
|
4
6
|
|
|
5
7
|
You are primarily focused on **working with knowledge documents** — synthesizing information from various sources and capturing insights. You also excel at **planning projects and business-centric tasks** — helping users think through strategy, go-to-market, architecture decisions, and more. Your philosophy: **"Read widely, write narrowly."**
|
|
@@ -10,15 +12,19 @@ You are primarily focused on **working with knowledge documents** — synthesizi
|
|
|
10
12
|
- Knowledge documents — search, browse, read full content
|
|
11
13
|
- Tasks — search, browse, read (to understand context)
|
|
12
14
|
- Activity events — see what's been happening recently in this Coconut instance
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
+
- Role context — the role definition, responsibilities, and guidelines
|
|
16
|
+
- Agents context — the AI agents available and their configurations
|
|
17
|
+
- Team context — team members, roles, and contact information
|
|
18
|
+
- Memory context — persistent notes, decisions, and learned context
|
|
15
19
|
- Resources — browse and search existing media assets
|
|
16
20
|
|
|
17
21
|
✅ **WRITE to documents, tasks, and resources:**
|
|
18
22
|
- Knowledge documents — create new, update existing
|
|
19
23
|
- Tasks — create new, update existing (for coding agents to execute)
|
|
20
|
-
-
|
|
21
|
-
-
|
|
24
|
+
- Role context — define and refine the role definition
|
|
25
|
+
- Agents context — document agent configurations and guidelines
|
|
26
|
+
- Team context — capture team structure and responsibilities
|
|
27
|
+
- Memory context — store persistent notes and decisions
|
|
22
28
|
- Resources — generate images, audio, and video via AI; save files from URLs
|
|
23
29
|
- **ONE document/task/generation at a time** — never batch multiple writes
|
|
24
30
|
|
|
@@ -87,6 +93,8 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
87
93
|
- **Attached context files**: When the user attaches context files, the COMPLETE content is already included. DO NOT use tools to fetch these files again.
|
|
88
94
|
- **Adding more context**: The user can use the hamburger menu (☰) in the context section above the chat to select additional files.
|
|
89
95
|
- **Code inspection limitations**: You cannot browse the filesystem or inspect source code directly. For code analysis, suggest a coding assistant.
|
|
96
|
+
- **Faithfulness when describing files**: When you describe what is in memory, role, or any document, only state what appears in a **tool result** or in the **injected sections** above (“Your Role for This Instance”, “Memory for This Instance”). Do **not** invent bullets, “technical notes,” or metadata that are not present in that text.
|
|
97
|
+
- **Attributing instructions**: Do **not** claim that text came from “the system prompt” or from this Coconut prompt unless it actually appears in the shared assistant instructions or those injected blocks. Generic instructions you may have about tool-calling or formatting (from the model provider) are **not** part of the user’s `memory.md` or project files — do not attribute them to those sources when the user asks where something came from.
|
|
90
98
|
|
|
91
99
|
## Tool Usage
|
|
92
100
|
|
|
@@ -156,9 +164,9 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
156
164
|
|
|
157
165
|
---
|
|
158
166
|
|
|
159
|
-
###
|
|
167
|
+
### agents_context — READ + WRITE
|
|
160
168
|
|
|
161
|
-
**What it can do:** Read and update the
|
|
169
|
+
**What it can do:** Read and update the agents definition document (`.nut/context/agents.md`). This captures the AI agents available to the project — their capabilities, configurations, and usage guidelines.
|
|
162
170
|
|
|
163
171
|
| Operation | Description | Example |
|
|
164
172
|
|-----------|-------------|---------|
|
|
@@ -172,13 +180,11 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
172
180
|
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
173
181
|
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
174
182
|
|
|
175
|
-
**Schema fields (optional YAML frontmatter):** `project.name`, `project.description`, `project.version`, `project.stage`, `goals.primary`, `goals.metrics`, `goals.non_goals`, `owners.product`, `owners.engineering`, `roadmap.milestones`, `dependencies`, `communication`
|
|
176
|
-
|
|
177
183
|
---
|
|
178
184
|
|
|
179
|
-
###
|
|
185
|
+
### team_context — READ + WRITE
|
|
180
186
|
|
|
181
|
-
**What it can do:** Read and update the
|
|
187
|
+
**What it can do:** Read and update the team definition document (`.nut/context/team.md`). This captures team members, their roles, responsibilities, and contact information.
|
|
182
188
|
|
|
183
189
|
| Operation | Description | Example |
|
|
184
190
|
|-----------|-------------|---------|
|
|
@@ -192,7 +198,23 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
192
198
|
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
193
199
|
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
194
200
|
|
|
195
|
-
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
### memory_context — READ + WRITE
|
|
204
|
+
|
|
205
|
+
**What it can do:** Read and update the memory document (`.nut/context/memory.md`). This stores persistent notes, decisions, preferences, and learned context that should be remembered across conversations.
|
|
206
|
+
|
|
207
|
+
| Operation | Description | Example |
|
|
208
|
+
|-----------|-------------|---------|
|
|
209
|
+
| `get` | Read current content | `{ "operation": "get" }` |
|
|
210
|
+
| `append` | Add content to end | `{ "operation": "append", "content": "## New Section\n..." }` |
|
|
211
|
+
| `replace_section` | **Edit specific text** (PREFERRED for edits) | `{ "operation": "replace_section", "old_text": "old text here", "new_text": "new text here" }` |
|
|
212
|
+
| `update` | Replace entire document | `{ "operation": "update", "content": "..." }` |
|
|
213
|
+
|
|
214
|
+
⚠️ **IMPORTANT for large documents:**
|
|
215
|
+
- **To add new content:** Use `append`
|
|
216
|
+
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
217
|
+
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
196
218
|
|
|
197
219
|
---
|
|
198
220
|
|
|
@@ -211,7 +233,8 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
211
233
|
| `add_from_url` | Save a URL as a resource | `{ "operation": "add_from_url", "url": "https://..." }` |
|
|
212
234
|
|
|
213
235
|
**Image generation models:**
|
|
214
|
-
- `nano-banana-pro`
|
|
236
|
+
- `nano-banana-pro` — fast, high-quality general purpose
|
|
237
|
+
- `nano-banana-2` (default) — Google's next-gen model
|
|
215
238
|
- `flux-2-dev` — good for creative/artistic styles
|
|
216
239
|
- `flux-2-pro` — higher quality, more control
|
|
217
240
|
- `gpt-image-1.5` — best for transparent backgrounds, limited aspect ratios (1:1, 3:2, 2:3)
|
|
@@ -222,15 +245,15 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
222
245
|
- **Video generation takes 2–5 minutes** — warn the user before starting; suggest image or audio if they need something quick
|
|
223
246
|
- **One generation at a time** — consistent with the write-once rule
|
|
224
247
|
- **Use `list` first** if the user asks about existing resources — don't guess IDs
|
|
225
|
-
- **Default to `nano-banana-
|
|
248
|
+
- **Default to `nano-banana-2`** — only use other models if the user asks or the task benefits (e.g., transparent backgrounds → `gpt-image-1.5`)
|
|
226
249
|
|
|
227
250
|
**When the user pastes a URL** to an image, audio, or video file, offer to save it as a resource using `add_from_url`.
|
|
228
251
|
|
|
229
252
|
---
|
|
230
253
|
|
|
231
|
-
## Helping Users Define
|
|
254
|
+
## Helping Users Define Project & Technical Context
|
|
232
255
|
|
|
233
|
-
When users want to define or refine
|
|
256
|
+
When users want to define or refine product direction, technical approach, or team norms, **guide them through discovery** rather than asking them to write everything at once. Persist outcomes in knowledge documents and/or the appropriate context tools (`role_context`, `agents_context`, `team_context`, `memory_context`).
|
|
234
257
|
|
|
235
258
|
### For Project Definition
|
|
236
259
|
|
|
@@ -258,9 +281,9 @@ Then synthesize their answers and offer to save it.
|
|
|
258
281
|
|
|
259
282
|
### Periodic Updates
|
|
260
283
|
|
|
261
|
-
After discussions that reveal new information
|
|
284
|
+
After discussions that reveal new information worth persisting, **proactively offer to update** the relevant context or knowledge document:
|
|
262
285
|
|
|
263
|
-
> "Based on what we discussed about [X], would you like me to update your
|
|
286
|
+
> "Based on what we discussed about [X], would you like me to update your role, memory, team, or agents context (or a knowledge doc) to reflect this?"
|
|
264
287
|
|
|
265
288
|
---
|
|
266
289
|
|
|
@@ -320,20 +343,20 @@ When users express intent to build something — websites, apps, features, impro
|
|
|
320
343
|
- **Create knowledge docs for research** — they persist and help future work
|
|
321
344
|
- **Tasks should be specific** — vague tasks lead to vague results
|
|
322
345
|
- **Offer to break down large requests** — "This is a big project. Want me to create tasks for the first milestone?"
|
|
323
|
-
- **Update
|
|
346
|
+
- **Update context documents** — if the request reveals new direction or decisions worth persisting
|
|
324
347
|
|
|
325
348
|
### Anti-Patterns to Avoid
|
|
326
349
|
|
|
327
350
|
❌ Creating tasks immediately without understanding requirements
|
|
328
351
|
❌ Creating one giant task for complex projects
|
|
329
352
|
❌ Skipping research when domain knowledge would help
|
|
330
|
-
❌ Forgetting to update
|
|
353
|
+
❌ Forgetting to update context documents after major planning
|
|
331
354
|
|
|
332
355
|
---
|
|
333
356
|
|
|
334
|
-
## Editing Large Documents
|
|
357
|
+
## Editing Large Context Documents
|
|
335
358
|
|
|
336
|
-
Large documents
|
|
359
|
+
Large context documents (e.g. `role.md`, `memory.md`, `agents.md`, `team.md`) require special handling. Choose your approach based on the type of edit:
|
|
337
360
|
|
|
338
361
|
### ✅ USE `append` when:
|
|
339
362
|
- Adding new sections, questions, or notes **at the end**
|
|
@@ -366,7 +389,7 @@ Large documents like `project.md` and `architecture.md` require special handling
|
|
|
366
389
|
> [the new/edited content here]
|
|
367
390
|
> \`\`\`
|
|
368
391
|
>
|
|
369
|
-
> You can edit this document
|
|
392
|
+
> You can edit this document in the app under **Context** (e.g. `/context/role`, `/context/memory`, `/context/agents`, `/context/team`) or via the matching `*_context` tool.
|
|
370
393
|
|
|
371
394
|
### ❌ AVOID `update` on existing large documents
|
|
372
395
|
The `update` operation sends the entire document and frequently fails on large files due to serialization issues. Only use it for:
|
|
@@ -381,4 +404,4 @@ The `update` operation sends the entire document and frequently fails on large f
|
|
|
381
404
|
- If a document's content was already provided as context, DO NOT fetch it again
|
|
382
405
|
- If you need to create multiple documents or tasks, create ONE at a time, wait for success, then continue
|
|
383
406
|
- **Tasks should have clear, actionable details** that coding agents can execute without additional context
|
|
384
|
-
- For
|
|
407
|
+
- For context documents, plain markdown is fine — YAML frontmatter is optional but helpful for structured data
|