Skip to content

Commit 5552074

Browse files
author
Test User
committed
feat(kg): ast-grep enrichment — 340 code identifiers mapped to 16 concepts, thesaurus 145→492 entries
Extracted struct/enum names via ast-grep, bucketed by concept using name-based rules (endswith Provider, contains Session, etc.), appended to KG markdown files, regenerated thesaurus. Result: DockerExecutor, WorkspaceManager, FirecrackerExecutor and 337 other code identifiers now boost relevance to 4.0 when searched.
1 parent abd70f0 commit 5552074

17 files changed

Lines changed: 1570 additions & 154 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Agent System
2+
3+
synonyms:: AgentDefinition, AgentDeploymentSpec, AgentEvent, AgentHandle, AgentKey, AgentLayer, AgentMetrics, AgentOrchestrator, AgentPermit, AgentPool, AgentRegistry, AgentRunRecord, AgentRunRequest, AgentScope, AgentSelectionRule, AgentSource, AgentSpawner, AgentSubcommand, AgentValidateAllReport
4+

.terraphim/kg/rust-engineer/blockerkind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Classification of why a PR is blocked from auto-merge.
44

5-
synonyms:: blocker, blockerkind, ci_failed, ci_pending, ci_no_status, not_mergeable, classification, BlockerKind
5+
synonyms:: blocker, blockerkind, ci_failed, ci_pending, ci_no_status, not_mergeable, classification, BlockerKind, BlockerRef

.terraphim/kg/rust-engineer/cli.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Cli
2+
3+
synonyms:: BashCommand, CLIInterface, CliResponse, Command, ConfigSubcommand, DispatchCommand, FileSubcommand, MarkdownCommand, ReplCommand, RobotSubcommand, RoleSubcommand, SessionsSubcommand, UpdateSubcommand, VmSubcommand, WebConfigSubcommand, WebSubcommand
4+

.terraphim/kg/rust-engineer/concurrency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Thread-safe smart pointers and synchronisation types for shared-state concurrency.
44

5-
synonyms:: Arc, Mutex, RwLock, Cow, Cell, RefCell, OnceCell, parking_lot, atomics, lock, concurrency, thread safety
5+
synonyms:: Arc, Mutex, RwLock, Cow, Cell, RefCell, OnceCell, parking_lot, atomics, lock, concurrency, thread safety, ChannelManager, ChannelsConfig, CliChannel, DiscordChannel, MatrixChannel, PidLockGuard, SlackChannel, TelegramChannel
66
related:: tokio, Send, Sync, trait
77
context:: concurrency
88
cost:: medium
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Config
2+
3+
synonyms:: AccessibilityTestConfig, AgentConfig, ApplicationConfig, AutoUpdaterTestConfig, BenchmarkConfig, BuildConfig, CircuitBreakerConfig, ComponentTestConfig, CompoundReviewConfig, ConcurrencyConfig, ConfigurationChange, ConfigurationChangeType, ConfigurationManager, ContrastConfig, CrossPlatformTestConfig, DeploymentConfig, DesktopUITestConfig, DesktopUITestSuiteConfig, DirectDispatchConfig, DirectLlmConfig, DiscordConfig, DownloadConfig, EvolutionConfig, ExternalLinkConfig, FileOperationConfig, FocusConfig, GateConfig, HealthConfig, HooksConfig, HotReloadConfig, IntegrationTestConfig, KeyboardConfig, KeyboardShortcutConfig, LearningConfig, LegacyStatusMirrorConfig, LinuxConfig, LinuxTestConfig, LlmBridgeConfig, LlmConfig, LocalSkillConfig, LoggingConfig, MacOSConfig, MacOSTestConfig, MatrixConfig, MemoryConfig, MentionConfig, MetricsPersistenceConfig, NetworkConfig, NightwatchConfig, OrchestratorConfig, PerformanceGateConfig, PerformanceTestConfig, PlatformConfig, PlaywrightConfig, PolicyConfig, PrDispatchConfig, ProjectAdfConfig, ProviderBudgetConfig, ProxyClientConfig, ProxyConfig, QueryLoopConfig, QuickwitConfig, ReportConfig, ResourceConfig, ResponsivenessConfig, RiskAssessmentSettings, RlmConfig, RoutingConfig, RunnerConfig, ServerIntegrationConfig, ServiceConfig, Settings, ShellToolConfig, SlackConfig, StartupConfig, SupervisionConfig, SwarmConfig, TelegramConfig, TestOutputConfig, TomlProjectAdfConfig, ToolCallingConfig, ToolsConfig, TouchBarConfig, TrackerConfig, TrajectoryLoggerConfig, TuiTestConfig, UpdateConfig, UpdaterConfig, ValidatorConfig, VisualConfig, WebToolsConfig, WebhookConfig, WindowConfig, WindowsConfig, WindowsTestConfig, WorkflowConfig, WorkspaceConfig
4+

.terraphim/kg/rust-engineer/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Rust's approach to recoverable and unrecoverable errors using Result, Option, and the ? operator.
44

5-
synonyms:: Result, Option, thiserror, anyhow, error handling, ? operator, From trait, unwrap, expect, error propagation
5+
synonyms:: Result, Option, thiserror, anyhow, error handling, ? operator, From trait, unwrap, expect, error propagation, ApplicationError, CliError, CommandError, CompileError, Error, GateError, GitHubRunnerError, JsonRpcError, KgRouterError, LearningError, McpError, MentionChainError, MetapromptRenderError, MetricsPersistenceError, OrchestratorError, PrGateContextError, QuickwitError, RlmError, RunRecordError, RunnerError, SpawnerError, SymphonyError, ToolError, VerdictParseError, WorkspaceError
66
related:: trait, async/await, tokio
77
context:: correctness
88
cost:: low

.terraphim/kg/rust-engineer/executor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Execution environment for running code and commands in isolated environments.
44

5-
synonyms:: executor, execution, firecracker, docker, local, sandbox, vm, isolate, LocalExecutor, DockerExecutor, FirecrackerExecutor
5+
synonyms:: executor, execution, firecracker, docker, local, sandbox, vm, isolate, LocalExecutor, DockerExecutor, FirecrackerExecutor, ExecutorCapabilities, FlowExecutor, HostCommandExecutor, HybridExecutor, MockCommandExecutor, SimulatedVmExecutor, SshExecutor, VmCommandExecutor, WorkflowExecutor, WorkflowExecutorConfig

.terraphim/kg/rust-engineer/merge_coordinator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Auto-merge coordinator evaluating PRs and closing issues.
44

5-
synonyms:: merge, coordinator, auto-merge, pr, pull request, gitea, blocker, contamination, GiteaClient, PrSummary, evaluate_all
5+
synonyms:: merge, coordinator, auto-merge, pr, pull request, gitea, blocker, contamination, GiteaClient, PrSummary, evaluate_all, AutoMergeCriteria, AutoMergeDecision, AutoMergeDedupeSet, AutoMergeFailureDedupe, EvalVerdict, GiteaOutputConfig, GiteaPrTracker, GiteaPullRequestPayload, GiteaPushCommit, GiteaPushPayload, GiteaPusher, GiteaRepository, GiteaSkillRepoConfig, GiteaTargetReport, GiteaTracker, GiteaUser, MergeCoordinatorError, MergeOutcome, PostMergeGateConfig, PrFile
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Orchestrator
2+
3+
synonyms:: AdfCommand, AdfCommandParser, AdfEnvelope, CompoundReviewResult, CompoundReviewWorkflow, DesktopUITestOrchestrator, DualModeOrchestrator, FlowDefinition, FlowStepDef, HandoffBuffer, HandoffContext, HandoffLedger, OrchestratorEvent, ParsedWorkflow, QuickwitFleetSink, SymphonyOrchestrator, TomlAdfAgent, WorkflowChanged, WorkflowContext, WorkflowDefinition, WorkflowOptimization, WorkflowParser, WorkflowResult, WorkflowStep, WorkflowWatcher
4+

.terraphim/kg/rust-engineer/provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Abstract LLM backend implementing the Provider trait.
44

5-
synonyms:: provider, llm backend, anthropic, openai, gemini, model, api, openrouter
5+
synonyms:: provider, llm backend, anthropic, openai, gemini, model, api, openrouter, ExaProvider, KimiSearchProvider

0 commit comments

Comments
 (0)