Skip to content

Skill node type with intent-driven push-based injection and tool whitelisting - #1054

Merged
malibio merged 2 commits into
mainfrom
feature/issue-1050-skill-node-intent-pipeline
Apr 6, 2026
Merged

malibio merged 2 commits into
mainfrom
feature/issue-1050-skill-node-intent-pipeline

Conversation

@malibio

@malibio malibio commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

Closes #1050

@malibio
malibio force-pushed the feature/issue-1050-skill-node-intent-pipeline branch from 8ab31d4 to ef15382 Compare April 6, 2026 08:46
malibio and others added 2 commits April 6, 2026 11:24
…whitelisting (#1050)

Phase 3 of ADR-030: Skills wrap tools with rich guidance and are discovered
via intent-driven semantic search at the system layer.

- Register skill node behavior (validates description, tool_whitelist, max_iterations, output_format)
- Add skill core schema with 4 fields (description, tool_whitelist array, max_iterations, output_format enum)
- Implement intent extraction module: 8 pattern categories + filler stripping fallback
- Implement SkillPipeline: intent extraction → semantic skill search → confidence threshold → tool scoping
- Extend PromptAssembler with assemble_with_skill() for active skill context injection
- Seed 4 default skills: Research & Search, Node Creation, Graph Editing, Relationship Management
- One active skill per turn enforcement, configurable confidence threshold (default 0.8)
- 226 agent tests, 1130 core tests all passing

Co-Authored-By: Claude <[email protected]>
Review findings addressed:
- Fix strip_filler to loop until stable (multi-pass filler removal)
- Fix scope_tools tests to actually call SkillPipeline::scope_tools
- Add test for empty whitelist returning all tools
- Add skill schema field test with tool_whitelist array verification
- Extract SKILL_HIGH_CONFIDENCE/SKILL_MEDIUM_CONFIDENCE constants
- Guard against empty filler patterns in strip loop

Co-Authored-By: Claude <[email protected]>
@malibio
malibio force-pushed the feature/issue-1050-skill-node-intent-pipeline branch from bc76efc to 832c920 Compare April 6, 2026 09:25
@malibio
malibio merged commit ed9b381 into main Apr 6, 2026
@malibio
malibio deleted the feature/issue-1050-skill-node-intent-pipeline branch April 6, 2026 09:25
malibio added a commit that referenced this pull request Jun 22, 2026
…elisting (#1054)

* Add skill node type with intent-driven push-based injection and tool whitelisting (#1050)

Phase 3 of ADR-030: Skills wrap tools with rich guidance and are discovered
via intent-driven semantic search at the system layer.

- Register skill node behavior (validates description, tool_whitelist, max_iterations, output_format)
- Add skill core schema with 4 fields (description, tool_whitelist array, max_iterations, output_format enum)
- Implement intent extraction module: 8 pattern categories + filler stripping fallback
- Implement SkillPipeline: intent extraction → semantic skill search → confidence threshold → tool scoping
- Extend PromptAssembler with assemble_with_skill() for active skill context injection
- Seed 4 default skills: Research & Search, Node Creation, Graph Editing, Relationship Management
- One active skill per turn enforcement, configurable confidence threshold (default 0.8)
- 226 agent tests, 1130 core tests all passing

Co-Authored-By: Claude <[email protected]>

* Address PR review: fix strip_filler loop, improve tests, add constants

Review findings addressed:
- Fix strip_filler to loop until stable (multi-pass filler removal)
- Fix scope_tools tests to actually call SkillPipeline::scope_tools
- Add test for empty whitelist returning all tools
- Add skill schema field test with tool_whitelist array verification
- Extract SKILL_HIGH_CONFIDENCE/SKILL_MEDIUM_CONFIDENCE constants
- Guard against empty filler patterns in strip loop

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
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.

Skill node type with intent-driven push-based injection and tool whitelisting

1 participant