musubix 3.4.7 → 3.5.1
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/README.md +50 -315
- package/bin/musubix.js +1 -9
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +74 -0
- package/dist/index.js.map +1 -0
- package/package.json +52 -58
- package/.github/AGENTS.md +0 -949
- package/.github/prompts/sdd-change-apply.prompt.md +0 -283
- package/.github/prompts/sdd-change-archive.prompt.md +0 -241
- package/.github/prompts/sdd-change-init.prompt.md +0 -269
- package/.github/prompts/sdd-design.prompt.md +0 -250
- package/.github/prompts/sdd-implement.prompt.md +0 -387
- package/.github/prompts/sdd-requirements.prompt.md +0 -193
- package/.github/prompts/sdd-review.prompt.md +0 -155
- package/.github/prompts/sdd-security.prompt.md +0 -228
- package/.github/prompts/sdd-steering.prompt.md +0 -269
- package/.github/prompts/sdd-tasks.prompt.md +0 -255
- package/.github/prompts/sdd-test.prompt.md +0 -230
- package/.github/prompts/sdd-validate.prompt.md +0 -304
- package/.github/skills/musubix-adr-generation/SKILL.md +0 -209
- package/.github/skills/musubix-best-practices/SKILL.md +0 -315
- package/.github/skills/musubix-c4-design/SKILL.md +0 -162
- package/.github/skills/musubix-code-generation/SKILL.md +0 -237
- package/.github/skills/musubix-domain-inference/SKILL.md +0 -196
- package/.github/skills/musubix-ears-validation/SKILL.md +0 -161
- package/.github/skills/musubix-sdd-workflow/SKILL.md +0 -217
- package/.github/skills/musubix-technical-writing/SKILL.md +0 -444
- package/.github/skills/musubix-test-generation/SKILL.md +0 -212
- package/.github/skills/musubix-traceability/SKILL.md +0 -141
- package/AGENTS.md +0 -1134
- package/LICENSE +0 -21
- package/README.ja.md +0 -313
- package/bin/musubix-mcp.js +0 -15
- package/docs/API-REFERENCE.md +0 -1425
- package/docs/GITHUB-ACTIONS-NPM-SETUP.md +0 -132
- package/docs/INSTALL-GUIDE.ja.md +0 -459
- package/docs/INSTALL-GUIDE.md +0 -459
- package/docs/MIGRATION-v3.0.md +0 -324
- package/docs/MUSUBI-enhancement_roadmap_20260105.md +0 -651
- package/docs/MUSUBIX-v3.0-User-Guide.md +0 -1357
- package/docs/MUSUBIXv2.2.0-Manual-outline.md +0 -136
- package/docs/MUSUBIXv2.2.0-Manual.md +0 -3123
- package/docs/MUSUBIXv2.3.5-Refactering.md +0 -1310
- package/docs/MUSUBIv1.6.1-enhancement_roadmap_20260105.md +0 -291
- package/docs/MUSUBIv2.2.0-USERGUIDE.md +0 -2079
- package/docs/ROADMAP-v1.5.md +0 -116
- package/docs/SwarmCoding.md +0 -1284
- package/docs/Test-prompt.md +0 -105
- package/docs/USER-GUIDE-v1.8.0.md +0 -2371
- package/docs/USER-GUIDE.ja.md +0 -2147
- package/docs/USER-GUIDE.md +0 -3022
- package/docs/YATA-GLOBAL-GUIDE.ja.md +0 -750
- package/docs/YATA-GLOBAL-GUIDE.md +0 -595
- package/docs/YATA-LOCAL-GUIDE.ja.md +0 -989
- package/docs/YATA-LOCAL-GUIDE.md +0 -730
- package/docs/adr/0001-real-time-pattern-learning-architecture-for-v1-5-0.md +0 -75
- package/docs/adr/0002-pattern-sharing-protocol-for-cross-team-collaborat.md +0 -79
- package/docs/adr/0003-owl-2-rl-implementation-strategy-for-advanced-infe.md +0 -90
- package/docs/adr/ADR-v3.4.0-001-deep-research-architecture.md +0 -217
- package/docs/adr/ADR-v3.4.0-002-search-provider-selection.md +0 -308
- package/docs/adr/ADR-v3.4.0-003-lm-api-integration.md +0 -475
- package/docs/enterprise-knowledge-management.md +0 -1737
- package/docs/evolution-from-musubi-to-musubix.md +0 -2170
- package/docs/getting-started-with-sdd.md +0 -1602
- package/docs/moodle-refactering-codegraph-musubix.md +0 -391
- package/docs/moodle-refactering-codegraph.md +0 -278
- package/docs/overview/MUSUBIX-CodeGraph.md +0 -322
- package/docs/overview/MUSUBIX-Core.md +0 -671
- package/docs/overview/MUSUBIX-Decisions.md +0 -494
- package/docs/overview/MUSUBIX-FormalVerify.md +0 -566
- package/docs/overview/MUSUBIX-Knowledge.md +0 -1231
- package/docs/overview/MUSUBIX-Learning.md +0 -837
- package/docs/overview/MUSUBIX-MCP-Server.md +0 -535
- package/docs/overview/MUSUBIX-Overview.md +0 -264
- package/docs/overview/MUSUBIX-Phase1-Complete.md +0 -271
- package/docs/overview/MUSUBIX-Phase2-Complete.md +0 -310
- package/docs/overview/MUSUBIX-Policy.md +0 -477
- package/docs/overview/MUSUBIX-Roadmap-v2.md +0 -399
- package/docs/overview/MUSUBIX-Security-Plan.md +0 -939
- package/docs/overview/MUSUBIX-Security-v2.1.md +0 -668
- package/docs/overview/MUSUBIX-Security.md +0 -891
- package/docs/overview/MUSUBIX-YATA.md +0 -666
- package/docs/overview/MUSUBIX-v2.2.0-Advanced-Learning.md +0 -513
- package/docs/overview/Neuro-SymbolicAI.md +0 -159
- package/docs/packages/knowledge.md +0 -594
- package/docs/qiita-linux-kernel-knowledge-graph.md +0 -596
- package/scripts/generate-quality-gate-report.ts +0 -106
- package/scripts/postinstall.js +0 -94
- package/steering/.musubi-version +0 -1
- package/steering/product.ja.md +0 -572
- package/steering/project.yml +0 -66
- package/steering/rules/constitution.md +0 -491
- package/steering/structure.ja.md +0 -503
- package/steering/tech.ja.md +0 -208
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: musubix-traceability
|
|
3
|
-
description: Guide for managing traceability between requirements, designs, code, and tests. Use this when asked to verify traceability, create traceability matrices, or perform impact analysis.
|
|
4
|
-
license: MIT
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# MUSUBIX Traceability Skill
|
|
8
|
-
|
|
9
|
-
This skill guides you through maintaining full traceability across the development lifecycle.
|
|
10
|
-
|
|
11
|
-
## Overview
|
|
12
|
-
|
|
13
|
-
MUSUBIX enforces **Article V - Traceability**: Complete bidirectional tracing between:
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
Requirements (REQ-*) ↔ Design (DES-*) ↔ Tasks (TSK-*) ↔ Code ↔ Tests
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Traceability Matrix
|
|
20
|
-
|
|
21
|
-
### Creating a Traceability Matrix
|
|
22
|
-
|
|
23
|
-
```markdown
|
|
24
|
-
# Traceability Matrix
|
|
25
|
-
|
|
26
|
-
| 要件ID | 設計ID | タスクID | コード | テスト |
|
|
27
|
-
|--------|--------|---------|--------|--------|
|
|
28
|
-
| REQ-AUTH-001 | DES-AUTH-001 | TSK-001 | src/auth/auth-service.ts | auth.test.ts |
|
|
29
|
-
| REQ-AUTH-002 | DES-AUTH-001 | TSK-002 | src/auth/token-manager.ts | token.test.ts |
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### CLI Commands
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
# Generate traceability matrix
|
|
36
|
-
npx musubix trace matrix
|
|
37
|
-
|
|
38
|
-
# Impact analysis for a specific requirement
|
|
39
|
-
npx musubix trace impact REQ-AUTH-001
|
|
40
|
-
|
|
41
|
-
# Validate all traceability links
|
|
42
|
-
npx musubix trace validate
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Traceability in Code
|
|
46
|
-
|
|
47
|
-
### Adding Traceability Comments
|
|
48
|
-
|
|
49
|
-
```typescript
|
|
50
|
-
/**
|
|
51
|
-
* AuthService - 認証サービス
|
|
52
|
-
* @requirement REQ-AUTH-001
|
|
53
|
-
* @design DES-AUTH-001
|
|
54
|
-
* @task TSK-001
|
|
55
|
-
*/
|
|
56
|
-
export class AuthService {
|
|
57
|
-
/**
|
|
58
|
-
* ユーザー認証
|
|
59
|
-
* @requirement REQ-AUTH-001
|
|
60
|
-
*/
|
|
61
|
-
async authenticate(credentials: Credentials): Promise<Result<Token, AuthError>> {
|
|
62
|
-
// Implementation
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Test Traceability
|
|
68
|
-
|
|
69
|
-
```typescript
|
|
70
|
-
/**
|
|
71
|
-
* @requirement REQ-AUTH-001
|
|
72
|
-
* @design DES-AUTH-001
|
|
73
|
-
*/
|
|
74
|
-
describe('AuthService', () => {
|
|
75
|
-
describe('authenticate', () => {
|
|
76
|
-
it('should return token for valid credentials', async () => {
|
|
77
|
-
// Test implementation
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Impact Analysis
|
|
84
|
-
|
|
85
|
-
When a requirement changes, identify all affected artifacts:
|
|
86
|
-
|
|
87
|
-
```mermaid
|
|
88
|
-
flowchart LR
|
|
89
|
-
REQ[REQ-AUTH-001<br/>変更] --> DES[DES-AUTH-001<br/>設計]
|
|
90
|
-
DES --> TSK1[TSK-001<br/>タスク]
|
|
91
|
-
DES --> TSK2[TSK-002<br/>タスク]
|
|
92
|
-
TSK1 --> CODE1[auth-service.ts]
|
|
93
|
-
TSK2 --> CODE2[token-manager.ts]
|
|
94
|
-
CODE1 --> TEST1[auth.test.ts]
|
|
95
|
-
CODE2 --> TEST2[token.test.ts]
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### Impact Analysis Steps
|
|
99
|
-
|
|
100
|
-
1. Identify changed requirement (REQ-*)
|
|
101
|
-
2. Find linked designs (DES-*)
|
|
102
|
-
3. Find linked tasks (TSK-*)
|
|
103
|
-
4. Locate affected code files
|
|
104
|
-
5. Identify tests to update
|
|
105
|
-
6. Update all artifacts
|
|
106
|
-
|
|
107
|
-
## Traceability Storage
|
|
108
|
-
|
|
109
|
-
```
|
|
110
|
-
storage/traceability/
|
|
111
|
-
├── matrix.json # Full traceability matrix
|
|
112
|
-
├── requirements-map.json # REQ -> DES mappings
|
|
113
|
-
├── design-map.json # DES -> TSK mappings
|
|
114
|
-
└── code-map.json # TSK -> Code mappings
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
## Verification Checklist
|
|
118
|
-
|
|
119
|
-
Before completing any feature:
|
|
120
|
-
|
|
121
|
-
- [ ] All requirements have linked designs
|
|
122
|
-
- [ ] All designs have linked tasks
|
|
123
|
-
- [ ] All tasks have linked code
|
|
124
|
-
- [ ] All code has linked tests
|
|
125
|
-
- [ ] Traceability comments in code
|
|
126
|
-
- [ ] Matrix updated
|
|
127
|
-
|
|
128
|
-
## MCP Tool
|
|
129
|
-
|
|
130
|
-
Use MCP tool for automated validation:
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
Tool: sdd_validate_traceability
|
|
134
|
-
Description: Validates bidirectional traceability across all artifacts
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
## Related Skills
|
|
138
|
-
|
|
139
|
-
- `musubix-sdd-workflow` - Full SDD workflow
|
|
140
|
-
- `musubix-ears-validation` - Requirements validation
|
|
141
|
-
- `musubix-test-generation` - Generate tests with traceability
|