Skip to content

Dev#140

Merged
dcloud347 merged 9 commits intomainfrom
dev
Oct 8, 2025
Merged

Dev#140
dcloud347 merged 9 commits intomainfrom
dev

Conversation

@dcloud347
Copy link
Contributor

This pull request introduces several improvements and refactorings to the context retrieval and issue answering workflow, adds support for a new Athena semantic memory service, and updates Docker Compose configuration for better data management. The main changes can be grouped into improvements to context retrieval nodes, issue answering workflow, configuration updates, and Docker Compose refactoring.

Context Retrieval Node Improvements:

  • Added two new nodes: AddContextRefinedQueryMessageNode and AddResultContextNode, which handle refined query message formatting and context deduplication/sorting, respectively. [1] [2]
  • Refactored ContextExtractionNode to use a more structured approach for formatting human messages and extracting contexts, now supporting refined queries with extra requirements and purpose. Output is now new_contexts instead of directly updating context. [1] [2] [3]
  • Updated ContextRefineStructuredOutput to include query, extra_requirements, and purpose fields for richer context refinement.

Issue Answering Workflow Updates:

  • Passed repository_id through the API and service layers, and into the issue graph and subgraph nodes, to support repository-specific context and memory. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Configuration and Environment Updates:

  • Added support for Athena semantic memory service: new ATHENA_BASE_URL setting in config.py and corresponding environment variable in example.env. [1] [2]

Docker Compose Refactoring:

  • Switched Neo4j and Postgres data volumes from local folders to named Docker volumes for improved portability and data management. [1] [2] [3]

Minor Cleanups:

  • Removed unused imports and streamlined context extraction code for clarity and maintainability.

Let me know if you want to dive deeper into any specific change!

dcloud347 and others added 9 commits October 7, 2025 21:57
Implement sort_contexts utility function that sorts Context objects by relative_path, start_line_number, and end_line_number. This ensures consistent, predictable ordering of contexts across all retrieval nodes, improving debuggability and result stability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts:
#	prometheus/lang_graph/nodes/context_extraction_node.py
@dcloud347 dcloud347 merged commit 8613eb2 into main Oct 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant