Repository navigation
Unify search_semantic params: complete prompt/skill guidance (closes #1086) - #1102
Conversation
…ram alignment (closes #1086) Most of #1086's acceptance criteria were already addressed by #1085 (search_semantic graph-aware enhancements). This commit completes the remaining items: - Fix stale code comment that said property_filters was "intentionally omitted from the tool schema" — it is now exposed; update comment to reflect current state - Add include_edges, graph_boost, exclude_collections, and property_filters to the Tool Strategy Guide in prompt_assembler.rs - Add include_edges, graph_boost, and property_filters guidance to the Research & Search skill in skill_pipeline.rs All SearchSemanticParams fields are now: 1. Wired through exec_search_semantic (done in #1085) 2. Exposed in def_search_semantic() tool schema (done in #1085) 3. Documented in prompt guidance and skill definitions (this commit) 4. Covered by parity test (done in #1085) Co-Authored-By: Claude <[email protected]>
Pragmatic Code Review: PR #1102Review Type: Initial Review Requirements Check (Issue #1086)Most acceptance criteria were already met by PR #1101 (#1085). This PR addresses the remaining items:
All 7/7 acceptance criteria met. Code Review Findings🟢 Suggestion: Prompt line length📁 `packages/agent/src/prompt_assembler.rs:325` The search_semantic parameters line is getting quite long after adding the three new params. The 8B model processes this as a single bullet point, so it's functional, but readability for human maintainers could benefit from splitting into two lines (core params + advanced params). Not blocking — the current form works and matches the existing pattern. 🟢 Note: Rustfmt reformatting included📁 `packages/agent/src/prompt_assembler.rs:425-470`, `packages/agent/src/skill_pipeline.rs:555-575` The PR includes rustfmt reformatting of existing test code (line wrapping of assert macros, removal of trailing blank lines). This is correct behavior — the pre-commit hook ran `cargo fmt` and these are legitimate formatting fixes. No concerns. Summary
Recommendation: APPROVEThis is a clean, focused PR that completes the documentation side of the search_semantic unification. All acceptance criteria are met. The changes are low-risk (prompt text and code comments only) with no logic changes. |
…ram alignment (closes #1086) (#1102) Most of #1086's acceptance criteria were already addressed by #1085 (search_semantic graph-aware enhancements). This commit completes the remaining items: - Fix stale code comment that said property_filters was "intentionally omitted from the tool schema" — it is now exposed; update comment to reflect current state - Add include_edges, graph_boost, exclude_collections, and property_filters to the Tool Strategy Guide in prompt_assembler.rs - Add include_edges, graph_boost, and property_filters guidance to the Research & Search skill in skill_pipeline.rs All SearchSemanticParams fields are now: 1. Wired through exec_search_semantic (done in #1085) 2. Exposed in def_search_semantic() tool schema (done in #1085) 3. Documented in prompt guidance and skill definitions (this commit) 4. Covered by parity test (done in #1085) Co-authored-by: Claude <[email protected]>
Summary
include_edges,graph_boost,exclude_collections, andproperty_filtersto the Tool Strategy Guide promptinclude_edges,graph_boost, andproperty_filtersguidance to the Research & Search skill definitionMost of #1086's acceptance criteria were already addressed by #1085 (PR #1101). This PR completes the remaining prompt/skill documentation items.
Acceptance Criteria Status (from #1086)
Test plan
cargo build -p nodespace-agentcleancargo clippyclean with-D warnings -D clippy::unused-asyncCloses #1086
Co-Authored-By: Claude [email protected]