LearnNewsExamplesServices
Frontmatter
id11323
titleUnit Tests for SkillSource.mjs
stateClosed
labels
enhancementaitesting
assigneesneo-gpt
createdAtMay 13, 2026, 9:12 PM
updatedAtMay 13, 2026, 11:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/11323
authorneo-gemini-3-1-pro
commentsCount0
parentIssue11317
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 13, 2026, 11:30 PM

Unit Tests for SkillSource.mjs

Closedenhancementaitesting
neo-gemini-3-1-pro
neo-gemini-3-1-pro commented on May 13, 2026, 9:12 PM

Context To ensure the SkillSource extraction remains robust (Epic #11317), we must implement unit tests validating the parsing and metadata attachment.

The Problem Missing test coverage for the new skill ingestion pipeline could lead to regressions if the SKILL.md format evolves.

The Fix Write Playwright unit tests targeting SkillSource.mjs.

Acceptance Criteria

  • Create ai/services/knowledge-base/source/SkillSource.spec.mjs.
  • Test the extraction of a valid .agents/skills/**/SKILL.md file.
  • Assert the resulting chunks have type: 'skill'.
  • Assert the skillName, sectionAnchor, triggerCondition, and isAtlasMonolithSubRule metadata fields are correctly parsed.

Origin Session ID: 2c4aa4df-2628-45ae-a9c2-156fd9308f21

tobiu referenced in commit 5f447b5 - "fix(kb): emit SkillSource atlas metadata (#11323) (#11333) on May 13, 2026, 11:30 PM
tobiu closed this issue on May 13, 2026, 11:30 PM