agent-directives 0.4.2 → 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.
@@ -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.0
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. **Open the rule index.** Each rule entry in `manifest.json` carries `category`
150
- (the pack), `description` (what it governs), and `applies_to` (the file globs
151
- it scopes to). The `rules/<pack>/` directory holds the same entries on disk;
152
- read a rule's frontmatter for the authoritative scope.
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.0",
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.2",
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>",