fix: close v10.7.0 integration bugs #251-#255 - #257
Merged
Merged
Conversation
Init no longer walks up to an ancestor .agent-brain (including ~/.agent-brain). UDS long-path fallback uses a 0o700 per-user dir instead of /tmp. The code extractor emits Class/Function/Method nodes and walks AST for classes, methods, and calls. CLI unwraps ExceptionGroup so MCP errors surface, and status.total_documents comes from the persisted manifest. Relative graphrag.index_path resolves against the project root instead of nesting a second state dir. Closes #251 Closes #252 Closes #253 Closes #254 Closes #255
This was referenced Sep 19, 2026
cli: agent-brain init adopts an ancestor .agent-brain (including ~/.agent-brain) instead of cwd
#251
Closed
uds: /tmp long-path fallback is refused on macOS (parent dir is 0o755); auto transport hides it
#252
Closed
Closed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #256. The five product bugs filed from the v10.7.0 integration test are fixed here with tests.
Closes #251, #252, #253, #254, #255.
Out of scope: #249 (
mcp2.x) and #236 (needs-info, close date 2026-10-03).Fixes
agent-brain initwalked up and adopted an ancestor.agent-brain(including~/.agent-brain)--pathusesPath.cwd(), notresolve_project_root(). Walk-up stays for start/query/status./tmp(0o755); client refused it;chmod 700 /tmpis not actionable$XDG_RUNTIME_DIR→tempfile.gettempdir()if 0o700 →~/.agent-brain/run0o700.start --uds --jsonreportssocket_path.Symbolnodes and missed classes/methodssymbol_kindto Class/Function/Method; AST walk emits contains/defined_in/calls/extends. Never returnsSymbol.unhandled errors in a TaskGroup;status.total_documentswas 0 after a successful indexget_statusprefers the persisted manifest file count.graphrag.index_path: .agent-brain/graph_indexnested a second state dirgraph_index/./graph_index→{state_dir}/data/graph_index; other relative paths →{project_root}/{path}.Test plan
task before-pushtask pr-qa-gate