@nahisaho/shikigami 1.47.0 → 1.48.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 (3) hide show
  1. package/AGENTS.md +84 -9
  2. package/CHANGELOG.md +15 -0
  3. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -311,10 +311,11 @@ When user says "project created", "created project", or similar:
311
311
  2. **(Phase 0)** **Save Original Prompt** → `save_prompt(type: "original")`
312
312
  3. **(Phase 1)** **Prompt Optimization** → Structure into 6 elements → Display → **WAIT for user approval**
313
313
  4. **(Phase 2)** **Purpose Discovery** → Discover true purpose through 1Q1A dialogue
314
- 5. **(Phase 3)** **Deep Research** → Think→Search→Report→Action cycle
315
- 6. **(Phase 4)** **Framework Analysis** → Apply SWOT/3C/PEST etc.
316
- 7. **(Phase 5)** **Report Generation** → Select template → Write report → Quality check → **WAIT for approval**
317
- 8. **(Phase 6)** **Complete** → Update manifest.yaml, verify deliverables
314
+ 5. **(Phase 2.5)** **Knowledge Inheritance** → Search past projects Inherit if relevant (optional)
315
+ 6. **(Phase 3)** **Deep Research** → Think→Search→Report→Action cycle
316
+ 7. **(Phase 4)** **Framework Analysis** → Apply SWOT/3C/PEST etc.
317
+ 8. **(Phase 5)** **Report Generation** → Select template Write report → Quality check → **WAIT for approval**
318
+ 9. **(Phase 6)** **Complete** → Update manifest.yaml, verify deliverables
318
319
 
319
320
  ### Case B: New research request (no project yet)
320
321
 
@@ -327,10 +328,11 @@ When receiving a new research request:
327
328
  5. **(Phase 0)** **Verify Folder** → Confirm `projects/pjXXXXX_<Name>_YYYYMMDD/` exists
328
329
  6. **(Phase 1)** **Prompt Optimization** → Structure into 6 elements → Display → **WAIT for user approval**
329
330
  7. **(Phase 2)** **Purpose Discovery** → Discover true purpose through 1Q1A dialogue
330
- 8. **(Phase 3)** **Deep Research** → Think→Search→Report→Action cycle
331
- 9. **(Phase 4)** **Framework Analysis** → Apply SWOT/3C/PEST etc.
332
- 10. **(Phase 5)** **Report Generation** → Select template → Write report → Quality check → **WAIT for approval**
333
- 11. **(Phase 6)** **Complete** → Update manifest.yaml, verify deliverables
331
+ 8. **(Phase 2.5)** **Knowledge Inheritance** → Search past projects Inherit if relevant (optional)
332
+ 9. **(Phase 3)** **Deep Research** → Think→Search→Report→Action cycle
333
+ 10. **(Phase 4)** **Framework Analysis** → Apply SWOT/3C/PEST etc.
334
+ 11. **(Phase 5)** **Report Generation** → Select template Write report → Quality check → **WAIT for approval**
335
+ 12. **(Phase 6)** **Complete** → Update manifest.yaml, verify deliverables
334
336
 
335
337
  **MANDATORY APPROVAL POINTS** (must wait for user before proceeding):
336
338
  - Case B Step 1: Project name confirmation
@@ -455,6 +457,79 @@ OUTPUT: True purpose, research plan, search query list
455
457
  - CONSTRAINT: Time, budget, scope limitations?
456
458
  - SUCCESS: How do you define success?
457
459
 
460
+ ### Phase 2.5: Knowledge Inheritance (Optional)
461
+
462
+ ```
463
+ WHEN: Phase 2 completed, before starting Phase 3
464
+ DO:
465
+ 1. Search past projects for related topics:
466
+ - Use semantic_search across all projects/*/research/ and projects/*/reports/
467
+ - Query: user's research topic + key concepts from Phase 2
468
+ 2. If related projects found (similarity > 0.7):
469
+ - List related projects with summary
470
+ - Ask user: "関連する過去プロジェクトが見つかりました。継承しますか?"
471
+ 3. If user approves inheritance:
472
+ - Create research/inherited/ directory
473
+ - Copy relevant files with source tracking
474
+ - Update manifest.yaml with inheritance info
475
+ 4. Adjust Phase 3 research plan to focus on:
476
+ - Updates since last research (time-based delta)
477
+ - Gaps not covered in previous research
478
+ - New perspectives requested by user
479
+ OUTPUT: Inherited knowledge list, adjusted research plan
480
+ ```
481
+
482
+ **Related Project Display Format**:
483
+ ```markdown
484
+ ## 関連する過去プロジェクト
485
+
486
+ | Project | Date | Topic | Similarity | Key Findings |
487
+ |---------|------|-------|------------|-------------|
488
+ | pj00001_AIMarket_20251015 | 2025-10-15 | AI市場調査 | 0.85 | 市場規橐500億円, 成長率15% |
489
+ | pj00003_TechTrend_20251201 | 2025-12-01 | 技術トレンド | 0.72 | LLM採用率拡大 |
490
+
491
+ 継承しますか? (はい/いいえ/選択して継承)
492
+ ```
493
+
494
+ **Inheritance Directory Structure**:
495
+ ```
496
+ projects/pjXXXXX_NewProject_YYYYMMDD/
497
+ ├── research/
498
+ │ ├── inherited/ # 継承ナレッジ
499
+ │ │ ├── INHERITANCE_LOG.md # 継承元追跡
500
+ │ │ ├── pj00001_market-data.md # 継承ファイル
501
+ │ │ └── pj00003_tech-trends.md # 継承ファイル
502
+ │ └── search_*.md # 新規調査
503
+ ```
504
+
505
+ **INHERITANCE_LOG.md Format**:
506
+ ```markdown
507
+ # Knowledge Inheritance Log
508
+
509
+ ## Inherited From
510
+ | Source Project | Files | Inherited Date | Reason |
511
+ |----------------|-------|----------------|--------|
512
+ | pj00001_AIMarket_20251015 | market-data.md | 2026-01-28 | 市場規模データの再利用 |
513
+
514
+ ## Delta Research Focus
515
+ - [ ] 2025年10月以降の市場変化
516
+ - [ ] 新規参入企業の動向
517
+ - [ ] 規制環境の変化
518
+ ```
519
+
520
+ **Delta Research Rules**:
521
+ ```
522
+ WHEN: Knowledge inherited from past project
523
+ DO:
524
+ 1. Check publication dates of inherited data
525
+ 2. Focus new searches on:
526
+ - Time period: [inherited_data_date] to [today]
527
+ - Query modifier: "2025年以降" or "latest" or "recent"
528
+ 3. Compare new findings with inherited data
529
+ 4. Mark changes with (Δ) in report:
530
+ - 市場規模: 500億円 → 580億円 (Δ+16%)
531
+ ```
532
+
458
533
  ### Phase 3: Deep Research
459
534
 
460
535
  ```
@@ -1024,4 +1099,4 @@ DO: Auto-detect Shift_JIS/EUC-JP/ISO-2022-JP and convert to UTF-8
1024
1099
  ---
1025
1100
 
1026
1101
  **Last Updated**: 2026-01-28
1027
- **Version**: 1.47.0
1102
+ **Version**: 1.48.0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to SHIKIGAMI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.48.0] - 2026-01-28
9
+
10
+ ### Added
11
+
12
+ - **AGENTS.md: Knowledge Inheritance (Phase 2.5)**
13
+ - New optional phase between Purpose Discovery and Deep Research
14
+ - Semantic search across past projects (research/ and reports/)
15
+ - Related project display with similarity scores
16
+ - User confirmation before inheritance
17
+ - `research/inherited/` directory structure
18
+ - `INHERITANCE_LOG.md` tracking format
19
+ - Delta Research Rules for time-based updates
20
+ - Change markers (Δ) for comparing inherited vs new data
21
+ - Workflow updated: Case A (8→9 steps), Case B (11→12 steps)
22
+
8
23
  ## [1.47.0] - 2026-01-28
9
24
 
10
25
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/shikigami",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "GitHub Copilot Agent Skills for Deep Research & Consulting - AI-Powered Research Assistant with 50+ Consulting Frameworks",
5
5
  "keywords": [
6
6
  "github-copilot",