Skip to content

Skill: route requests by artifact - #95

Merged
noeltock merged 1 commit into
mainfrom
codex/issue-89-skill-routing
Sep 11, 2026
Merged

Skill: route requests by artifact#95
noeltock merged 1 commit into
mainfrom
codex/issue-89-skill-routing

Conversation

@noeltock

Copy link
Copy Markdown
Member

Problem

The shipped skill’s references had been split, but the entry still made most component tasks begin with broad project discovery. That made the useful artifact choice harder to see and could load construction detail for a self-contained page or repair task. Closes #89.

Solution

The entry now starts with a compact artifact map: page content, authored HTML conversion, static registered source, project-owned custom work, or markup repair. Discovery follows only when the selected route lacks project facts. The activation fixture records representative supported, rejected, and deliberately ambiguous requests.

Diff

+109 −32 · 3 files · no runtime or installer change

Request First reference Completion boundary
Invent a page section ASSEMBLE.md Valid page post_content
Create static source AUTHORING.md Confirmed retained source
Custom PHP/editor work GUIDE.md Project-owned implementation

Testing & verification

Reviewed revision: cf3449b

  • npx --no-install vitest run dev/test/skill.test.ts — 3 passed.
  • npx --no-install vitest run dev/test/cli.test.ts -t 'skill' — 3 passed, 34 skipped by the focused filter.
  • Static local-reference resolution and git diff --check — passed.

Not verified: model activation or quality improvement. The new fixture is a static routing/package contract, not a model evaluation.

Risk / rollout

The full CLI guide reader, package version pinning, installed-copy ownership guards, and detailed references are retained. Revert this commit to restore the former entry ordering.

@noeltock
noeltock merged commit c3d737d into main Sep 11, 2026
9 of 10 checks passed
@noeltock
noeltock deleted the codex/issue-89-skill-routing branch September 11, 2026 12:15
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: make artifact selection explicit before loading detailed references

1 participant