@dzhechkov/p-replicator 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 (92) hide show
  1. package/README.md +314 -0
  2. package/bin/cli.js +4 -0
  3. package/package.json +62 -0
  4. package/src/cli.js +160 -0
  5. package/src/commands/doctor.js +151 -0
  6. package/src/commands/init.js +155 -0
  7. package/src/commands/list.js +133 -0
  8. package/src/commands/remove.js +111 -0
  9. package/src/commands/update.js +102 -0
  10. package/src/utils.js +280 -0
  11. package/templates/.claude/agents/doc-validator.md +92 -0
  12. package/templates/.claude/agents/harvest-coordinator.md +91 -0
  13. package/templates/.claude/agents/product-discoverer.md +57 -0
  14. package/templates/.claude/agents/replicate-coordinator.md +98 -0
  15. package/templates/.claude/commands/harvest.md +106 -0
  16. package/templates/.claude/commands/replicate.md +389 -0
  17. package/templates/.claude/rules/replicate-pipeline.md +92 -0
  18. package/templates/.claude/skills/brutal-honesty-review/README.md +218 -0
  19. package/templates/.claude/skills/brutal-honesty-review/SKILL.md +225 -0
  20. package/templates/.claude/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
  21. package/templates/.claude/skills/brutal-honesty-review/resources/review-template.md +102 -0
  22. package/templates/.claude/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
  23. package/templates/.claude/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
  24. package/templates/.claude/skills/cc-toolkit-generator-enhanced/SKILL.md +374 -0
  25. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/claude-md-strategy.md +178 -0
  26. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/enhanced-recommendations.md +416 -0
  27. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/extended-mapping.md +370 -0
  28. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/automation-commands.md +733 -0
  29. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-agents.md +416 -0
  30. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-hooks-commands.md +524 -0
  31. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-skills.md +350 -0
  32. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/enhanced-claude-md.md +235 -0
  33. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-lifecycle-ent.md +400 -0
  34. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-lifecycle.md +325 -0
  35. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-suggestions.md +423 -0
  36. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/insights-system.md +349 -0
  37. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/mcp.md +274 -0
  38. package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/start-command.md +283 -0
  39. package/templates/.claude/skills/explore/SKILL.md +215 -0
  40. package/templates/.claude/skills/explore/references/questioning-techniques.md +151 -0
  41. package/templates/.claude/skills/explore/references/task-brief-templates.md +355 -0
  42. package/templates/.claude/skills/goap-research-ed25519/SKILL.md +415 -0
  43. package/templates/.claude/skills/goap-research-ed25519/references/ed25519-verification.md +658 -0
  44. package/templates/.claude/skills/goap-research-ed25519/references/research-actions.md +544 -0
  45. package/templates/.claude/skills/goap-research-ed25519/references/source-evaluation.md +560 -0
  46. package/templates/.claude/skills/goap-research-ed25519/scripts/ed25519_verifier.py +662 -0
  47. package/templates/.claude/skills/goap-research-ed25519/scripts/goap_planner.py +720 -0
  48. package/templates/.claude/skills/knowledge-extractor/SKILL.md +412 -0
  49. package/templates/.claude/skills/knowledge-extractor/examples/rate-limiting-extraction.md +259 -0
  50. package/templates/.claude/skills/knowledge-extractor/modules/01-agent-review.md +192 -0
  51. package/templates/.claude/skills/knowledge-extractor/modules/02-classify.md +122 -0
  52. package/templates/.claude/skills/knowledge-extractor/modules/03-decontextualize.md +156 -0
  53. package/templates/.claude/skills/knowledge-extractor/modules/04-integrate.md +178 -0
  54. package/templates/.claude/skills/knowledge-extractor/references/artifact-categories.md +342 -0
  55. package/templates/.claude/skills/knowledge-extractor/references/decontextualization-guide.md +247 -0
  56. package/templates/.claude/skills/knowledge-extractor/references/maturity-model.md +153 -0
  57. package/templates/.claude/skills/knowledge-extractor/templates/artifact-card.md +60 -0
  58. package/templates/.claude/skills/knowledge-extractor/templates/harvest-report.md +70 -0
  59. package/templates/.claude/skills/knowledge-extractor/templates/toolkit-harvest.md +38 -0
  60. package/templates/.claude/skills/pipeline-forge/SKILL.md +523 -0
  61. package/templates/.claude/skills/pipeline-forge/examples/replicate-analysis.md +291 -0
  62. package/templates/.claude/skills/pipeline-forge/references/patterns-catalog.md +408 -0
  63. package/templates/.claude/skills/pipeline-forge/references/quality-gates.md +268 -0
  64. package/templates/.claude/skills/pipeline-forge/references/skill-anatomy.md +292 -0
  65. package/templates/.claude/skills/pipeline-forge/templates/agent-template.md +60 -0
  66. package/templates/.claude/skills/pipeline-forge/templates/command-template.md +80 -0
  67. package/templates/.claude/skills/pipeline-forge/templates/pipeline-template.md +137 -0
  68. package/templates/.claude/skills/pipeline-forge/templates/skill-template.md +132 -0
  69. package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +562 -0
  70. package/templates/.claude/skills/requirements-validator/SKILL.md +121 -0
  71. package/templates/.claude/skills/requirements-validator/assets/templates/bdd-feature-template.feature +69 -0
  72. package/templates/.claude/skills/requirements-validator/references/bdd-patterns.md +184 -0
  73. package/templates/.claude/skills/requirements-validator/references/invest-criteria.md +121 -0
  74. package/templates/.claude/skills/requirements-validator/references/scoring-system.md +134 -0
  75. package/templates/.claude/skills/requirements-validator/references/smart-criteria.md +130 -0
  76. package/templates/.claude/skills/reverse-engineering-unicorn/SKILL.md +194 -0
  77. package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-cjm-example.md +100 -0
  78. package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-module1-example.md +88 -0
  79. package/templates/.claude/skills/reverse-engineering-unicorn/modules/01-intelligence.md +328 -0
  80. package/templates/.claude/skills/reverse-engineering-unicorn/modules/02-product-customers.md +221 -0
  81. package/templates/.claude/skills/reverse-engineering-unicorn/modules/025-cjm-prototype.md +206 -0
  82. package/templates/.claude/skills/reverse-engineering-unicorn/modules/03-market-competition.md +402 -0
  83. package/templates/.claude/skills/reverse-engineering-unicorn/modules/04-business-finance.md +287 -0
  84. package/templates/.claude/skills/reverse-engineering-unicorn/modules/05-growth-engine.md +290 -0
  85. package/templates/.claude/skills/reverse-engineering-unicorn/modules/06-playbook-synthesis.md +286 -0
  86. package/templates/.claude/skills/reverse-engineering-unicorn/references/blue-ocean-canvas.md +39 -0
  87. package/templates/.claude/skills/reverse-engineering-unicorn/references/industry-benchmarks.md +67 -0
  88. package/templates/.claude/skills/reverse-engineering-unicorn/references/jtbd-canvas.md +48 -0
  89. package/templates/.claude/skills/sparc-prd-mini/SKILL.md +955 -0
  90. package/templates/.claude/skills/sparc-prd-mini/references/sparc-methodology.md +360 -0
  91. package/templates/.claude/skills/sparc-prd-mini/templates/CLAUDE.md +91 -0
  92. package/templates/.claude/skills/sparc-prd-mini/templates/prd.md +336 -0
@@ -0,0 +1,415 @@
1
+ ---
2
+ name: goap-research-ed25519
3
+ description: Advanced GOAP research system with Ed25519 cryptographic verification for anti-hallucination protection. Combines Goal-Oriented Action Planning with cryptographic signatures to ensure source authenticity, claim verification, and citation chain integrity. Use for high-stakes research requiring verifiable facts, competitive intelligence, legal/medical research, or any context where hallucination prevention is critical. Triggers on "verified research", "trusted sources only", "anti-hallucination", "signed sources", "cryptographic verification".
4
+ ---
5
+
6
+ # GOAP Research Skill with Ed25519 Verification
7
+
8
+ Advanced research system combining Goal-Oriented Action Planning (GOAP) with Ed25519 cryptographic verification for maximum anti-hallucination protection.
9
+
10
+ ## Key Differentiators from Standard GOAP
11
+
12
+ | Feature | Standard GOAP | GOAP-Ed25519 |
13
+ |---------|---------------|--------------|
14
+ | Source Trust | Reliability scoring (1-5) | Cryptographic signatures + scoring |
15
+ | Claim Verification | Cross-reference | Cross-reference + signature chain |
16
+ | Anti-Hallucination | Triangulation | Triangulation + mandatory citations |
17
+ | Audit Trail | Research path log | Signed verification ledger |
18
+ | Trust Anchors | Editorial reputation | Trusted issuer whitelist |
19
+
20
+ ## Ed25519 Verification Architecture
21
+
22
+ ```
23
+ ┌─────────────────────────────────────────────────────────────┐
24
+ │ RESEARCH PIPELINE │
25
+ ├─────────────────────────────────────────────────────────────┤
26
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
27
+ │ │ Source │───▶│ Ed25519 │───▶│ Verified │ │
28
+ │ │ Content │ │ Verifier │ │ Facts │ │
29
+ │ └──────────┘ └──────────┘ └──────────┘ │
30
+ │ │ │ │ │
31
+ │ ▼ ▼ ▼ │
32
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
33
+ │ │ Citation │ │ Signature│ │ Confidence│ │
34
+ │ │ Extractor│ │ Chain │ │ Calculator│ │
35
+ │ └──────────┘ └──────────┘ └──────────┘ │
36
+ │ │ │ │ │
37
+ │ └──────────────┴───────────────┘ │
38
+ │ │ │
39
+ │ ▼ │
40
+ │ ┌────────────────┐ │
41
+ │ │ Verification │ │
42
+ │ │ Ledger (signed)│ │
43
+ │ └────────────────┘ │
44
+ └─────────────────────────────────────────────────────────────┘
45
+ ```
46
+
47
+ ## Core GOAP Methodology (Enhanced)
48
+
49
+ ### Phase 1: State Assessment with Trust Initialization
50
+
51
+ **Define Current State:**
52
+ - Existing knowledge about the topic
53
+ - Available sources and access constraints
54
+ - **NEW:** Trusted issuer whitelist configuration
55
+ - **NEW:** Ed25519 keypair availability
56
+ - Time and depth requirements
57
+
58
+ **Define Goal State:**
59
+ - Specific questions to answer
60
+ - Required evidence types
61
+ - **NEW:** Minimum verification threshold (0.85 default, 0.95 strict)
62
+ - **NEW:** Required signature chain depth
63
+ - Confidence thresholds for conclusions
64
+
65
+ **Gap Analysis:**
66
+ - Knowledge gaps to fill
67
+ - **NEW:** Unsigned claims requiring verification
68
+ - **NEW:** Citation chain breaks to resolve
69
+
70
+ ### Phase 2: Action Inventory (Extended)
71
+
72
+ Research actions with Ed25519 verification extensions:
73
+
74
+ | Action | Preconditions | Effects | Cost | Verification |
75
+ |--------|---------------|---------|------|--------------|
76
+ | `web_search_broad` | topic_defined | candidates_found | 1 | None |
77
+ | `web_search_verified` | topic_defined, trusted_issuers_set | verified_candidates_found | 2 | Domain signature |
78
+ | `fetch_source` | url_known | content_retrieved | 2 | TLS certificate |
79
+ | `fetch_signed_source` | url_known, issuer_pubkey | signed_content_retrieved | 3 | Ed25519 signature |
80
+ | `extract_facts` | content_retrieved | facts_cataloged | 1 | None |
81
+ | `sign_extracted_facts` | facts_cataloged, private_key | signed_facts | 2 | Self-signature |
82
+ | `verify_claim` | claim_identified | claim_verified/refuted | 3 | Cross-ref |
83
+ | `verify_claim_cryptographic` | claim_identified, signature_available | cryptographically_verified | 4 | Ed25519 verify |
84
+ | `cross_reference` | multiple_sources | consistency_checked | 2 | None |
85
+ | `cross_reference_signed` | multiple_signed_sources | signed_consistency_checked | 3 | Multi-sig verify |
86
+ | `build_citation_chain` | facts_cataloged | citation_chain_complete | 2 | Chain integrity |
87
+ | `verify_citation_chain` | citation_chain_complete | chain_verified | 3 | Ed25519 chain |
88
+ | `generate_signed_report` | conclusions_formed, private_key | signed_report_delivered | 3 | Report signature |
89
+
90
+ ### Phase 3: Plan Generation (A* with Verification Cost)
91
+
92
+ Enhanced cost function:
93
+ ```
94
+ f(n) = g(n) + h(n) + v(n)
95
+ ```
96
+ - `g(n)`: Actual cost (searches performed, time spent)
97
+ - `h(n)`: Heuristic distance to goal (remaining questions)
98
+ - `v(n)`: **Verification penalty** (unsigned claims × 0.5)
99
+
100
+ **Planning Heuristics:**
101
+ 1. Prioritize signed sources over unsigned (lower total cost)
102
+ 2. Prefer sources from trusted issuers whitelist
103
+ 3. Weight cryptographically verified claims higher
104
+ 4. Factor citation chain depth in confidence
105
+
106
+ ### Phase 4: OODA Loop with Verification Checkpoints
107
+
108
+ **Observe:**
109
+ - Monitor search results quality
110
+ - **Track signature validity status**
111
+ - **Monitor citation chain integrity**
112
+ - Identify information gaps
113
+
114
+ **Orient:**
115
+ - Assess if current path leads to goal
116
+ - **Evaluate cryptographic trust level**
117
+ - **Check for signature chain breaks**
118
+ - Recognize when verification fails
119
+
120
+ **Decide:**
121
+ - Continue current research branch or pivot
122
+ - **Accept or reject unsigned sources**
123
+ - **Trigger re-verification on suspicious content**
124
+ - Choose between depth and breadth
125
+
126
+ **Act:**
127
+ - Execute next optimal action
128
+ - **Sign verified findings**
129
+ - **Update verification ledger**
130
+ - Trigger replanning if deviation detected
131
+
132
+ ### Phase 5: Dynamic Replanning with Trust Recalculation
133
+
134
+ Trigger replanning when:
135
+ - Key assumption invalidated
136
+ - **Signature verification fails**
137
+ - **Trusted issuer removed from whitelist**
138
+ - **Citation chain broken**
139
+ - Higher-quality signed source discovered
140
+
141
+ ## Ed25519 Verification Protocol
142
+
143
+ ### Trusted Issuers Whitelist
144
+
145
+ Default trusted issuers (Level 5 sources):
146
+ ```yaml
147
+ trusted_issuers:
148
+ news:
149
+ - reuters.com
150
+ - ap.org
151
+ - bbc.com
152
+ academic:
153
+ - arxiv.org
154
+ - nature.com
155
+ - science.org
156
+ - pubmed.gov
157
+ government:
158
+ - .gov domains
159
+ - .gov.uk domains
160
+ - europa.eu
161
+ financial:
162
+ - sec.gov
163
+ - federalreserve.gov
164
+ - ecb.europa.eu
165
+ ```
166
+
167
+ ### Signature Verification Flow
168
+
169
+ ```
170
+ 1. Source provides content + signature + public_key_id
171
+ 2. Fetch public key from trusted keyserver or issuer
172
+ 3. Verify Ed25519 signature: verify(signature, content_hash, public_key)
173
+ 4. Check issuer against trusted whitelist
174
+ 5. Record verification result in ledger
175
+ 6. Assign cryptographic trust score
176
+ ```
177
+
178
+ ### Citation Chain Verification
179
+
180
+ Each fact in the chain must have:
181
+ ```json
182
+ {
183
+ "claim": "The statement being made",
184
+ "source_url": "https://...",
185
+ "source_hash": "sha256:abc123...",
186
+ "issuer_pubkey": "ed25519:xyz789...",
187
+ "signature": "ed25519_sig:...",
188
+ "timestamp": "2025-01-22T10:30:00Z",
189
+ "parent_citation": "chain_id:previous_fact_id",
190
+ "confidence": 0.95
191
+ }
192
+ ```
193
+
194
+ Chain verification:
195
+ 1. Verify each fact's signature individually
196
+ 2. Verify chain integrity (parent hashes match)
197
+ 3. Check all issuers are in trusted whitelist
198
+ 4. Calculate aggregate chain confidence
199
+
200
+ ## Anti-Hallucination Rules
201
+
202
+ ### 100% Citation Rule
203
+ **Every factual claim MUST have a verifiable source.** No exceptions.
204
+
205
+ ```
206
+ ❌ FORBIDDEN: "Studies show that X leads to Y"
207
+ ✅ REQUIRED: "A 2024 study published in Nature (DOI: 10.1038/...) found that X leads to Y"
208
+ ```
209
+
210
+ ### Verification Thresholds
211
+
212
+ | Mode | Threshold | Use Case |
213
+ |------|-----------|----------|
214
+ | `development` | 0.75 | Exploratory research, brainstorming |
215
+ | `moderate` | 0.85 | Standard research (default) |
216
+ | `strict` | 0.95 | Legal, medical, financial research |
217
+ | `paranoid` | 0.99 | Critical decisions, published reports |
218
+
219
+ ### Confidence Calculation
220
+
221
+ ```
222
+ confidence = base_reliability × verification_multiplier × recency_factor
223
+
224
+ where:
225
+ base_reliability = source level (1-5) / 5
226
+ verification_multiplier = 1.0 if unsigned, 1.2 if signed, 1.5 if chain_verified
227
+ recency_factor = 1.0 if <24h, 0.9 if <7d, 0.8 if <30d, 0.6 if older
228
+ ```
229
+
230
+ ## Research Execution Patterns (Enhanced)
231
+
232
+ ### Pattern A: Verified Exploratory Research
233
+ ```
234
+ Goal: comprehensive_verified_understanding
235
+ Actions:
236
+ 1. configure_trusted_issuers → whitelist_active
237
+ 2. web_search_verified → verified_candidates_found
238
+ 3. FOR EACH candidate: fetch_signed_source → signed_content_retrieved
239
+ 4. extract_facts → facts_cataloged
240
+ 5. sign_extracted_facts → signed_facts
241
+ 6. cross_reference_signed → signed_consistency_checked
242
+ 7. build_citation_chain → citation_chain_complete
243
+ 8. verify_citation_chain → chain_verified
244
+ 9. synthesize_findings → conclusions_formed
245
+ 10. generate_signed_report → signed_report_delivered
246
+ ```
247
+
248
+ ### Pattern B: High-Stakes Fact Verification
249
+ ```
250
+ Goal: cryptographically_verified_claim
251
+ Mode: strict (0.95 threshold)
252
+ Actions:
253
+ 1. identify_claim → claim_defined
254
+ 2. configure_trusted_issuers (strict list) → whitelist_active
255
+ 3. find_primary_source → primary_located
256
+ 4. fetch_signed_source → signed_content_retrieved
257
+ 5. verify_claim_cryptographic → cryptographically_verified
258
+ 6. cross_reference_signed (≥3 sources) → multi_source_verified
259
+ 7. build_citation_chain → citation_chain_complete
260
+ 8. verify_citation_chain → chain_verified (confidence ≥0.95)
261
+ ```
262
+
263
+ ### Pattern C: Competitive Analysis with Audit Trail
264
+ ```
265
+ Goal: auditable_competitive_landscape
266
+ Actions:
267
+ 1. identify_players → competitors_listed
268
+ 2. configure_trusted_issuers → whitelist_active
269
+ 3. FOR EACH competitor:
270
+ - web_search_verified → verified_info_found
271
+ - fetch_signed_source (official sources) → signed_content
272
+ - extract_facts → facts_cataloged
273
+ - sign_extracted_facts → signed_facts
274
+ 4. cross_reference_signed → consistency_verified
275
+ 5. build_citation_chain → full_chain
276
+ 6. generate_signed_report → auditable_report
277
+ ```
278
+
279
+ ## Output Structure (Enhanced)
280
+
281
+ ### Verified Research Report Format
282
+
283
+ ```markdown
284
+ ## Executive Summary
285
+ [Key findings in 2-3 sentences]
286
+
287
+ ## Verification Status
288
+ - Mode: strict (0.95 threshold)
289
+ - Chain Integrity: ✅ VERIFIED
290
+ - Unsigned Claims: 0
291
+ - Total Citations: 15
292
+ - Trusted Issuers Used: 8
293
+
294
+ ## Research Objective
295
+ [Original question/goal]
296
+
297
+ ## Methodology
298
+ [GOAP plan executed, verification protocol used]
299
+
300
+ ## Verified Findings
301
+
302
+ ### [Subtopic 1]
303
+ [Findings with signed inline citations]
304
+
305
+ **Verification Details:**
306
+ | Claim | Source | Signature | Confidence |
307
+ |-------|--------|-----------|------------|
308
+ | ... | ... | ✅ | 0.96 |
309
+
310
+ ### [Subtopic 2]
311
+ [Findings with signed inline citations]
312
+
313
+ ## Confidence Assessment
314
+ - Cryptographically Verified (≥0.95): [claims list]
315
+ - Cross-Reference Verified (0.85-0.95): [claims list]
316
+ - Single Source (0.75-0.85): [claims list]
317
+ - Unverified (<0.75): NONE (strict mode)
318
+
319
+ ## Citation Chain
320
+ [Full chain with signatures - see Appendix A]
321
+
322
+ ## Verification Ledger
323
+ [Signed log of all verification operations]
324
+
325
+ ## Sources
326
+ [Numbered list with URLs, signatures, and trust scores]
327
+
328
+ ## Appendix A: Cryptographic Verification Details
329
+ [Full Ed25519 signature data for audit]
330
+ ```
331
+
332
+ ## Quality Standards (Enhanced)
333
+
334
+ **Completeness Checks:**
335
+ - [ ] All original questions addressed
336
+ - [ ] **100% of claims have citations**
337
+ - [ ] **All citations are verifiable**
338
+ - [ ] **Citation chain integrity verified**
339
+ - [ ] Primary sources found where possible
340
+ - [ ] Contradictions identified and addressed
341
+ - [ ] Confidence levels assigned to conclusions
342
+ - [ ] **Verification ledger signed and complete**
343
+
344
+ **Anti-Hallucination Checks:**
345
+ - [ ] No claims without sources
346
+ - [ ] No "studies show" without specific citation
347
+ - [ ] No statistics without methodology source
348
+ - [ ] No quotes without attribution + verification
349
+ - [ ] No predictions presented as facts
350
+
351
+ ## Implementation
352
+
353
+ ### Python Usage
354
+
355
+ ```python
356
+ from goap_planner import GOAPResearchPlanner
357
+ from ed25519_verifier import Ed25519Verifier
358
+
359
+ # Initialize with Ed25519 verification
360
+ planner = GOAPResearchPlanner(
361
+ verification_mode="strict",
362
+ trusted_issuers=["reuters.com", "ap.org", "nature.com"]
363
+ )
364
+
365
+ # Generate research plan
366
+ plan = planner.plan(
367
+ goal_type="verified_exploratory",
368
+ topic="AI safety regulations 2025"
369
+ )
370
+
371
+ # Execute with verification
372
+ results = planner.execute(plan, verify_all=True)
373
+
374
+ # Generate signed report
375
+ report = planner.generate_report(
376
+ results,
377
+ sign=True,
378
+ include_verification_ledger=True
379
+ )
380
+ ```
381
+
382
+ ### CLI Usage (via goalie integration)
383
+
384
+ ```bash
385
+ # Install goalie for Ed25519 support
386
+ npm install -g goalie
387
+
388
+ # Verified research
389
+ goalie search "Your research question" \
390
+ --verify \
391
+ --strict-verify \
392
+ --trusted-issuers "reuters.com,ap.org,nature.com" \
393
+ --mode academic \
394
+ --save
395
+
396
+ # Anti-hallucination check
397
+ goalie reason --mode anti-hallucination \
398
+ --claims "Your claim to verify" \
399
+ --citations "Source URL"
400
+ ```
401
+
402
+ ## References
403
+
404
+ For detailed implementations, see:
405
+ - [references/research-actions.md](references/research-actions.md) - Complete action specifications with Ed25519 extensions
406
+ - [references/source-evaluation.md](references/source-evaluation.md) - Source credibility with cryptographic trust
407
+ - [references/ed25519-verification.md](references/ed25519-verification.md) - Ed25519 protocol details
408
+ - [scripts/goap_planner.py](scripts/goap_planner.py) - Enhanced GOAP planner
409
+ - [scripts/ed25519_verifier.py](scripts/ed25519_verifier.py) - Verification module
410
+
411
+ ## Dependencies
412
+
413
+ - Python 3.9+
414
+ - `@noble/ed25519` (Node.js) or `cryptography` (Python) for Ed25519
415
+ - Optional: `goalie` npm package for CLI integration