chore: publish clean community baseline
Deploy / deploy (push) Successful in 2m44s
CI / Rust Checks (push) Successful in 5m31s
CI / UI Checks (push) Successful in 5s
CI / Deployment Manifests (push) Successful in 2s
CI / Frontend E2E (push) Successful in 4m24s

This commit is contained in:
github-ops
2026-06-17 06:15:46 +00:00
commit ba29ac7b94
320 changed files with 73936 additions and 0 deletions
+65
View File
@@ -0,0 +1,65 @@
# Схема БД
Основная БД Crank Community — PostgreSQL.
## Основные таблицы
- `workspaces`
- `users`
- `user_sessions`
- `memberships`
- `invitation_tokens`
- `operations`
- `operation_versions`
- `published_operations`
- `operation_samples`
- `agents`
- `agent_versions`
- `agent_operation_bindings`
- `published_agents`
- `platform_api_keys`
- `secrets`
- `secret_versions`
- `auth_profiles`
- `invocation_logs`
- `usage_rollups`
- `yaml_import_jobs`
## Operations
`operations` хранит текущую карточку operation.
`operation_versions` хранит versioned JSON contract:
- REST target;
- schemas;
- mappings;
- execution config;
- tool description;
- samples metadata.
`published_operations` указывает на опубликованную version.
## Agents
`agents` хранит карточку agent.
`agent_versions` хранит versioned agent contract.
`agent_operation_bindings` связывает agent и published operations.
`published_agents` указывает на опубликованную version.
## Secrets
`secrets` хранит metadata.
`secret_versions` хранит encrypted value.
`auth_profiles` хранит способ применения secrets к REST request.
## Observability
`invocation_logs` хранит события runtime/MCP вызовов.
`usage_rollups` хранит агрегированную статистику.