@nlaprell/shipit 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.
- package/.cursor/commands/create_intent_from_issue.md +28 -0
- package/.cursor/commands/create_pr.md +28 -0
- package/.cursor/commands/dashboard.md +39 -0
- package/.cursor/commands/deploy.md +152 -0
- package/.cursor/commands/drift_check.md +36 -0
- package/.cursor/commands/fix.md +39 -0
- package/.cursor/commands/generate_release_plan.md +31 -0
- package/.cursor/commands/generate_roadmap.md +38 -0
- package/.cursor/commands/help.md +37 -0
- package/.cursor/commands/init_project.md +26 -0
- package/.cursor/commands/kill.md +72 -0
- package/.cursor/commands/new_intent.md +68 -0
- package/.cursor/commands/pr.md +77 -0
- package/.cursor/commands/revert-plan.md +58 -0
- package/.cursor/commands/risk.md +64 -0
- package/.cursor/commands/rollback.md +43 -0
- package/.cursor/commands/scope_project.md +53 -0
- package/.cursor/commands/ship.md +345 -0
- package/.cursor/commands/status.md +71 -0
- package/.cursor/commands/suggest.md +44 -0
- package/.cursor/commands/test_shipit.md +197 -0
- package/.cursor/commands/verify.md +50 -0
- package/.cursor/rules/architect.mdc +84 -0
- package/.cursor/rules/assumption-extractor.mdc +95 -0
- package/.cursor/rules/docs.mdc +66 -0
- package/.cursor/rules/implementer.mdc +112 -0
- package/.cursor/rules/pm.mdc +136 -0
- package/.cursor/rules/qa.mdc +97 -0
- package/.cursor/rules/security.mdc +90 -0
- package/.cursor/rules/steward.mdc +99 -0
- package/.cursor/rules/test-runner.mdc +196 -0
- package/AGENTS.md +121 -0
- package/README.md +264 -0
- package/_system/architecture/CANON.md +159 -0
- package/_system/architecture/invariants.yml +87 -0
- package/_system/architecture/project-schema.json +98 -0
- package/_system/architecture/workflow-state-layout.md +68 -0
- package/_system/artifacts/SYSTEM_STATE.md +43 -0
- package/_system/artifacts/confidence-calibration.json +16 -0
- package/_system/artifacts/dependencies.md +46 -0
- package/_system/artifacts/framework-files-manifest.json +179 -0
- package/_system/artifacts/usage.json +1 -0
- package/_system/behaviors/DO_RELEASE.md +371 -0
- package/_system/behaviors/DO_RELEASE_AI.md +329 -0
- package/_system/behaviors/PREPARE_RELEASE.md +373 -0
- package/_system/behaviors/PREPARE_RELEASE_AI.md +234 -0
- package/_system/behaviors/WORK_ROOT_PLATFORM_ISSUES.md +140 -0
- package/_system/behaviors/WORK_TEST_PLAN_ISSUES.md +380 -0
- package/_system/do-not-repeat/abandoned-designs.md +18 -0
- package/_system/do-not-repeat/bad-patterns.md +19 -0
- package/_system/do-not-repeat/failed-experiments.md +18 -0
- package/_system/do-not-repeat/rejected-libraries.md +19 -0
- package/_system/drift/baselines.md +49 -0
- package/_system/drift/metrics.md +33 -0
- package/_system/golden-data/.gitkeep +0 -0
- package/_system/golden-data/README.md +47 -0
- package/_system/reports/mutation/mutation.html +492 -0
- package/_system/security/audit-allowlist.json +4 -0
- package/bin/create-shipit-app +29 -0
- package/bin/shipit +183 -0
- package/cli/src/commands/check.js +82 -0
- package/cli/src/commands/create.js +195 -0
- package/cli/src/commands/init.js +267 -0
- package/cli/src/commands/upgrade.js +196 -0
- package/cli/src/utils/config.js +27 -0
- package/cli/src/utils/file-copy.js +144 -0
- package/cli/src/utils/gitignore-merge.js +44 -0
- package/cli/src/utils/manifest.js +105 -0
- package/cli/src/utils/package-json-merge.js +163 -0
- package/cli/src/utils/project-json-merge.js +57 -0
- package/cli/src/utils/prompts.js +30 -0
- package/cli/src/utils/stack-detection.js +56 -0
- package/cli/src/utils/stack-files.js +364 -0
- package/cli/src/utils/upgrade-backup.js +159 -0
- package/cli/src/utils/version.js +64 -0
- package/dashboard-app/README.md +73 -0
- package/dashboard-app/eslint.config.js +23 -0
- package/dashboard-app/index.html +13 -0
- package/dashboard-app/package.json +30 -0
- package/dashboard-app/pnpm-lock.yaml +2721 -0
- package/dashboard-app/public/dashboard.json +66 -0
- package/dashboard-app/public/vite.svg +1 -0
- package/dashboard-app/src/App.css +141 -0
- package/dashboard-app/src/App.tsx +155 -0
- package/dashboard-app/src/assets/react.svg +1 -0
- package/dashboard-app/src/index.css +68 -0
- package/dashboard-app/src/main.tsx +10 -0
- package/dashboard-app/tsconfig.app.json +28 -0
- package/dashboard-app/tsconfig.json +4 -0
- package/dashboard-app/tsconfig.node.json +26 -0
- package/dashboard-app/vite.config.ts +7 -0
- package/package.json +116 -0
- package/scripts/README.md +70 -0
- package/scripts/audit-check.sh +125 -0
- package/scripts/calibration-report.sh +198 -0
- package/scripts/check-readiness.sh +155 -0
- package/scripts/collect-metrics.sh +116 -0
- package/scripts/command-manifest.yml +131 -0
- package/scripts/create-test-plan-issue.sh +110 -0
- package/scripts/dashboard-start.sh +16 -0
- package/scripts/deploy.sh +170 -0
- package/scripts/drift-check.sh +93 -0
- package/scripts/execute-rollback.sh +177 -0
- package/scripts/export-dashboard-json.js +208 -0
- package/scripts/fix-intents.sh +239 -0
- package/scripts/generate-dashboard.sh +136 -0
- package/scripts/generate-docs.sh +279 -0
- package/scripts/generate-project-context.sh +142 -0
- package/scripts/generate-release-plan.sh +443 -0
- package/scripts/generate-roadmap.sh +189 -0
- package/scripts/generate-system-state.sh +95 -0
- package/scripts/gh/create-intent-from-issue.sh +82 -0
- package/scripts/gh/create-issue-from-intent.sh +59 -0
- package/scripts/gh/create-pr.sh +41 -0
- package/scripts/gh/link-issue.sh +44 -0
- package/scripts/gh/on-ship-update-issue.sh +42 -0
- package/scripts/headless/README.md +8 -0
- package/scripts/headless/call-llm.js +109 -0
- package/scripts/headless/run-phase.sh +99 -0
- package/scripts/help.sh +271 -0
- package/scripts/init-project.sh +976 -0
- package/scripts/kill-intent.sh +125 -0
- package/scripts/lib/common.sh +29 -0
- package/scripts/lib/intent.sh +61 -0
- package/scripts/lib/progress.sh +57 -0
- package/scripts/lib/suggest-next.sh +131 -0
- package/scripts/lib/validate-intents.sh +240 -0
- package/scripts/lib/verify-outputs.sh +55 -0
- package/scripts/lib/workflow_state.sh +201 -0
- package/scripts/new-intent.sh +271 -0
- package/scripts/publish-npm.sh +28 -0
- package/scripts/scope-project.sh +380 -0
- package/scripts/setup-worktrees.sh +125 -0
- package/scripts/status.sh +278 -0
- package/scripts/suggest.sh +173 -0
- package/scripts/test-headless.sh +47 -0
- package/scripts/test-shipit.sh +52 -0
- package/scripts/test-workflow-state.sh +49 -0
- package/scripts/usage-report.sh +47 -0
- package/scripts/usage.sh +58 -0
- package/scripts/validate-cursor.sh +151 -0
- package/scripts/validate-project.sh +71 -0
- package/scripts/validate-vscode.sh +146 -0
- package/scripts/verify.sh +153 -0
- package/scripts/workflow-orchestrator.sh +97 -0
- package/scripts/workflow-templates/01_analysis.md.tpl +25 -0
- package/scripts/workflow-templates/02_plan.md.tpl +30 -0
- package/scripts/workflow-templates/03_implementation.md.tpl +25 -0
- package/scripts/workflow-templates/04_verification.md.tpl +29 -0
- package/scripts/workflow-templates/05_release_notes.md.tpl +16 -0
- package/scripts/workflow-templates/05_verification_legacy.md.tpl +6 -0
- package/scripts/workflow-templates/active.md.tpl +18 -0
- package/scripts/workflow-templates/phases.yml +39 -0
- package/stryker.conf.json +8 -0
- package/work/intent/templates/api-endpoint.md +124 -0
- package/work/intent/templates/bugfix.md +116 -0
- package/work/intent/templates/frontend-feature.md +115 -0
- package/work/intent/templates/generic.md +122 -0
- package/work/intent/templates/infra-change.md +121 -0
- package/work/intent/templates/refactor.md +116 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generated": "2026-02-10T03:14:11.365Z",
|
|
3
|
+
"projectName": "shipit",
|
|
4
|
+
"intents": {
|
|
5
|
+
"intents": [
|
|
6
|
+
{
|
|
7
|
+
"id": "F-DUMMY",
|
|
8
|
+
"status": "planned"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"counts": {
|
|
12
|
+
"planned": 1,
|
|
13
|
+
"active": 0,
|
|
14
|
+
"shipped": 0,
|
|
15
|
+
"killed": 0
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"workflow": {
|
|
19
|
+
"currentPhase": "**",
|
|
20
|
+
"activeIntent": "**",
|
|
21
|
+
"waitingForApproval": false
|
|
22
|
+
},
|
|
23
|
+
"calibration": {
|
|
24
|
+
"decisions_count": 0,
|
|
25
|
+
"message": "No calibration data"
|
|
26
|
+
},
|
|
27
|
+
"docLinks": [
|
|
28
|
+
{
|
|
29
|
+
"path": "_system/artifacts/SYSTEM_STATE.md",
|
|
30
|
+
"label": "System State"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "work/release/plan.md",
|
|
34
|
+
"label": "Release Plan"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "work/roadmap/now.md",
|
|
38
|
+
"label": "Roadmap (Now)"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "work/roadmap/next.md",
|
|
42
|
+
"label": "Roadmap (Next)"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "work/roadmap/later.md",
|
|
46
|
+
"label": "Roadmap (Later)"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "_system/drift/metrics.md",
|
|
50
|
+
"label": "Drift Metrics"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"path": "_system/artifacts/dependencies.md",
|
|
54
|
+
"label": "Dependencies"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"drift": {
|
|
58
|
+
"raw": "# Drift Metrics Report\n\nGenerated: 2026-02-04T22:05:43Z\n\n## PR Size Trend\n\nAvg files changed: 8.625\n\n## Test-to-Code Ratio\n\nTest lines: 177\nCode lines: 38\nRatio: 4.65\n\n## Dependency Growth\n\nDependencies: 0\nDevDependencies: 14\n\n## Untracked New Concepts\n\n\\_system/architecture/CANON.md\n\\_system/drift/metrics.md\ndocs/DIRECTORY_STRUCTURE.md\nexperimental/README.md\nprojects/README.md\nscripts/README.md\ntests/README.md\nwork/workflow-state/README.md\n\n## CI Performance\n\n(Manually update from CI dashboard)\n",
|
|
59
|
+
"hasMetrics": true
|
|
60
|
+
},
|
|
61
|
+
"usage": {
|
|
62
|
+
"entryCount": 0,
|
|
63
|
+
"hasUsage": false
|
|
64
|
+
},
|
|
65
|
+
"testSummary": null
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.dashboard {
|
|
2
|
+
font-family: system-ui, -apple-system, sans-serif;
|
|
3
|
+
max-width: 900px;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
padding: 1.5rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
header {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 1rem;
|
|
13
|
+
margin-bottom: 1.5rem;
|
|
14
|
+
padding-bottom: 1rem;
|
|
15
|
+
border-bottom: 1px solid #ddd;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
header h1 {
|
|
19
|
+
margin: 0;
|
|
20
|
+
font-size: 1.5rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.project {
|
|
24
|
+
color: #666;
|
|
25
|
+
font-size: 0.9rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.generated {
|
|
29
|
+
color: #999;
|
|
30
|
+
font-size: 0.85rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.refresh {
|
|
34
|
+
margin-left: auto;
|
|
35
|
+
padding: 0.35rem 0.75rem;
|
|
36
|
+
font-size: 0.9rem;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
background: #f0f0f0;
|
|
39
|
+
border: 1px solid #ccc;
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.refresh:hover {
|
|
44
|
+
background: #e5e5e5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.gate-banner {
|
|
48
|
+
background: #fff3cd;
|
|
49
|
+
border: 1px solid #ffc107;
|
|
50
|
+
border-radius: 4px;
|
|
51
|
+
padding: 0.75rem 1rem;
|
|
52
|
+
margin-bottom: 1.5rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
section {
|
|
56
|
+
margin-bottom: 1.5rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
section h2 {
|
|
60
|
+
font-size: 1.1rem;
|
|
61
|
+
margin: 0 0 0.5rem;
|
|
62
|
+
color: #333;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.intent-counts {
|
|
66
|
+
display: flex;
|
|
67
|
+
gap: 1rem;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
margin-bottom: 0.5rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.count {
|
|
73
|
+
padding: 0.25rem 0.5rem;
|
|
74
|
+
border-radius: 4px;
|
|
75
|
+
font-size: 0.9rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.count.planned { background: #e3f2fd; }
|
|
79
|
+
.count.active { background: #fff3e0; }
|
|
80
|
+
.count.shipped { background: #e8f5e9; }
|
|
81
|
+
.count.killed { background: #ffebee; }
|
|
82
|
+
|
|
83
|
+
.current-phase {
|
|
84
|
+
margin: 0.5rem 0 0;
|
|
85
|
+
font-size: 0.95rem;
|
|
86
|
+
color: #555;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.doc-links {
|
|
90
|
+
list-style: none;
|
|
91
|
+
padding: 0;
|
|
92
|
+
margin: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.doc-links li {
|
|
96
|
+
margin-bottom: 0.25rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.doc-links code {
|
|
100
|
+
background: #f5f5f5;
|
|
101
|
+
padding: 0.1rem 0.3rem;
|
|
102
|
+
border-radius: 2px;
|
|
103
|
+
font-size: 0.9rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.hint {
|
|
107
|
+
margin-top: 0.5rem;
|
|
108
|
+
font-size: 0.85rem;
|
|
109
|
+
color: #888;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.calibration p {
|
|
113
|
+
margin: 0.25rem 0;
|
|
114
|
+
font-size: 0.95rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.drift-preview {
|
|
118
|
+
background: #f5f5f5;
|
|
119
|
+
padding: 1rem;
|
|
120
|
+
border-radius: 4px;
|
|
121
|
+
font-size: 0.8rem;
|
|
122
|
+
overflow-x: auto;
|
|
123
|
+
white-space: pre-wrap;
|
|
124
|
+
max-height: 200px;
|
|
125
|
+
overflow-y: auto;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.loading, .error {
|
|
129
|
+
padding: 2rem;
|
|
130
|
+
text-align: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.error {
|
|
134
|
+
color: #c62828;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.error code {
|
|
138
|
+
background: #ffebee;
|
|
139
|
+
padding: 0.1rem 0.3rem;
|
|
140
|
+
border-radius: 2px;
|
|
141
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import './App.css';
|
|
3
|
+
|
|
4
|
+
interface DashboardData {
|
|
5
|
+
generated: string;
|
|
6
|
+
projectName: string;
|
|
7
|
+
intents: { intents: { id: string; status: string }[]; counts: Record<string, number> };
|
|
8
|
+
workflow: { currentPhase: string; activeIntent: string; waitingForApproval: boolean };
|
|
9
|
+
calibration: {
|
|
10
|
+
decisions_count?: number;
|
|
11
|
+
mae?: number;
|
|
12
|
+
brier?: number;
|
|
13
|
+
over_under?: string;
|
|
14
|
+
bins?: unknown[];
|
|
15
|
+
};
|
|
16
|
+
docLinks: { path: string; label: string }[];
|
|
17
|
+
drift: { raw?: string; hasMetrics?: boolean } | null;
|
|
18
|
+
usage: { entryCount?: number; hasUsage?: boolean } | null;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function App() {
|
|
22
|
+
const [data, setData] = useState<DashboardData | null>(null);
|
|
23
|
+
const [error, setError] = useState<string | null>(null);
|
|
24
|
+
const [loading, setLoading] = useState(true);
|
|
25
|
+
|
|
26
|
+
const loadData = async () => {
|
|
27
|
+
setLoading(true);
|
|
28
|
+
setError(null);
|
|
29
|
+
try {
|
|
30
|
+
const res = await fetch('/dashboard.json?t=' + Date.now());
|
|
31
|
+
if (!res.ok) throw new Error('Failed to load dashboard data');
|
|
32
|
+
const json = await res.json();
|
|
33
|
+
setData(json);
|
|
34
|
+
} catch (e) {
|
|
35
|
+
setError(e instanceof Error ? e.message : 'Unknown error');
|
|
36
|
+
} finally {
|
|
37
|
+
setLoading(false);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
loadData();
|
|
43
|
+
}, []);
|
|
44
|
+
|
|
45
|
+
if (loading && !data) {
|
|
46
|
+
return (
|
|
47
|
+
<div className="dashboard">
|
|
48
|
+
<header>
|
|
49
|
+
<h1>ShipIt Dashboard</h1>
|
|
50
|
+
</header>
|
|
51
|
+
<p className="loading">Loading...</p>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (error && !data) {
|
|
57
|
+
return (
|
|
58
|
+
<div className="dashboard">
|
|
59
|
+
<header>
|
|
60
|
+
<h1>ShipIt Dashboard</h1>
|
|
61
|
+
</header>
|
|
62
|
+
<p className="error">
|
|
63
|
+
{error}. Run <code>pnpm dashboard</code> from the repo root to export data first.
|
|
64
|
+
</p>
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const d = data!;
|
|
70
|
+
const counts = d.intents?.counts ?? { planned: 0, active: 0, shipped: 0, killed: 0 };
|
|
71
|
+
const workflow = d.workflow ?? {
|
|
72
|
+
currentPhase: 'none',
|
|
73
|
+
activeIntent: 'none',
|
|
74
|
+
waitingForApproval: false,
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
return (
|
|
78
|
+
<div className="dashboard">
|
|
79
|
+
<header>
|
|
80
|
+
<h1>ShipIt Dashboard</h1>
|
|
81
|
+
<span className="project">{d.projectName}</span>
|
|
82
|
+
<span className="generated">Updated: {new Date(d.generated).toLocaleString()}</span>
|
|
83
|
+
<button type="button" className="refresh" onClick={loadData} title="Refresh data">
|
|
84
|
+
Refresh
|
|
85
|
+
</button>
|
|
86
|
+
</header>
|
|
87
|
+
|
|
88
|
+
{workflow.waitingForApproval && (
|
|
89
|
+
<section className="gate-banner">
|
|
90
|
+
⏳ <strong>Waiting for approval</strong> — Human gate; check workflow state for details.
|
|
91
|
+
</section>
|
|
92
|
+
)}
|
|
93
|
+
|
|
94
|
+
<section>
|
|
95
|
+
<h2>Intents</h2>
|
|
96
|
+
<div className="intent-counts">
|
|
97
|
+
<div className="count planned">Planned: {counts.planned ?? 0}</div>
|
|
98
|
+
<div className="count active">Active: {counts.active ?? 0}</div>
|
|
99
|
+
<div className="count shipped">Shipped: {counts.shipped ?? 0}</div>
|
|
100
|
+
<div className="count killed">Killed: {counts.killed ?? 0}</div>
|
|
101
|
+
</div>
|
|
102
|
+
<p className="current-phase">
|
|
103
|
+
Current phase: <strong>{workflow.currentPhase}</strong>
|
|
104
|
+
{workflow.activeIntent !== 'none' && (
|
|
105
|
+
<>
|
|
106
|
+
{' '}
|
|
107
|
+
· Active intent: <strong>{workflow.activeIntent}</strong>
|
|
108
|
+
</>
|
|
109
|
+
)}
|
|
110
|
+
</p>
|
|
111
|
+
</section>
|
|
112
|
+
|
|
113
|
+
<section>
|
|
114
|
+
<h2>Documentation</h2>
|
|
115
|
+
<ul className="doc-links">
|
|
116
|
+
{d.docLinks?.map(({ path, label }) => (
|
|
117
|
+
<li key={path}>
|
|
118
|
+
<code>{path}</code> — {label}
|
|
119
|
+
</li>
|
|
120
|
+
))}
|
|
121
|
+
</ul>
|
|
122
|
+
<p className="hint">Open these paths in your editor or file explorer.</p>
|
|
123
|
+
</section>
|
|
124
|
+
|
|
125
|
+
<section>
|
|
126
|
+
<h2>Confidence calibration</h2>
|
|
127
|
+
{d.calibration?.decisions_count ? (
|
|
128
|
+
<div className="calibration">
|
|
129
|
+
<p>Decisions: {d.calibration.decisions_count}</p>
|
|
130
|
+
{d.calibration.mae != null && <p>MAE: {Number(d.calibration.mae).toFixed(3)}</p>}
|
|
131
|
+
{d.calibration.over_under && <p>Status: {d.calibration.over_under}</p>}
|
|
132
|
+
</div>
|
|
133
|
+
) : (
|
|
134
|
+
<p>No calibration data yet. Run /verify to record decisions.</p>
|
|
135
|
+
)}
|
|
136
|
+
</section>
|
|
137
|
+
|
|
138
|
+
{d.drift?.hasMetrics && (
|
|
139
|
+
<section>
|
|
140
|
+
<h2>Drift</h2>
|
|
141
|
+
<pre className="drift-preview">{d.drift.raw?.slice(0, 500)}</pre>
|
|
142
|
+
</section>
|
|
143
|
+
)}
|
|
144
|
+
|
|
145
|
+
{d.usage?.hasUsage && (
|
|
146
|
+
<section>
|
|
147
|
+
<h2>Usage</h2>
|
|
148
|
+
<p>Usage entries: {d.usage.entryCount}</p>
|
|
149
|
+
</section>
|
|
150
|
+
)}
|
|
151
|
+
</div>
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export default App;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
+
line-height: 1.5;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
|
|
6
|
+
color-scheme: light dark;
|
|
7
|
+
color: rgba(255, 255, 255, 0.87);
|
|
8
|
+
background-color: #242424;
|
|
9
|
+
|
|
10
|
+
font-synthesis: none;
|
|
11
|
+
text-rendering: optimizeLegibility;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
a {
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
color: #646cff;
|
|
19
|
+
text-decoration: inherit;
|
|
20
|
+
}
|
|
21
|
+
a:hover {
|
|
22
|
+
color: #535bf2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
body {
|
|
26
|
+
margin: 0;
|
|
27
|
+
display: flex;
|
|
28
|
+
place-items: center;
|
|
29
|
+
min-width: 320px;
|
|
30
|
+
min-height: 100vh;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h1 {
|
|
34
|
+
font-size: 3.2em;
|
|
35
|
+
line-height: 1.1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
button {
|
|
39
|
+
border-radius: 8px;
|
|
40
|
+
border: 1px solid transparent;
|
|
41
|
+
padding: 0.6em 1.2em;
|
|
42
|
+
font-size: 1em;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
font-family: inherit;
|
|
45
|
+
background-color: #1a1a1a;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
transition: border-color 0.25s;
|
|
48
|
+
}
|
|
49
|
+
button:hover {
|
|
50
|
+
border-color: #646cff;
|
|
51
|
+
}
|
|
52
|
+
button:focus,
|
|
53
|
+
button:focus-visible {
|
|
54
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (prefers-color-scheme: light) {
|
|
58
|
+
:root {
|
|
59
|
+
color: #213547;
|
|
60
|
+
background-color: #ffffff;
|
|
61
|
+
}
|
|
62
|
+
a:hover {
|
|
63
|
+
color: #747bff;
|
|
64
|
+
}
|
|
65
|
+
button {
|
|
66
|
+
background-color: #f9f9f9;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
+
"target": "ES2022",
|
|
5
|
+
"useDefineForClassFields": true,
|
|
6
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"types": ["vite/client"],
|
|
9
|
+
"skipLibCheck": true,
|
|
10
|
+
|
|
11
|
+
/* Bundler mode */
|
|
12
|
+
"moduleResolution": "bundler",
|
|
13
|
+
"allowImportingTsExtensions": true,
|
|
14
|
+
"verbatimModuleSyntax": true,
|
|
15
|
+
"moduleDetection": "force",
|
|
16
|
+
"noEmit": true,
|
|
17
|
+
"jsx": "react-jsx",
|
|
18
|
+
|
|
19
|
+
/* Linting */
|
|
20
|
+
"strict": true,
|
|
21
|
+
"noUnusedLocals": true,
|
|
22
|
+
"noUnusedParameters": true,
|
|
23
|
+
"erasableSyntaxOnly": true,
|
|
24
|
+
"noFallthroughCasesInSwitch": true,
|
|
25
|
+
"noUncheckedSideEffectImports": true
|
|
26
|
+
},
|
|
27
|
+
"include": ["src"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"target": "ES2023",
|
|
5
|
+
"lib": ["ES2023"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"types": ["node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["vite.config.ts"]
|
|
26
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nlaprell/shipit",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "ShipIt - AI-native Software Development Life Cycle framework",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "vitest run",
|
|
8
|
+
"test:watch": "vitest",
|
|
9
|
+
"test:coverage": "vitest run --coverage",
|
|
10
|
+
"test:cli": "bash tests/cli/run-tests.sh",
|
|
11
|
+
"test:shipit": "./scripts/test-shipit.sh",
|
|
12
|
+
"test:mutate": "stryker run",
|
|
13
|
+
"lint": "eslint . --ext .ts",
|
|
14
|
+
"typecheck": "tsc --noEmit",
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"drift-check": "./scripts/drift-check.sh",
|
|
17
|
+
"fix": "./scripts/fix-intents.sh",
|
|
18
|
+
"new-intent": "./scripts/new-intent.sh",
|
|
19
|
+
"init-project": "./scripts/init-project.sh",
|
|
20
|
+
"scope-project": "./scripts/scope-project.sh",
|
|
21
|
+
"generate-roadmap": "./scripts/generate-roadmap.sh",
|
|
22
|
+
"generate-release-plan": "./scripts/generate-release-plan.sh",
|
|
23
|
+
"validate-project": "./scripts/validate-project.sh",
|
|
24
|
+
"check-readiness": "./scripts/check-readiness.sh",
|
|
25
|
+
"deploy": "./scripts/deploy.sh",
|
|
26
|
+
"generate-docs": "./scripts/generate-docs.sh",
|
|
27
|
+
"agent-coordinator": "./experimental/agent-coordinator.sh",
|
|
28
|
+
"workflow-orchestrator": "./scripts/workflow-orchestrator.sh",
|
|
29
|
+
"headless-run-phase": "./scripts/headless/run-phase.sh",
|
|
30
|
+
"kill-intent": "./scripts/kill-intent.sh",
|
|
31
|
+
"verify": "./scripts/verify.sh",
|
|
32
|
+
"publish:npm": "./scripts/publish-npm.sh",
|
|
33
|
+
"execute-rollback": "./scripts/execute-rollback.sh",
|
|
34
|
+
"help": "./scripts/help.sh",
|
|
35
|
+
"status": "./scripts/status.sh",
|
|
36
|
+
"suggest": "./scripts/suggest.sh",
|
|
37
|
+
"generate-context": "./scripts/generate-project-context.sh",
|
|
38
|
+
"generate-dashboard": "./scripts/generate-dashboard.sh",
|
|
39
|
+
"validate-cursor": "./scripts/validate-cursor.sh",
|
|
40
|
+
"validate-vscode": "./scripts/validate-vscode.sh",
|
|
41
|
+
"collect-metrics": "./scripts/collect-metrics.sh",
|
|
42
|
+
"generate-system-state": "./scripts/generate-system-state.sh",
|
|
43
|
+
"gh-create-issue": "./scripts/gh/create-issue-from-intent.sh",
|
|
44
|
+
"gh-link-issue": "./scripts/gh/link-issue.sh",
|
|
45
|
+
"gh-create-pr": "./scripts/gh/create-pr.sh",
|
|
46
|
+
"on-ship-update-issue": "./scripts/gh/on-ship-update-issue.sh",
|
|
47
|
+
"create-intent-from-issue": "./scripts/gh/create-intent-from-issue.sh",
|
|
48
|
+
"usage-record": "./scripts/usage.sh",
|
|
49
|
+
"usage-report": "./scripts/usage-report.sh",
|
|
50
|
+
"calibration-report": "./scripts/calibration-report.sh",
|
|
51
|
+
"export-dashboard": "node scripts/export-dashboard-json.js",
|
|
52
|
+
"dashboard": "./scripts/dashboard-start.sh",
|
|
53
|
+
"prepare": "husky install"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"sdlc",
|
|
57
|
+
"ai",
|
|
58
|
+
"agents",
|
|
59
|
+
"development"
|
|
60
|
+
],
|
|
61
|
+
"author": "",
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@stryker-mutator/core": "^8.0.0",
|
|
65
|
+
"@stryker-mutator/vitest-runner": "^8.0.0",
|
|
66
|
+
"@types/node": "^20.10.0",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
68
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
69
|
+
"@vitest/coverage-v8": "^1.0.4",
|
|
70
|
+
"eslint": "^8.56.0",
|
|
71
|
+
"fast-check": "^3.15.0",
|
|
72
|
+
"husky": "^8.0.3",
|
|
73
|
+
"lint-staged": "^15.2.0",
|
|
74
|
+
"prettier": "^3.1.1",
|
|
75
|
+
"typescript": "^5.3.3",
|
|
76
|
+
"vitest": "^1.0.4",
|
|
77
|
+
"yaml": "^2.3.4"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"commander": "^14.0.3",
|
|
81
|
+
"fs-extra": "^11.3.3"
|
|
82
|
+
},
|
|
83
|
+
"bin": {
|
|
84
|
+
"shipit": "bin/shipit",
|
|
85
|
+
"create-shipit-app": "bin/create-shipit-app"
|
|
86
|
+
},
|
|
87
|
+
"files": [
|
|
88
|
+
"bin/",
|
|
89
|
+
"cli/",
|
|
90
|
+
"_system/",
|
|
91
|
+
".cursor/",
|
|
92
|
+
"scripts/",
|
|
93
|
+
"work/intent/templates/",
|
|
94
|
+
"dashboard-app/",
|
|
95
|
+
"AGENTS.md",
|
|
96
|
+
"stryker.conf.json"
|
|
97
|
+
],
|
|
98
|
+
"repository": {
|
|
99
|
+
"type": "git",
|
|
100
|
+
"url": "git+https://github.com/NJLaPrell/ShipIt.git"
|
|
101
|
+
},
|
|
102
|
+
"homepage": "https://github.com/NJLaPrell/ShipIt#readme",
|
|
103
|
+
"bugs": {
|
|
104
|
+
"url": "https://github.com/NJLaPrell/ShipIt/issues"
|
|
105
|
+
},
|
|
106
|
+
"engines": {
|
|
107
|
+
"node": ">=20.0.0"
|
|
108
|
+
},
|
|
109
|
+
"pnpm": {
|
|
110
|
+
"overrides": {
|
|
111
|
+
"esbuild": "0.25.0",
|
|
112
|
+
"tmp": "0.2.4"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"packageManager": "pnpm@10.11.0"
|
|
116
|
+
}
|