@a5c-ai/krate 5.0.1-staging.f672fe79b
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/Dockerfile +29 -0
- package/README.md +183 -0
- package/bin/krate-demo.mjs +23 -0
- package/bin/krate-server.mjs +14 -0
- package/dist/krate-controller-ui.json +2407 -0
- package/dist/krate-lifecycle.json +201 -0
- package/dist/krate-runtime-snapshot.json +2955 -0
- package/dist/krate-summary.json +687 -0
- package/docs/README.md +61 -0
- package/docs/agents/README.md +83 -0
- package/docs/agents/acceptance-test-matrix.md +193 -0
- package/docs/agents/agent-mux-adapter-contract.md +167 -0
- package/docs/agents/agent-mux-source-map.md +310 -0
- package/docs/agents/agent-run-memory-import-spec.md +256 -0
- package/docs/agents/agent-stack-management-spec.md +421 -0
- package/docs/agents/api-contract-spec.md +309 -0
- package/docs/agents/artifacts-writeback-spec.md +145 -0
- package/docs/agents/chart-packaging-spec.md +128 -0
- package/docs/agents/ci-orchestration-spec.md +140 -0
- package/docs/agents/context-assembly-spec.md +219 -0
- package/docs/agents/controller-reconciliation-spec.md +255 -0
- package/docs/agents/crd-schema-spec.md +315 -0
- package/docs/agents/decision-log-open-questions.md +169 -0
- package/docs/agents/developer-implementation-checklist.md +329 -0
- package/docs/agents/dispatching-design.md +262 -0
- package/docs/agents/glossary.md +66 -0
- package/docs/agents/implementation-blueprint.md +324 -0
- package/docs/agents/implementation-rollout-slices.md +251 -0
- package/docs/agents/memory-context-integration-spec.md +194 -0
- package/docs/agents/memory-ontology-schema-spec.md +253 -0
- package/docs/agents/memory-operations-runbook.md +121 -0
- package/docs/agents/mvp-vertical-slice-spec.md +146 -0
- package/docs/agents/observability-audit-spec.md +265 -0
- package/docs/agents/operator-runbook.md +174 -0
- package/docs/agents/org-memory-api-payload-examples.md +333 -0
- package/docs/agents/org-memory-controller-sequence-spec.md +181 -0
- package/docs/agents/org-memory-e2e-fixture-plan.md +161 -0
- package/docs/agents/org-memory-ui-implementation-map.md +114 -0
- package/docs/agents/org-memory-vertical-slice-spec.md +168 -0
- package/docs/agents/org-resource-model-delta-spec.md +111 -0
- package/docs/agents/org-route-resource-model-spec.md +183 -0
- package/docs/agents/org-scoping-namespace-spec.md +114 -0
- package/docs/agents/rbac-secrets-management-spec.md +406 -0
- package/docs/agents/repository-page-integration-spec.md +255 -0
- package/docs/agents/resource-contract-examples.md +808 -0
- package/docs/agents/resource-relationship-map.md +190 -0
- package/docs/agents/security-threat-model.md +188 -0
- package/docs/agents/shared-memory-company-brain-spec.md +358 -0
- package/docs/agents/storage-migration-spec.md +168 -0
- package/docs/agents/subagent-orchestration-spec.md +152 -0
- package/docs/agents/system-overview.md +88 -0
- package/docs/agents/tools-mcp-skills-spec.md +189 -0
- package/docs/agents/traceability-matrix.md +79 -0
- package/docs/agents/ui-flow-spec.md +211 -0
- package/docs/agents/ui-ux-system-spec.md +426 -0
- package/docs/agents/workspace-lifecycle-spec.md +166 -0
- package/docs/architecture-spec.md +78 -0
- package/docs/components/control-plane.md +78 -0
- package/docs/components/data-plane.md +69 -0
- package/docs/components/hooks-events.md +67 -0
- package/docs/components/identity-rbac-policy.md +73 -0
- package/docs/components/kubevela-oam.md +70 -0
- package/docs/components/operations-publishing.md +81 -0
- package/docs/components/runners-ci.md +66 -0
- package/docs/components/web-ui.md +94 -0
- package/docs/external/README.md +47 -0
- package/docs/external/bidirectional-sync-design.md +134 -0
- package/docs/external/cicd-interface.md +64 -0
- package/docs/external/external-backend-controllers.md +170 -0
- package/docs/external/external-backend-crds.md +234 -0
- package/docs/external/external-backend-ui-spec.md +151 -0
- package/docs/external/external-backend-ux-flows.md +115 -0
- package/docs/external/external-object-mapping.md +125 -0
- package/docs/external/git-forge-interface.md +68 -0
- package/docs/external/github-integration-design.md +151 -0
- package/docs/external/issue-tracking-interface.md +66 -0
- package/docs/external/provider-capability-manifests.md +204 -0
- package/docs/external/provider-catalog.md +139 -0
- package/docs/external/provider-rollout-testing.md +78 -0
- package/docs/external/research-results.md +48 -0
- package/docs/external/security-auth-permissions.md +81 -0
- package/docs/external/sync-state-machines.md +108 -0
- package/docs/external/unified-external-backend-model.md +107 -0
- package/docs/external/user-facing-changes.md +67 -0
- package/docs/gaps.md +161 -0
- package/docs/install.md +94 -0
- package/docs/krate-design.md +334 -0
- package/docs/local-minikube.md +55 -0
- package/docs/ontology/README.md +32 -0
- package/docs/ontology/bounded-contexts.md +29 -0
- package/docs/ontology/events-and-hooks.md +32 -0
- package/docs/ontology/oam-kubevela.md +32 -0
- package/docs/ontology/operations-and-release.md +25 -0
- package/docs/ontology/personas-and-actors.md +32 -0
- package/docs/ontology/policies-and-invariants.md +33 -0
- package/docs/ontology/problem-space.md +30 -0
- package/docs/ontology/resource-contracts.md +40 -0
- package/docs/ontology/resource-taxonomy.md +42 -0
- package/docs/ontology/runners-and-ci.md +29 -0
- package/docs/ontology/solution-space.md +24 -0
- package/docs/ontology/storage-and-data-boundaries.md +29 -0
- package/docs/ontology/validation-matrix.md +24 -0
- package/docs/ontology/web-ui-excellent-flows.md +32 -0
- package/docs/ontology/workflows.md +39 -0
- package/docs/ontology/world.md +35 -0
- package/docs/product-requirements.md +62 -0
- package/docs/roadmap-mvp.md +87 -0
- package/docs/system-requirements.md +90 -0
- package/docs/tests/README.md +53 -0
- package/docs/tests/agent-qa-plan.md +63 -0
- package/docs/tests/browser-ui-tests.md +62 -0
- package/docs/tests/ci-quality-gates.md +48 -0
- package/docs/tests/coverage-model.md +64 -0
- package/docs/tests/e2e-scenario-tests.md +53 -0
- package/docs/tests/fixtures-test-data.md +63 -0
- package/docs/tests/observability-reliability-tests.md +54 -0
- package/docs/tests/product-test-matrix.md +145 -0
- package/docs/tests/qa-adoption-roadmap.md +130 -0
- package/docs/tests/qa-automation-plan.md +101 -0
- package/docs/tests/security-compliance-tests.md +57 -0
- package/docs/tests/test-framework-tools.md +88 -0
- package/docs/tests/test-suite-layout.md +121 -0
- package/docs/tests/unit-integration-tests.md +48 -0
- package/docs/todo-kyverno +714 -0
- package/docs/user-stories.md +78 -0
- package/examples/minikube-demo.yaml +190 -0
- package/examples/oam-application.yaml +23 -0
- package/examples/policy-kyverno-pr-title.yaml +18 -0
- package/package.json +63 -0
- package/scripts/build.mjs +29 -0
- package/scripts/setup-minikube.mjs +65 -0
- package/scripts/smoke.mjs +37 -0
- package/scripts/validate-doc-coverage.mjs +152 -0
- package/scripts/validate-package.mjs +93 -0
- package/scripts/validate-ui.mjs +207 -0
- package/src/agent-approval-controller.js +123 -0
- package/src/agent-context-bundles.js +242 -0
- package/src/agent-dispatch-controller.js +86 -0
- package/src/agent-mux-client.js +280 -0
- package/src/agent-permission-review.js +162 -0
- package/src/agent-stack-controller.js +296 -0
- package/src/agent-trigger-controller.js +108 -0
- package/src/api-controller.js +206 -0
- package/src/argocd-gitops.js +43 -0
- package/src/auth.js +265 -0
- package/src/component-catalog.js +41 -0
- package/src/control-plane.js +136 -0
- package/src/controller-client.js +38 -0
- package/src/controller-ui.js +538 -0
- package/src/data-plane.js +178 -0
- package/src/gitea-backend.js +95 -0
- package/src/handoff.js +98 -0
- package/src/hooks-events.js +63 -0
- package/src/http-server.js +151 -0
- package/src/identity-policy.js +86 -0
- package/src/index.js +30 -0
- package/src/kubernetes-controller.js +812 -0
- package/src/kubernetes-resource-gateway.js +48 -0
- package/src/operations.js +112 -0
- package/src/resource-model.js +203 -0
- package/src/runners-ci.js +48 -0
- package/src/runtime.js +196 -0
- package/src/web-ui.js +40 -0
- package/tests/agent-approval-controller.test.js +173 -0
- package/tests/agent-context-bundles.test.js +278 -0
- package/tests/agent-dispatch-controller.test.js +176 -0
- package/tests/agent-mux-client.test.js +204 -0
- package/tests/agent-permission-review.test.js +209 -0
- package/tests/agent-resources.test.js +212 -0
- package/tests/agent-stack-controller.test.js +221 -0
- package/tests/agent-trigger-controller.test.js +211 -0
- package/tests/deployment.test.js +395 -0
- package/tests/e2e/lifecycle.test.js +117 -0
- package/tests/krate.test.js +727 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"project": "Krate",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"generatedAt": "2026-05-11T20:52:22.923Z",
|
|
5
|
+
"status": "ready-for-local-development",
|
|
6
|
+
"components": [
|
|
7
|
+
{
|
|
8
|
+
"id": "control-plane",
|
|
9
|
+
"title": "Control Plane",
|
|
10
|
+
"area": "api",
|
|
11
|
+
"resources": [
|
|
12
|
+
"Repository",
|
|
13
|
+
"BranchProtection",
|
|
14
|
+
"RefPolicy"
|
|
15
|
+
],
|
|
16
|
+
"evidence": [
|
|
17
|
+
"src/control-plane.js",
|
|
18
|
+
"charts/krate/crds"
|
|
19
|
+
],
|
|
20
|
+
"implemented": true,
|
|
21
|
+
"resourceCount": 3,
|
|
22
|
+
"docs": "docs/components/control-plane.md"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "data-plane",
|
|
26
|
+
"title": "Repository Data Plane",
|
|
27
|
+
"area": "git",
|
|
28
|
+
"resources": [
|
|
29
|
+
"Repository"
|
|
30
|
+
],
|
|
31
|
+
"evidence": [
|
|
32
|
+
"src/data-plane.js",
|
|
33
|
+
"src/gitea-backend.js",
|
|
34
|
+
"charts/krate/templates/gitea.yaml"
|
|
35
|
+
],
|
|
36
|
+
"implemented": true,
|
|
37
|
+
"resourceCount": 1,
|
|
38
|
+
"docs": "docs/components/data-plane.md"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "identity-policy",
|
|
42
|
+
"title": "Identity, RBAC, and Policy",
|
|
43
|
+
"area": "security",
|
|
44
|
+
"resources": [
|
|
45
|
+
"BranchProtection",
|
|
46
|
+
"RefPolicy"
|
|
47
|
+
],
|
|
48
|
+
"evidence": [
|
|
49
|
+
"src/identity-policy.js",
|
|
50
|
+
"examples/policy-kyverno-pr-title.yaml"
|
|
51
|
+
],
|
|
52
|
+
"implemented": true,
|
|
53
|
+
"resourceCount": 2,
|
|
54
|
+
"docs": "docs/components/identity-policy.md"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "runners-ci",
|
|
58
|
+
"title": "Runners and CI",
|
|
59
|
+
"area": "automation",
|
|
60
|
+
"resources": [
|
|
61
|
+
"RunnerPool",
|
|
62
|
+
"Pipeline",
|
|
63
|
+
"Job"
|
|
64
|
+
],
|
|
65
|
+
"evidence": [
|
|
66
|
+
"src/runners-ci.js",
|
|
67
|
+
"docs/components/runners-ci.md"
|
|
68
|
+
],
|
|
69
|
+
"implemented": true,
|
|
70
|
+
"resourceCount": 3,
|
|
71
|
+
"docs": "docs/components/runners-ci.md"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "hooks-events",
|
|
75
|
+
"title": "Hooks and Events",
|
|
76
|
+
"area": "integrations",
|
|
77
|
+
"resources": [
|
|
78
|
+
"WebhookSubscription",
|
|
79
|
+
"WebhookDelivery"
|
|
80
|
+
],
|
|
81
|
+
"evidence": [
|
|
82
|
+
"src/hooks-events.js",
|
|
83
|
+
"docs/components/hooks-events.md"
|
|
84
|
+
],
|
|
85
|
+
"implemented": true,
|
|
86
|
+
"resourceCount": 2,
|
|
87
|
+
"docs": "docs/components/hooks-events.md"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "operations-publishing",
|
|
91
|
+
"title": "Operations and Publishing",
|
|
92
|
+
"area": "release",
|
|
93
|
+
"resources": [
|
|
94
|
+
"APIService",
|
|
95
|
+
"Deployment"
|
|
96
|
+
],
|
|
97
|
+
"evidence": [
|
|
98
|
+
"src/operations.js",
|
|
99
|
+
"charts/krate",
|
|
100
|
+
"scripts/setup-minikube.mjs"
|
|
101
|
+
],
|
|
102
|
+
"implemented": true,
|
|
103
|
+
"resourceCount": 0,
|
|
104
|
+
"docs": "docs/components/operations-publishing.md"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "web-ui",
|
|
108
|
+
"title": "Web UI",
|
|
109
|
+
"area": "experience",
|
|
110
|
+
"resources": [
|
|
111
|
+
"View"
|
|
112
|
+
],
|
|
113
|
+
"evidence": [
|
|
114
|
+
"src/web-ui.js",
|
|
115
|
+
"public/index.html"
|
|
116
|
+
],
|
|
117
|
+
"implemented": true,
|
|
118
|
+
"resourceCount": 1,
|
|
119
|
+
"docs": "docs/components/web-ui.md"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"resources": {
|
|
123
|
+
"repository": "Repository",
|
|
124
|
+
"branchProtection": "BranchProtection",
|
|
125
|
+
"refPolicy": "RefPolicy",
|
|
126
|
+
"runnerPool": "RunnerPool",
|
|
127
|
+
"subscription": "WebhookSubscription",
|
|
128
|
+
"pullRequest": "PullRequest",
|
|
129
|
+
"pipelineRun": "Pipeline",
|
|
130
|
+
"delivery": "WebhookDelivery",
|
|
131
|
+
"replay": "WebhookDelivery",
|
|
132
|
+
"triageView": "View"
|
|
133
|
+
},
|
|
134
|
+
"storage": {
|
|
135
|
+
"etcd": [
|
|
136
|
+
"Repository",
|
|
137
|
+
"BranchProtection",
|
|
138
|
+
"RefPolicy",
|
|
139
|
+
"RunnerPool",
|
|
140
|
+
"WebhookSubscription",
|
|
141
|
+
"View"
|
|
142
|
+
],
|
|
143
|
+
"postgres": [
|
|
144
|
+
"PullRequest",
|
|
145
|
+
"Pipeline",
|
|
146
|
+
"Job",
|
|
147
|
+
"Job",
|
|
148
|
+
"WebhookDelivery",
|
|
149
|
+
"WebhookDelivery"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"flows": [
|
|
153
|
+
"Open and review a PR",
|
|
154
|
+
"Debug a failing run",
|
|
155
|
+
"Configure a runner pool",
|
|
156
|
+
"Add a webhook and verify it works",
|
|
157
|
+
"Write a PR policy with audit-to-enforce rollout",
|
|
158
|
+
"Cross-repo triage with saved filters"
|
|
159
|
+
],
|
|
160
|
+
"operations": {
|
|
161
|
+
"chart": "charts/krate",
|
|
162
|
+
"setup": "scripts/setup-minikube.mjs",
|
|
163
|
+
"releaseGates": [
|
|
164
|
+
"build",
|
|
165
|
+
"docs and ontology coverage",
|
|
166
|
+
"unit acceptance tests",
|
|
167
|
+
"e2e package lifecycle tests",
|
|
168
|
+
"package validation",
|
|
169
|
+
"minikube dry-run setup",
|
|
170
|
+
"smoke flow",
|
|
171
|
+
"backup restore validation",
|
|
172
|
+
"known limitations reviewed"
|
|
173
|
+
],
|
|
174
|
+
"observability": {
|
|
175
|
+
"metrics": [
|
|
176
|
+
"api_request_latency",
|
|
177
|
+
"postgres_aggregate_lag",
|
|
178
|
+
"gitea_receive_pack_latency",
|
|
179
|
+
"runner_queue_depth",
|
|
180
|
+
"webhook_delivery_phase",
|
|
181
|
+
"admission_denials"
|
|
182
|
+
],
|
|
183
|
+
"logs": [
|
|
184
|
+
"control-plane audit",
|
|
185
|
+
"gitea access",
|
|
186
|
+
"runner job",
|
|
187
|
+
"webhook dispatcher",
|
|
188
|
+
"controller reconcile"
|
|
189
|
+
],
|
|
190
|
+
"alerts": [
|
|
191
|
+
"APIService unavailable",
|
|
192
|
+
"Postgres unavailable",
|
|
193
|
+
"repository service unavailable",
|
|
194
|
+
"runner saturation",
|
|
195
|
+
"webhook failure burst",
|
|
196
|
+
"backup validation failed"
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"validation": []
|
|
201
|
+
}
|