2c805ef15d95d8d1a9e7b2acb89fdd9459f4f589
internal/tools/builtin.RegisterBuiltins has always accepted a GrepIndex and nothing ever passed one, so every grep ran the direct walk no matter what [indexing] was set to. internal/indexing was fully implemented and tested with zero production callers, and internal/config decoded IndexingConfig into nothing. Two halves of one defect. The composition root now builds an indexing.Manager and hands it to the workspace tool provider, which forwards it to RegisterBuiltins. deadcode confirms the result rather than the commit message asserting it: unreachable functions drop from 88 to 73, and all 15 internal/indexing entries are gone. Failure degrades rather than propagates. A manager that cannot build logs a warning and grep keeps its direct walk, which is exactly what it did before this was wired. An accelerator must never stop the daemon starting. The context is detached with WithoutCancel rather than replaced with Background: the index build's lifetime is the process, while the gateway path's boot context is cancelled once startup returns, so inheriting cancellation would kill the build mid-flight. Background would have satisfied the linter too, but would silently drop the caller's context values, so registerTools now takes the context its callers already had. internal/agentexec's RegisterBuiltins call is deliberately left alone. It registers builtins only to harvest their names for a plugin tool-name collision check and never executes them, so there is no grep there to accelerate.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%