@michael-joseph-miller/ant-bot 0.1.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.
- package/CHANGELOG.md +40 -0
- package/LICENSE +21 -0
- package/README.md +267 -0
- package/dist/browser-OHRD7YI3.js +524 -0
- package/dist/browser-OHRD7YI3.js.map +7 -0
- package/dist/bundled-46DUK5PG.js +133 -0
- package/dist/bundled-46DUK5PG.js.map +7 -0
- package/dist/chunk-7BOHBPB2.js +287 -0
- package/dist/chunk-7BOHBPB2.js.map +7 -0
- package/dist/chunk-AHAON6J7.js +24 -0
- package/dist/chunk-AHAON6J7.js.map +7 -0
- package/dist/chunk-DYIJTUMY.js +321 -0
- package/dist/chunk-DYIJTUMY.js.map +7 -0
- package/dist/chunk-KSQOVWP5.js +310 -0
- package/dist/chunk-KSQOVWP5.js.map +7 -0
- package/dist/chunk-Z2YT2PZN.js +64 -0
- package/dist/chunk-Z2YT2PZN.js.map +7 -0
- package/dist/index.js +1562 -0
- package/dist/index.js.map +7 -0
- package/dist/install-IY2M3OUQ.js +36 -0
- package/dist/install-IY2M3OUQ.js.map +7 -0
- package/dist/plugin-POMHVGD4.js +53 -0
- package/dist/plugin-POMHVGD4.js.map +7 -0
- package/dist/scheduler-Q7OHNGP6.js +274 -0
- package/dist/scheduler-Q7OHNGP6.js.map +7 -0
- package/dist/server.js +3016 -0
- package/dist/server.js.map +7 -0
- package/dist/skills-66WRX64H.js +17 -0
- package/dist/skills-66WRX64H.js.map +7 -0
- package/dist/skills-spec.js +172 -0
- package/dist/skills-spec.js.map +7 -0
- package/dist/tools-P5537ASX.js +148 -0
- package/dist/tools-P5537ASX.js.map +7 -0
- package/package.json +51 -0
- package/skills/README.md +69 -0
- package/skills/SPEC.md +274 -0
- package/skills/bug-repro/SKILL.md +53 -0
- package/skills/deep-research/SKILL.md +451 -0
- package/skills/deep-research/references/V6_1_improvements.md +112 -0
- package/skills/deep-research/references/completeness_review_checklist.md +25 -0
- package/skills/deep-research/references/counter_review_team_guide.md +181 -0
- package/skills/deep-research/references/enterprise_analysis_frameworks.md +135 -0
- package/skills/deep-research/references/enterprise_mode.md +99 -0
- package/skills/deep-research/references/enterprise_quality_checklist.md +160 -0
- package/skills/deep-research/references/enterprise_research_methodology.md +164 -0
- package/skills/deep-research/references/formatting_rules.md +31 -0
- package/skills/deep-research/references/quality_gates.md +77 -0
- package/skills/deep-research/references/report_template_v6.md +82 -0
- package/skills/deep-research/references/research_notes_format.md +147 -0
- package/skills/deep-research/references/research_plan_checklist.md +26 -0
- package/skills/deep-research/references/research_report_template.md +49 -0
- package/skills/deep-research/references/source_accessibility_policy.md +179 -0
- package/skills/deep-research/references/source_quality_rubric.md +28 -0
- package/skills/deep-research/references/subagent_prompt.md +116 -0
- package/skills/inbox-digest/SKILL.md +51 -0
- package/skills/skill-author/SKILL.md +92 -0
- package/skills/weekly-report/SKILL.md +49 -0
- package/web/dist/assets/index-BLQ8rPiN.js +130 -0
- package/web/dist/assets/index-IEIkG_jd.css +2 -0
- package/web/dist/index.html +13 -0
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deep-research
|
|
3
|
+
compatibility: Requires web search and fetch access. Parallel subagents and the Counter-Review Team are optional; without them the skill runs its documented degraded and manual-review paths.
|
|
4
|
+
description: |
|
|
5
|
+
Generate format-controlled research reports with evidence tracking, citations, source governance, and multi-pass synthesis.
|
|
6
|
+
This skill should be used when users request a research report, literature review, market or industry analysis,
|
|
7
|
+
competitive landscape, policy or technical brief. Triggers: "帮我调研一下", "深度研究", "综述报告", "深入分析",
|
|
8
|
+
"research this topic", "write a report on", "survey the literature on", "competitive analysis of",
|
|
9
|
+
"技术选型分析", "竞品研究", "政策分析", "行业报告".
|
|
10
|
+
V6 adds: source-type governance, AS_OF freshness checks, mandatory counter-review, and citation registry. V6.1 adds: source accessibility (circular verification forbidden, exclusive advantage encouraged).
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Deep Research
|
|
14
|
+
|
|
15
|
+
Create high-fidelity research reports with strict format control, evidence mapping, source governance, and multi-pass synthesis.
|
|
16
|
+
|
|
17
|
+
## Architecture: Lead Agent + Subagents
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
Lead Agent (coordinator — minimizes raw search context)
|
|
21
|
+
|
|
|
22
|
+
P0: Environment + source policy setup
|
|
23
|
+
|
|
|
24
|
+
P1: Research Task Board (roles, queries, parallel groups)
|
|
25
|
+
|
|
|
26
|
+
Dispatch ──→ Subagent A ──→ writes task-a.md ──┐
|
|
27
|
+
──→ Subagent B ──→ writes task-b.md ──┤ (parallel)
|
|
28
|
+
──→ Subagent C ──→ writes task-c.md ──┘
|
|
29
|
+
| |
|
|
30
|
+
| research-notes/ <────────────────────────┘
|
|
31
|
+
|
|
|
32
|
+
P2: Build citation registry with source_type + as_of + authority
|
|
33
|
+
P3: Evidence-mapped outline with counter-claim flags
|
|
34
|
+
P4: Draft from notes (never from raw search results)
|
|
35
|
+
P5: Counter-review (claims, confidence, alternatives)
|
|
36
|
+
P6: Verify (every [n] in registry, traceability check)
|
|
37
|
+
P7: Polish → final report with confidence markers
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Context efficiency:** Subagents' raw search results stay in their context and are discarded. Lead agent sees only distilled notes (~60-70% context reduction).
|
|
41
|
+
|
|
42
|
+
## Mode Selection
|
|
43
|
+
|
|
44
|
+
Determine the research mode before starting:
|
|
45
|
+
|
|
46
|
+
| Dimension | Options |
|
|
47
|
+
|-----------|---------|
|
|
48
|
+
| **Topic Mode** | Enterprise Research (company/corporation) OR General Research (industry/policy/tech) |
|
|
49
|
+
| **Depth Mode** | Standard (5-6 tasks, 3000-8000 words) OR Lightweight (3-4 tasks, 2000-4000 words) |
|
|
50
|
+
|
|
51
|
+
- **Enterprise Research Mode**: Six-dimension data collection with structured analysis frameworks (SWOT, risk matrix, competitive barrier quantification). Read [references/enterprise_mode.md](references/enterprise_mode.md) for the E1-E7 pipeline — it overlays the P0-P7 steps below rather than replacing them.
|
|
52
|
+
- **General Research Mode**: Standard P0-P7 research pipeline with source governance
|
|
53
|
+
- **Depth Selection**: Lightweight for single entity/concept < 30 words; Standard for multi-entity comparison or "深入"/"comprehensive" requests
|
|
54
|
+
|
|
55
|
+
## Source Governance (V6)
|
|
56
|
+
|
|
57
|
+
### Source Accessibility Classification
|
|
58
|
+
|
|
59
|
+
**CRITICAL RULE**: Every source must be classified by accessibility:
|
|
60
|
+
|
|
61
|
+
| Accessibility | Definition | Examples | Usage Rule |
|
|
62
|
+
|--------------|------------|----------|------------|
|
|
63
|
+
| `public` | Available to any external researcher without authentication | Public websites, news articles, WHOIS (without privacy), academic papers | ✅ Always allowed |
|
|
64
|
+
| `semi-public` | Requires registration or limited access | LinkedIn profiles, Crunchbase basic, industry reports (free tier) | ✅ Allowed with disclosure |
|
|
65
|
+
| `exclusive-user-provided` | User's paid subscriptions, private APIs, proprietary databases | Crunchbase Pro, PitchBook, private data feeds, internal databases | ✅ **ALLOWED** for third-party research |
|
|
66
|
+
| `private-user-owned` | User's own accounts when researching themselves | User's registrar for user's own company, user's bank for user's own finances | ❌ **FORBIDDEN** - circular verification |
|
|
67
|
+
|
|
68
|
+
**⚠️ CIRCULAR VERIFICATION BAN**: You must NOT:
|
|
69
|
+
- Use user's private data to "discover" what they already know about themselves
|
|
70
|
+
- Research user's own company by accessing user's private accounts
|
|
71
|
+
- Present user's private knowledge as "research findings"
|
|
72
|
+
|
|
73
|
+
**✅ EXCLUSIVE INFORMATION ADVANTAGE**: You SHOULD:
|
|
74
|
+
- Use user's Crunchbase Pro to research competitors
|
|
75
|
+
- Use user's proprietary databases for market research
|
|
76
|
+
- Use user's private APIs for investment analysis
|
|
77
|
+
- Leverage any exclusive source user provides for third-party research
|
|
78
|
+
|
|
79
|
+
### Source Type Labels
|
|
80
|
+
|
|
81
|
+
Every source MUST also be tagged with:
|
|
82
|
+
|
|
83
|
+
| Label | Definition | Examples |
|
|
84
|
+
|-------|------------|----------|
|
|
85
|
+
| `official` | Primary source, official documentation | Company SEC filings, government reports, official blog |
|
|
86
|
+
| `academic` | Peer-reviewed research | Journal articles, conference papers, dissertations |
|
|
87
|
+
| `secondary-industry` | Professional analysis | Industry reports, analyst coverage, trade publications |
|
|
88
|
+
| `journalism` | News reporting | Reputable media outlets, investigative journalism |
|
|
89
|
+
| `community` | User-generated content | Forums, reviews, social media, Q&A sites |
|
|
90
|
+
| `other` | Uncategorized or mixed | Aggregators, unverified sources |
|
|
91
|
+
|
|
92
|
+
**Quality Gates:**
|
|
93
|
+
- Standard mode: ≥30% official sources in final approved set
|
|
94
|
+
- Lightweight mode: ≥20% official sources
|
|
95
|
+
- Maximum single-source share: ≤25% (Standard), ≤30% (Lightweight)
|
|
96
|
+
- Minimum unique domains: 5 (Standard), 3 (Lightweight)
|
|
97
|
+
|
|
98
|
+
## AS_OF Date Policy
|
|
99
|
+
|
|
100
|
+
Set `AS_OF` date explicitly at P0. For all time-sensitive claims:
|
|
101
|
+
- Include source publication date with every citation
|
|
102
|
+
- Downgrade confidence if source is older than relevant horizon
|
|
103
|
+
- Flag stale sources in registry (studies >3 years, news >6 months for fast-moving topics)
|
|
104
|
+
|
|
105
|
+
## P0: Environment & Policy Setup
|
|
106
|
+
|
|
107
|
+
Check capabilities before starting:
|
|
108
|
+
|
|
109
|
+
| Check | Requirement | Impact if Missing |
|
|
110
|
+
|-------|-------------|-------------------|
|
|
111
|
+
| web_search available | Required | Stop - cannot proceed |
|
|
112
|
+
| web_fetch available | Required for DEEP tasks | SCAN-only mode |
|
|
113
|
+
| Subagent dispatch | Preferred | Degrade to sequential |
|
|
114
|
+
| Filesystem writable | Required | In-memory notes only |
|
|
115
|
+
|
|
116
|
+
Set policy variables:
|
|
117
|
+
- `AS_OF`: Today's date (YYYY-MM-DD) - mandatory for timed topics
|
|
118
|
+
- `MODE`: Standard (default) or Lightweight
|
|
119
|
+
- `SOURCE_TYPE_POLICY`: Enforce official/academic/secondary/journalism/community/other labels
|
|
120
|
+
- `COUNTER_REVIEW_PLAN`: What opposing interpretation to test
|
|
121
|
+
|
|
122
|
+
Report: `[P0 complete] Subagent: {yes/no}. Mode: {standard/lightweight}. AS_OF: {YYYY-MM-DD}.`
|
|
123
|
+
|
|
124
|
+
## P1: Research Task Board
|
|
125
|
+
|
|
126
|
+
Decompose the research question into 4-6 investigation tasks (Standard) or 3-4 tasks (Lightweight).
|
|
127
|
+
|
|
128
|
+
Each task assignment includes:
|
|
129
|
+
- **Expert Role**: Specialist persona (e.g., "Policy Historian", "Ecosystem Mapper")
|
|
130
|
+
- **Objective**: One-sentence investigation goal
|
|
131
|
+
- **Queries**: 2-3 pre-planned search queries
|
|
132
|
+
- **Depth**: DEEP (fetch 2-3 full articles) or SCAN (snippets sufficient)
|
|
133
|
+
- **Output**: Path to research notes file
|
|
134
|
+
- **Parallel Group**: Group A (independent) or Group B (depends on Group A)
|
|
135
|
+
|
|
136
|
+
### Task Decomposition Rules
|
|
137
|
+
|
|
138
|
+
1. Each task covers one coherent sub-topic a specialist would own
|
|
139
|
+
2. Group A tasks must be independent and source-diverse
|
|
140
|
+
3. Max 3 tasks per parallel group (concurrency limit)
|
|
141
|
+
4. Every task must flag time-sensitive claims and expected citation aging risk
|
|
142
|
+
|
|
143
|
+
Report: `[P1 complete] {N} tasks in {M} groups. Dispatching Group A.`
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## P2: Dispatch + Investigate
|
|
148
|
+
|
|
149
|
+
Subagents execute tasks using [references/subagent_prompt.md](references/subagent_prompt.md) and output to [references/research_notes_format.md](references/research_notes_format.md).
|
|
150
|
+
|
|
151
|
+
### With Subagents (Claude Code / Cowork / DeerFlow)
|
|
152
|
+
|
|
153
|
+
1. Dispatch Group A tasks in parallel (max 3 concurrent)
|
|
154
|
+
2. Each subagent searches, fetches, and tags source types
|
|
155
|
+
3. Every source line includes `Source-Type` and `As Of`
|
|
156
|
+
4. Wait for Group A completion
|
|
157
|
+
5. Dispatch Group B (can read Group A notes)
|
|
158
|
+
|
|
159
|
+
### Subagent Output Requirements
|
|
160
|
+
|
|
161
|
+
Each task-{id}.md must contain:
|
|
162
|
+
- **Sources section**: URLs from actual search results with Source-Type, As Of, Authority (1-10)
|
|
163
|
+
- **Findings section**: Max 10 one-sentence facts with source numbers
|
|
164
|
+
- **Deep Read Notes** (DEEP tasks): 2-3 sources read in full with key data/insights
|
|
165
|
+
- **Gaps section**: What was searched but NOT found, alternative interpretations
|
|
166
|
+
|
|
167
|
+
### Without Subagents (Degraded Mode)
|
|
168
|
+
|
|
169
|
+
Lead agent executes tasks sequentially, acting as each specialist. Raw search results are discarded after writing notes.
|
|
170
|
+
|
|
171
|
+
Status per task: `[P2 task-{id} complete] {N} sources, {M} findings.`
|
|
172
|
+
Status all: `[P2 complete] {N} tasks done, {M} total sources. Building registry.`
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## P3: Citation Registry + Source Governance
|
|
177
|
+
|
|
178
|
+
Lead agent reads all task notes and builds unified registry.
|
|
179
|
+
|
|
180
|
+
### Registry Process
|
|
181
|
+
|
|
182
|
+
1. Read every task file's `## Sources` section
|
|
183
|
+
2. Merge all sources, deduplicate by URL
|
|
184
|
+
3. Assign sequential [n] numbers by first appearance
|
|
185
|
+
4. Tag: source_type, as_of date, authority score (1-10), task id
|
|
186
|
+
5. **Apply quality gates:**
|
|
187
|
+
- Standard: ≥12 approved sources, ≥5 unique domains, ≥30% official
|
|
188
|
+
- Lightweight: ≥6 approved sources, ≥3 unique domains, ≥20% official
|
|
189
|
+
- Max single-source share: ≤25% (Standard), ≤30% (Lightweight)
|
|
190
|
+
6. **Drop sources** below threshold and list them explicitly
|
|
191
|
+
|
|
192
|
+
### Registry Output Format
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
CITATION REGISTRY
|
|
196
|
+
|
|
197
|
+
Approved:
|
|
198
|
+
[1] Author/Org — Title | URL | Source-Type: official | Accessibility: public | Date: 2026-03-01 | Auth: 8 | task-a
|
|
199
|
+
[2] ...
|
|
200
|
+
|
|
201
|
+
Dropped:
|
|
202
|
+
x Source | URL | Source-Type: community | Accessibility: privileged | Auth: 3 | Reason: PRIVILEGED SOURCE - NOT ALLOWED
|
|
203
|
+
|
|
204
|
+
Stats: {approved}/{total}, {N} domains, official_share {xx}%
|
|
205
|
+
Privileged sources rejected: {N}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Critical rule:** These [n] are FINAL. P5 may only cite from Approved list. Dropped sources never reappear.
|
|
209
|
+
|
|
210
|
+
**Circular verification handling**: When researching the user's own company/assets, if you discover data in user's private accounts (e.g., user's domain registrar showing they own domains), you MUST:
|
|
211
|
+
1. Reject it from the registry (user already knows this)
|
|
212
|
+
2. Note it as "CIRCULAR - USER ALREADY KNOWS" in Dropped
|
|
213
|
+
3. Search for equivalent PUBLIC sources (e.g., public WHOIS, news articles)
|
|
214
|
+
4. Report from external investigator perspective only
|
|
215
|
+
|
|
216
|
+
**Exclusive source handling**: When user EXPLICITLY PROVIDES their paid subscriptions or private APIs for third-party research (e.g., "Use my Crunchbase Pro to research competitors"), you SHOULD:
|
|
217
|
+
1. Accept it as "exclusive-user-provided" accessibility
|
|
218
|
+
2. Use it as competitive advantage
|
|
219
|
+
3. Cite it properly in registry
|
|
220
|
+
4. If no public equivalent exists, mark as [unverified] or omit the claim
|
|
221
|
+
|
|
222
|
+
Report: `[P3 complete] {approved}/{total} sources. {N} domains. Official share: {xx}%. Privileged rejected: {N}.`
|
|
223
|
+
|
|
224
|
+
### Handling Information Black Box
|
|
225
|
+
|
|
226
|
+
When researching entities with no public footprint (like the "字节跳动子公司" example):
|
|
227
|
+
|
|
228
|
+
**What an external researcher would find:**
|
|
229
|
+
- WHOIS: Privacy protected → No owner info
|
|
230
|
+
- Web search: No news, no press releases
|
|
231
|
+
- Social media: No company pages
|
|
232
|
+
- Business registries: No public API or requires local access
|
|
233
|
+
- Result: **Complete information black box**
|
|
234
|
+
|
|
235
|
+
**Correct response:**
|
|
236
|
+
```
|
|
237
|
+
Findings: NO PUBLIC INFORMATION AVAILABLE
|
|
238
|
+
|
|
239
|
+
Sources checked:
|
|
240
|
+
- WHOIS (public): Privacy protected [failed]
|
|
241
|
+
- Company registry (public): Access denied/No API [failed]
|
|
242
|
+
- News media: No coverage [failed]
|
|
243
|
+
- Corporate website: Placeholder only [minimal]
|
|
244
|
+
|
|
245
|
+
Verdict: UNABLE TO VERIFY COMPANY EXISTENCE from external perspective
|
|
246
|
+
Sources found: 0 (or minimal, e.g., only WHOIS showing domain exists)
|
|
247
|
+
Confidence: N/A - Insufficient evidence
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**DO NOT:**
|
|
251
|
+
- ❌ Use user's own credentials to "fill in the gaps"
|
|
252
|
+
- ❌ Assume the company exists based on domain registration alone
|
|
253
|
+
- ❌ Fill missing data with speculation
|
|
254
|
+
- ❌ Claim to have "verified" information you accessed through privileged means
|
|
255
|
+
|
|
256
|
+
**DO:**
|
|
257
|
+
- ✅ Clearly state what an external researcher can/cannot verify
|
|
258
|
+
- ✅ Document all failed search attempts
|
|
259
|
+
- ✅ Mark claims as [unverified] or omit entirely
|
|
260
|
+
- ✅ Downgrade mode to Lightweight or stop if insufficient public sources
|
|
261
|
+
- ✅ Recommend direct contact for due diligence
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## P4: Evidence-Mapped Outline
|
|
266
|
+
|
|
267
|
+
Lead agent reads notes + registry to build outline.
|
|
268
|
+
|
|
269
|
+
1. Identify cross-task patterns
|
|
270
|
+
2. Design sections topic-first, not task-order-first
|
|
271
|
+
3. Map each section to specific findings with source numbers
|
|
272
|
+
4. Flag sections needing counter-review
|
|
273
|
+
5. Mark recency-sensitive claims with AS_OF checks
|
|
274
|
+
|
|
275
|
+
Outline format:
|
|
276
|
+
```
|
|
277
|
+
## N. {Section Title}
|
|
278
|
+
Sources: [1][3][7] from tasks a, b
|
|
279
|
+
Claims: {claim from task-a finding 3}, {claim from task-b finding 1}
|
|
280
|
+
Counter-claim candidates: {alternative explanations}
|
|
281
|
+
Recency checks: {source dates + AS_OF}
|
|
282
|
+
Gaps: {limited official evidence}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## P5: Draft from Notes
|
|
288
|
+
|
|
289
|
+
Write section by section using [references/report_template_v6.md](references/report_template_v6.md).
|
|
290
|
+
|
|
291
|
+
**Rules:**
|
|
292
|
+
- Every factual claim needs citation [n]
|
|
293
|
+
- Numbers/percentages must have source
|
|
294
|
+
- Add **confidence marker** per section: High/Medium/Low with rationale
|
|
295
|
+
- Add **counter-claim sentence** when evidence conflicts
|
|
296
|
+
- No new sources may be introduced
|
|
297
|
+
- Use [unverified] for unsupported statements
|
|
298
|
+
|
|
299
|
+
**Anti-hallucination:**
|
|
300
|
+
- Lead agent never invents URLs — only from subagent notes
|
|
301
|
+
- Lead agent never fabricates data — mark [unverified] if number not in notes
|
|
302
|
+
|
|
303
|
+
Status: `[P5 in progress] {N}/{M} sections, ~{words} words.`
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## P6: Counter-Review (Mandatory)
|
|
308
|
+
|
|
309
|
+
For each major conclusion, perform opposite-view checks:
|
|
310
|
+
|
|
311
|
+
1. **Could the conclusion be wrong?**
|
|
312
|
+
2. **Which high-impact claims depend on a single source?**
|
|
313
|
+
3. **Which claims lack official/academic support?**
|
|
314
|
+
4. **Are stale sources used for time-sensitive claims?**
|
|
315
|
+
5. **Find ≥3 issues** (re-examine if 0 found)
|
|
316
|
+
|
|
317
|
+
### Using Counter-Review Team (Recommended)
|
|
318
|
+
|
|
319
|
+
For comprehensive parallel review, use the Counter-Review Team:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
# 1. Prepare inputs
|
|
323
|
+
counter-review-inputs/
|
|
324
|
+
├── draft_report.md
|
|
325
|
+
├── citation_registry.md
|
|
326
|
+
├── task-notes/
|
|
327
|
+
└── p0_config.md
|
|
328
|
+
|
|
329
|
+
# 2. Dispatch to 4 specialist agents in parallel
|
|
330
|
+
SendMessage to: claim-validator
|
|
331
|
+
SendMessage to: source-diversity-checker
|
|
332
|
+
SendMessage to: recency-validator
|
|
333
|
+
SendMessage to: contradiction-finder
|
|
334
|
+
|
|
335
|
+
# 3. Wait for all specialists to complete
|
|
336
|
+
|
|
337
|
+
# 4. Send to coordinator for synthesis
|
|
338
|
+
SendMessage to: counter-review-coordinator
|
|
339
|
+
inputs: [4 specialist reports]
|
|
340
|
+
|
|
341
|
+
# 5. Receive final P6 Counter-Review Report
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
See [references/counter_review_team_guide.md](references/counter_review_team_guide.md) for detailed usage.
|
|
345
|
+
|
|
346
|
+
### Manual Counter-Review (Fallback)
|
|
347
|
+
|
|
348
|
+
If Counter-Review Team is unavailable, perform manual checks:
|
|
349
|
+
- Verify every high-confidence claim has ≥2 sources
|
|
350
|
+
- Check official/academic backing for key claims
|
|
351
|
+
- Verify AS_OF dates on time-sensitive claims
|
|
352
|
+
- Document opposing interpretations
|
|
353
|
+
|
|
354
|
+
### Output
|
|
355
|
+
|
|
356
|
+
Include in final report:
|
|
357
|
+
```
|
|
358
|
+
## 核心争议 / Key Controversies
|
|
359
|
+
- **争议 1:** [主张 A 与反向证据 B 对比] [n][m]
|
|
360
|
+
- **争议 2:** ...
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
Report: `[P6 complete] {N} issues found: {critical} critical, {high} high, {medium} medium.`
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
## P7: Verify
|
|
368
|
+
|
|
369
|
+
Cross-check before finalization:
|
|
370
|
+
|
|
371
|
+
1. **Registry cross-check:** List every [n] in report vs approved registry
|
|
372
|
+
2. **Spot-check 5+ claims:** Trace to task notes
|
|
373
|
+
3. **Remove/fix non-traceable claims**
|
|
374
|
+
4. **Validate no dropped source resurrected**
|
|
375
|
+
5. **Check source concentration** for key claims
|
|
376
|
+
|
|
377
|
+
Report: `[P7 complete] {N} spot-checks, {M} violations fixed.`
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
## Output Requirements
|
|
382
|
+
|
|
383
|
+
- Match the requested language and tone
|
|
384
|
+
- Preserve technical terms in English
|
|
385
|
+
- Respect the report spec and formatting rules
|
|
386
|
+
- Include a references section or bibliography
|
|
387
|
+
|
|
388
|
+
## Reference Files
|
|
389
|
+
|
|
390
|
+
### Core V6 Pipeline References
|
|
391
|
+
|
|
392
|
+
| File | When to Load |
|
|
393
|
+
| --- | --- |
|
|
394
|
+
| [source_accessibility_policy.md](references/source_accessibility_policy.md) | **P0 (CRITICAL)**: Source classification rules - read first |
|
|
395
|
+
| [subagent_prompt.md](references/subagent_prompt.md) | P2: Task dispatch to subagents |
|
|
396
|
+
| [research_notes_format.md](references/research_notes_format.md) | P2: Subagent output format |
|
|
397
|
+
| [report_template_v6.md](references/report_template_v6.md) | P5: Draft with confidence markers and counter-review |
|
|
398
|
+
| [quality_gates.md](references/quality_gates.md) | All phases: Quality thresholds and anti-hallucination checks |
|
|
399
|
+
|
|
400
|
+
### General Research References
|
|
401
|
+
|
|
402
|
+
| File | When to Load |
|
|
403
|
+
| --- | --- |
|
|
404
|
+
| [research_report_template.md](references/research_report_template.md) | Build outline and draft structure |
|
|
405
|
+
| [formatting_rules.md](references/formatting_rules.md) | Enforce section formatting and citation rules |
|
|
406
|
+
| [source_quality_rubric.md](references/source_quality_rubric.md) | Score and triage sources |
|
|
407
|
+
| [research_plan_checklist.md](references/research_plan_checklist.md) | Build research plan and query set |
|
|
408
|
+
| [completeness_review_checklist.md](references/completeness_review_checklist.md) | Review for coverage, citations, and compliance |
|
|
409
|
+
|
|
410
|
+
### Enterprise Research References (load when in Enterprise Research Mode)
|
|
411
|
+
|
|
412
|
+
| File | When to Load |
|
|
413
|
+
| --- | --- |
|
|
414
|
+
| [enterprise_mode.md](references/enterprise_mode.md) | **Start here** — the E1-E7 pipeline that overlays P0-P7 |
|
|
415
|
+
| [enterprise_research_methodology.md](references/enterprise_research_methodology.md) | Six-dimension data collection workflow, source priority, cross-validation rules |
|
|
416
|
+
| [enterprise_analysis_frameworks.md](references/enterprise_analysis_frameworks.md) | SWOT template, competitive barrier quantification, risk matrix, comprehensive scoring |
|
|
417
|
+
| [enterprise_quality_checklist.md](references/enterprise_quality_checklist.md) | L1/L2/L3 quality checks, per-dimension checklists, 7-chapter report template |
|
|
418
|
+
|
|
419
|
+
## Anti-Patterns
|
|
420
|
+
|
|
421
|
+
- Single-pass drafting without parallel complete passes
|
|
422
|
+
- Splitting passes by section instead of full report drafts
|
|
423
|
+
- Ignoring the format contract or user template
|
|
424
|
+
- Claims without citations or evidence table mapping
|
|
425
|
+
- Mixing conflicting dates without calling out discrepancies
|
|
426
|
+
- Copying external AI output without verification
|
|
427
|
+
- Deleting intermediate drafts or raw research outputs
|
|
428
|
+
- **Lead agent reading raw search results** — only read subagent notes
|
|
429
|
+
- **Inventing URLs** — only use URLs from actual search results
|
|
430
|
+
- **Resurrecting dropped sources** — dropped in P3 never reappear
|
|
431
|
+
- **Missing AS_OF for time-sensitive claims** — always include source date
|
|
432
|
+
- **Skipping counter-review** — mandatory P6 must find ≥3 issues
|
|
433
|
+
- **CIRCULAR VERIFICATION** — never use user's private data to "discover" what they already know about themselves
|
|
434
|
+
- **IGNORING EXCLUSIVE SOURCES** — when user provides Crunchbase Pro etc. for competitor research, USE IT
|
|
435
|
+
|
|
436
|
+
## Next Step: Verify and Deliver
|
|
437
|
+
|
|
438
|
+
After completing research, suggest verification and output:
|
|
439
|
+
|
|
440
|
+
```
|
|
441
|
+
Research report complete: [N] sources cited, [M] claims made.
|
|
442
|
+
|
|
443
|
+
Options:
|
|
444
|
+
A) Fact-check — re-verify every high-confidence claim against its cited source (Recommended)
|
|
445
|
+
B) Summarize — condense the findings into a short brief or slide outline
|
|
446
|
+
C) Deliver — write the report to the workspace in the format the user asked for
|
|
447
|
+
D) No thanks — the report is ready as-is
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
Offer only what this environment can actually do; drop any option whose tooling is unavailable
|
|
451
|
+
rather than naming a command that does not exist here.
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Deep Research Skill V6.1 Improvements
|
|
2
|
+
|
|
3
|
+
**Date**: 2026-04-03
|
|
4
|
+
**Version**: 2.3.0 → 2.4.0
|
|
5
|
+
**Based on**: User feedback and "字节跳动" case study
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Summary of Changes
|
|
10
|
+
|
|
11
|
+
### 1. Source Accessibility Policy - Critical Correction
|
|
12
|
+
|
|
13
|
+
**Problem Identified**:
|
|
14
|
+
Previously, we incorrectly banned all "privileged" sources. This was wrong because it prevented users from leveraging their competitive information advantages.
|
|
15
|
+
|
|
16
|
+
**The Real Issue**:
|
|
17
|
+
The problem is not using user's private information—it's **circular verification**: using user's data to "discover" what they already know about themselves.
|
|
18
|
+
|
|
19
|
+
**Example of the Error**:
|
|
20
|
+
```
|
|
21
|
+
User: "Research my company 字节跳动子公司"
|
|
22
|
+
❌ WRONG: Access user's Spaceship → "You own 25 domains"
|
|
23
|
+
→ This is circular: user already knows they own these domains
|
|
24
|
+
|
|
25
|
+
✅ RIGHT: Check public WHOIS → "Privacy protected, ownership not visible"
|
|
26
|
+
→ This is external research perspective
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Correct Classification**:
|
|
30
|
+
|
|
31
|
+
| Accessibility | For Self-Research | For Third-Party Research |
|
|
32
|
+
|--------------|-------------------|-------------------------|
|
|
33
|
+
| `public` | ✅ Use | ✅ Use |
|
|
34
|
+
| `semi-public` | ✅ Use | ✅ Use |
|
|
35
|
+
| `exclusive-user-provided` | ⚠️ Careful* | ✅ **ENCOURAGED** |
|
|
36
|
+
| `private-user-owned` | ❌ **FORBIDDEN** | N/A |
|
|
37
|
+
|
|
38
|
+
\* When user provides exclusive sources for their own company, evaluate if it's circular
|
|
39
|
+
|
|
40
|
+
### 2. Counter-Review Team V2
|
|
41
|
+
|
|
42
|
+
**Created**: 5-agent parallel review team
|
|
43
|
+
- 🔵 claim-validator: Claim validation
|
|
44
|
+
- 🟢 source-diversity-checker: Source diversity analysis
|
|
45
|
+
- 🟡 recency-validator: Recency/freshness checks
|
|
46
|
+
- 🟣 contradiction-finder: Contradiction and bias detection
|
|
47
|
+
- 🟠 counter-review-coordinator: Synthesis and reporting
|
|
48
|
+
|
|
49
|
+
**Usage**:
|
|
50
|
+
```bash
|
|
51
|
+
# 1. Dispatch to 4 specialists in parallel
|
|
52
|
+
SendMessage to: claim-validator
|
|
53
|
+
SendMessage to: source-diversity-checker
|
|
54
|
+
SendMessage to: recency-validator
|
|
55
|
+
SendMessage to: contradiction-finder
|
|
56
|
+
|
|
57
|
+
# 2. Send to coordinator for synthesis
|
|
58
|
+
SendMessage to: counter-review-coordinator
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 3. Methodology Clarifications
|
|
62
|
+
|
|
63
|
+
#### When Researching User's Own Company
|
|
64
|
+
- **Approach**: External investigator perspective
|
|
65
|
+
- **Use**: Public sources only
|
|
66
|
+
- **Do NOT use**: User's private accounts (creates circular verification)
|
|
67
|
+
- **Report**: "From public perspective: X, Y, Z gaps"
|
|
68
|
+
|
|
69
|
+
#### When User Provides Exclusive Sources for Third-Party Research
|
|
70
|
+
- **Approach**: Leverage competitive advantage
|
|
71
|
+
- **Use**: User's paid subscriptions, private APIs, proprietary databases
|
|
72
|
+
- **Cite**: Mark as `exclusive-user-provided`
|
|
73
|
+
- **Report**: "Per user's exclusive source [Crunchbase Pro], competitor X raised $Y"
|
|
74
|
+
|
|
75
|
+
### 4. Registry Format Update
|
|
76
|
+
|
|
77
|
+
**Added fields**:
|
|
78
|
+
- `Accessibility`: public / semi-public / exclusive-user-provided / private-user-owned
|
|
79
|
+
- `Circular rejection tracking`: Note when sources are rejected for circular verification
|
|
80
|
+
|
|
81
|
+
**Updated anti-patterns**:
|
|
82
|
+
- ❌ **CIRCULAR VERIFICATION**: Never use user's private data to "discover" what they already know
|
|
83
|
+
- ✅ **USE EXCLUSIVE SOURCES**: When user provides Crunchbase Pro etc. for competitor research, USE IT
|
|
84
|
+
|
|
85
|
+
### 5. Documentation Updates
|
|
86
|
+
|
|
87
|
+
**New/Updated Files**:
|
|
88
|
+
- `source_accessibility_policy.md`: Complete rewrite explaining circular vs. competitive advantage distinction
|
|
89
|
+
- `counter_review_team_guide.md`: Usage guide for the 5-agent team
|
|
90
|
+
- `SKILL.md`: Updated Source Governance section with correct classification
|
|
91
|
+
- `marketplace.json`: Updated description
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Key Principles Summary
|
|
96
|
+
|
|
97
|
+
1. **Circular Verification is Bad**: Don't use user's data to tell them what they already know
|
|
98
|
+
2. **Exclusive Information Advantage is Good**: Use user's paid tools to research competitors
|
|
99
|
+
3. **External Perspective for Self-Research**: When researching user's own company, act like an external investigator
|
|
100
|
+
4. **Leverage Everything for Third-Party**: When researching others, use every advantage user provides
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Version History
|
|
105
|
+
|
|
106
|
+
| Version | Changes |
|
|
107
|
+
|---------|---------|
|
|
108
|
+
| 2.0.0 | Initial Enterprise Research Mode |
|
|
109
|
+
| 2.1.0 | V6 features: source governance, AS_OF, counter-review |
|
|
110
|
+
| 2.2.0 | Counter-Review Team |
|
|
111
|
+
| 2.3.0 | Source accessibility (initial, incorrect ban on privileged) |
|
|
112
|
+
| **2.4.0** | **Corrected: circular vs. exclusive advantage distinction** |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Completeness Review Checklist
|
|
2
|
+
|
|
3
|
+
Verify the draft meets all requirements before delivery.
|
|
4
|
+
|
|
5
|
+
## Structure and Format
|
|
6
|
+
- All required sections present and ordered
|
|
7
|
+
- Headings match the format contract
|
|
8
|
+
- Length targets met per section
|
|
9
|
+
|
|
10
|
+
## Evidence and Citations
|
|
11
|
+
- Every claim has a citation
|
|
12
|
+
- Every numeric claim has at least one Tier A or B source
|
|
13
|
+
- Conflicting sources are explicitly noted
|
|
14
|
+
- Evidence table maps claims to sources
|
|
15
|
+
|
|
16
|
+
## Content Quality
|
|
17
|
+
- Findings answer the research questions
|
|
18
|
+
- Recommendations are tied to evidence
|
|
19
|
+
- Limitations and uncertainty are documented
|
|
20
|
+
- Terminology is consistent
|
|
21
|
+
|
|
22
|
+
## Final Checks
|
|
23
|
+
- Dates and time ranges are consistent
|
|
24
|
+
- No unsupported claims
|
|
25
|
+
- No duplicate or conflicting statements
|