@wolido/async-subagent-isolation 1.0.0

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 (24) hide show
  1. package/ADVANCED.en.md +305 -0
  2. package/ADVANCED.md +305 -0
  3. package/LICENSE +21 -0
  4. package/README.en.md +294 -0
  5. package/README.md +294 -0
  6. package/examples/README.en.md +100 -0
  7. package/examples/README.md +100 -0
  8. package/examples/pi/agent/agents/coder.md +36 -0
  9. package/examples/pi/agent/agents/reviewer.md +39 -0
  10. package/examples/pi/agent/agents/writer.md +36 -0
  11. package/examples/pi/agent/master.md +63 -0
  12. package/examples/pi/agent/skills/brainstorming/SKILL.md +54 -0
  13. package/examples/pi/agent/skills/systematic-debugging/SKILL.md +319 -0
  14. package/examples/pi/agent/skills/writing-clearly-and-concisely/SKILL.md +88 -0
  15. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/02-elementary-rules-of-usage.md +214 -0
  16. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/03-elementary-principles-of-composition.md +394 -0
  17. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/04-a-few-matters-of-form.md +90 -0
  18. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/05-words-and-expressions-commonly-misused.md +346 -0
  19. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/common-issues.md +22 -0
  20. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/full-example.md +19 -0
  21. package/examples/pi/agent/skills/writing-clearly-and-concisely/references/signs-of-ai-writing.md +345 -0
  22. package/logo.svg +33 -0
  23. package/package.json +72 -0
  24. package/src/index.ts +2300 -0
@@ -0,0 +1,345 @@
1
+ # Signs of AI Writing
2
+
3
+ Source: https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing
4
+
5
+ This is a list of writing and formatting conventions typical of AI chatbots such as ChatGPT, with real examples taken from Wikipedia articles, drafts, comments, and other content. It is a field guide to help detect undisclosed AI-generated content *on Wikipedia*: while some of the signs may be broadly applicable, some may not apply in a non-Wikipedia context.
6
+
7
+ Not all text featuring these indicators is AI-generated, as the large language models that power AI chatbots are trained on human writing, including Wikipedia. Many elements of AI writing can be found in editorials, blogs, or fan fiction.
8
+
9
+ Moreover, this list is *descriptive*, not *prescriptive*; it consists of observations, not rules. The patterns here are only potential *signs* of a problem, not *the problem itself*.
10
+
11
+ ---
12
+
13
+ ## Content Patterns
14
+
15
+ ### C1. Undue emphasis on significance, legacy, and broader trends
16
+
17
+ LLM writing often puffs up the importance of the subject matter by adding statements about how arbitrary aspects of the topic represent or contribute to a broader topic. There is a distinct and easily identifiable repertoire of ways that it writes these statements.
18
+
19
+ **Words to watch:** *stands/serves as*, *is a testament/reminder*, *a vital/significant/crucial/pivotal/key role/moment*, *underscores/highlights its importance/significance*, *reflects broader*, *symbolizing its ongoing/enduring/lasting*, *contributing to the*, *setting the stage for*, *marking/shaping the*, *represents/marks a shift*, *key turning point*, *evolving landscape*, *focal point*, *indelible mark*, *deeply rooted*
20
+
21
+ > The Statistical Institute of Catalonia was officially established in 1989, **marking a pivotal moment** in the evolution of regional statistics in Spain.
22
+ >
23
+ > The founding of Idescat **represented a significant shift** toward regional statistical independence, enabling Catalonia to develop a statistical system tailored to its unique socio-economic context. This initiative **was part of a broader movement** across Spain to decentralize administrative functions and enhance regional governance.
24
+
25
+ LLMs may include these statements for even the most mundane of subjects like etymology or population data. Sometimes, they add hedging preambles acknowledging that the subject is relatively unimportant or low-profile, before talking about its importance anyway.
26
+
27
+ > During the Spanish colonial period, the name *Bakunutan* was hispanized to *Bacnotan*. **This etymology highlights the enduring legacy** of the community's resistance and **the transformative power** of unity in shaping its identity.
28
+
29
+ When talking about biology, LLMs tend to over-emphasize connections to the broader ecosystem or environment, even when those connections are tenuous or generic.
30
+
31
+ > Currently, **there is no specific conservation assessment** for *Lethrinops lethrinus* by the IUCN. However, the general health of the Lake Malawi ecosystem is **crucial for the survival of this and other endemic species**.
32
+
33
+ ### C2. Undue emphasis on notability, attribution, and media coverage
34
+
35
+ Similarly, LLMs act as if the best way to prove that a subject is notable is to hit readers over the head with claims of notability, often by listing sources that a subject has been covered in. They may or may not provide additional context as to what those sources have actually said about the subject, and often inaccurately attribute their own superficial analyses to the source.
36
+
37
+ **Words to watch:** *independent coverage*, *local/regional/national/[country name] media outlets*, *music/business/tech outlets*, *profiled in*, *written by a leading expert*, *active social media presence*
38
+
39
+ > She spoke about AI on CNN, and was **featured in** Vogue, Wired, Toronto Star, and **other media**.
40
+ >
41
+ > Her insights have also been **featured in** *Wired*, *Refinery29*, and **other prominent media outlets**.
42
+
43
+ In articles about people/entities who use social media, LLMs will often note that they "maintain an active social media presence" or something similar. This wording is particularly idiosyncratic to AI text.
44
+
45
+ > The mall **maintains a strong digital presence**, particularly on Instagram, where it actively shares the latest updates and events.
46
+
47
+ ### C3. Superficial analyses
48
+
49
+ AI chatbots tend to insert superficial analysis of information, often in relation to its significance, recognition, or impact. This is often done by attaching a present participle ("-ing") phrase at the end of sentences, sometimes with vague attributions to third parties.
50
+
51
+ **Words to watch:** *highlighting/underscoring/emphasizing ...*, *ensuring ...*, *reflecting/symbolizing ...*, *contributing to ...*, *cultivating/fostering ...*, *encompassing ...*, *valuable insights*, *align/resonate with*
52
+
53
+ > As of the April 2008 census, the population of Douera stood at approximately 56,998 inhabitants, **creating a lively community within its borders.** Situated in the central-north region of the country, Douera enjoys close proximity to the capital city, Algiers, **further enhancing its significance as a dynamic hub of activity and culture.**
54
+
55
+ > It holds a pivotal place in the East Central Railway Zone of Indian Railways, **serving as a major railway hub with historical significance.** [...] Historically, it has been crucial for linking Darbhanga with significant cities like Delhi, Patna, and Kolkata, **facilitating the movement of passengers and goods.**
56
+
57
+ ### C4. Promotional and advertisement-like language
58
+
59
+ LLMs have serious problems keeping a neutral tone. Even when prompted to use an encyclopedic tone, their output will often tend toward advertisement-like writing, or like the prose of a travel guide.
60
+
61
+ **Words to watch:** *boasts a*, *vibrant*, *rich*, *profound*, *enhancing*, *showcasing*, *exemplifies*, *commitment to*, *natural beauty*, *nestled*, *in the heart of*, *groundbreaking*, *renowned*, *featuring*, *diverse array*
62
+
63
+ > **Nestled** within the **breathtaking** region of Gonder in Ethiopia, Alamata Raya Kobo **stands as a vibrant town with a rich cultural heritage and a significant place** within the Amhara region. **From its scenic landscapes to its historical landmarks**, Alamata Raya Kobo **offers visitors a fascinating glimpse into the diverse tapestry** of Ethiopia.
64
+
65
+ When writing about people or companies, LLMs will often adopt a press-release or commercial-esque tone.
66
+
67
+ > These projects **align with KQ's goals of reducing its environmental footprint, improving operational efficiency, and fostering community development through job creation.** CEO Allan Kilavuka **emphasized the airline's commitment to sustainability, customer focus, and Africa's prosperity through responsible corporate practices.**
68
+
69
+ ### C5. Vague attributions and overgeneralization of opinions
70
+
71
+ AI chatbots tend to attribute opinions or claims to some vague authority—a practice called weasel wording.
72
+
73
+ **Words to watch:** *Industry reports*, *Observers have cited*, *Experts argue*, *Some critics argue*, *several sources/publications* (when only few sources are cited), *such as* (before exhaustive word lists)
74
+
75
+ > Due to its unique characteristics, the Haolai River is of interest to **researchers and conservationists**.
76
+
77
+ > The Kwararafa (Kororofa) confederacy is **described in scholarship** as a shifting Benue valley coalition led by Jukun groups...
78
+
79
+ AI chatbots also commonly exaggerate the quantity of sources that these opinions are attributed to. They may present views from one or two sources as widely held, or imply that lists of examples are non-exhaustive when the sources give no indication that other examples exist.
80
+
81
+ ### C6. Outline-like conclusions about challenges and future prospects
82
+
83
+ Many LLM-generated Wikipedia articles include a "Challenges" section, which typically begins with a sentence like "Despite its [positive words], [subject] faces challenges..." and ends with either a vaguely positive assessment, or speculation about how ongoing or potential initiatives could benefit the subject.
84
+
85
+ **Words to watch:** *Despite its... faces several challenges...*, *Despite these challenges*, *Challenges and Legacy*, *Future Outlook*
86
+
87
+ > As the global economy continues to evolve, international economic law **faces new challenges and opportunities.** [...] The future of international economic law lies in its ability to **adapt to these emerging trends** and continue to facilitate a stable and equitable global economic order.
88
+
89
+ > **Despite its industrial and residential prosperity, Korattur faces challenges** typical of urban areas, including [...] With its **strategic location and ongoing initiatives**, Korattur **continues to thrive** as an integral part of the Ambattur industrial zone.
90
+
91
+ ### C7. Leads treating lists or broad titles as proper nouns
92
+
93
+ In AI-generated articles about topics with a title that is not a proper name, such as a list, the first sentence of the lead may introduce or define the article's title as if it were a standalone real-world entity.
94
+
95
+ > **Catchment area (health) refers to** the geographic area from which a health facility, such as a hospital or clinic, draws its patients.
96
+
97
+ > **The "List of songs about Mexico" is a curated compilation** of musical works that reference Mexico, its culture, geography, or identity as a central theme.
98
+
99
+ ---
100
+
101
+ ## Language and Grammar Patterns
102
+
103
+ ### L1. High density of "AI vocabulary" words
104
+
105
+ Many studies have demonstrated that LLMs overuse specific words. These words started appearing far more frequently in text produced after 2022. They often co-occur in LLM output: where there is one, there are likely others.
106
+
107
+ **Words to watch:** *Additionally* (especially beginning a sentence), *align with*, *boasts* (meaning "has"), *bolstered*, *crucial*, *delve*, *emphasizing*, *enduring*, *enhance*, *fostering*, *garner*, *highlight* (as a verb), *interplay*, *intricate/intricacies*, *key* (as an adjective), *landscape* (as an abstract noun), *meticulous/meticulously*, *pivotal*, *robust*, *showcase*, *tapestry* (as an abstract noun), *testament*, *underscore* (as a verb), *valuable*, *vibrant*
108
+
109
+ > Somali cuisine is an **intricate** and diverse fusion of a multitude of culinary influences, drawing from the rich **tapestry** of Arab, Indian, and Italian flavours. This culinary **tapestry** is a direct result of Somalia's longstanding heritage of **vibrant** trade and bustling commerce.
110
+ >
111
+ > **Additionally,** a distinctive feature of Somali culinary tradition is the incorporation of camel meat and milk. They are considered a delicacy and serve as cherished and fundamental elements in the rich **tapestry** of Somali cuisine.
112
+ >
113
+ > An **enduring testament** to the influence of Italian colonial rule in Somalia is the widespread adoption of pasta and lasagne in the local culinary **landscape**, especially in the south, **showcasing** how these dishes have integrated into the traditional diet alongside rice.
114
+
115
+ When prompted to respond to the placement of an AI-generated tag on an article, AI chatbots tend to use the word "concrete" as an adjective.
116
+
117
+ > In the absence of **concrete** evidence, I propose removing the AI-generated tag immediately to maintain the article's integrity.
118
+
119
+ ### L2. Avoidance of basic copulatives ("is"/"are" phrases)
120
+
121
+ LLM-generated text often substitutes simpler constructions that use copulas such as *is* or *are* for constructions like *serves as a* or *mark the*. One study documented an over 10% decrease in the usage of the words *is* and *are* in academic writing in 2023.
122
+
123
+ **Words to watch:** *serves as/stands as/marks/represents [a]*, *boasts/features/maintains/offers [a]*
124
+
125
+ | Before | After (AI copyedit) |
126
+ |---|---|
127
+ | Gallery 825 on La Cienega Boulevard, which was purchased in 1958, is LAAA's exhibition arm for contemporary art. There are four individual gallery spaces... | Gallery 825 on La Cienega Boulevard **serves as** LAAA's exhibition space for contemporary art. The gallery **features** four separate spaces... |
128
+
129
+ ### L3. Negative parallelisms
130
+
131
+ When LLMs describe a subject, their output may seem as though it is clearing up a common misconception. This kind of contrast can come across as trying to retroactively challenge such thinking.
132
+
133
+ #### Not just X, but also Y
134
+
135
+ > **Self-Portrait** by Yayoi Kusama, executed in 2010 and currently preserved in the famous Uffizi Gallery in Florence, **constitutes not only a work of self-representation, but a visual document** of her obsessions, visual strategies and psychobiographical narratives.
136
+
137
+ #### Not X, but Y
138
+
139
+ > This dispersal **is not dissolution. Rather, it constitutes** what Deleuze might describe as "becoming"—an identity in flux, constituted through iterative difference. Through this lens, Kusama's self-portrait **is not a mirror but a portal**: **not a representation of self, but a mechanism** for its constant reinvention.
140
+
141
+ ### L4. Rule of three
142
+
143
+ LLMs overuse the "rule of three". This can take different forms, from "adjective, adjective, adjective" to "short phrase, short phrase, and short phrase". LLMs often use this structure to make superficial analyses appear more comprehensive.
144
+
145
+ > The Amaze Conference brings together **global SEO professionals, marketing experts, and growth hackers** to discuss the latest trends in digital marketing. The event features **keynote sessions, panel discussions, and networking opportunities**.
146
+
147
+ ### L5. Elegant variation
148
+
149
+ Generative AI has a repetition-penalty code, meant to discourage it from reusing words too often. For instance, the output might give a main character's name and then repeatedly use a different synonym or related term (e.g., protagonist, key player, eponymous character) when mentioning it again.
150
+
151
+ ---
152
+
153
+ ## Style Patterns
154
+
155
+ ### S1. Title case in headings
156
+
157
+ In section headings, AI chatbots strongly tend to capitalize all main words.
158
+
159
+ > **Global Context: Critical Mineral Demand**
160
+ >
161
+ > **Strategic Negotiations and Global Partnerships**
162
+ >
163
+ > **High-Stakes Deals: Glencore, China, and Russia**
164
+
165
+ ### S2. Overuse of boldface
166
+
167
+ AI chatbots may display various phrases in boldface for emphasis in an excessive, mechanical manner, often in a "key takeaways" fashion.
168
+
169
+ > A **leveraged buyout (LBO)** is characterized by the extensive use of **debt financing** to acquire a company. This financing structure enables **private equity firms** and **financial sponsors** to control businesses while investing a relatively small portion of their own equity. The acquired company's **assets and future cash flows** serve as collateral for the debt...
170
+
171
+ ### S3. Inline-header vertical lists
172
+
173
+ AI chatbots output often includes vertical lists where the list marker is followed by an inline boldfaced header, separated with a colon from the remaining descriptive text. Instead of proper wikitext, a bullet point may appear as a bullet character (•), hyphen (-), en dash (–), hash (#), or emoji.
174
+
175
+ > 1. Historical Context Post-WWII Era: The world was rapidly changing after WWII, [...]
176
+ > 2. Nuclear Arms Race: Following the U.S. atomic bombings, the Soviet Union detonated its first bomb in 1949, [...]
177
+ > 3. Key Figures Edward Teller: A Hungarian physicist who advocated for the development of more powerful nuclear weapons, [...]
178
+
179
+ ### S4. Overuse of em dashes
180
+
181
+ While human editors often use em dashes (—), LLM output uses them more often than nonprofessional human-written text of the same genre, and uses them in places where humans are more likely to use commas, parentheses, or colons. LLMs especially tend to use em dashes in a formulaic, pat way.
182
+
183
+ > The term "Dutch Caribbean" is **not used in the statute** and is primarily promoted by **Dutch institutions**, not by the **people of the autonomous countries** themselves. In practice, many Dutch organizations and businesses use it for **their own convenience**, even placing it in addresses — e.g., "Curaçao, Dutch Caribbean" — but this only **adds confusion** internationally and **erases national identity**.
184
+
185
+ ### S5. Curly quotation marks and apostrophes
186
+
187
+ ChatGPT and DeepSeek typically use curly quotation marks ("..." or '...') instead of straight quotation marks. They also tend to use the curly apostrophe (’), the same character as the curly right single quotation mark, instead of the straight apostrophe (').
188
+
189
+ > "When 'Not Guilty' Is a Life Sentence"
190
+
191
+ Note: Curly quotes alone do not prove LLM use. Microsoft Word, macOS, iOS, and many grammar tools automatically convert straight quotes to curly quotes. Gemini and Claude models typically do not use curly quotes.
192
+
193
+ ---
194
+
195
+ ## Communication Patterns
196
+
197
+ ### CM1. Collaborative communication tone
198
+
199
+ Editors sometimes paste text from an AI chatbot that was meant as correspondence, prewriting or advice, rather than article content.
200
+
201
+ **Words to watch:** *I hope this helps*, *Of course!*, *Certainly!*, *You're absolutely right!*, *Would you like...*, *is there anything else*, *let me know*, *more detailed breakdown*, *here is a*
202
+
203
+ > In this section, we will discuss the background information related to the topic of the report. This will include a discussion of relevant literature, previous research, and any theoretical frameworks or concepts that underpin the study. The purpose is to provide a comprehensive understanding of the subject matter...
204
+
205
+ > If you plan to add this information to the "Animal Cruelty Controversy" section of Foshan's Wikipedia page, ensure that the content is presented in a neutral tone, supported by reliable sources, and adheres to Wikipedia's guidelines on verifiability and neutrality.
206
+
207
+ ### CM2. Knowledge-cutoff disclaimers and speculation about gaps in sources
208
+
209
+ A knowledge-cutoff disclaimer is a statement used by the AI chatbot to indicate that the information provided may be incomplete, inaccurate, or outdated.
210
+
211
+ **Words to watch:** *as of [date]*, *Up to my last training update*, *as of my last knowledge update*, *While specific details are limited/scarce...*, *not widely available/documented/disclosed*, *...in the provided/available sources/search results...*, *based on available information*
212
+
213
+ > **As of my last knowledge update in January 2022**, I don't have specific information about the current status or developments related to the "Chester Mental Health Center" in today's era.
214
+
215
+ > Though the details of these resistance efforts **aren't widely documented**, they highlight her bravery...
216
+
217
+ > While specific information about the fauna of Studniční hora **is limited in the provided search results**, the mountain likely supports...
218
+
219
+ ### CM3. Phrasal templates and placeholder text
220
+
221
+ AI chatbots may generate responses with fill-in-the-blank phrasal templates for the LLM user to replace with words and phrases pertaining to their use case. However, some LLM users forget to fill in those blanks.
222
+
223
+ > I have identified an area within the article that requires updating/improvement. **[Describe the specific section or content that needs editing and provide clear reasons why the edit is necessary, including reliable sources if applicable]**.
224
+
225
+ > We remain committed to creating content that aligns with Wikipedia's mission and are open to further guidance. Please find our revised article **[link to the revised article]** and a detailed list of sources **[link to source list]**.
226
+
227
+ Large language models may also insert placeholder dates like "2025-xx-xx" into citation fields, particularly the access-date parameter.
228
+
229
+ ---
230
+
231
+ ## Filler and Hedging
232
+
233
+ ### F1. Filler Phrases
234
+
235
+ AI writing often uses wordy filler phrases that can be replaced with a single word.
236
+
237
+ | Filler Phrase | Concise Alternative |
238
+ |---|---|
239
+ | In order to | To |
240
+ | Due to the fact that | Because |
241
+ | At this point in time | Now |
242
+ | For the purpose of | For |
243
+ | In the event that | If |
244
+ | In spite of the fact that | Although |
245
+ | With regard to | About |
246
+ | It is important to note that | (omit) |
247
+
248
+ ### F2. Excessive Hedging
249
+
250
+ LLMs tend to pile on multiple layers of qualification, making statements sound tentative and evasive.
251
+
252
+ | Excessive Hedging | More Direct |
253
+ |---|---|
254
+ | It could potentially possibly be argued that | The policy may affect |
255
+ | It might be suggested that there is a possibility | The evidence suggests |
256
+ | One could perhaps consider the idea that | Consider |
257
+
258
+ ### F3. Generic Positive Conclusions
259
+
260
+ AI-generated text often ends sections or articles with bland, optimistic summaries that lack substance.
261
+
262
+ | Generic Positive Conclusion | Specific Rewrite |
263
+ |---|---|
264
+ | The future looks bright | The company plans to open two more locations |
265
+ | This is a testament to the enduring power of | (omit or specify actual impact) |
266
+ | Overall, the situation remains promising | (provide concrete next steps or data) |
267
+
268
+ ---
269
+
270
+ ## Markup and Formatting Patterns
271
+
272
+ ### M1. Use of Markdown instead of wikitext
273
+
274
+ A lot of AI chatbots are not proficient in wikitext, the markup language used by Wikipedia. When told to "generate an article", chatbots often default to using Markdown. This formatting is preserved in clipboard text by the copy functions on some chatbot platforms.
275
+
276
+ Here, LLMs incorrectly use `##` to denote section headings, which MediaWiki interprets as a numbered list.
277
+
278
+ > ## Geography
279
+ > Villers-Chief is situated in the Jura Mountains, in the eastern part of the Doubs department. [...]
280
+ > ## History
281
+ > Like many communes in the region, Villers-Chief has an agricultural past. [...]
282
+ > ## Administration
283
+
284
+ ### M2. Broken wikitext
285
+
286
+ Since AI chatbots are typically not proficient in wikitext and templates, they often produce faulty syntax.
287
+
288
+ ### M3. Reference markup bugs
289
+
290
+ Due to a bug, ChatGPT may add code in the form of `:contentReference[oaicite:0]{index=0}` or `oai_citation` in place of links to references in output text.
291
+
292
+ ChatGPT may also include `turn0search0` (surrounded by Unicode points in the Private Use Area) at the ends of sentences, with the number after "search" increasing as the text progresses.
293
+
294
+ ### M4. Non-existent categories and templates
295
+
296
+ LLMs may hallucinate non-existent categories, sometimes for generic concepts that *seem like* plausible category titles. They may also hallucinate non-existent templates (especially plausible-sounding types of infoboxes) and template parameters.
297
+
298
+ ---
299
+
300
+ ## Ineffective Indicators
301
+
302
+ False accusations of AI use can drive away new editors and foster an atmosphere of suspicion. Here are several commonly used indicators that are ineffective in LLM detection—and may even indicate the opposite:
303
+
304
+ - **Perfect grammar**: While modern LLMs are known for high grammatical proficiency, many editors are also skilled writers or come from professional writing backgrounds.
305
+ - **Combination of casual and formal registers**: This may indicate the casual writing of a person in a technical field, or may simply be the result of multiple editors adding to a page.
306
+ - **"Bland" or "robotic" prose**: LLM output has specific traits, and it skews positive and verbose by default. These tendencies are formulaic but may not scan as "robotic."
307
+ - **"Fancy", "academic", or "formal" prose**: While LLMs disproportionately favor certain words, the correlation does not extend to all formal prose.
308
+ - **Letter-like writing**: Although many talk page messages written with salutations, valedictions, and subject lines after 2023 tend to appear AI-generated, letters and emails have conventionally been written in such ways long before modern LLMs existed.
309
+ - **Transition words**: Only a few transition words are known to be overused by AI, and this pattern also has precedence in essay-like writing by humans.
310
+ - **Unsourced content**: More than 570,000 Wikipedia articles are tagged as needing citations, and most of them predate LLMs. Meanwhile, since modern LLM chatbots can search the web, citations are fairly common now in AI-generated text.
311
+ - **Correct wikitext**: Getting the formatting correct, even for complex templates, is normal for experienced editors.
312
+
313
+ ---
314
+
315
+ ## Historical Indicators
316
+
317
+ The following indicators were common in text generated by older AI models, but are much less frequent in newer models.
318
+
319
+ ### H1. Didactic disclaimers (2022–2024)
320
+
321
+ Older LLMs often added disclaimers about topics being "important to note".
322
+
323
+ **Words to watch:** *it's important/critical/crucial to note/remember/consider*, *worth noting*, *may vary*
324
+
325
+ > The emergence of these informal groups reflects a growing recognition of the interconnected nature of urban issues... **However, it's important to note** that these caucuses operate outside the formal ANC structure and their influence on policy decisions **may vary**.
326
+
327
+ ### H2. Section summaries
328
+
329
+ When generating longer outputs, older LLMs often added sections titled "Conclusion" or similar, and often ended paragraphs or sections by summarizing and restating its core idea.
330
+
331
+ **Words to watch:** *In summary*, *In conclusion*, *Overall*
332
+
333
+ > **In summary**, the educational and training trajectory for nurse scientists typically involves a progression from a master's degree in nursing to a Doctor of Philosophy in Nursing, followed by postdoctoral training in nursing research.
334
+
335
+ ### H3. Prompt refusal
336
+
337
+ In the past, AI chatbots occasionally declined to answer prompts as written, usually with apologies and reminders that they are AI language models.
338
+
339
+ **Words to watch:** *as an AI language model*, *as a large language model*, *I cannot offer medical advice, but I can...*, *I'm sorry*
340
+
341
+ > As an AI language model, I can't directly add content to Wikipedia for you, but I can help you draft your bibliography.
342
+
343
+ ### H4. Abrupt cut-offs
344
+
345
+ AI tools used to abruptly stop generating content if an excessive number of tokens had been used for a single response. This method is not foolproof, as a malformed copy/paste from one's local computer can also cause this.
package/logo.svg ADDED
@@ -0,0 +1,33 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 120" width="140" height="120">
2
+ <defs>
3
+ <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
4
+ <feDropShadow dx="0" dy="2" stdDeviation="3" flood-color="#000" flood-opacity="0.12"/>
5
+ </filter>
6
+ <linearGradient id="mainFill" x1="0" y1="0" x2="0" y2="1">
7
+ <stop offset="0%" stop-color="#f3f4f6"/>
8
+ <stop offset="100%" stop-color="#e5e7eb"/>
9
+ </linearGradient>
10
+ <linearGradient id="coder" x1="0" y1="0" x2="0" y2="1">
11
+ <stop offset="0%" stop-color="#60a5fa"/>
12
+ <stop offset="100%" stop-color="#3b82f6"/>
13
+ </linearGradient>
14
+ <linearGradient id="reviewer" x1="0" y1="0" x2="0" y2="1">
15
+ <stop offset="0%" stop-color="#34d399"/>
16
+ <stop offset="100%" stop-color="#10b981"/>
17
+ </linearGradient>
18
+ <linearGradient id="writer" x1="0" y1="0" x2="0" y2="1">
19
+ <stop offset="0%" stop-color="#fbbf24"/>
20
+ <stop offset="100%" stop-color="#f59e0b"/>
21
+ </linearGradient>
22
+ </defs>
23
+ <!-- outer frame -->
24
+ <rect x="5" y="5" width="130" height="110" rx="18" fill="#f9fafb" stroke="#374151" stroke-width="3"/>
25
+ <!-- main planning layer -->
26
+ <rect x="20" y="15" width="100" height="32" rx="10" fill="url(#mainFill)" filter="url(#shadow)"/>
27
+ <!-- isolation boundary -->
28
+ <line x1="25" y1="54" x2="115" y2="54" stroke="#9ca3af" stroke-width="2" stroke-dasharray="4 3"/>
29
+ <!-- isolated subagents -->
30
+ <rect x="20" y="64" width="30" height="38" rx="8" fill="url(#coder)" filter="url(#shadow)"/>
31
+ <rect x="55" y="64" width="30" height="38" rx="8" fill="url(#reviewer)" filter="url(#shadow)"/>
32
+ <rect x="90" y="64" width="30" height="38" rx="8" fill="url(#writer)" filter="url(#shadow)"/>
33
+ </svg>
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@wolido/async-subagent-isolation",
3
+ "version": "1.0.0",
4
+ "description": "A pi extension that asynchronously delegates tasks to specialized subagents running in isolated pi processes.",
5
+ "license": "MIT",
6
+ "author": "Wolido",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/Wolido/async-subagent-isolation.git"
10
+ },
11
+ "homepage": "https://github.com/Wolido/async-subagent-isolation#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Wolido/async-subagent-isolation/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "src/index.ts",
17
+ "types": "src/index.ts",
18
+ "files": [
19
+ "src",
20
+ "logo.svg",
21
+ "README.md",
22
+ "README.en.md",
23
+ "ADVANCED.md",
24
+ "ADVANCED.en.md",
25
+ "LICENSE",
26
+ "examples/pi",
27
+ "examples/README.md",
28
+ "examples/README.en.md"
29
+ ],
30
+ "keywords": [
31
+ "pi-package",
32
+ "pi",
33
+ "pi-coding-agent",
34
+ "subagent",
35
+ "isolation",
36
+ "async",
37
+ "background"
38
+ ],
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "provenance": false
42
+ },
43
+ "scripts": {
44
+ "typecheck": "tsc --noEmit",
45
+ "test": "vitest run"
46
+ },
47
+ "peerDependencies": {
48
+ "@earendil-works/pi-agent-core": "*",
49
+ "@earendil-works/pi-ai": "*",
50
+ "@earendil-works/pi-coding-agent": "*",
51
+ "@earendil-works/pi-tui": "*",
52
+ "typebox": "*"
53
+ },
54
+ "devDependencies": {
55
+ "@earendil-works/pi-agent-core": "*",
56
+ "@earendil-works/pi-ai": "*",
57
+ "@earendil-works/pi-coding-agent": "*",
58
+ "@earendil-works/pi-tui": "*",
59
+ "@types/node": "^20.0.0",
60
+ "typebox": "*",
61
+ "typescript": "^5.4.0",
62
+ "vitest": "^4.1.10"
63
+ },
64
+ "engines": {
65
+ "node": ">=20.0.0"
66
+ },
67
+ "pi": {
68
+ "extensions": [
69
+ "./src/index.ts"
70
+ ]
71
+ }
72
+ }