codecartographer-pi 0.10.0 → 0.12.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/.codecarto/GUIDE.md +40 -18
- package/.codecarto/README.md +3 -0
- package/.codecarto/findings/goal-synthesis/README.md +3 -0
- package/.codecarto/findings/goal-synthesis-finalize/SKILL.md +30 -0
- package/.codecarto/findings/goal-synthesis-propose/SKILL.md +24 -0
- package/.codecarto/findings/porting/SKILL.md +7 -0
- package/.codecarto/findings/reimplementation-spec/SKILL.md +10 -0
- package/.codecarto/findings/spec-merge/README.md +3 -0
- package/.codecarto/findings/spec-merge/SKILL.md +23 -0
- package/.codecarto/findings/vision-capture/README.md +3 -0
- package/.codecarto/findings/vision-capture/SKILL.md +26 -0
- package/.codecarto/inputs/vision.md +11 -0
- package/.codecarto/templates/architecture-map.md +9 -0
- package/.codecarto/templates/behavioral-contracts.md +9 -0
- package/.codecarto/templates/defect-report.md +9 -0
- package/.codecarto/templates/mechanical-defects.md +9 -0
- package/.codecarto/templates/merged-spec.md +58 -0
- package/.codecarto/templates/phase-checkpoint.md +41 -0
- package/.codecarto/templates/phase-handoff.yaml +22 -0
- package/.codecarto/templates/project-plan.md +70 -0
- package/.codecarto/templates/proposal.md +43 -0
- package/.codecarto/templates/protocols-and-state.md +9 -0
- package/.codecarto/templates/reimplementation-spec-opinionated.md +10 -0
- package/.codecarto/templates/reimplementation-spec.md +10 -0
- package/.codecarto/templates/reverse-engineering-bundle.md +29 -3
- package/.codecarto/templates/semantic-defects.md +9 -0
- package/.codecarto/templates/vision.md +63 -0
- package/.codecarto/workflow/pipeline-architecture-only.yaml +1 -0
- package/.codecarto/workflow/pipeline-defect-scan.yaml +2 -0
- package/.codecarto/workflow/pipeline-full-with-audit.yaml +8 -3
- package/.codecarto/workflow/pipeline-full-with-deep-audit.yaml +9 -5
- package/.codecarto/workflow/pipeline-lite.yaml +3 -0
- package/.codecarto/workflow/pipeline-synthesis.yaml +105 -0
- package/.codecarto/workflow/pipeline.yaml +7 -3
- package/.codecarto/workflow/status.yaml +2 -0
- package/README.md +89 -7
- package/dist/core/completion.d.ts +6 -0
- package/dist/core/completion.js +127 -0
- package/dist/core/dashboard.js +37 -7
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +2 -0
- package/dist/core/pipeline.js +1 -0
- package/dist/core/prompts.d.ts +9 -3
- package/dist/core/prompts.js +43 -26
- package/dist/core/status.d.ts +7 -1
- package/dist/core/status.js +187 -2
- package/dist/core/synthesis.d.ts +31 -0
- package/dist/core/synthesis.js +140 -0
- package/dist/core/types.d.ts +29 -1
- package/dist/core/usage.d.ts +11 -0
- package/dist/core/usage.js +64 -46
- package/dist/core/workspace.d.ts +3 -1
- package/dist/core/workspace.js +39 -3
- package/dist/core/yaml.js +24 -0
- package/dist/extensions/codecarto/agent-rewriter.js +0 -1
- package/dist/extensions/codecarto/agent-runner.d.ts +19 -0
- package/dist/extensions/codecarto/agent-runner.js +68 -6
- package/dist/extensions/codecarto/agent-state.d.ts +3 -0
- package/dist/extensions/codecarto/agent-state.js +2 -0
- package/dist/extensions/codecarto/agent-summary.d.ts +5 -0
- package/dist/extensions/codecarto/agent-summary.js +9 -0
- package/dist/extensions/codecarto/agent-widget.js +6 -0
- package/dist/extensions/codecarto/auto-runner.d.ts +3 -1
- package/dist/extensions/codecarto/auto-runner.js +33 -69
- package/dist/extensions/codecarto/dashboard-narrator.js +0 -1
- package/dist/extensions/codecarto/index.d.ts +1 -1
- package/dist/extensions/codecarto/index.js +153 -12
- package/dist/extensions/codecarto/phase-compaction.d.ts +11 -0
- package/dist/extensions/codecarto/phase-compaction.js +115 -0
- package/dist/mcp-server/server.js +24 -68
- package/package.json +4 -3
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Evidence-Backed Project Plan
|
|
2
|
+
|
|
3
|
+
## Product definition
|
|
4
|
+
|
|
5
|
+
## Scope
|
|
6
|
+
|
|
7
|
+
### First executable slice
|
|
8
|
+
|
|
9
|
+
### Subsequent increments
|
|
10
|
+
|
|
11
|
+
### Non-goals
|
|
12
|
+
|
|
13
|
+
## Target architecture
|
|
14
|
+
|
|
15
|
+
| Component | Responsibility | Public boundary | Owned state and invariants | Provenance |
|
|
16
|
+
|---|---|---|---|---|
|
|
17
|
+
| | | | | |
|
|
18
|
+
|
|
19
|
+
## Work packages
|
|
20
|
+
|
|
21
|
+
| ID | Deliverable | Dependencies | Acceptance gate | Risk |
|
|
22
|
+
|---|---|---|---|---|
|
|
23
|
+
| WP-01 | | | | |
|
|
24
|
+
|
|
25
|
+
## Implementation sequence
|
|
26
|
+
|
|
27
|
+
| Order | Work package | Why now | Exit evidence |
|
|
28
|
+
|---|---|---|---|
|
|
29
|
+
| 1 | | | |
|
|
30
|
+
|
|
31
|
+
## Acceptance plan
|
|
32
|
+
|
|
33
|
+
| # | Scenario | Input or starting state | Observable result | Source |
|
|
34
|
+
|---|---|---|---|---|
|
|
35
|
+
| 1 | | | | |
|
|
36
|
+
|
|
37
|
+
## Provenance ledger
|
|
38
|
+
|
|
39
|
+
<!-- This is the differentiating contract of the synthesis pipeline. Every load-bearing decision should map to a confirmed spec, the product vision, or an explicit synthesis decision. -->
|
|
40
|
+
|
|
41
|
+
| Decision ID | Plan decision | Source specification or vision section | Evidence level | Conflict status |
|
|
42
|
+
|---|---|---|---|---|
|
|
43
|
+
| D-01 | | | observed fact / strong inference / open question | none / resolved / open |
|
|
44
|
+
|
|
45
|
+
## Conflict and unknowns register
|
|
46
|
+
|
|
47
|
+
| ID | Issue | Disposition or owner | Blocking work package |
|
|
48
|
+
|---|---|---|---|
|
|
49
|
+
| | | | |
|
|
50
|
+
|
|
51
|
+
## Coverage and limits
|
|
52
|
+
|
|
53
|
+
- Inspected scope:
|
|
54
|
+
- Skipped scope:
|
|
55
|
+
- Evidence basis: vision | confirmed specifications | merged-spec | explicit synthesis decisions
|
|
56
|
+
- Known blind spots:
|
|
57
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
58
|
+
|
|
59
|
+
## Validation
|
|
60
|
+
|
|
61
|
+
| # | Criterion | Result | Evidence |
|
|
62
|
+
|---|---|---|---|
|
|
63
|
+
| 1 | The plan defines coherent product scope, architecture, work packages, dependencies, and acceptance gates. | PASS / PARTIAL / FAIL | |
|
|
64
|
+
| 2 | Each load-bearing plan decision is traceable through the provenance ledger. | PASS / PARTIAL / FAIL | |
|
|
65
|
+
| 3 | Conflicts and unknowns remain visible with explicit dispositions. | PASS / PARTIAL / FAIL | |
|
|
66
|
+
| 4 | The implementation sequence identifies an executable first slice. | PASS / PARTIAL / FAIL | |
|
|
67
|
+
| 5 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
68
|
+
|
|
69
|
+
**Validated by:** [session identifier or date]
|
|
70
|
+
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Synthesis Proposal
|
|
2
|
+
|
|
3
|
+
## Vision fit summary
|
|
4
|
+
|
|
5
|
+
## Candidate specifications
|
|
6
|
+
|
|
7
|
+
<!-- The first column is the human confirmation gate. Leave every candidate unchecked when first writing this proposal. The user changes selected rows from [ ] to [x]. Keep entry references exactly as shown in the phase prompt. -->
|
|
8
|
+
|
|
9
|
+
| Confirm | Library entry | Version | Vision fit | Reusable capabilities | Likely conflicts or costs |
|
|
10
|
+
|---|---|---|---|---|---|
|
|
11
|
+
| [ ] | `namespace/entry-slug` | v1 | | | |
|
|
12
|
+
|
|
13
|
+
## Capability coverage
|
|
14
|
+
|
|
15
|
+
| Vision need | Candidate coverage | Gap or decision |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| | | |
|
|
18
|
+
|
|
19
|
+
## Recommendation
|
|
20
|
+
|
|
21
|
+
## Confirmation instructions
|
|
22
|
+
|
|
23
|
+
Review the candidates above. Change at least one `[ ]` to `[x]`, save this file, and then continue the pipeline. CodeCartographer will refuse to merge or finalize until a selection is explicitly confirmed.
|
|
24
|
+
|
|
25
|
+
## Coverage and limits
|
|
26
|
+
|
|
27
|
+
- Inspected scope:
|
|
28
|
+
- Skipped scope:
|
|
29
|
+
- Evidence basis: library metadata | vision | targeted specification reads
|
|
30
|
+
- Known blind spots:
|
|
31
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
32
|
+
|
|
33
|
+
## Validation
|
|
34
|
+
|
|
35
|
+
| # | Criterion | Result | Evidence |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| 1 | Candidate library entries are ranked against explicit vision needs. | PASS / PARTIAL / FAIL | |
|
|
38
|
+
| 2 | Inclusion benefits, likely conflicts, and missing capabilities are stated for every candidate. | PASS / PARTIAL / FAIL | |
|
|
39
|
+
| 3 | At least one entry is presented with an unchecked human-confirmation box. | PASS / PARTIAL / FAIL | |
|
|
40
|
+
| 4 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
41
|
+
|
|
42
|
+
**Validated by:** [session identifier or date]
|
|
43
|
+
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -86,6 +86,14 @@
|
|
|
86
86
|
|---|---|---|---|
|
|
87
87
|
| | | | |
|
|
88
88
|
|
|
89
|
+
## Coverage and limits
|
|
90
|
+
|
|
91
|
+
- Inspected scope:
|
|
92
|
+
- Skipped scope:
|
|
93
|
+
- Evidence basis: source inspection | tests | runtime verification | upstream findings
|
|
94
|
+
- Known blind spots:
|
|
95
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
96
|
+
|
|
89
97
|
## Open Questions
|
|
90
98
|
|
|
91
99
|
<!-- Items that are still genuinely unknown — need a runtime test, maintainer decision, or spec ruling.
|
|
@@ -121,6 +129,7 @@
|
|
|
121
129
|
| 3 | Persistent schema notes are documented. | PASS / PARTIAL / FAIL | |
|
|
122
130
|
| 4 | Compatibility hazards are documented. | PASS / PARTIAL / FAIL | |
|
|
123
131
|
| 5 | Findings are marked with evidence levels. | PASS / PARTIAL / FAIL | |
|
|
132
|
+
| 6 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
124
133
|
|
|
125
134
|
**Validated by:** [session identifier or date]
|
|
126
135
|
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -146,6 +146,14 @@
|
|
|
146
146
|
integrations that will be stubbed first.
|
|
147
147
|
-->
|
|
148
148
|
|
|
149
|
+
## Coverage and limits
|
|
150
|
+
|
|
151
|
+
- Inspected scope:
|
|
152
|
+
- Skipped scope:
|
|
153
|
+
- Evidence basis: source inspection | tests | runtime verification | upstream findings
|
|
154
|
+
- Known blind spots:
|
|
155
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
156
|
+
|
|
149
157
|
## Known Unknowns
|
|
150
158
|
|
|
151
159
|
<!-- Items that are still genuinely unknown — need a prototype, runtime test, maintainer decision,
|
|
@@ -178,6 +186,8 @@
|
|
|
178
186
|
| 3 | Protocol and persisted state expectations are stated. | PASS / PARTIAL / FAIL | |
|
|
179
187
|
| 4 | Acceptance scenarios and known unknowns are included. | PASS / PARTIAL / FAIL | |
|
|
180
188
|
| 5 | Findings are marked with evidence levels. | PASS / PARTIAL / FAIL | |
|
|
189
|
+
| 6 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
190
|
+
| 7 | Lower-level findings are deep-read only when the porting bundle identifies a gap, conflict, missing acceptance detail, or defect rationale. | PASS / PARTIAL / FAIL | |
|
|
181
191
|
|
|
182
192
|
**Validated by:** [session identifier or date]
|
|
183
193
|
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -99,6 +99,14 @@
|
|
|
99
99
|
integrations that will be stubbed first.
|
|
100
100
|
-->
|
|
101
101
|
|
|
102
|
+
## Coverage and limits
|
|
103
|
+
|
|
104
|
+
- Inspected scope:
|
|
105
|
+
- Skipped scope:
|
|
106
|
+
- Evidence basis: source inspection | tests | runtime verification | upstream findings
|
|
107
|
+
- Known blind spots:
|
|
108
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
109
|
+
|
|
102
110
|
## Known Unknowns
|
|
103
111
|
|
|
104
112
|
<!-- Items that are still genuinely unknown — need a prototype, runtime test, maintainer decision, or spec ruling.
|
|
@@ -143,6 +151,8 @@
|
|
|
143
151
|
| 3 | Protocol and persisted state expectations are stated. | PASS / PARTIAL / FAIL | |
|
|
144
152
|
| 4 | Acceptance scenarios and known unknowns are included. | PASS / PARTIAL / FAIL | |
|
|
145
153
|
| 5 | Findings are marked with evidence levels. | PASS / PARTIAL / FAIL | |
|
|
154
|
+
| 6 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
155
|
+
| 7 | Lower-level findings are deep-read only when the porting bundle identifies a gap, conflict, missing acceptance detail, or defect rationale. | PASS / PARTIAL / FAIL | |
|
|
146
156
|
|
|
147
157
|
**Validated by:** [session identifier or date]
|
|
148
158
|
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -10,6 +10,22 @@
|
|
|
10
10
|
|
|
11
11
|
<!-- One to three paragraphs summarizing the system in plain language, aimed at someone who will reimplement it. -->
|
|
12
12
|
|
|
13
|
+
## Source Index
|
|
14
|
+
|
|
15
|
+
<!--
|
|
16
|
+
This bundle is the default compression boundary for reimplementation-spec.
|
|
17
|
+
Point to the canonical upstream section for every load-bearing claim. A later
|
|
18
|
+
phase should deep-read an upstream report only when this index identifies a
|
|
19
|
+
gap, conflict, or detail that cannot be represented responsibly here.
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
| Area | Canonical upstream section | Summary carried forward | Deep-read trigger |
|
|
23
|
+
|---|---|---|---|
|
|
24
|
+
| Architecture | | | |
|
|
25
|
+
| Contracts | | | |
|
|
26
|
+
| Protocols and state | | | |
|
|
27
|
+
| Defects (if scanned) | | | |
|
|
28
|
+
|
|
13
29
|
## Layer Map With Ownership
|
|
14
30
|
|
|
15
31
|
<!--
|
|
@@ -68,9 +84,9 @@
|
|
|
68
84
|
re-list every finding. Keep it under one screen.
|
|
69
85
|
-->
|
|
70
86
|
|
|
71
|
-
| Defect ID | Source Report | One-line Description | Severity |
|
|
72
|
-
|
|
73
|
-
| | | | | fix before porting / port differently / leave behind |
|
|
87
|
+
| Defect ID | Source Report | One-line Description | Severity | Disposition | Required design consequence |
|
|
88
|
+
|-----------|---------------|----------------------|----------|-------------|-----------------------------|
|
|
89
|
+
| | | | | fix before porting / port differently / leave behind | |
|
|
74
90
|
|
|
75
91
|
## Observed Facts vs. Inferred Structure
|
|
76
92
|
|
|
@@ -101,6 +117,14 @@
|
|
|
101
117
|
|---|---|---|
|
|
102
118
|
| | | |
|
|
103
119
|
|
|
120
|
+
## Coverage and limits
|
|
121
|
+
|
|
122
|
+
- Inspected scope:
|
|
123
|
+
- Skipped scope:
|
|
124
|
+
- Evidence basis: source inspection | tests | runtime verification | upstream findings
|
|
125
|
+
- Known blind spots:
|
|
126
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
127
|
+
|
|
104
128
|
## Open Questions
|
|
105
129
|
|
|
106
130
|
<!-- Items that are still genuinely unknown — need a runtime test, maintainer decision, or spec ruling.
|
|
@@ -136,6 +160,8 @@
|
|
|
136
160
|
| 3 | Feature importance is sorted for porting. | PASS / PARTIAL / FAIL | |
|
|
137
161
|
| 4 | Known defects are referenced in the Defect Synthesis with porting recommendations (fix before porting / port differently / leave behind), or the section explicitly notes that no defect scan ran. | PASS / PARTIAL / FAIL | |
|
|
138
162
|
| 5 | Findings are marked with evidence levels. | PASS / PARTIAL / FAIL | |
|
|
163
|
+
| 6 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
164
|
+
| 7 | The Source Index makes the bundle a self-contained compression boundary and identifies targeted deep-read triggers. | PASS / PARTIAL / FAIL | |
|
|
139
165
|
|
|
140
166
|
**Validated by:** [session identifier or date]
|
|
141
167
|
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -93,6 +93,14 @@
|
|
|
93
93
|
|
|
94
94
|
---
|
|
95
95
|
|
|
96
|
+
## Coverage and limits
|
|
97
|
+
|
|
98
|
+
- Inspected scope:
|
|
99
|
+
- Skipped scope:
|
|
100
|
+
- Evidence basis: source inspection | tests | runtime verification | upstream findings
|
|
101
|
+
- Known blind spots:
|
|
102
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
103
|
+
|
|
96
104
|
## Validation
|
|
97
105
|
|
|
98
106
|
<!-- Fill in this table per workflow/VALIDATE.md. The rows below match the semantic-pass scope. -->
|
|
@@ -104,6 +112,7 @@
|
|
|
104
112
|
| 3 | Pass 5 findings cite the contract or protocol reference they violate. | PASS / PARTIAL / FAIL | |
|
|
105
113
|
| 4 | Findings are organized by pass and sorted by severity; summary tables match the detailed findings. | PASS / PARTIAL / FAIL | |
|
|
106
114
|
| 5 | Findings are marked with evidence levels. | PASS / PARTIAL / FAIL | |
|
|
115
|
+
| 6 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
107
116
|
|
|
108
117
|
**Validated by:** [session identifier or date]
|
|
109
118
|
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Product Vision
|
|
2
|
+
|
|
3
|
+
## Problem and audience
|
|
4
|
+
|
|
5
|
+
- Target audience:
|
|
6
|
+
- Problem to solve:
|
|
7
|
+
- Why existing approaches are insufficient:
|
|
8
|
+
|
|
9
|
+
## Desired outcomes
|
|
10
|
+
|
|
11
|
+
| Outcome | User-visible evidence | Priority |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| | | P0 / P1 / P2 |
|
|
14
|
+
|
|
15
|
+
## Product boundaries
|
|
16
|
+
|
|
17
|
+
### In scope
|
|
18
|
+
|
|
19
|
+
### Non-goals
|
|
20
|
+
|
|
21
|
+
## Constraints
|
|
22
|
+
|
|
23
|
+
| Constraint | Source | Consequence |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| | user-stated / inferred | |
|
|
26
|
+
|
|
27
|
+
## Success measures
|
|
28
|
+
|
|
29
|
+
| Measure | Target | How it will be observed |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| | | |
|
|
32
|
+
|
|
33
|
+
## Acceptance scenarios
|
|
34
|
+
|
|
35
|
+
| # | Actor and starting state | Action | Observable outcome |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| 1 | | | |
|
|
38
|
+
|
|
39
|
+
## Assumptions and unresolved decisions
|
|
40
|
+
|
|
41
|
+
| ID | Type | Statement | Resolution needed |
|
|
42
|
+
|---|---|---|---|
|
|
43
|
+
| | assumption / decision | | |
|
|
44
|
+
|
|
45
|
+
## Coverage and limits
|
|
46
|
+
|
|
47
|
+
- Inspected scope:
|
|
48
|
+
- Skipped scope:
|
|
49
|
+
- Evidence basis: user vision | supplied documents | inference
|
|
50
|
+
- Known blind spots:
|
|
51
|
+
- Coverage disposition: COMPLETE | PARTIAL
|
|
52
|
+
|
|
53
|
+
## Validation
|
|
54
|
+
|
|
55
|
+
| # | Criterion | Result | Evidence |
|
|
56
|
+
|---|---|---|---|
|
|
57
|
+
| 1 | The target audience, problem, outcomes, constraints, and non-goals are explicit. | PASS / PARTIAL / FAIL | |
|
|
58
|
+
| 2 | Success measures and acceptance scenarios are testable. | PASS / PARTIAL / FAIL | |
|
|
59
|
+
| 3 | Assumptions and unresolved decisions are separated from confirmed intent. | PASS / PARTIAL / FAIL | |
|
|
60
|
+
| 4 | Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots. | PASS / PARTIAL / FAIL | |
|
|
61
|
+
|
|
62
|
+
**Validated by:** [session identifier or date]
|
|
63
|
+
**Overall:** PASS / PASS WITH GAPS / FAIL
|
|
@@ -32,6 +32,7 @@ phases:
|
|
|
32
32
|
- Public surfaces are identified.
|
|
33
33
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
34
34
|
- Findings are marked with evidence levels.
|
|
35
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
35
36
|
handoff_requirements:
|
|
36
37
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
37
38
|
- Update workflow/status.yaml.
|
|
@@ -33,6 +33,7 @@ phases:
|
|
|
33
33
|
- Public surfaces are identified.
|
|
34
34
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
35
35
|
- Findings are marked with evidence levels.
|
|
36
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
36
37
|
handoff_requirements:
|
|
37
38
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
38
39
|
- Update workflow/status.yaml.
|
|
@@ -55,6 +56,7 @@ phases:
|
|
|
55
56
|
- Findings are organized by pass and sorted by severity.
|
|
56
57
|
- Summary tables are complete and counts match the detailed findings.
|
|
57
58
|
- Findings are marked with evidence levels.
|
|
59
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
58
60
|
handoff_requirements:
|
|
59
61
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
60
62
|
- Update workflow/status.yaml.
|
|
@@ -37,6 +37,7 @@ phases:
|
|
|
37
37
|
- Public surfaces are identified.
|
|
38
38
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
39
39
|
- Findings are marked with evidence levels.
|
|
40
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
40
41
|
handoff_requirements:
|
|
41
42
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
42
43
|
- Update workflow/status.yaml.
|
|
@@ -59,6 +60,7 @@ phases:
|
|
|
59
60
|
- Findings are organized by pass and sorted by severity.
|
|
60
61
|
- Summary tables are complete and counts match the detailed findings.
|
|
61
62
|
- Findings are marked with evidence levels.
|
|
63
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
62
64
|
handoff_requirements:
|
|
63
65
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
64
66
|
- Update workflow/status.yaml.
|
|
@@ -90,6 +92,7 @@ phases:
|
|
|
90
92
|
- Contract ownership is mapped back to a layer or package.
|
|
91
93
|
- A black-box acceptance list is included.
|
|
92
94
|
- Findings are marked with evidence levels.
|
|
95
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
93
96
|
handoff_requirements:
|
|
94
97
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
95
98
|
- Update workflow/status.yaml.
|
|
@@ -120,6 +123,7 @@ phases:
|
|
|
120
123
|
- Persistent schema notes are documented.
|
|
121
124
|
- Compatibility hazards are documented.
|
|
122
125
|
- Findings are marked with evidence levels.
|
|
126
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
123
127
|
handoff_requirements:
|
|
124
128
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
125
129
|
- Update workflow/status.yaml.
|
|
@@ -157,6 +161,8 @@ phases:
|
|
|
157
161
|
- Feature importance is sorted for porting.
|
|
158
162
|
- Known defects are referenced with porting recommendations (fix before porting / port differently / leave behind).
|
|
159
163
|
- Findings are marked with evidence levels.
|
|
164
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
165
|
+
- The Source Index makes the bundle a self-contained compression boundary and identifies targeted deep-read triggers.
|
|
160
166
|
handoff_requirements:
|
|
161
167
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
162
168
|
- Update workflow/status.yaml.
|
|
@@ -172,9 +178,6 @@ phases:
|
|
|
172
178
|
required_reads:
|
|
173
179
|
- GUIDE.md
|
|
174
180
|
- workflow/status.yaml
|
|
175
|
-
- findings/architecture/architecture-map.md
|
|
176
|
-
- findings/contracts/behavioral-contracts.md
|
|
177
|
-
- findings/protocols/protocols-and-state.md
|
|
178
181
|
- findings/porting/reverse-engineering-bundle.md
|
|
179
182
|
completion_criteria:
|
|
180
183
|
- Concept-level modules are defined.
|
|
@@ -182,6 +185,8 @@ phases:
|
|
|
182
185
|
- Protocol and persisted state expectations are stated.
|
|
183
186
|
- Acceptance scenarios and known unknowns are included.
|
|
184
187
|
- Findings are marked with evidence levels.
|
|
188
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
189
|
+
- Lower-level findings are deep-read only when the porting bundle identifies a gap, conflict, missing acceptance detail, or defect rationale.
|
|
185
190
|
handoff_requirements:
|
|
186
191
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
187
192
|
- Update workflow/status.yaml.
|
|
@@ -38,6 +38,7 @@ phases:
|
|
|
38
38
|
- Public surfaces are identified.
|
|
39
39
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
40
40
|
- Findings are marked with evidence levels.
|
|
41
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
41
42
|
handoff_requirements:
|
|
42
43
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
43
44
|
- Update workflow/status.yaml.
|
|
@@ -61,6 +62,7 @@ phases:
|
|
|
61
62
|
- Summary tables are complete and counts match the detailed findings.
|
|
62
63
|
- Items spotted that are actually semantic in nature are routed to defect-scan-semantic via carry_forward in workflow/status.yaml.
|
|
63
64
|
- Findings are marked with evidence levels.
|
|
65
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
64
66
|
handoff_requirements:
|
|
65
67
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
66
68
|
- Update workflow/status.yaml.
|
|
@@ -93,6 +95,7 @@ phases:
|
|
|
93
95
|
- Contract ownership is mapped back to a layer or package.
|
|
94
96
|
- A black-box acceptance list is included.
|
|
95
97
|
- Findings are marked with evidence levels.
|
|
98
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
96
99
|
handoff_requirements:
|
|
97
100
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
98
101
|
- Update workflow/status.yaml.
|
|
@@ -124,6 +127,7 @@ phases:
|
|
|
124
127
|
- Persistent schema notes are documented.
|
|
125
128
|
- Compatibility hazards are documented.
|
|
126
129
|
- Findings are marked with evidence levels.
|
|
130
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
127
131
|
handoff_requirements:
|
|
128
132
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
129
133
|
- Update workflow/status.yaml.
|
|
@@ -153,6 +157,7 @@ phases:
|
|
|
153
157
|
- Findings are organized by pass and sorted by severity; summary tables match the detailed findings.
|
|
154
158
|
- Any carry_forward entries that targeted defect-scan-semantic have been resolved or explicitly re-routed.
|
|
155
159
|
- Findings are marked with evidence levels.
|
|
160
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
156
161
|
handoff_requirements:
|
|
157
162
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
158
163
|
- Update workflow/status.yaml.
|
|
@@ -193,6 +198,8 @@ phases:
|
|
|
193
198
|
- Feature importance is sorted for porting.
|
|
194
199
|
- Defect Synthesis consolidates mechanical-defects.md and semantic-defects.md with porting recommendations (fix before porting / port differently / leave behind).
|
|
195
200
|
- Findings are marked with evidence levels.
|
|
201
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
202
|
+
- The Source Index makes the bundle a self-contained compression boundary and identifies targeted deep-read triggers.
|
|
196
203
|
handoff_requirements:
|
|
197
204
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
198
205
|
- Update workflow/status.yaml.
|
|
@@ -208,12 +215,7 @@ phases:
|
|
|
208
215
|
required_reads:
|
|
209
216
|
- GUIDE.md
|
|
210
217
|
- workflow/status.yaml
|
|
211
|
-
- findings/architecture/architecture-map.md
|
|
212
|
-
- findings/contracts/behavioral-contracts.md
|
|
213
|
-
- findings/protocols/protocols-and-state.md
|
|
214
218
|
- findings/porting/reverse-engineering-bundle.md
|
|
215
|
-
- findings/defect-scan-mechanical/mechanical-defects.md
|
|
216
|
-
- findings/defect-scan-semantic/semantic-defects.md
|
|
217
219
|
completion_criteria:
|
|
218
220
|
- Concept-level modules are defined.
|
|
219
221
|
- Required behaviors are stated.
|
|
@@ -221,6 +223,8 @@ phases:
|
|
|
221
223
|
- Acceptance scenarios and known unknowns are included.
|
|
222
224
|
- Defects identified in either scan are explicitly designed-around or noted as "left behind", with the choice cited.
|
|
223
225
|
- Findings are marked with evidence levels.
|
|
226
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
227
|
+
- Lower-level findings are deep-read only when the porting bundle identifies a gap, conflict, missing acceptance detail, or defect rationale.
|
|
224
228
|
handoff_requirements:
|
|
225
229
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
226
230
|
- Update workflow/status.yaml.
|
|
@@ -34,6 +34,7 @@ phases:
|
|
|
34
34
|
- Public surfaces are identified.
|
|
35
35
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
36
36
|
- Findings are marked with evidence levels.
|
|
37
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
37
38
|
handoff_requirements:
|
|
38
39
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
39
40
|
- Update workflow/status.yaml.
|
|
@@ -64,6 +65,7 @@ phases:
|
|
|
64
65
|
- Contract ownership is mapped back to a layer or package.
|
|
65
66
|
- A black-box acceptance list is included.
|
|
66
67
|
- Findings are marked with evidence levels.
|
|
68
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
67
69
|
handoff_requirements:
|
|
68
70
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
69
71
|
- Update workflow/status.yaml.
|
|
@@ -94,6 +96,7 @@ phases:
|
|
|
94
96
|
- Persistent schema notes are documented.
|
|
95
97
|
- Compatibility hazards are documented.
|
|
96
98
|
- Findings are marked with evidence levels.
|
|
99
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
97
100
|
handoff_requirements:
|
|
98
101
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
99
102
|
- Update workflow/status.yaml.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
workflow_name: evidence-backed-project-synthesis
|
|
2
|
+
workflow_version: 1
|
|
3
|
+
workflow_goal: Combine a product vision with confirmed library specifications into a provenance-preserving implementation plan.
|
|
4
|
+
source_location: ../
|
|
5
|
+
validation_protocol: workflow/VALIDATE.md
|
|
6
|
+
phase_order:
|
|
7
|
+
- vision-capture
|
|
8
|
+
- goal-synthesis-propose
|
|
9
|
+
- spec-merge
|
|
10
|
+
- goal-synthesis-finalize
|
|
11
|
+
phases:
|
|
12
|
+
- id: vision-capture
|
|
13
|
+
purpose: Turn the user's product intent into a bounded, testable vision without prematurely selecting source specifications.
|
|
14
|
+
skill_path: findings/vision-capture/SKILL.md
|
|
15
|
+
output_template: templates/vision.md
|
|
16
|
+
depends_on: []
|
|
17
|
+
primary_output: findings/vision-capture/vision.md
|
|
18
|
+
secondary_outputs: []
|
|
19
|
+
required_reads:
|
|
20
|
+
- GUIDE.md
|
|
21
|
+
- workflow/status.yaml
|
|
22
|
+
preflight:
|
|
23
|
+
- requires-vision-input
|
|
24
|
+
completion_criteria:
|
|
25
|
+
- The target audience, problem, outcomes, constraints, and non-goals are explicit.
|
|
26
|
+
- Success measures and acceptance scenarios are testable.
|
|
27
|
+
- Assumptions and unresolved decisions are separated from confirmed intent.
|
|
28
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
29
|
+
handoff_requirements:
|
|
30
|
+
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
31
|
+
- Write the canonical phase handoff; do not edit workflow state directly.
|
|
32
|
+
- id: goal-synthesis-propose
|
|
33
|
+
purpose: Shortlist library specifications against the vision and pause for explicit human confirmation.
|
|
34
|
+
skill_path: findings/goal-synthesis-propose/SKILL.md
|
|
35
|
+
output_template: templates/proposal.md
|
|
36
|
+
depends_on:
|
|
37
|
+
- vision-capture
|
|
38
|
+
primary_output: findings/goal-synthesis/proposal.md
|
|
39
|
+
secondary_outputs: []
|
|
40
|
+
required_reads:
|
|
41
|
+
- GUIDE.md
|
|
42
|
+
- workflow/status.yaml
|
|
43
|
+
- findings/vision-capture/vision.md
|
|
44
|
+
preflight:
|
|
45
|
+
- requires-library
|
|
46
|
+
completion_criteria:
|
|
47
|
+
- Candidate library entries are ranked against explicit vision needs.
|
|
48
|
+
- Inclusion benefits, likely conflicts, and missing capabilities are stated for every candidate.
|
|
49
|
+
- At least one entry is presented with an unchecked human-confirmation box.
|
|
50
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
51
|
+
handoff_requirements:
|
|
52
|
+
- Stop after writing the proposal; the user confirms selections by changing one or more [ ] boxes to [x].
|
|
53
|
+
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
54
|
+
- Write the canonical phase handoff; do not edit workflow state directly.
|
|
55
|
+
- id: spec-merge
|
|
56
|
+
purpose: Merge only the human-confirmed specifications into a normalized, conflict-explicit intermediate.
|
|
57
|
+
skill_path: findings/spec-merge/SKILL.md
|
|
58
|
+
output_template: templates/merged-spec.md
|
|
59
|
+
depends_on:
|
|
60
|
+
- goal-synthesis-propose
|
|
61
|
+
primary_output: findings/spec-merge/merged-spec.md
|
|
62
|
+
secondary_outputs: []
|
|
63
|
+
required_reads:
|
|
64
|
+
- GUIDE.md
|
|
65
|
+
- workflow/status.yaml
|
|
66
|
+
- findings/vision-capture/vision.md
|
|
67
|
+
- findings/goal-synthesis/proposal.md
|
|
68
|
+
preflight:
|
|
69
|
+
- requires-library
|
|
70
|
+
- requires-confirmed-proposal
|
|
71
|
+
completion_criteria:
|
|
72
|
+
- Only human-confirmed library entries are merged.
|
|
73
|
+
- Capabilities, invariants, constraints, and acceptance behavior are normalized by concept rather than copied by source structure.
|
|
74
|
+
- Conflicts, gaps, and chosen dispositions are explicit.
|
|
75
|
+
- Every load-bearing merged claim has a provenance reference.
|
|
76
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
77
|
+
handoff_requirements:
|
|
78
|
+
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
79
|
+
- Write the canonical phase handoff; do not edit workflow state directly.
|
|
80
|
+
- id: goal-synthesis-finalize
|
|
81
|
+
purpose: Transform the confirmed vision and merged specifications into an implementation-ready project plan with a provenance ledger.
|
|
82
|
+
skill_path: findings/goal-synthesis-finalize/SKILL.md
|
|
83
|
+
output_template: templates/project-plan.md
|
|
84
|
+
depends_on:
|
|
85
|
+
- spec-merge
|
|
86
|
+
primary_output: findings/goal-synthesis/project-plan.md
|
|
87
|
+
secondary_outputs: []
|
|
88
|
+
required_reads:
|
|
89
|
+
- GUIDE.md
|
|
90
|
+
- workflow/status.yaml
|
|
91
|
+
- findings/vision-capture/vision.md
|
|
92
|
+
- findings/goal-synthesis/proposal.md
|
|
93
|
+
- findings/spec-merge/merged-spec.md
|
|
94
|
+
preflight:
|
|
95
|
+
- requires-library
|
|
96
|
+
- requires-confirmed-proposal
|
|
97
|
+
completion_criteria:
|
|
98
|
+
- The plan defines coherent product scope, architecture, work packages, dependencies, and acceptance gates.
|
|
99
|
+
- Each load-bearing plan decision is traceable through the provenance ledger.
|
|
100
|
+
- Conflicts and unknowns remain visible with explicit dispositions.
|
|
101
|
+
- The implementation sequence identifies an executable first slice.
|
|
102
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
103
|
+
handoff_requirements:
|
|
104
|
+
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
105
|
+
- Write the canonical phase handoff; do not edit workflow state directly.
|
|
@@ -36,6 +36,7 @@ phases:
|
|
|
36
36
|
- Public surfaces are identified.
|
|
37
37
|
- Runtime lifecycle, concurrency model, and porting priorities are summarized.
|
|
38
38
|
- Findings are marked with evidence levels.
|
|
39
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
39
40
|
handoff_requirements:
|
|
40
41
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
41
42
|
- Update workflow/status.yaml.
|
|
@@ -67,6 +68,7 @@ phases:
|
|
|
67
68
|
- Contract ownership is mapped back to a layer or package.
|
|
68
69
|
- A black-box acceptance list is included.
|
|
69
70
|
- Findings are marked with evidence levels.
|
|
71
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
70
72
|
handoff_requirements:
|
|
71
73
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
72
74
|
- Update workflow/status.yaml.
|
|
@@ -97,6 +99,7 @@ phases:
|
|
|
97
99
|
- Persistent schema notes are documented.
|
|
98
100
|
- Compatibility hazards are documented.
|
|
99
101
|
- Findings are marked with evidence levels.
|
|
102
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
100
103
|
handoff_requirements:
|
|
101
104
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
102
105
|
- Update workflow/status.yaml.
|
|
@@ -132,6 +135,8 @@ phases:
|
|
|
132
135
|
- Portability hazards and open questions are separated from facts.
|
|
133
136
|
- Feature importance is sorted for porting.
|
|
134
137
|
- Findings are marked with evidence levels.
|
|
138
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
139
|
+
- The Source Index makes the bundle a self-contained compression boundary and identifies targeted deep-read triggers.
|
|
135
140
|
handoff_requirements:
|
|
136
141
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
137
142
|
- Update workflow/status.yaml.
|
|
@@ -147,9 +152,6 @@ phases:
|
|
|
147
152
|
required_reads:
|
|
148
153
|
- GUIDE.md
|
|
149
154
|
- workflow/status.yaml
|
|
150
|
-
- findings/architecture/architecture-map.md
|
|
151
|
-
- findings/contracts/behavioral-contracts.md
|
|
152
|
-
- findings/protocols/protocols-and-state.md
|
|
153
155
|
- findings/porting/reverse-engineering-bundle.md
|
|
154
156
|
completion_criteria:
|
|
155
157
|
- Concept-level modules are defined.
|
|
@@ -157,6 +159,8 @@ phases:
|
|
|
157
159
|
- Protocol and persisted state expectations are stated.
|
|
158
160
|
- Acceptance scenarios and known unknowns are included.
|
|
159
161
|
- Findings are marked with evidence levels.
|
|
162
|
+
- Coverage and limits name inspected scope, skipped scope, evidence basis, and blind spots.
|
|
163
|
+
- Lower-level findings are deep-read only when the porting bundle identifies a gap, conflict, missing acceptance detail, or defect rationale.
|
|
160
164
|
handoff_requirements:
|
|
161
165
|
- Run validation per workflow/VALIDATE.md. Append validation block to primary output.
|
|
162
166
|
- Update workflow/status.yaml.
|