Commit 746b361
committed
feat: remove MCP injection, integrate context-stewardship into CLI, cleanup dead code
- Remove all MCP config injection (13 configure*Mcp functions, MCP interfaces, MCP path helpers)
- Delete antigravity-scope.ts (100% MCP)
- Delete shared/index.ts barrel file (unused)
- Remove 11 dead exports from scope files and validators
- Make 5 internal exports private (template-source, traceability, ears, mermaid)
- Deduplicate formatError across requirements/design/tasks validators
- Remove 3 no-op Mermaid validators (flowchart, classDiagram, erDiagram)
- Rename mcp-context-injector to phase-context-injector
- Create sds stewardship CLI command with 7 subcommands (capabilities, retrieve, store, extract, trace, inject, manage)
- Wire stewardship into CLI entry point
- Update 4 spec-driven skills with stewardship references (inject mode, richer domains, context sections)
- Update template skills and agent guidance
- Fix all tests for MCP removal
-1796 lines, +216 lines. 157 tests passing.1 parent bb7ab95 commit 746b361
33 files changed
Lines changed: 466 additions & 1694 deletions
File tree
- .changeset
- packages/cli
- src
- cli
- context-stewardship
- core/validate
- templates/universal
- agents
- skills
- agent-work-auditor
- artifacts
- dimensions
- spec-driven-requirements-writer
- spec-driven-task-decomposer
- spec-driven-task-implementer
- spec-driven-technical-designer
- tests
- integration
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 9 | | |
34 | 10 | | |
35 | 11 | | |
36 | 12 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 13 | | |
42 | 14 | | |
43 | 15 | | |
44 | 16 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 17 | | |
50 | 18 | | |
51 | 19 | | |
52 | 20 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 21 | | |
57 | 22 | | |
58 | 23 | | |
59 | 24 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 25 | | |
72 | 26 | | |
73 | 27 | | |
74 | 28 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 29 | | |
80 | 30 | | |
81 | 31 | | |
82 | 32 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 33 | | |
87 | 34 | | |
88 | 35 | | |
89 | 36 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 37 | | |
94 | 38 | | |
95 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 9 | | |
38 | 10 | | |
39 | 11 | | |
| |||
42 | 14 | | |
43 | 15 | | |
44 | 16 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 17 | | |
50 | 18 | | |
51 | 19 | | |
| |||
54 | 22 | | |
55 | 23 | | |
56 | 24 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 25 | | |
61 | 26 | | |
62 | 27 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 9 | + | |
49 | 10 | | |
50 | 11 | | |
51 | 12 | | |
| |||
63 | 24 | | |
64 | 25 | | |
65 | 26 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 27 | | |
71 | 28 | | |
72 | 29 | | |
73 | 30 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 31 | | |
79 | 32 | | |
80 | 33 | | |
81 | 34 | | |
82 | 35 | | |
83 | 36 | | |
84 | 37 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
0 commit comments