## Documentation (20 files) - DAARION Ontology Core v1 (Agent → MicroDAO → Node → District) - User Onboarding & Identity Layer (DAIS) - Data Model UPDATE, Event Catalog, Governance & Permissions - Rooms Layer, City/MicroDAO/Agents/Nodes Interface Architecture - Helper files: ontology-summary, lifecycles, event-schemas ## Database Migration (027) - DAIS tables: dais_identities, dais_emails, dais_wallets, dais_keys - agent_assignments table for Assignment Layer - rooms table for Rooms Layer - event_outbox for NATS event delivery - New enums: agent_role, microdao_type, node_kind, node_status, etc. - Updated agents, microdaos, nodes tables with ontology fields ## Backend - DAIS service & routes (/api/v1/dais/*) - Assignment service & routes (/api/v1/assignments/*) - Domain types for DAIS and Ontology ## Frontend - Ontology types (Agent, MicroDAO, Node, DAIS, Assignments) - API clients for DAIS and Assignments - UI components: DaisProfileCard, AssignmentsPanel, OntologyBadge Non-breaking update - all existing functionality preserved.
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# DAARION Ontology — TL;DR
|
||
|
||
## 1. Основна лінія походження
|
||
|
||
`Agent → MicroDAO → Node → District`
|
||
|
||
## 2. Визначення сутностей
|
||
|
||
### Agent
|
||
|
||
* персональний або сервісний ШІ-агент;
|
||
* має DAIS-ідентичність (email + wallet + DID);
|
||
* завжди приписаний до `home_microdao_id`;
|
||
* має `role: regular | orchestrator`;
|
||
* має `service_scope: microdao | district | city`.
|
||
|
||
### MicroDAO
|
||
|
||
* мікро-спільнота, команда або проєкт;
|
||
* типи: `root`, `standard`, `district`;
|
||
* має `primary_orchestrator_agent_id`;
|
||
* може мати ноди;
|
||
* може бути підвищена до District.
|
||
|
||
### Node
|
||
|
||
* реальний пристрій (smartphone, laptop, edge, datacenter, iot, gpu-cluster);
|
||
* завжди належить MicroDAO (`microdao_id`);
|
||
* має `capabilities`, `status`.
|
||
|
||
### District
|
||
|
||
* MicroDAO з `type = district`;
|
||
* має розширені повноваження для підлеглих MicroDAO;
|
||
* керує підмережами нод.
|
||
|
||
## 3. Assignment Layer
|
||
|
||
Описує, де агент *працює*, не змінюючи приписку.
|
||
|
||
Поля:
|
||
|
||
* `agent_id`
|
||
* `target_microdao_id`
|
||
* `scope` (`microdao` \| `district` \| `city`)
|
||
* `role` (`advisor` \| `ops` \| `security` \| `mentor` \| `core-team`)
|
||
|