agent-directives 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/directives/adaptive-routing.md +6 -5
- package/manifest.json +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: adaptive-routing
|
|
3
3
|
description: Selects the lightest safe workflow path, relevant directives/skills, and handoff requirements based on task intent, risk, and touched surfaces.
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
required: true
|
|
6
6
|
category: workflow
|
|
7
7
|
tools:
|
|
@@ -146,10 +146,11 @@ metadata in always-loaded context. Discover matching rules on demand instead:
|
|
|
146
146
|
|
|
147
147
|
1. **Detect the stack** from project evidence. For example, `angular.json` or an
|
|
148
148
|
`@angular/core` dependency selects the `angular` pack.
|
|
149
|
-
2. **
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
2. **Inspect available rule metadata.** Use `manifest.json` as a compact package
|
|
150
|
+
index when it is available, but do not assume it was installed into the target
|
|
151
|
+
repo. The authoritative scope lives in each `rules/<pack>/*.md` file's
|
|
152
|
+
frontmatter: `category` identifies the pack, `description` says what it
|
|
153
|
+
governs, and `applies_to` lists the file globs it scopes to.
|
|
153
154
|
3. **Match before loading.** Load a rule only when its `applies_to` globs match a
|
|
154
155
|
file you will touch *and* its `description` is relevant to what the task
|
|
155
156
|
actually changes. A glob match alone is not enough — editing a
|
package/manifest.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"type": "directive",
|
|
7
7
|
"path": "directives/adaptive-routing.md",
|
|
8
8
|
"description": "Selects the lightest safe workflow path, relevant directives/skills, and handoff requirements based on task intent, risk, and touched surfaces.",
|
|
9
|
-
"version": "1.6.
|
|
9
|
+
"version": "1.6.1",
|
|
10
10
|
"required": true,
|
|
11
11
|
"category": "workflow",
|
|
12
12
|
"tools": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-directives",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Reusable agent directives, skills, and CLI tooling for AI coding workflows",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Rob Simpson <rsimpson2@me.com>",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@eslint/markdown": "^8.0.2",
|
|
67
67
|
"@types/node": "^24.0.0",
|
|
68
68
|
"eslint": "^10.4.0",
|
|
69
|
-
"eslint-plugin-llm-core": "^0.
|
|
69
|
+
"eslint-plugin-llm-core": "^0.25.2",
|
|
70
70
|
"globals": "^17.6.0",
|
|
71
71
|
"tsx": "^4.19.2",
|
|
72
72
|
"typescript": "^5.4.5",
|