htm 0.0.32 → 0.1.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.
- checksums.yaml +4 -4
- data/.architecture/decisions/adrs/005-rag-based-retrieval-with-hybrid-search.md +4 -0
- data/.architecture/decisions/adrs/017-bitemporal-event-time.md +78 -0
- data/.architecture/decisions/adrs/018-memory-timelines-and-node-links.md +64 -0
- data/.architecture/decisions/adrs/019-epistemic-status.md +66 -0
- data/.claude.json +11 -0
- data/.envrc +9 -7
- data/.irbrc +14 -14
- data/.reek.yml +104 -0
- data/.rubocop.yml +0 -11
- data/.ruby-version +1 -0
- data/CHANGELOG.md +160 -98
- data/README.md +22 -17
- data/SETUP.md +49 -46
- data/_typos.toml +17 -0
- data/bin/htm +18 -0
- data/db/migrate/00010_convert_embedding_to_sparsevec.rb +47 -0
- data/db/migrate/00011_strip_frontmatter_from_chunks.rb +66 -0
- data/db/migrate/00012_add_event_time_to_nodes.rb +110 -0
- data/db/migrate/00013_create_node_links.rb +158 -0
- data/db/migrate/00014_add_epistemic_status.rb +110 -0
- data/db/schema.sql +238 -7
- data/db/seed_data/README.md +11 -11
- data/db/seeds.rb +11 -11
- data/docs/api/database.md +8 -8
- data/docs/api/embedding-service.md +138 -262
- data/docs/api/htm.md +128 -12
- data/docs/api/index.md +8 -8
- data/docs/api/long-term-memory.md +8 -19
- data/docs/api/working-memory.md +34 -46
- data/docs/api/yard/HTM/Admin/Console.md +53 -0
- data/docs/api/yard/HTM/Admin/DatabaseCommands/Console.md +38 -0
- data/docs/api/yard/HTM/Admin/DatabaseCommands.md +127 -0
- data/docs/api/yard/HTM/Admin/EnrichCommands.md +85 -0
- data/docs/api/yard/HTM/Admin/Error.md +9 -0
- data/docs/api/yard/HTM/Admin/FileCommands/Console.md +50 -0
- data/docs/api/yard/HTM/Admin/FileCommands.md +83 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands/Base.md +17 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands/Edit.md +74 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands/Search.md +77 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands/TagSearch.md +46 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands/WorkingMemory.md +36 -0
- data/docs/api/yard/HTM/Admin/MemoryCommands.md +67 -0
- data/docs/api/yard/HTM/Admin/TagCommands/Console.md +48 -0
- data/docs/api/yard/HTM/Admin/TagCommands.md +105 -0
- data/docs/api/yard/HTM/Admin/TagGraph.md +149 -0
- data/docs/api/yard/HTM/Admin/YardDocs.md +60 -0
- data/docs/api/yard/HTM/Admin.md +102 -0
- data/docs/api/yard/HTM/AuthorizationError.md +6 -6
- data/docs/api/yard/HTM/CLI/ConfigFile.md +40 -0
- data/docs/api/yard/HTM/CLI/Db.md +63 -0
- data/docs/api/yard/HTM/CLI/Enrich.md +39 -0
- data/docs/api/yard/HTM/CLI/ErrorSuggestion.md +56 -0
- data/docs/api/yard/HTM/CLI/Files.md +36 -0
- data/docs/api/yard/HTM/CLI/Group/ClassMethods.md +11 -0
- data/docs/api/yard/HTM/CLI/Group.md +13 -0
- data/docs/api/yard/HTM/CLI/MemoryCommand/ClassMethods.md +20 -0
- data/docs/api/yard/HTM/CLI/MemoryCommand.md +9 -0
- data/docs/api/yard/HTM/CLI/Robots.md +31 -0
- data/docs/api/yard/HTM/CLI/Support.md +9 -0
- data/docs/api/yard/HTM/CLI/Tags.md +57 -0
- data/docs/api/yard/HTM/CLI/WorkingMemory.md +24 -0
- data/docs/api/yard/HTM/CLI.md +84 -0
- data/docs/api/yard/HTM/CircuitBreaker/Guarded.md +29 -0
- data/docs/api/yard/HTM/CircuitBreaker/Settings.md +21 -0
- data/docs/api/yard/HTM/CircuitBreaker/Status.md +42 -0
- data/docs/api/yard/HTM/CircuitBreaker.md +54 -49
- data/docs/api/yard/HTM/CircuitBreakerOpenError.md +9 -9
- data/docs/api/yard/HTM/Config/Builder.md +87 -0
- data/docs/api/yard/HTM/Config/Coercion.md +59 -0
- data/docs/api/yard/HTM/Config/Database.md +102 -0
- data/docs/api/yard/HTM/Config/Readers.md +30 -0
- data/docs/api/yard/HTM/Config/RubyLlmSettings.md +32 -0
- data/docs/api/yard/HTM/Config/Validator.md +59 -0
- data/docs/api/yard/HTM/Config.md +224 -105
- data/docs/api/yard/HTM/ConfigurationError.md +20 -0
- data/docs/api/yard/HTM/Confirmation.md +22 -0
- data/docs/api/yard/HTM/Database/Connection.md +26 -0
- data/docs/api/yard/HTM/Database/Migrations.md +32 -0
- data/docs/api/yard/HTM/Database/Report.md +26 -0
- data/docs/api/yard/HTM/Database/SchemaFile.md +52 -0
- data/docs/api/yard/HTM/Database/Teardown.md +15 -0
- data/docs/api/yard/HTM/Database.md +58 -70
- data/docs/api/yard/HTM/DatabaseDocs.md +67 -0
- data/docs/api/yard/HTM/DatabaseError.md +6 -6
- data/docs/api/yard/HTM/Deletion.md +32 -0
- data/docs/api/yard/HTM/EmbeddingError.md +6 -6
- data/docs/api/yard/HTM/EmbeddingService.md +37 -38
- data/docs/api/yard/HTM/Epistemics.md +135 -0
- data/docs/api/yard/HTM/Error.md +6 -6
- data/docs/api/yard/HTM/EventTime.md +110 -0
- data/docs/api/yard/HTM/FileMemory.md +76 -0
- data/docs/api/yard/HTM/InputValidator.md +82 -0
- data/docs/api/yard/HTM/JobAdapter/Job.md +26 -0
- data/docs/api/yard/HTM/JobAdapter.md +35 -16
- data/docs/api/yard/HTM/Jobs/FailureLogging.md +14 -0
- data/docs/api/yard/HTM/Jobs/GenerateEmbeddingJob.md +16 -0
- data/docs/api/yard/HTM/Jobs/GeneratePropositionsJob.md +17 -0
- data/docs/api/yard/HTM/Jobs/GenerateRelationshipsJob.md +26 -0
- data/docs/api/yard/HTM/Jobs/GenerateTagsJob.md +17 -0
- data/docs/api/yard/HTM/Jobs/LlmCallTimer.md +58 -0
- data/docs/api/yard/HTM/Jobs/NodeLookup.md +14 -0
- data/docs/api/yard/HTM/Jobs.md +13 -0
- data/docs/api/yard/HTM/Loaders/ChunkSync/Chunk.md +22 -0
- data/docs/api/yard/HTM/Loaders/ChunkSync.md +50 -0
- data/docs/api/yard/HTM/Loaders/MarkdownChunker/Coalescer.md +24 -0
- data/docs/api/yard/HTM/Loaders/MarkdownChunker/Packer.md +20 -0
- data/docs/api/yard/HTM/Loaders/MarkdownChunker/Splitter.md +18 -0
- data/docs/api/yard/HTM/Loaders/MarkdownChunker.md +83 -0
- data/docs/api/yard/HTM/Loaders/MarkdownLoader/Document.md +43 -0
- data/docs/api/yard/HTM/Loaders/MarkdownLoader.md +62 -0
- data/docs/api/yard/HTM/Loaders.md +5 -0
- data/docs/api/yard/HTM/LongTermMemory/FulltextSearch.md +36 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/RrfMerger.md +25 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/RrfRows.md +30 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/RrfSql/Query.md +79 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/RrfSql/Source.md +45 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/RrfSql.md +11 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch/TagDepth.md +52 -0
- data/docs/api/yard/HTM/LongTermMemory/HybridSearch.md +52 -0
- data/docs/api/yard/HTM/LongTermMemory/NodeOperations.md +95 -0
- data/docs/api/yard/HTM/LongTermMemory/RelevanceScorer/HierarchicalJaccard.md +58 -0
- data/docs/api/yard/HTM/LongTermMemory/RelevanceScorer/TagSearch.md +27 -0
- data/docs/api/yard/HTM/LongTermMemory/RelevanceScorer.md +81 -0
- data/docs/api/yard/HTM/LongTermMemory/RobotOperations.md +22 -0
- data/docs/api/yard/HTM/LongTermMemory/TagOperations/ExpiringValue.md +24 -0
- data/docs/api/yard/HTM/LongTermMemory/TagOperations/TagMatchSql.md +40 -0
- data/docs/api/yard/HTM/LongTermMemory/TagOperations.md +129 -0
- data/docs/api/yard/HTM/LongTermMemory/VectorSearch.md +30 -0
- data/docs/api/yard/HTM/LongTermMemory.md +279 -31
- data/docs/api/yard/HTM/MCP/AssembleContextTool.md +16 -0
- data/docs/api/yard/HTM/MCP/ClearGroupWorkingMemoryTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ClearWorkingMemoryTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ConfigResource.md +12 -0
- data/docs/api/yard/HTM/MCP/ConfirmTool.md +12 -0
- data/docs/api/yard/HTM/MCP/CreateGroupTool.md +12 -0
- data/docs/api/yard/HTM/MCP/EnrichPendingTool.md +16 -0
- data/docs/api/yard/HTM/MCP/ExtractPropositionsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/FailoverTool.md +12 -0
- data/docs/api/yard/HTM/MCP/FileInfoTool.md +13 -0
- data/docs/api/yard/HTM/MCP/FileSourcesResource.md +12 -0
- data/docs/api/yard/HTM/MCP/FileSupport.md +7 -0
- data/docs/api/yard/HTM/MCP/FindByTopicTool.md +12 -0
- data/docs/api/yard/HTM/MCP/FirstMentionTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ForgetContentTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ForgetTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GetGroupStatusTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GetGroupWorkingMemoryTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GetNodeTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GetRobotTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GetWorkingMemoryTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GroupRecallTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GroupRememberTool.md +12 -0
- data/docs/api/yard/HTM/MCP/GroupSession.md +23 -0
- data/docs/api/yard/HTM/MCP/JoinGroupTool.md +12 -0
- data/docs/api/yard/HTM/MCP/LeaveGroupTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ListDeletedTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ListFilesTool.md +13 -0
- data/docs/api/yard/HTM/MCP/ListGroupsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ListRobotsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ListTagsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/LoadDirectoryTool.md +13 -0
- data/docs/api/yard/HTM/MCP/LoadFileTool.md +13 -0
- data/docs/api/yard/HTM/MCP/MemoryStatsResource.md +13 -0
- data/docs/api/yard/HTM/MCP/PopularTagsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/PromoteRobotTool.md +12 -0
- data/docs/api/yard/HTM/MCP/PurgeDeletedTool.md +12 -0
- data/docs/api/yard/HTM/MCP/RecallTool.md +16 -0
- data/docs/api/yard/HTM/MCP/RecentMemoriesResource.md +13 -0
- data/docs/api/yard/HTM/MCP/RelatedNodesTool.md +12 -0
- data/docs/api/yard/HTM/MCP/RememberTool.md +12 -0
- data/docs/api/yard/HTM/MCP/RestoreTool.md +12 -0
- data/docs/api/yard/HTM/MCP/RobotGroupsResource.md +13 -0
- data/docs/api/yard/HTM/MCP/RobotTeamsStatusTool.md +13 -0
- data/docs/api/yard/HTM/MCP/RunRobotTeamsTool.md +13 -0
- data/docs/api/yard/HTM/MCP/SearchByTagsTool.md +16 -0
- data/docs/api/yard/HTM/MCP/SearchTagsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/Server.md +37 -0
- data/docs/api/yard/HTM/MCP/Session.md +32 -0
- data/docs/api/yard/HTM/MCP/SetRobotTool.md +12 -0
- data/docs/api/yard/HTM/MCP/ShutdownGroupTool.md +12 -0
- data/docs/api/yard/HTM/MCP/StartupPromptResource.md +16 -0
- data/docs/api/yard/HTM/MCP/StatsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/SyncFilesTool.md +13 -0
- data/docs/api/yard/HTM/MCP/SyncGroupTool.md +12 -0
- data/docs/api/yard/HTM/MCP/TagHierarchyResource.md +16 -0
- data/docs/api/yard/HTM/MCP/TagNodeTool.md +12 -0
- data/docs/api/yard/HTM/MCP/TagTreeTool.md +22 -0
- data/docs/api/yard/HTM/MCP/TeamNames.md +7 -0
- data/docs/api/yard/HTM/MCP/TimelineTool.md +12 -0
- data/docs/api/yard/HTM/MCP/Tool.md +24 -0
- data/docs/api/yard/HTM/MCP/ToolSupport.md +17 -0
- data/docs/api/yard/HTM/MCP/TopicRelationshipsTool.md +12 -0
- data/docs/api/yard/HTM/MCP/TransferWorkingMemoryTool.md +12 -0
- data/docs/api/yard/HTM/MCP/UnloadFileTool.md +13 -0
- data/docs/api/yard/HTM/MCP/UntagNodeTool.md +12 -0
- data/docs/api/yard/HTM/MCP.md +30 -0
- data/docs/api/yard/HTM/Migration.md +44 -0
- data/docs/api/yard/HTM/Models/FileSource.md +66 -0
- data/docs/api/yard/HTM/Models/Node/Scopes.md +74 -0
- data/docs/api/yard/HTM/Models/Node/SoftDeletion.md +22 -0
- data/docs/api/yard/HTM/Models/Node/VectorSimilarity.md +28 -0
- data/docs/api/yard/HTM/Models/Node.md +113 -0
- data/docs/api/yard/HTM/Models/NodeLink.md +65 -0
- data/docs/api/yard/HTM/Models/NodeRelationship.md +31 -0
- data/docs/api/yard/HTM/Models/NodeTag.md +38 -0
- data/docs/api/yard/HTM/Models/Robot.md +50 -0
- data/docs/api/yard/HTM/Models/RobotNode.md +35 -0
- data/docs/api/yard/HTM/Models/Tag/Scopes.md +32 -0
- data/docs/api/yard/HTM/Models/Tag.md +112 -0
- data/docs/api/yard/HTM/Models.md +5 -0
- data/docs/api/yard/HTM/NodeEnrichment.md +36 -0
- data/docs/api/yard/HTM/NodeView.md +113 -0
- data/docs/api/yard/HTM/NotFoundError.md +6 -5
- data/docs/api/yard/HTM/Observability.md +58 -40
- data/docs/api/yard/HTM/PropositionError.md +6 -6
- data/docs/api/yard/HTM/PropositionService.md +63 -29
- data/docs/api/yard/HTM/QueryCache/KeyNormalizer.md +25 -0
- data/docs/api/yard/HTM/QueryCache/NullStore.md +19 -0
- data/docs/api/yard/HTM/QueryCache/Store.md +43 -0
- data/docs/api/yard/HTM/QueryCache.md +41 -46
- data/docs/api/yard/HTM/QueryTimeoutError.md +9 -8
- data/docs/api/yard/HTM/Railtie.md +11 -7
- data/docs/api/yard/HTM/RecallQuery.md +111 -0
- data/docs/api/yard/HTM/ResourceExhaustedError.md +6 -6
- data/docs/api/yard/HTM/RobotGroup/CacheSync.md +35 -0
- data/docs/api/yard/HTM/RobotGroup/Membership.md +96 -0
- data/docs/api/yard/HTM/RobotGroup/TransferOptions.md +14 -0
- data/docs/api/yard/HTM/RobotGroup/WorkingMemoryLedger.md +65 -0
- data/docs/api/yard/HTM/RobotGroup.md +116 -360
- data/docs/api/yard/HTM/Robots/Actions/TagMove.md +31 -0
- data/docs/api/yard/HTM/Robots/Actions.md +153 -0
- data/docs/api/yard/HTM/Robots/Neighbors.md +20 -0
- data/docs/api/yard/HTM/Robots/Supervisor/Idler.md +26 -0
- data/docs/api/yard/HTM/Robots/Supervisor/Roster.md +26 -0
- data/docs/api/yard/HTM/Robots/Supervisor.md +42 -0
- data/docs/api/yard/HTM/Robots/Team.md +60 -0
- data/docs/api/yard/HTM/Robots/Teams/Archivist.md +43 -0
- data/docs/api/yard/HTM/Robots/Teams/Consolidator.md +29 -0
- data/docs/api/yard/HTM/Robots/Teams/ContradictionDetector.md +33 -0
- data/docs/api/yard/HTM/Robots/Teams/TagCurator.md +37 -0
- data/docs/api/yard/HTM/Robots/Teams.md +5 -0
- data/docs/api/yard/HTM/Robots/Tools/ArchiveNodes.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools/Base.md +16 -0
- data/docs/api/yard/HTM/Robots/Tools/MergeNodes.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools/MergeTags.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools/Pass.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools/RecordConflict.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools/SupersedeNode.md +12 -0
- data/docs/api/yard/HTM/Robots/Tools.md +14 -0
- data/docs/api/yard/HTM/Robots.md +72 -0
- data/docs/api/yard/HTM/SearchFilters.md +82 -0
- data/docs/api/yard/HTM/SequelConfig.md +97 -0
- data/docs/api/yard/HTM/Settings.md +39 -0
- data/docs/api/yard/HTM/Sinatra/Helpers.md +37 -0
- data/docs/api/yard/HTM/Sinatra/Middleware.md +29 -0
- data/docs/api/yard/HTM/Sinatra.md +44 -0
- data/docs/api/yard/HTM/SqlBuilder/Sparsevec.md +69 -0
- data/docs/api/yard/HTM/SqlBuilder.md +62 -75
- data/docs/api/yard/HTM/StartupPrompt.md +45 -0
- data/docs/api/yard/HTM/TagError.md +6 -6
- data/docs/api/yard/HTM/TagService.md +100 -37
- data/docs/api/yard/HTM/TagTree/Branch.md +43 -0
- data/docs/api/yard/HTM/TagTree/SvgRenderer/Layout.md +51 -0
- data/docs/api/yard/HTM/TagTree/SvgRenderer.md +25 -0
- data/docs/api/yard/HTM/TagTree.md +65 -0
- data/docs/api/yard/HTM/Telemetry/NullInstrument.md +12 -9
- data/docs/api/yard/HTM/Telemetry/NullMeter.md +17 -9
- data/docs/api/yard/HTM/Telemetry.md +53 -50
- data/docs/api/yard/HTM/Timeframe/Result.md +13 -16
- data/docs/api/yard/HTM/Timeframe.md +17 -20
- data/docs/api/yard/HTM/TimeframeExtractor/Patterns.md +18 -0
- data/docs/api/yard/HTM/TimeframeExtractor/Result.md +13 -16
- data/docs/api/yard/HTM/TimeframeExtractor.md +27 -16
- data/docs/api/yard/HTM/Timeline.md +113 -0
- data/docs/api/yard/HTM/ValidationError.md +6 -5
- data/docs/api/yard/HTM/Workflows/RememberWorkflow/NodeState.md +73 -0
- data/docs/api/yard/HTM/Workflows/RememberWorkflow.md +80 -0
- data/docs/api/yard/HTM/Workflows.md +5 -0
- data/docs/api/yard/HTM/WorkingMemory/Entry.md +67 -0
- data/docs/api/yard/HTM/WorkingMemory/Store.md +54 -0
- data/docs/api/yard/HTM/WorkingMemory.md +113 -87
- data/docs/api/yard/HTM/WorkingMemoryChannel/Subscribers.md +28 -0
- data/docs/api/yard/HTM/WorkingMemoryChannel.md +108 -102
- data/docs/api/yard/HTM.md +483 -5
- data/docs/api/yard/README.md +211 -0
- data/docs/api/yard/Sinatra/Base.md +30 -0
- data/docs/api/yard/Sinatra.md +7 -0
- data/docs/api/yard/index.csv +1834 -181
- data/docs/api/yard-reference.md +228 -9
- data/docs/architecture/adrs/005-rag-retrieval.md +3 -0
- data/docs/architecture/adrs/index.md +1 -1
- data/docs/architecture/index.md +2 -2
- data/docs/architecture/overview.md +3 -3
- data/docs/assets/images/project-structure.svg +2 -2
- data/docs/database/INDEX.md +113 -0
- data/docs/database/README.md +60 -176
- data/docs/database/file_sources.md +51 -0
- data/docs/database/file_sources.svg +120 -0
- data/docs/database/naming-convention.md +12 -12
- data/docs/database/node_links.md +65 -0
- data/docs/database/node_links.svg +171 -0
- data/docs/database/node_relationships.md +62 -0
- data/docs/database/node_relationships.svg +124 -0
- data/docs/database/node_tags.md +50 -0
- data/docs/database/node_tags.svg +125 -0
- data/docs/database/nodes.md +120 -0
- data/docs/database/nodes.svg +394 -0
- data/docs/database/robot_nodes.md +57 -0
- data/docs/database/robot_nodes.svg +155 -0
- data/docs/database/robots.md +40 -0
- data/docs/database/robots.svg +131 -0
- data/docs/database/schema.svg +384 -275
- data/docs/database/schema_migrations.md +19 -0
- data/docs/database/schema_migrations.svg +31 -0
- data/docs/database/tags.md +47 -0
- data/docs/database/tags.svg +90 -0
- data/docs/development/asgard-tasks.md +114 -0
- data/docs/development/contributing.md +6 -6
- data/docs/development/index.md +15 -17
- data/docs/development/schema.md +43 -14
- data/docs/development/setup.md +60 -70
- data/docs/development/testing.md +57 -65
- data/docs/examples/basic-usage.md +9 -9
- data/docs/examples/config-files.md +8 -8
- data/docs/examples/file-loading.md +12 -12
- data/docs/examples/index.md +15 -8
- data/docs/examples/llm-configuration.md +13 -9
- data/docs/examples/mcp-client.md +61 -59
- data/docs/examples/rails-integration.md +5 -4
- data/docs/examples/sinatra-integration.md +5 -4
- data/docs/examples/standalone-app.md +17 -16
- data/docs/getting-started/index.md +3 -3
- data/docs/getting-started/installation.md +76 -83
- data/docs/getting-started/quick-start.md +24 -22
- data/docs/guides/adding-memories.md +14 -3
- data/docs/guides/cli.md +458 -0
- data/docs/guides/configuration.md +72 -37
- data/docs/guides/epistemic-status.md +138 -0
- data/docs/guides/event-time.md +106 -0
- data/docs/guides/file-loading.md +26 -22
- data/docs/guides/getting-started.md +21 -17
- data/docs/guides/long-term-memory.md +1 -1
- data/docs/guides/mcp-server.md +416 -173
- data/docs/guides/propositions.md +18 -29
- data/docs/guides/recalling-memories.md +22 -7
- data/docs/guides/robot-teams.md +96 -0
- data/docs/guides/search-strategies.md +10 -7
- data/docs/guides/tags.md +19 -19
- data/docs/guides/timeline.md +106 -0
- data/docs/index.md +7 -7
- data/docs/llms.txt +35 -0
- data/docs/multi_framework_support.md +13 -13
- data/docs/robots/robot-groups.md +9 -9
- data/docs/robots/two-tier-memory.md +13 -26
- data/docs/setup_local_database.md +33 -31
- data/examples/00_create_examples_db.rb +20 -7
- data/examples/01_basic_usage.rb +20 -18
- data/examples/02_config_file_example/README.md +13 -12
- data/examples/02_config_file_example/config/htm.local.yml +8 -8
- data/examples/02_config_file_example/show_config.rb +3 -4
- data/examples/03_custom_llm_configuration.rb +12 -12
- data/examples/04_file_loader_usage.rb +15 -21
- data/examples/05_timeframe_demo.rb +282 -234
- data/examples/06_example_app/.loki +36 -0
- data/examples/06_example_app/app.rb +21 -33
- data/examples/07_cli_app/README.md +18 -18
- data/examples/07_cli_app/htm_cli.rb +25 -19
- data/examples/08_sinatra_app/Gemfile +1 -0
- data/examples/08_sinatra_app/Gemfile.lock +101 -67
- data/examples/08_sinatra_app/app.rb +64 -62
- data/examples/09_mcp_client.rb +92 -119
- data/examples/10_telemetry/README.md +3 -3
- data/examples/10_telemetry/SETUP_README.md +2 -2
- data/examples/10_telemetry/demo.rb +5 -5
- data/examples/11_robot_groups/README.md +5 -4
- data/examples/11_robot_groups/lib/robot_worker.rb +0 -5
- data/examples/11_robot_groups/multi_process.rb +5 -4
- data/examples/11_robot_groups/same_process.rb +18 -17
- data/examples/12_rails_app/Gemfile +1 -1
- data/examples/12_rails_app/Gemfile.lock +146 -97
- data/examples/12_rails_app/README.md +21 -17
- data/examples/12_rails_app/app/controllers/chats_controller.rb +33 -63
- data/examples/12_rails_app/app/controllers/memories_controller.rb +7 -1
- data/examples/12_rails_app/app/controllers/messages_controller.rb +21 -58
- data/examples/12_rails_app/app/controllers/search_controller.rb +7 -2
- data/examples/12_rails_app/app/models/chat.rb +0 -33
- data/examples/12_rails_app/app/models/message.rb +0 -2
- data/examples/12_rails_app/app/views/chats/show.html.erb +2 -2
- data/examples/12_rails_app/app/views/files/new.html.erb +1 -1
- data/examples/12_rails_app/app/views/memories/_memory_card.html.erb +1 -1
- data/examples/12_rails_app/app/views/memories/new.html.erb +12 -0
- data/examples/12_rails_app/app/views/memories/show.html.erb +13 -0
- data/examples/12_rails_app/app/views/search/index.html.erb +18 -2
- data/examples/12_rails_app/config/initializers/ruby_llm.rb +11 -15
- data/examples/12_rails_app/db/migrate/20261205061932_create_ruby_llm_records.rb +160 -0
- data/examples/12_rails_app/db/migrate/20261205061933_create_chats.rb +13 -0
- data/examples/12_rails_app/db/migrate/20261205061934_create_messages.rb +23 -0
- data/examples/12_rails_app/db/schema.rb +163 -20
- data/examples/README.md +53 -44
- data/examples/examples_helper.rb +29 -5
- data/htm.gemspec +68 -0
- data/lib/htm/admin/database_commands.rb +454 -0
- data/lib/htm/admin/enrich_commands.rb +209 -0
- data/lib/htm/admin/file_commands.rb +323 -0
- data/lib/htm/admin/memory_commands/edit.rb +157 -0
- data/lib/htm/admin/memory_commands/search.rb +178 -0
- data/lib/htm/admin/memory_commands/tag_search.rb +98 -0
- data/lib/htm/admin/memory_commands/text.rb +164 -0
- data/lib/htm/admin/memory_commands/working_memory.rb +71 -0
- data/lib/htm/admin/memory_commands.rb +179 -0
- data/lib/htm/admin/tag_commands.rb +352 -0
- data/lib/htm/admin/tag_graph.rb +290 -0
- data/lib/htm/admin/templates/tag_graph.html +295 -0
- data/lib/htm/admin/yard_docs.rb +206 -0
- data/lib/htm/admin.rb +253 -0
- data/lib/htm/circuit_breaker.rb +142 -68
- data/lib/htm/class_methods.rb +136 -0
- data/lib/htm/cli/config_file.rb +86 -0
- data/lib/htm/cli/db.rb +77 -0
- data/lib/htm/cli/enrich.rb +44 -0
- data/lib/htm/cli/environment.rb +74 -0
- data/lib/htm/cli/error_suggestion.rb +97 -0
- data/lib/htm/cli/files.rb +41 -0
- data/lib/htm/cli/group.rb +32 -0
- data/lib/htm/cli/memory.rb +320 -0
- data/lib/htm/cli/memory_command.rb +71 -0
- data/lib/htm/cli/robots.rb +71 -0
- data/lib/htm/cli/support.rb +46 -0
- data/lib/htm/cli/tags.rb +103 -0
- data/lib/htm/cli/working_memory.rb +41 -0
- data/lib/htm/cli.rb +75 -0
- data/lib/htm/config/builder.rb +99 -68
- data/lib/htm/config/coercion.rb +91 -0
- data/lib/htm/config/database.rb +81 -52
- data/lib/htm/config/defaults.yml +52 -16
- data/lib/htm/config/readers.rb +85 -0
- data/lib/htm/config/ruby_llm_settings.rb +58 -0
- data/lib/htm/config/validator.rb +45 -26
- data/lib/htm/config.rb +112 -297
- data/lib/htm/database.rb +305 -396
- data/lib/htm/database_docs.rb +149 -0
- data/lib/htm/embedding_service.rb +26 -66
- data/lib/htm/epistemics.rb +254 -0
- data/lib/htm/errors.rb +4 -4
- data/lib/htm/event_time.rb +201 -0
- data/lib/htm/file_memory.rb +106 -0
- data/lib/htm/input_validator.rb +158 -0
- data/lib/htm/integrations/sinatra.rb +43 -31
- data/lib/htm/job_adapter.rb +78 -83
- data/lib/htm/jobs/failure_logging.rb +49 -0
- data/lib/htm/jobs/generate_embedding_job.rb +21 -28
- data/lib/htm/jobs/generate_propositions_job.rb +56 -28
- data/lib/htm/jobs/generate_relationships_job.rb +28 -24
- data/lib/htm/jobs/generate_tags_job.rb +32 -37
- data/lib/htm/jobs/llm_call_timer.rb +53 -0
- data/lib/htm/jobs/node_lookup.rb +27 -0
- data/lib/htm/knowledge_memory.rb +153 -0
- data/lib/htm/loaders/chunk_sync.rb +168 -0
- data/lib/htm/loaders/markdown_chunker.rb +207 -36
- data/lib/htm/loaders/markdown_loader.rb +76 -120
- data/lib/htm/long_term_memory/fulltext_search.rb +15 -36
- data/lib/htm/long_term_memory/hybrid_search.rb +471 -544
- data/lib/htm/long_term_memory/node_operations.rb +110 -81
- data/lib/htm/long_term_memory/relevance_scorer.rb +232 -237
- data/lib/htm/long_term_memory/tag_operations.rb +201 -130
- data/lib/htm/long_term_memory/vector_search.rb +33 -61
- data/lib/htm/long_term_memory.rb +5 -17
- data/lib/htm/mcp/file_tools.rb +190 -0
- data/lib/htm/mcp/group_tools.rb +223 -233
- data/lib/htm/mcp/node_tools.rb +350 -0
- data/lib/htm/mcp/resources.rb +102 -28
- data/lib/htm/mcp/robot_team_tools.rb +119 -0
- data/lib/htm/mcp/server.rb +26 -14
- data/lib/htm/mcp/tag_tools.rb +130 -0
- data/lib/htm/mcp/tool.rb +40 -0
- data/lib/htm/mcp/tool_support.rb +88 -0
- data/lib/htm/mcp/tools.rb +232 -283
- data/lib/htm/models/file_source.rb +35 -20
- data/lib/htm/models/node.rb +287 -193
- data/lib/htm/models/node_link.rb +97 -0
- data/lib/htm/models/node_relationship.rb +3 -2
- data/lib/htm/models/node_tag.rb +22 -2
- data/lib/htm/models/robot.rb +4 -8
- data/lib/htm/models/robot_node.rb +5 -2
- data/lib/htm/models/tag.rb +53 -207
- data/lib/htm/node_enrichment.rb +75 -0
- data/lib/htm/node_view.rb +295 -0
- data/lib/htm/observability.rb +114 -98
- data/lib/htm/proposition_service.rb +38 -74
- data/lib/htm/query_cache.rb +145 -91
- data/lib/htm/railtie.rb +3 -7
- data/lib/htm/request_options.rb +149 -0
- data/lib/htm/robot_group/cache_sync.rb +69 -0
- data/lib/htm/robot_group/membership.rb +147 -0
- data/lib/htm/robot_group/working_memory_ledger.rb +111 -0
- data/lib/htm/robot_group.rb +128 -521
- data/lib/htm/robots/actions.rb +371 -0
- data/lib/htm/robots/neighbors.rb +63 -0
- data/lib/htm/robots/node_brief.rb +49 -0
- data/lib/htm/robots/supervisor.rb +140 -0
- data/lib/htm/robots/team.rb +124 -0
- data/lib/htm/robots/teams/archivist.rb +88 -0
- data/lib/htm/robots/teams/consolidator.rb +52 -0
- data/lib/htm/robots/teams/contradiction_detector.rb +67 -0
- data/lib/htm/robots/teams/tag_curator.rb +75 -0
- data/lib/htm/robots/tools.rb +127 -0
- data/lib/htm/robots.rb +125 -0
- data/lib/htm/search_filters.rb +116 -0
- data/lib/htm/sequel_config.rb +95 -59
- data/lib/htm/sql_builder.rb +162 -53
- data/lib/htm/startup_prompt.rb +73 -0
- data/lib/htm/tag_service.rb +104 -109
- data/lib/htm/tag_tree.rb +206 -0
- data/lib/htm/telemetry.rb +15 -16
- data/lib/htm/timeframe.rb +27 -9
- data/lib/htm/timeframe_extractor.rb +77 -55
- data/lib/htm/timeline.rb +230 -0
- data/lib/htm/version.rb +1 -1
- data/lib/htm/workflows/remember_workflow.rb +145 -136
- data/lib/htm/working_memory/entry.rb +53 -0
- data/lib/htm/working_memory/store.rb +97 -0
- data/lib/htm/working_memory.rb +137 -139
- data/lib/htm/working_memory_channel.rb +90 -40
- data/lib/htm.rb +177 -501
- data/mkdocs.yml +100 -23
- data/scripts/install_local_database.sh +7 -6
- metadata +1032 -594
- data/.tbls.yml +0 -31
- data/Rakefile +0 -240
- data/bin/htm_mcp +0 -27
- data/docs/api/yard/HTM/ActiveRecordConfig.md +0 -29
- data/docs/api/yard/HTM/ConfigSection.md +0 -28
- data/docs/database/public.file_sources.md +0 -42
- data/docs/database/public.file_sources.svg +0 -219
- data/docs/database/public.node_stats.md +0 -48
- data/docs/database/public.node_stats.svg +0 -41
- data/docs/database/public.node_tags.md +0 -41
- data/docs/database/public.node_tags.svg +0 -251
- data/docs/database/public.nodes.md +0 -61
- data/docs/database/public.nodes.svg +0 -283
- data/docs/database/public.nodes_tags.md +0 -39
- data/docs/database/public.nodes_tags.svg +0 -112
- data/docs/database/public.ontology_structure.md +0 -48
- data/docs/database/public.ontology_structure.svg +0 -38
- data/docs/database/public.operations_log.md +0 -42
- data/docs/database/public.operations_log.svg +0 -130
- data/docs/database/public.relationships.md +0 -39
- data/docs/database/public.relationships.svg +0 -41
- data/docs/database/public.robot_activity.md +0 -46
- data/docs/database/public.robot_activity.svg +0 -35
- data/docs/database/public.robot_nodes.md +0 -48
- data/docs/database/public.robot_nodes.svg +0 -251
- data/docs/database/public.robots.md +0 -34
- data/docs/database/public.robots.svg +0 -165
- data/docs/database/public.schema_migrations.md +0 -29
- data/docs/database/public.schema_migrations.svg +0 -26
- data/docs/database/public.tags.md +0 -38
- data/docs/database/public.tags.svg +0 -147
- data/docs/database/public.topic_relationships.md +0 -45
- data/docs/database/public.topic_relationships.svg +0 -32
- data/docs/database/schema.json +0 -1814
- data/docs/database_rake_tasks.md +0 -345
- data/docs/development/rake-tasks.md +0 -1113
- data/docs/using_rake_tasks_in_your_app.md +0 -383
- data/examples/06_example_app/Rakefile +0 -71
- data/examples/12_rails_app/app/models/model.rb +0 -5
- data/examples/12_rails_app/app/models/tool_call.rb +0 -5
- data/examples/12_rails_app/db/migrate/20250124000001_create_ruby_llm_tables.rb +0 -34
- data/examples/12_rails_app/db/migrate/20250124000002_create_models_table.rb +0 -28
- data/lib/htm/mcp/cli.rb +0 -583
- data/lib/htm/tasks.rb +0 -79
- data/lib/tasks/db.rake +0 -15
- data/lib/tasks/doc.rake +0 -301
- data/lib/tasks/files.rake +0 -285
- data/lib/tasks/htm.rake +0 -703
- data/lib/tasks/jobs.rake +0 -429
- data/lib/tasks/tags.rake +0 -184
- data/scripts/backfill_parent_tags.rb +0 -376
- data/scripts/normalize_plural_tags.rb +0 -335
data/docs/database/schema.svg
CHANGED
|
@@ -1,294 +1,403 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
2
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
3
3
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<!-- Generated by graphviz version
|
|
4
|
+
<!-- Generated by graphviz version 16.1.2 (20261121.0218)
|
|
5
5
|
-->
|
|
6
|
-
<!-- Title:
|
|
7
|
-
<svg width="
|
|
8
|
-
viewBox="0.00 0.00
|
|
9
|
-
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4
|
|
10
|
-
<title>
|
|
11
|
-
|
|
12
|
-
<!-- public.file_sources -->
|
|
6
|
+
<!-- Title: schema Pages: 1 -->
|
|
7
|
+
<svg width="675pt" height="696pt"
|
|
8
|
+
viewBox="0.00 0.00 675.00 696.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 692.25)">
|
|
10
|
+
<title>schema</title>
|
|
11
|
+
<!-- file_sources -->
|
|
13
12
|
<g id="node1" class="node">
|
|
14
|
-
<title>
|
|
15
|
-
<
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
<text text-anchor="start" x="
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<text text-anchor="start" x="
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<polygon fill="none" stroke="black" points="834.64,-197.2 834.64,-228 1326.38,-228 1326.38,-197.2 834.64,-197.2"/>
|
|
33
|
-
<text text-anchor="start" x="841.64" y="-209.4" font-family="Arial" font-size="14.00">file_size </text>
|
|
34
|
-
<text text-anchor="start" x="896.11" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
|
|
35
|
-
<text text-anchor="start" x="946.7" y="-209.4" font-family="Arial" font-size="14.00"> File size in bytes</text>
|
|
36
|
-
<polygon fill="none" stroke="black" points="834.64,-166.4 834.64,-197.2 1326.38,-197.2 1326.38,-166.4 834.64,-166.4"/>
|
|
37
|
-
<text text-anchor="start" x="841.64" y="-178.6" font-family="Arial" font-size="14.00">frontmatter </text>
|
|
38
|
-
<text text-anchor="start" x="913.22" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[jsonb]</text>
|
|
39
|
-
<text text-anchor="start" x="954.47" y="-178.6" font-family="Arial" font-size="14.00"> Parsed YAML frontmatter</text>
|
|
40
|
-
<polygon fill="none" stroke="black" points="834.64,-135.6 834.64,-166.4 1326.38,-166.4 1326.38,-135.6 834.64,-135.6"/>
|
|
41
|
-
<text text-anchor="start" x="841.64" y="-147.8" font-family="Arial" font-size="14.00">id </text>
|
|
42
|
-
<text text-anchor="start" x="856.43" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
43
|
-
<polygon fill="none" stroke="black" points="834.64,-104.8 834.64,-135.6 1326.38,-135.6 1326.38,-104.8 834.64,-104.8"/>
|
|
44
|
-
<text text-anchor="start" x="841.64" y="-117" font-family="Arial" font-size="14.00">last_synced_at </text>
|
|
45
|
-
<text text-anchor="start" x="938.92" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
46
|
-
<text text-anchor="start" x="1104.65" y="-117" font-family="Arial" font-size="14.00"> When file was last synced to HTM</text>
|
|
47
|
-
<polygon fill="none" stroke="black" points="834.64,-74 834.64,-104.8 1326.38,-104.8 1326.38,-74 834.64,-74"/>
|
|
48
|
-
<text text-anchor="start" x="841.64" y="-86.2" font-family="Arial" font-size="14.00">mtime </text>
|
|
49
|
-
<text text-anchor="start" x="883.64" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
50
|
-
<text text-anchor="start" x="1049.36" y="-86.2" font-family="Arial" font-size="14.00"> File modification time</text>
|
|
51
|
-
<polygon fill="none" stroke="black" points="834.64,-43.2 834.64,-74 1326.38,-74 1326.38,-43.2 834.64,-43.2"/>
|
|
52
|
-
<text text-anchor="start" x="841.64" y="-55.4" font-family="Arial" font-size="14.00">updated_at </text>
|
|
53
|
-
<text text-anchor="start" x="915.6" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
54
|
-
</g>
|
|
55
|
-
<!-- public.node_tags -->
|
|
13
|
+
<title>file_sources</title>
|
|
14
|
+
<g id="a_node1"><a xlink:href="file_sources.md" xlink:title="Source file metadata for loaded documents">
|
|
15
|
+
<g id="a_node1_0"><a xlink:href="file_sources.md" xlink:title="Source file metadata for loaded documents">
|
|
16
|
+
<polygon fill="#2b3a55" stroke="none" points="551,-244.5 551,-277.25 658.75,-277.25 658.75,-244.5 551,-244.5"/>
|
|
17
|
+
<polygon fill="none" stroke="#c8d1dc" points="551,-244.5 551,-277.25 658.75,-277.25 658.75,-244.5 551,-244.5"/>
|
|
18
|
+
<text xml:space="preserve" text-anchor="start" x="558" y="-256.05" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">file_sources</text>
|
|
19
|
+
</a>
|
|
20
|
+
</g>
|
|
21
|
+
<g id="a_node1_1"><a xlink:href="file_sources.md" xlink:title="Source file metadata for loaded documents">
|
|
22
|
+
<polygon fill="none" stroke="#c8d1dc" points="551,-216.25 551,-244.5 658.75,-244.5 658.75,-216.25 551,-216.25"/>
|
|
23
|
+
<text xml:space="preserve" text-anchor="start" x="558" y="-227.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
24
|
+
<text xml:space="preserve" text-anchor="start" x="570.75" y="-227.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
25
|
+
</a>
|
|
26
|
+
</g>
|
|
27
|
+
</a>
|
|
28
|
+
</g>
|
|
29
|
+
</g>
|
|
30
|
+
<!-- node_links -->
|
|
56
31
|
<g id="node2" class="node">
|
|
57
|
-
<title>
|
|
58
|
-
<
|
|
59
|
-
<
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
<text text-anchor="start" x="
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
<text text-anchor="start" x="
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
<
|
|
72
|
-
<polygon fill="none" stroke="
|
|
73
|
-
<text text-anchor="start" x="
|
|
74
|
-
<text text-anchor="start" x="
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<
|
|
78
|
-
<
|
|
79
|
-
<
|
|
80
|
-
<text text-anchor="start" x="
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<
|
|
94
|
-
<
|
|
95
|
-
<
|
|
96
|
-
<
|
|
97
|
-
<polygon fill="
|
|
98
|
-
<
|
|
99
|
-
<text text-anchor="start" x="
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<text text-anchor="start" x="
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<
|
|
109
|
-
<polygon fill="none" stroke="
|
|
110
|
-
<text text-anchor="start" x="
|
|
111
|
-
<text text-anchor="start" x="
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<text text-anchor="start" x="759.49" y="-716.6" font-family="Arial" font-size="14.00">embedding </text>
|
|
119
|
-
<text text-anchor="start" x="832.66" y="-716.6" font-family="Arial" font-size="14.00" fill="#666666">[vector(2000)]</text>
|
|
120
|
-
<text text-anchor="start" x="919.03" y="-716.6" font-family="Arial" font-size="14.00"> Vector embedding (max 2000 dimensions) for semantic search</text>
|
|
121
|
-
<polygon fill="none" stroke="black" points="752.49,-673.6 752.49,-704.4 1408.53,-704.4 1408.53,-673.6 752.49,-673.6"/>
|
|
122
|
-
<text text-anchor="start" x="759.49" y="-685.8" font-family="Arial" font-size="14.00">embedding_dimension </text>
|
|
123
|
-
<text text-anchor="start" x="904.26" y="-685.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
|
|
124
|
-
<text text-anchor="start" x="954.84" y="-685.8" font-family="Arial" font-size="14.00"> Actual number of dimensions used in the embedding vector (max 2000)</text>
|
|
125
|
-
<polygon fill="none" stroke="black" points="752.49,-642.8 752.49,-673.6 1408.53,-673.6 1408.53,-642.8 752.49,-642.8"/>
|
|
126
|
-
<text text-anchor="start" x="759.49" y="-655" font-family="Arial" font-size="14.00">id </text>
|
|
127
|
-
<text text-anchor="start" x="774.28" y="-655" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
128
|
-
<polygon fill="none" stroke="black" points="752.49,-612 752.49,-642.8 1408.53,-642.8 1408.53,-612 752.49,-612"/>
|
|
129
|
-
<text text-anchor="start" x="759.49" y="-624.2" font-family="Arial" font-size="14.00">last_accessed </text>
|
|
130
|
-
<text text-anchor="start" x="852.1" y="-624.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
131
|
-
<text text-anchor="start" x="1017.82" y="-624.2" font-family="Arial" font-size="14.00"> When this memory was last accessed</text>
|
|
132
|
-
<polygon fill="none" stroke="black" points="752.49,-581.2 752.49,-612 1408.53,-612 1408.53,-581.2 752.49,-581.2"/>
|
|
133
|
-
<text text-anchor="start" x="759.49" y="-593.4" font-family="Arial" font-size="14.00">metadata </text>
|
|
134
|
-
<text text-anchor="start" x="821.76" y="-593.4" font-family="Arial" font-size="14.00" fill="#666666">[jsonb]</text>
|
|
135
|
-
<text text-anchor="start" x="863" y="-593.4" font-family="Arial" font-size="14.00"> Flexible metadata storage (memory_type, importance, source, etc.)</text>
|
|
136
|
-
<polygon fill="none" stroke="black" points="752.49,-550.4 752.49,-581.2 1408.53,-581.2 1408.53,-550.4 752.49,-550.4"/>
|
|
137
|
-
<text text-anchor="start" x="759.49" y="-562.6" font-family="Arial" font-size="14.00">source_id </text>
|
|
138
|
-
<text text-anchor="start" x="824.09" y="-562.6" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
139
|
-
<text text-anchor="start" x="865.33" y="-562.6" font-family="Arial" font-size="14.00"> Reference to source file (for file-loaded nodes)</text>
|
|
140
|
-
<polygon fill="none" stroke="black" points="752.49,-519.6 752.49,-550.4 1408.53,-550.4 1408.53,-519.6 752.49,-519.6"/>
|
|
141
|
-
<text text-anchor="start" x="759.49" y="-531.8" font-family="Arial" font-size="14.00">token_count </text>
|
|
142
|
-
<text text-anchor="start" x="839.67" y="-531.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
|
|
143
|
-
<text text-anchor="start" x="890.25" y="-531.8" font-family="Arial" font-size="14.00"> Number of tokens in the content (for context budget management)</text>
|
|
144
|
-
<polygon fill="none" stroke="black" points="752.49,-488.8 752.49,-519.6 1408.53,-519.6 1408.53,-488.8 752.49,-488.8"/>
|
|
145
|
-
<text text-anchor="start" x="759.49" y="-501" font-family="Arial" font-size="14.00">updated_at </text>
|
|
146
|
-
<text text-anchor="start" x="833.45" y="-501" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
147
|
-
<text text-anchor="start" x="999.18" y="-501" font-family="Arial" font-size="14.00"> When this memory was last modified</text>
|
|
148
|
-
</g>
|
|
149
|
-
<!-- public.node_tags->public.nodes -->
|
|
32
|
+
<title>node_links</title>
|
|
33
|
+
<g id="a_node2"><a xlink:href="node_links.md" xlink:title="How nodes replace, absorb and derive from one another: the history behind HTM#timeline">
|
|
34
|
+
<g id="a_node2_2"><a xlink:href="node_links.md" xlink:title="How nodes replace, absorb and derive from one another: the history behind HTM#timeline">
|
|
35
|
+
<polygon fill="#2b3a55" stroke="none" points="27.5,-560.88 27.5,-593.62 153.25,-593.62 153.25,-560.88 27.5,-560.88"/>
|
|
36
|
+
<polygon fill="none" stroke="#c8d1dc" points="27.5,-560.88 27.5,-593.62 153.25,-593.62 153.25,-560.88 27.5,-560.88"/>
|
|
37
|
+
<text xml:space="preserve" text-anchor="start" x="48.38" y="-572.42" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">node_links</text>
|
|
38
|
+
</a>
|
|
39
|
+
</g>
|
|
40
|
+
<g id="a_node2_3"><a xlink:href="node_links.md" xlink:title="How nodes replace, absorb and derive from one another: the history behind HTM#timeline">
|
|
41
|
+
<polygon fill="none" stroke="#c8d1dc" points="27.5,-532.62 27.5,-560.88 153.25,-560.88 153.25,-532.62 27.5,-532.62"/>
|
|
42
|
+
<text xml:space="preserve" text-anchor="start" x="34.5" y="-543.48" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
43
|
+
<text xml:space="preserve" text-anchor="start" x="47.25" y="-543.48" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
44
|
+
</a>
|
|
45
|
+
</g>
|
|
46
|
+
<g id="a_node2_4"><a xlink:href="node_links.md" xlink:title="Node the link starts at (the newer state for supersedes; the retired node for merged_into/archived_into)">
|
|
47
|
+
<polygon fill="none" stroke="#c8d1dc" points="27.5,-504.38 27.5,-532.62 153.25,-532.62 153.25,-504.38 27.5,-504.38"/>
|
|
48
|
+
<text xml:space="preserve" text-anchor="start" x="34.5" y="-515.23" font-family="Arial" font-size="12.00" fill="#e6e6e6">from_node_id </text>
|
|
49
|
+
<text xml:space="preserve" text-anchor="start" x="111" y="-515.23" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
50
|
+
</a>
|
|
51
|
+
</g>
|
|
52
|
+
<g id="a_node2_5"><a xlink:href="node_links.md" xlink:title="Node the link points to">
|
|
53
|
+
<polygon fill="none" stroke="#c8d1dc" points="27.5,-476.12 27.5,-504.38 153.25,-504.38 153.25,-476.12 27.5,-476.12"/>
|
|
54
|
+
<text xml:space="preserve" text-anchor="start" x="34.5" y="-486.98" font-family="Arial" font-size="12.00" fill="#e6e6e6">to_node_id </text>
|
|
55
|
+
<text xml:space="preserve" text-anchor="start" x="97.5" y="-486.98" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
56
|
+
</a>
|
|
57
|
+
</g>
|
|
58
|
+
<g id="a_node2_6"><a xlink:href="node_links.md" xlink:title="Robot that recorded the link (NULL when unknown)">
|
|
59
|
+
<polygon fill="none" stroke="#c8d1dc" points="27.5,-447.88 27.5,-476.12 153.25,-476.12 153.25,-447.88 27.5,-447.88"/>
|
|
60
|
+
<text xml:space="preserve" text-anchor="start" x="34.5" y="-458.73" font-family="Arial" font-size="12.00" fill="#e6e6e6">robot_id </text>
|
|
61
|
+
<text xml:space="preserve" text-anchor="start" x="81" y="-458.73" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
62
|
+
</a>
|
|
63
|
+
</g>
|
|
64
|
+
</a>
|
|
65
|
+
</g>
|
|
66
|
+
</g>
|
|
67
|
+
<!-- nodes -->
|
|
68
|
+
<g id="node5" class="node">
|
|
69
|
+
<title>nodes</title>
|
|
70
|
+
<g id="a_node5"><a xlink:href="nodes.md" xlink:title="Core memory storage for conversation messages and context">
|
|
71
|
+
<g id="a_node5_7"><a xlink:href="nodes.md" xlink:title="Core memory storage for conversation messages and context">
|
|
72
|
+
<polygon fill="#2b3a55" stroke="none" points="317.75,-272.62 317.75,-305.38 422.5,-305.38 422.5,-272.62 317.75,-272.62"/>
|
|
73
|
+
<polygon fill="none" stroke="#c8d1dc" points="317.75,-272.62 317.75,-305.38 422.5,-305.38 422.5,-272.62 317.75,-272.62"/>
|
|
74
|
+
<text xml:space="preserve" text-anchor="start" x="346.5" y="-284.18" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">nodes</text>
|
|
75
|
+
</a>
|
|
76
|
+
</g>
|
|
77
|
+
<g id="a_node5_8"><a xlink:href="nodes.md" xlink:title="Core memory storage for conversation messages and context">
|
|
78
|
+
<polygon fill="none" stroke="#c8d1dc" points="317.75,-244.38 317.75,-272.62 422.5,-272.62 422.5,-244.38 317.75,-244.38"/>
|
|
79
|
+
<text xml:space="preserve" text-anchor="start" x="324.75" y="-255.22" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
80
|
+
<text xml:space="preserve" text-anchor="start" x="337.5" y="-255.22" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
81
|
+
</a>
|
|
82
|
+
</g>
|
|
83
|
+
<g id="a_node5_9"><a xlink:href="nodes.md" xlink:title="Reference to source file (for file-loaded nodes)">
|
|
84
|
+
<polygon fill="none" stroke="#c8d1dc" points="317.75,-216.12 317.75,-244.38 422.5,-244.38 422.5,-216.12 317.75,-216.12"/>
|
|
85
|
+
<text xml:space="preserve" text-anchor="start" x="324.75" y="-226.97" font-family="Arial" font-size="12.00" fill="#e6e6e6">source_id </text>
|
|
86
|
+
<text xml:space="preserve" text-anchor="start" x="380.25" y="-226.97" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
87
|
+
</a>
|
|
88
|
+
</g>
|
|
89
|
+
</a>
|
|
90
|
+
</g>
|
|
91
|
+
</g>
|
|
92
|
+
<!-- node_links->nodes -->
|
|
150
93
|
<g id="edge1" class="edge">
|
|
151
|
-
<title>
|
|
152
|
-
<
|
|
153
|
-
<
|
|
154
|
-
<
|
|
94
|
+
<title>node_links:e->nodes:w</title>
|
|
95
|
+
<g id="a_edge1"><a xlink:href="node_links.md" xlink:title="node_links.from_node_id references nodes.id">
|
|
96
|
+
<path fill="none" stroke="#7aa2f7" d="M164.43,-518.34C217,-516.63 239.53,-500.67 273.75,-455.75 324.93,-388.55 238.34,-273.06 302.87,-259.76"/>
|
|
97
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="164.58,-518.34 154.51,-514 159.25,-518.42 154.92,-518.49 154.92,-518.49 154.92,-518.49 159.25,-518.42 154.65,-522.99 164.58,-518.34"/>
|
|
98
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="315.3,-253.61 316.21,-263.57 314.21,-263.75 313.31,-253.79 315.3,-253.61"/>
|
|
99
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 311.77,-258.95"/>
|
|
100
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="307.29" cy="-259.36" rx="4" ry="4"/>
|
|
101
|
+
</a>
|
|
102
|
+
</g>
|
|
103
|
+
<g id="a_edge1-label"><a xlink:href="node_links.md" xlink:title="from_node_id">
|
|
104
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-509.19" font-family="Arial" font-size="9.00" fill="#9aa4b2">from_node_id</text>
|
|
105
|
+
</a>
|
|
106
|
+
</g>
|
|
155
107
|
</g>
|
|
156
|
-
<!--
|
|
108
|
+
<!-- node_links->nodes -->
|
|
109
|
+
<g id="edge3" class="edge">
|
|
110
|
+
<title>node_links:e->nodes:w</title>
|
|
111
|
+
<g id="a_edge3"><a xlink:href="node_links.md" xlink:title="node_links.to_node_id references nodes.id">
|
|
112
|
+
<path fill="none" stroke="#7aa2f7" d="M164.31,-488.29C179.22,-481.02 171.58,-454.89 180.75,-432.75 198.43,-390.07 189.35,-372.44 216.75,-335.25 217.58,-334.13 279.48,-286.06 305.47,-266.57"/>
|
|
113
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="164.39,-488.27 153.72,-485.77 159.16,-489.29 154.91,-490.12 154.91,-490.12 154.91,-490.12 159.16,-489.29 155.44,-494.6 164.39,-488.27"/>
|
|
114
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="313.03,-255.02 318.85,-263.15 317.22,-264.31 311.4,-256.18 313.03,-255.02"/>
|
|
115
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 312.68,-261.41"/>
|
|
116
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="309.03" cy="-264.03" rx="4" ry="4"/>
|
|
117
|
+
</a>
|
|
118
|
+
</g>
|
|
119
|
+
<g id="a_edge3-label"><a xlink:href="node_links.md" xlink:title="to_node_id">
|
|
120
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-337.2" font-family="Arial" font-size="9.00" fill="#9aa4b2">to_node_id</text>
|
|
121
|
+
</a>
|
|
122
|
+
</g>
|
|
123
|
+
</g>
|
|
124
|
+
<!-- robots -->
|
|
157
125
|
<g id="node7" class="node">
|
|
158
|
-
<title>
|
|
159
|
-
<
|
|
160
|
-
<
|
|
161
|
-
<
|
|
162
|
-
<
|
|
163
|
-
<text text-anchor="start" x="
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<
|
|
167
|
-
<
|
|
168
|
-
<text text-anchor="start" x="
|
|
169
|
-
<
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
<polygon fill="none" stroke="black" points="43.2,-642.8 43.2,-673.6 647.83,-673.6 647.83,-642.8 43.2,-642.8"/>
|
|
177
|
-
<text text-anchor="start" x="50.2" y="-655" font-family="Arial" font-size="14.00">name </text>
|
|
178
|
-
<text text-anchor="start" x="89.11" y="-655" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
|
|
179
|
-
<text text-anchor="start" x="119.45" y="-655" font-family="Arial" font-size="14.00"> Hierarchical tag in format: root:level1:level2 (e.g., database:postgresql:timescaledb)</text>
|
|
180
|
-
</g>
|
|
181
|
-
<!-- public.node_tags->public.tags -->
|
|
126
|
+
<title>robots</title>
|
|
127
|
+
<g id="a_node7"><a xlink:href="robots.md" xlink:title="Registry of all LLM robots using the HTM system">
|
|
128
|
+
<g id="a_node7_10"><a xlink:href="robots.md" xlink:title="Registry of all LLM robots using the HTM system">
|
|
129
|
+
<polygon fill="#2b3a55" stroke="none" points="338.38,-385.5 338.38,-418.25 401.88,-418.25 401.88,-385.5 338.38,-385.5"/>
|
|
130
|
+
<polygon fill="none" stroke="#c8d1dc" points="338.38,-385.5 338.38,-418.25 401.88,-418.25 401.88,-385.5 338.38,-385.5"/>
|
|
131
|
+
<text xml:space="preserve" text-anchor="start" x="345.38" y="-397.05" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">robots</text>
|
|
132
|
+
</a>
|
|
133
|
+
</g>
|
|
134
|
+
<g id="a_node7_11"><a xlink:href="robots.md" xlink:title="Registry of all LLM robots using the HTM system">
|
|
135
|
+
<polygon fill="none" stroke="#c8d1dc" points="338.38,-357.25 338.38,-385.5 401.88,-385.5 401.88,-357.25 338.38,-357.25"/>
|
|
136
|
+
<text xml:space="preserve" text-anchor="start" x="345.38" y="-368.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
137
|
+
<text xml:space="preserve" text-anchor="start" x="358.12" y="-368.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
138
|
+
</a>
|
|
139
|
+
</g>
|
|
140
|
+
</a>
|
|
141
|
+
</g>
|
|
142
|
+
</g>
|
|
143
|
+
<!-- node_links->robots -->
|
|
182
144
|
<g id="edge2" class="edge">
|
|
183
|
-
<title>
|
|
184
|
-
<
|
|
185
|
-
<
|
|
186
|
-
<
|
|
145
|
+
<title>node_links:e->robots:w</title>
|
|
146
|
+
<g id="a_edge2"><a xlink:href="node_links.md" xlink:title="node_links.robot_id references robots.id">
|
|
147
|
+
<path fill="none" stroke="#7aa2f7" d="M164.49,-461.6C240.89,-455.42 249.36,-380.3 323.77,-372.1"/>
|
|
148
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="164.58,-461.59 154.41,-457.49 159.25,-461.8 154.92,-461.97 154.92,-461.97 154.92,-461.97 159.25,-461.8 154.76,-466.48 164.58,-461.59"/>
|
|
149
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="336.11,-366.44 336.64,-376.42 334.65,-376.53 334.11,-366.54 336.11,-366.44"/>
|
|
150
|
+
<polyline fill="none" stroke="#7aa2f7" points="337.38,-371.38 332.38,-371.64"/>
|
|
151
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="327.89" cy="-371.88" rx="4" ry="4"/>
|
|
152
|
+
</a>
|
|
187
153
|
</g>
|
|
188
|
-
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
<path fill="none" stroke="black" d="M1419.75,-563.95C1497.06,-534.03 1417.68,-151 1327.38,-151"/>
|
|
192
|
-
<polygon fill="black" stroke="black" points="1419.7,-563.96 1409.06,-561.31 1414.45,-564.91 1410.19,-565.68 1410.19,-565.68 1410.19,-565.68 1414.45,-564.91 1410.66,-570.17 1419.7,-563.96"/>
|
|
193
|
-
<text text-anchor="start" x="1416.53" y="-575.8" font-family="Arial" font-size="10.00">FOREIGN KEY (source_id) REFERENCES file_sources(id) ON DELETE SET NULL</text>
|
|
154
|
+
<g id="a_edge2-label"><a xlink:href="node_links.md" xlink:title="robot_id">
|
|
155
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-442.05" font-family="Arial" font-size="9.00" fill="#9aa4b2">robot_id</text>
|
|
156
|
+
</a>
|
|
194
157
|
</g>
|
|
195
|
-
<!-- public.robot_nodes -->
|
|
196
|
-
<g id="node4" class="node">
|
|
197
|
-
<title>public.robot_nodes</title>
|
|
198
|
-
<polygon fill="#efefef" stroke="none" points="1107.77,-1396.4 1107.77,-1442.4 1737.26,-1442.4 1737.26,-1396.4 1107.77,-1396.4"/>
|
|
199
|
-
<polygon fill="none" stroke="black" points="1107.77,-1396.4 1107.77,-1442.4 1737.26,-1442.4 1737.26,-1396.4 1107.77,-1396.4"/>
|
|
200
|
-
<text text-anchor="start" x="1291.03" y="-1420.2" font-family="Arial Bold" font-size="18.00">public.robot_nodes</text>
|
|
201
|
-
<text text-anchor="start" x="1429.51" y="-1420.2" font-family="Arial" font-size="14.00"> </text>
|
|
202
|
-
<text text-anchor="start" x="1460.63" y="-1420.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
|
|
203
|
-
<text text-anchor="start" x="1255.2" y="-1405.8" font-family="Arial" font-size="14.00" fill="#333333">Join table connecting robots to nodes (many-to-many)</text>
|
|
204
|
-
<polygon fill="none" stroke="black" points="1107.77,-1365.6 1107.77,-1396.4 1737.26,-1396.4 1737.26,-1365.6 1107.77,-1365.6"/>
|
|
205
|
-
<text text-anchor="start" x="1114.77" y="-1377.8" font-family="Arial" font-size="14.00">created_at </text>
|
|
206
|
-
<text text-anchor="start" x="1184.82" y="-1377.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
207
|
-
<polygon fill="none" stroke="black" points="1107.77,-1334.8 1107.77,-1365.6 1737.26,-1365.6 1737.26,-1334.8 1107.77,-1334.8"/>
|
|
208
|
-
<text text-anchor="start" x="1114.77" y="-1347" font-family="Arial" font-size="14.00">deleted_at </text>
|
|
209
|
-
<text text-anchor="start" x="1184.05" y="-1347" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
210
|
-
<text text-anchor="start" x="1349.77" y="-1347" font-family="Arial" font-size="14.00"> Soft delete timestamp</text>
|
|
211
|
-
<polygon fill="none" stroke="black" points="1107.77,-1304 1107.77,-1334.8 1737.26,-1334.8 1737.26,-1304 1107.77,-1304"/>
|
|
212
|
-
<text text-anchor="start" x="1114.77" y="-1316.2" font-family="Arial" font-size="14.00">first_remembered_at </text>
|
|
213
|
-
<text text-anchor="start" x="1247.82" y="-1316.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
214
|
-
<text text-anchor="start" x="1413.55" y="-1316.2" font-family="Arial" font-size="14.00"> When this robot first remembered this content</text>
|
|
215
|
-
<polygon fill="none" stroke="black" points="1107.77,-1273.2 1107.77,-1304 1737.26,-1304 1737.26,-1273.2 1107.77,-1273.2"/>
|
|
216
|
-
<text text-anchor="start" x="1114.77" y="-1285.4" font-family="Arial" font-size="14.00">id </text>
|
|
217
|
-
<text text-anchor="start" x="1129.55" y="-1285.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
218
|
-
<polygon fill="none" stroke="black" points="1107.77,-1242.4 1107.77,-1273.2 1737.26,-1273.2 1737.26,-1242.4 1107.77,-1242.4"/>
|
|
219
|
-
<text text-anchor="start" x="1114.77" y="-1254.6" font-family="Arial" font-size="14.00">last_remembered_at </text>
|
|
220
|
-
<text text-anchor="start" x="1247.06" y="-1254.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
221
|
-
<text text-anchor="start" x="1412.78" y="-1254.6" font-family="Arial" font-size="14.00"> When this robot last tried to remember this content</text>
|
|
222
|
-
<polygon fill="none" stroke="black" points="1107.77,-1211.6 1107.77,-1242.4 1737.26,-1242.4 1737.26,-1211.6 1107.77,-1211.6"/>
|
|
223
|
-
<text text-anchor="start" x="1114.77" y="-1223.8" font-family="Arial" font-size="14.00">node_id </text>
|
|
224
|
-
<text text-anchor="start" x="1168.49" y="-1223.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
225
|
-
<text text-anchor="start" x="1209.73" y="-1223.8" font-family="Arial" font-size="14.00"> ID of the node being remembered</text>
|
|
226
|
-
<polygon fill="none" stroke="black" points="1107.77,-1180.8 1107.77,-1211.6 1737.26,-1211.6 1737.26,-1180.8 1107.77,-1180.8"/>
|
|
227
|
-
<text text-anchor="start" x="1114.77" y="-1193" font-family="Arial" font-size="14.00">remember_count </text>
|
|
228
|
-
<text text-anchor="start" x="1224.49" y="-1193" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
|
|
229
|
-
<text text-anchor="start" x="1275.07" y="-1193" font-family="Arial" font-size="14.00"> Number of times this robot has tried to remember this content</text>
|
|
230
|
-
<polygon fill="none" stroke="black" points="1107.77,-1150 1107.77,-1180.8 1737.26,-1180.8 1737.26,-1150 1107.77,-1150"/>
|
|
231
|
-
<text text-anchor="start" x="1114.77" y="-1162.2" font-family="Arial" font-size="14.00">robot_id </text>
|
|
232
|
-
<text text-anchor="start" x="1169.25" y="-1162.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
|
|
233
|
-
<text text-anchor="start" x="1210.5" y="-1162.2" font-family="Arial" font-size="14.00"> ID of the robot that remembered this node</text>
|
|
234
|
-
<polygon fill="none" stroke="black" points="1107.77,-1119.2 1107.77,-1150 1737.26,-1150 1737.26,-1119.2 1107.77,-1119.2"/>
|
|
235
|
-
<text text-anchor="start" x="1114.77" y="-1131.4" font-family="Arial" font-size="14.00">updated_at </text>
|
|
236
|
-
<text text-anchor="start" x="1188.73" y="-1131.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp with time zone]</text>
|
|
237
|
-
<polygon fill="none" stroke="black" points="1107.77,-1088.4 1107.77,-1119.2 1737.26,-1119.2 1737.26,-1088.4 1107.77,-1088.4"/>
|
|
238
|
-
<text text-anchor="start" x="1114.77" y="-1100.6" font-family="Arial" font-size="14.00">working_memory </text>
|
|
239
|
-
<text text-anchor="start" x="1225.24" y="-1100.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
|
|
240
|
-
<text text-anchor="start" x="1282.85" y="-1100.6" font-family="Arial" font-size="14.00"> True if this node is currently in the robot working memory</text>
|
|
241
|
-
</g>
|
|
242
|
-
<!-- public.robot_nodes->public.nodes -->
|
|
243
|
-
<g id="edge5" class="edge">
|
|
244
|
-
<title>public.robot_nodes:node_id->public.nodes:id</title>
|
|
245
|
-
<path fill="none" stroke="black" d="M1096.53,-1226.28C1028.54,-1216.21 1056.39,-1102.78 1107.77,-1045.2 1197.41,-944.75 1319.03,-1109.77 1408.53,-1009.2 1460.39,-950.93 1487.53,-658.2 1409.53,-658.2"/>
|
|
246
|
-
<polygon fill="black" stroke="black" points="1096.46,-1226.28 1106.12,-1231.47 1101.78,-1226.65 1106.1,-1226.95 1106.1,-1226.95 1106.1,-1226.95 1101.78,-1226.65 1106.75,-1222.49 1096.46,-1226.28"/>
|
|
247
|
-
<text text-anchor="start" x="848.61" y="-1211" font-family="Arial" font-size="10.00">FOREIGN KEY (node_id) REFERENCES nodes(id) ON DELETE CASCADE</text>
|
|
248
158
|
</g>
|
|
249
|
-
<!--
|
|
250
|
-
<g id="
|
|
251
|
-
<title>
|
|
252
|
-
<
|
|
253
|
-
<
|
|
254
|
-
<
|
|
255
|
-
<
|
|
256
|
-
<text text-anchor="start" x="
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
<
|
|
260
|
-
<
|
|
261
|
-
<text text-anchor="start" x="
|
|
262
|
-
<
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
<
|
|
266
|
-
<
|
|
267
|
-
<text text-anchor="start" x="
|
|
268
|
-
<text text-anchor="start" x="
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
<
|
|
272
|
-
<
|
|
273
|
-
</
|
|
274
|
-
|
|
159
|
+
<!-- node_relationships -->
|
|
160
|
+
<g id="node3" class="node">
|
|
161
|
+
<title>node_relationships</title>
|
|
162
|
+
<g id="a_node3"><a xlink:href="node_relationships.md" xlink:title="Weighted directed edges between nodes for graph traversal">
|
|
163
|
+
<g id="a_node3_12"><a xlink:href="node_relationships.md" xlink:title="Weighted directed edges between nodes for graph traversal">
|
|
164
|
+
<polygon fill="#2b3a55" stroke="none" points="9.88,-236.75 9.88,-269.5 170.88,-269.5 170.88,-236.75 9.88,-236.75"/>
|
|
165
|
+
<polygon fill="none" stroke="#c8d1dc" points="9.88,-236.75 9.88,-269.5 170.88,-269.5 170.88,-236.75 9.88,-236.75"/>
|
|
166
|
+
<text xml:space="preserve" text-anchor="start" x="16.88" y="-248.3" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">node_relationships</text>
|
|
167
|
+
</a>
|
|
168
|
+
</g>
|
|
169
|
+
<g id="a_node3_13"><a xlink:href="node_relationships.md" xlink:title="Weighted directed edges between nodes for graph traversal">
|
|
170
|
+
<polygon fill="none" stroke="#c8d1dc" points="9.88,-208.5 9.88,-236.75 170.88,-236.75 170.88,-208.5 9.88,-208.5"/>
|
|
171
|
+
<text xml:space="preserve" text-anchor="start" x="16.88" y="-219.35" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
172
|
+
<text xml:space="preserve" text-anchor="start" x="29.62" y="-219.35" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
173
|
+
</a>
|
|
174
|
+
</g>
|
|
175
|
+
<g id="a_node3_14"><a xlink:href="node_relationships.md" xlink:title="Starting node of the relationship">
|
|
176
|
+
<polygon fill="none" stroke="#c8d1dc" points="9.88,-180.25 9.88,-208.5 170.88,-208.5 170.88,-180.25 9.88,-180.25"/>
|
|
177
|
+
<text xml:space="preserve" text-anchor="start" x="16.88" y="-191.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">source_id </text>
|
|
178
|
+
<text xml:space="preserve" text-anchor="start" x="72.38" y="-191.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
179
|
+
</a>
|
|
180
|
+
</g>
|
|
181
|
+
<g id="a_node3_15"><a xlink:href="node_relationships.md" xlink:title="Ending node of the relationship">
|
|
182
|
+
<polygon fill="none" stroke="#c8d1dc" points="9.88,-152 9.88,-180.25 170.88,-180.25 170.88,-152 9.88,-152"/>
|
|
183
|
+
<text xml:space="preserve" text-anchor="start" x="16.88" y="-162.85" font-family="Arial" font-size="12.00" fill="#e6e6e6">target_id </text>
|
|
184
|
+
<text xml:space="preserve" text-anchor="start" x="66.38" y="-162.85" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
185
|
+
</a>
|
|
186
|
+
</g>
|
|
187
|
+
</a>
|
|
188
|
+
</g>
|
|
189
|
+
</g>
|
|
190
|
+
<!-- node_relationships->nodes -->
|
|
275
191
|
<g id="edge4" class="edge">
|
|
276
|
-
<title>
|
|
277
|
-
<
|
|
278
|
-
<
|
|
279
|
-
<
|
|
192
|
+
<title>node_relationships:e->nodes:w</title>
|
|
193
|
+
<g id="a_edge4"><a xlink:href="node_relationships.md" xlink:title="node_relationships.source_id references nodes.id">
|
|
194
|
+
<path fill="none" stroke="#7aa2f7" d="M182.11,-194.7C222.18,-197.37 232.86,-216.07 273.75,-235.25 288.35,-242.1 293,-251.59 303.3,-256.03"/>
|
|
195
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="182.2,-194.7 172.35,-189.89 176.87,-194.53 172.54,-194.4 172.54,-194.4 172.54,-194.4 176.87,-194.53 172.07,-198.88 182.2,-194.7"/>
|
|
196
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="316.67,-253.4 314.86,-263.24 312.89,-262.87 314.7,-253.04 316.67,-253.4"/>
|
|
197
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 311.83,-257.6"/>
|
|
198
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="307.41" cy="-256.78" rx="4" ry="4"/>
|
|
199
|
+
</a>
|
|
200
|
+
</g>
|
|
201
|
+
<g id="a_edge4-label"><a xlink:href="node_relationships.md" xlink:title="source_id">
|
|
202
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-237.2" font-family="Arial" font-size="9.00" fill="#9aa4b2">source_id</text>
|
|
203
|
+
</a>
|
|
280
204
|
</g>
|
|
281
|
-
|
|
205
|
+
</g>
|
|
206
|
+
<!-- node_relationships->nodes -->
|
|
207
|
+
<g id="edge5" class="edge">
|
|
208
|
+
<title>node_relationships:e->nodes:w</title>
|
|
209
|
+
<g id="a_edge5"><a xlink:href="node_relationships.md" xlink:title="node_relationships.target_id references nodes.id">
|
|
210
|
+
<path fill="none" stroke="#7aa2f7" d="M182.23,-166.06C221.11,-165.58 238.93,-163.51 273.75,-188.25 298.93,-206.14 286.17,-243.85 303.56,-255.2"/>
|
|
211
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="182.21,-166.06 172.18,-161.62 176.87,-166.09 172.54,-166.12 172.54,-166.12 172.54,-166.12 176.87,-166.09 172.24,-170.62 182.21,-166.06"/>
|
|
212
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="316.99,-253.41 314.57,-263.11 312.63,-262.62 315.05,-252.92 316.99,-253.41"/>
|
|
213
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 311.9,-257.29"/>
|
|
214
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="307.53" cy="-256.2" rx="4" ry="4"/>
|
|
215
|
+
</a>
|
|
216
|
+
</g>
|
|
217
|
+
<g id="a_edge5-label"><a xlink:href="node_relationships.md" xlink:title="target_id">
|
|
218
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-190.2" font-family="Arial" font-size="9.00" fill="#9aa4b2">target_id</text>
|
|
219
|
+
</a>
|
|
220
|
+
</g>
|
|
221
|
+
</g>
|
|
222
|
+
<!-- node_tags -->
|
|
223
|
+
<g id="node4" class="node">
|
|
224
|
+
<title>node_tags</title>
|
|
225
|
+
<g id="a_node4"><a xlink:href="node_tags.md" xlink:title="Join table connecting nodes to tags (many-to-many)">
|
|
226
|
+
<g id="a_node4_16"><a xlink:href="node_tags.md" xlink:title="Join table connecting nodes to tags (many-to-many)">
|
|
227
|
+
<polygon fill="#2b3a55" stroke="none" points="42.5,-88.75 42.5,-121.5 138.25,-121.5 138.25,-88.75 42.5,-88.75"/>
|
|
228
|
+
<polygon fill="none" stroke="#c8d1dc" points="42.5,-88.75 42.5,-121.5 138.25,-121.5 138.25,-88.75 42.5,-88.75"/>
|
|
229
|
+
<text xml:space="preserve" text-anchor="start" x="50.25" y="-100.3" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">node_tags</text>
|
|
230
|
+
</a>
|
|
231
|
+
</g>
|
|
232
|
+
<g id="a_node4_17"><a xlink:href="node_tags.md" xlink:title="Join table connecting nodes to tags (many-to-many)">
|
|
233
|
+
<polygon fill="none" stroke="#c8d1dc" points="42.5,-60.5 42.5,-88.75 138.25,-88.75 138.25,-60.5 42.5,-60.5"/>
|
|
234
|
+
<text xml:space="preserve" text-anchor="start" x="49.5" y="-71.35" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
235
|
+
<text xml:space="preserve" text-anchor="start" x="62.25" y="-71.35" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
236
|
+
</a>
|
|
237
|
+
</g>
|
|
238
|
+
<g id="a_node4_18"><a xlink:href="node_tags.md" xlink:title="ID of the node being tagged">
|
|
239
|
+
<polygon fill="none" stroke="#c8d1dc" points="42.5,-32.25 42.5,-60.5 138.25,-60.5 138.25,-32.25 42.5,-32.25"/>
|
|
240
|
+
<text xml:space="preserve" text-anchor="start" x="49.5" y="-43.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">node_id </text>
|
|
241
|
+
<text xml:space="preserve" text-anchor="start" x="96" y="-43.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
242
|
+
</a>
|
|
243
|
+
</g>
|
|
244
|
+
<g id="a_node4_19"><a xlink:href="node_tags.md" xlink:title="ID of the tag being applied">
|
|
245
|
+
<polygon fill="none" stroke="#c8d1dc" points="42.5,-4 42.5,-32.25 138.25,-32.25 138.25,-4 42.5,-4"/>
|
|
246
|
+
<text xml:space="preserve" text-anchor="start" x="49.5" y="-14.85" font-family="Arial" font-size="12.00" fill="#e6e6e6">tag_id </text>
|
|
247
|
+
<text xml:space="preserve" text-anchor="start" x="85.5" y="-14.85" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
248
|
+
</a>
|
|
249
|
+
</g>
|
|
250
|
+
</a>
|
|
251
|
+
</g>
|
|
252
|
+
</g>
|
|
253
|
+
<!-- node_tags->nodes -->
|
|
254
|
+
<g id="edge7" class="edge">
|
|
255
|
+
<title>node_tags:e->nodes:w</title>
|
|
256
|
+
<g id="a_edge7"><a xlink:href="node_tags.md" xlink:title="node_tags.node_id references nodes.id">
|
|
257
|
+
<path fill="none" stroke="#7aa2f7" d="M149.47,-46.66C216.12,-50.49 230.43,-92.75 273.75,-150.25 301.61,-187.24 272.61,-244.67 303.24,-256.38"/>
|
|
258
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="149.58,-46.66 139.71,-41.89 144.25,-46.51 139.92,-46.39 139.92,-46.39 139.92,-46.39 144.25,-46.51 139.46,-50.88 149.58,-46.66"/>
|
|
259
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="316.54,-253.41 314.99,-263.28 313.01,-262.97 314.56,-253.09 316.54,-253.41"/>
|
|
260
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 311.81,-257.72"/>
|
|
261
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="307.37" cy="-257.02" rx="4" ry="4"/>
|
|
262
|
+
</a>
|
|
263
|
+
</g>
|
|
264
|
+
<g id="a_edge7-label"><a xlink:href="node_tags.md" xlink:title="node_id">
|
|
265
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-152.2" font-family="Arial" font-size="9.00" fill="#9aa4b2">node_id</text>
|
|
266
|
+
</a>
|
|
267
|
+
</g>
|
|
268
|
+
</g>
|
|
269
|
+
<!-- tags -->
|
|
270
|
+
<g id="node9" class="node">
|
|
271
|
+
<title>tags</title>
|
|
272
|
+
<g id="a_node9"><a xlink:href="tags.md" xlink:title="Unique tag names for categorization">
|
|
273
|
+
<g id="a_node9_20"><a xlink:href="tags.md" xlink:title="Unique tag names for categorization">
|
|
274
|
+
<polygon fill="#2b3a55" stroke="none" points="339.12,-32.5 339.12,-65.25 401.12,-65.25 401.12,-32.5 339.12,-32.5"/>
|
|
275
|
+
<polygon fill="none" stroke="#c8d1dc" points="339.12,-32.5 339.12,-65.25 401.12,-65.25 401.12,-32.5 339.12,-32.5"/>
|
|
276
|
+
<text xml:space="preserve" text-anchor="start" x="353.62" y="-44.05" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">tags</text>
|
|
277
|
+
</a>
|
|
278
|
+
</g>
|
|
279
|
+
<g id="a_node9_21"><a xlink:href="tags.md" xlink:title="Unique tag names for categorization">
|
|
280
|
+
<polygon fill="none" stroke="#c8d1dc" points="339.12,-4.25 339.12,-32.5 401.12,-32.5 401.12,-4.25 339.12,-4.25"/>
|
|
281
|
+
<text xml:space="preserve" text-anchor="start" x="346.12" y="-15.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
282
|
+
<text xml:space="preserve" text-anchor="start" x="358.88" y="-15.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
283
|
+
</a>
|
|
284
|
+
</g>
|
|
285
|
+
</a>
|
|
286
|
+
</g>
|
|
287
|
+
</g>
|
|
288
|
+
<!-- node_tags->tags -->
|
|
289
|
+
<g id="edge6" class="edge">
|
|
290
|
+
<title>node_tags:e->tags:w</title>
|
|
291
|
+
<g id="a_edge6"><a xlink:href="node_tags.md" xlink:title="node_tags.tag_id references tags.id">
|
|
292
|
+
<path fill="none" stroke="#7aa2f7" d="M149.31,-18.13C224.93,-18.14 250.32,-18.35 324.26,-18.37"/>
|
|
293
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="149.58,-18.13 139.59,-13.63 144.25,-18.13 139.92,-18.13 139.92,-18.13 139.92,-18.13 144.25,-18.13 139.58,-22.63 149.58,-18.13"/>
|
|
294
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="337.13,-13.37 337.12,-23.37 335.12,-23.37 335.13,-13.37 337.13,-13.37"/>
|
|
295
|
+
<polyline fill="none" stroke="#7aa2f7" points="338.12,-18.38 333.13,-18.37"/>
|
|
296
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="328.63" cy="-18.37" rx="4" ry="4"/>
|
|
297
|
+
</a>
|
|
298
|
+
</g>
|
|
299
|
+
<g id="a_edge6-label"><a xlink:href="node_tags.md" xlink:title="tag_id">
|
|
300
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-20.27" font-family="Arial" font-size="9.00" fill="#9aa4b2">tag_id</text>
|
|
301
|
+
</a>
|
|
302
|
+
</g>
|
|
303
|
+
</g>
|
|
304
|
+
<!-- nodes->file_sources -->
|
|
305
|
+
<g id="edge8" class="edge">
|
|
306
|
+
<title>nodes:e->file_sources:w</title>
|
|
307
|
+
<g id="a_edge8"><a xlink:href="nodes.md" xlink:title="nodes.source_id references file_sources.id">
|
|
308
|
+
<path fill="none" stroke="#7aa2f7" d="M433.87,-230.25C477.22,-230.26 494.18,-230.36 536.12,-230.37"/>
|
|
309
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="433.83,-230.25 423.84,-225.75 428.5,-230.25 424.17,-230.25 424.17,-230.25 424.17,-230.25 428.5,-230.25 423.83,-234.75 433.83,-230.25"/>
|
|
310
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="549,-225.37 549,-235.37 547,-235.37 547,-225.37 549,-225.37"/>
|
|
311
|
+
<polyline fill="none" stroke="#7aa2f7" points="550,-230.38 545,-230.37"/>
|
|
312
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="540.5" cy="-230.37" rx="4" ry="4"/>
|
|
313
|
+
</a>
|
|
314
|
+
</g>
|
|
315
|
+
<g id="a_edge8-label"><a xlink:href="nodes.md" xlink:title="source_id">
|
|
316
|
+
<text xml:space="preserve" text-anchor="middle" x="486.75" y="-232.29" font-family="Arial" font-size="9.00" fill="#9aa4b2">source_id</text>
|
|
317
|
+
</a>
|
|
318
|
+
</g>
|
|
319
|
+
</g>
|
|
320
|
+
<!-- robot_nodes -->
|
|
282
321
|
<g id="node6" class="node">
|
|
283
|
-
<title>
|
|
284
|
-
<
|
|
285
|
-
<
|
|
286
|
-
<
|
|
287
|
-
<
|
|
288
|
-
<text text-anchor="start" x="
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
<
|
|
322
|
+
<title>robot_nodes</title>
|
|
323
|
+
<g id="a_node6"><a xlink:href="robot_nodes.md" xlink:title="Join table connecting robots to nodes (many-to-many)">
|
|
324
|
+
<g id="a_node6_22"><a xlink:href="robot_nodes.md" xlink:title="Join table connecting robots to nodes (many-to-many)">
|
|
325
|
+
<polygon fill="#2b3a55" stroke="none" points="35,-384.75 35,-417.5 145.75,-417.5 145.75,-384.75 35,-384.75"/>
|
|
326
|
+
<polygon fill="none" stroke="#c8d1dc" points="35,-384.75 35,-417.5 145.75,-417.5 145.75,-384.75 35,-384.75"/>
|
|
327
|
+
<text xml:space="preserve" text-anchor="start" x="42" y="-396.3" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">robot_nodes</text>
|
|
328
|
+
</a>
|
|
329
|
+
</g>
|
|
330
|
+
<g id="a_node6_23"><a xlink:href="robot_nodes.md" xlink:title="Join table connecting robots to nodes (many-to-many)">
|
|
331
|
+
<polygon fill="none" stroke="#c8d1dc" points="35,-356.5 35,-384.75 145.75,-384.75 145.75,-356.5 35,-356.5"/>
|
|
332
|
+
<text xml:space="preserve" text-anchor="start" x="42" y="-367.35" font-family="Arial" font-size="12.00" fill="#e6e6e6">id </text>
|
|
333
|
+
<text xml:space="preserve" text-anchor="start" x="54.75" y="-367.35" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
334
|
+
</a>
|
|
335
|
+
</g>
|
|
336
|
+
<g id="a_node6_24"><a xlink:href="robot_nodes.md" xlink:title="ID of the robot that remembered this node">
|
|
337
|
+
<polygon fill="none" stroke="#c8d1dc" points="35,-328.25 35,-356.5 145.75,-356.5 145.75,-328.25 35,-328.25"/>
|
|
338
|
+
<text xml:space="preserve" text-anchor="start" x="42" y="-339.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">robot_id </text>
|
|
339
|
+
<text xml:space="preserve" text-anchor="start" x="88.5" y="-339.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
340
|
+
</a>
|
|
341
|
+
</g>
|
|
342
|
+
<g id="a_node6_25"><a xlink:href="robot_nodes.md" xlink:title="ID of the node being remembered">
|
|
343
|
+
<polygon fill="none" stroke="#c8d1dc" points="35,-300 35,-328.25 145.75,-328.25 145.75,-300 35,-300"/>
|
|
344
|
+
<text xml:space="preserve" text-anchor="start" x="42" y="-310.85" font-family="Arial" font-size="12.00" fill="#e6e6e6">node_id </text>
|
|
345
|
+
<text xml:space="preserve" text-anchor="start" x="88.5" y="-310.85" font-family="Arial" font-size="12.00" fill="#9aa4b2">[bigint]</text>
|
|
346
|
+
</a>
|
|
347
|
+
</g>
|
|
348
|
+
</a>
|
|
349
|
+
</g>
|
|
350
|
+
</g>
|
|
351
|
+
<!-- robot_nodes->nodes -->
|
|
352
|
+
<g id="edge10" class="edge">
|
|
353
|
+
<title>robot_nodes:e->nodes:w</title>
|
|
354
|
+
<g id="a_edge10"><a xlink:href="robot_nodes.md" xlink:title="robot_nodes.node_id references nodes.id">
|
|
355
|
+
<path fill="none" stroke="#7aa2f7" d="M157.08,-313.33C182.4,-309.13 187.5,-289.38 216.75,-279.25 254.95,-266.02 268.42,-259.9 302.98,-258.72"/>
|
|
356
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="157.05,-313.33 146.74,-309.61 151.74,-313.74 147.42,-314.07 147.42,-314.07 147.42,-314.07 151.74,-313.74 147.43,-318.59 157.05,-313.33"/>
|
|
357
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="315.67,-253.52 315.83,-263.52 313.83,-263.55 313.67,-253.55 315.67,-253.52"/>
|
|
358
|
+
<polyline fill="none" stroke="#7aa2f7" points="316.75,-258.5 311.75,-258.58"/>
|
|
359
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="307.25" cy="-258.65" rx="4" ry="4"/>
|
|
360
|
+
</a>
|
|
361
|
+
</g>
|
|
362
|
+
<g id="a_edge10-label"><a xlink:href="robot_nodes.md" xlink:title="node_id">
|
|
363
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-281.2" font-family="Arial" font-size="9.00" fill="#9aa4b2">node_id</text>
|
|
364
|
+
</a>
|
|
365
|
+
</g>
|
|
366
|
+
</g>
|
|
367
|
+
<!-- robot_nodes->robots -->
|
|
368
|
+
<g id="edge9" class="edge">
|
|
369
|
+
<title>robot_nodes:e->robots:w</title>
|
|
370
|
+
<g id="a_edge9"><a xlink:href="robot_nodes.md" xlink:title="robot_nodes.robot_id references robots.id">
|
|
371
|
+
<path fill="none" stroke="#7aa2f7" d="M156.97,-342.52C229.61,-344.58 252.53,-368.33 323.53,-371.11"/>
|
|
372
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="157.08,-342.52 147.15,-337.88 151.75,-342.44 147.42,-342.38 147.42,-342.38 147.42,-342.38 151.75,-342.44 147.02,-346.88 157.08,-342.52"/>
|
|
373
|
+
<polygon fill="#7aa2f7" stroke="#7aa2f7" points="336.47,-366.36 336.28,-376.35 334.28,-376.32 334.47,-366.32 336.47,-366.36"/>
|
|
374
|
+
<polyline fill="none" stroke="#7aa2f7" points="337.38,-371.38 332.38,-371.28"/>
|
|
375
|
+
<ellipse fill="none" stroke="#7aa2f7" cx="327.88" cy="-371.19" rx="4" ry="4"/>
|
|
376
|
+
</a>
|
|
377
|
+
</g>
|
|
378
|
+
<g id="a_edge9-label"><a xlink:href="robot_nodes.md" xlink:title="robot_id">
|
|
379
|
+
<text xml:space="preserve" text-anchor="middle" x="245.25" y="-366.32" font-family="Arial" font-size="9.00" fill="#9aa4b2">robot_id</text>
|
|
380
|
+
</a>
|
|
381
|
+
</g>
|
|
382
|
+
</g>
|
|
383
|
+
<!-- schema_migrations -->
|
|
384
|
+
<g id="node8" class="node">
|
|
385
|
+
<title>schema_migrations</title>
|
|
386
|
+
<g id="a_node8"><a xlink:href="schema_migrations.md" xlink:title="<TABLE>">
|
|
387
|
+
<g id="a_node8_26"><a xlink:href="schema_migrations.md" xlink:title="<TABLE>">
|
|
388
|
+
<polygon fill="#2b3a55" stroke="none" points="8,-651.5 8,-684.25 172.75,-684.25 172.75,-651.5 8,-651.5"/>
|
|
389
|
+
<polygon fill="none" stroke="#c8d1dc" points="8,-651.5 8,-684.25 172.75,-684.25 172.75,-651.5 8,-651.5"/>
|
|
390
|
+
<text xml:space="preserve" text-anchor="start" x="15" y="-663.05" font-family="Arial" font-weight="bold" font-size="16.00" fill="#ffffff">schema_migrations</text>
|
|
391
|
+
</a>
|
|
392
|
+
</g>
|
|
393
|
+
<g id="a_node8_27"><a xlink:href="schema_migrations.md" xlink:title="<TABLE>">
|
|
394
|
+
<polygon fill="none" stroke="#c8d1dc" points="8,-623.25 8,-651.5 172.75,-651.5 172.75,-623.25 8,-623.25"/>
|
|
395
|
+
<text xml:space="preserve" text-anchor="start" x="15" y="-634.1" font-family="Arial" font-size="12.00" fill="#e6e6e6">version </text>
|
|
396
|
+
<text xml:space="preserve" text-anchor="start" x="57" y="-634.1" font-family="Arial" font-size="12.00" fill="#9aa4b2">[character varying]</text>
|
|
397
|
+
</a>
|
|
398
|
+
</g>
|
|
399
|
+
</a>
|
|
400
|
+
</g>
|
|
292
401
|
</g>
|
|
293
402
|
</g>
|
|
294
403
|
</svg>
|