## 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.
14 lines
396 B
Markdown
14 lines
396 B
Markdown
# Node Lifecycle
|
|
|
|
1. Orchestrator triggers "Register Node"
|
|
2. Device generates DAIS node-auth key
|
|
3. MicroDAO verifies key ownership
|
|
4. `node.registered` event emitted
|
|
5. Node enters "provisioning" state
|
|
6. Agent workers start connecting
|
|
7. Node becomes "active"
|
|
8. Node can be updated (capabilities change)
|
|
9. Node enters "draining" before shutdown
|
|
10. Node becomes "retired"
|
|
|