agent-quality-police 0.2.6 → 0.2.7

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,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-quality-police",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Strict governance framework for coding agents that blocks testing and typing bypasses.",
5
5
  "author": {
6
6
  "name": "Davy Massoneto",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-quality-police",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Strict governance framework for coding agents that blocks testing and typing bypasses.",
5
5
  "author": {
6
6
  "name": "Davy Massoneto",
package/AGENTS.md CHANGED
@@ -49,7 +49,3 @@
49
49
  - Use `bypass-auditor` for typing, config, mocks, helpers, or suspicious diffs.
50
50
  - Use `tdd-warden` when behavior or tests changed or should have changed.
51
51
  - Use `pr-gatekeeper` only for final approve-or-reject review.
52
-
53
- ## Tool-Specific Notes
54
-
55
- - AGENTS-aware tools should load only their local tool-specific skills and agents.
package/CLAUDE.md CHANGED
@@ -32,10 +32,6 @@
32
32
  - Use `tdd-warden` when behavior or tests changed or should have changed.
33
33
  - Use `pr-gatekeeper` only for final approve-or-reject review.
34
34
 
35
- ## Tool-Specific Notes
36
-
37
- - Claude Code should enter through `CLAUDE.md` and `.claude/rules/`.
38
-
39
35
  ## Claude Code
40
36
 
41
37
  - Always-on rules live under `.claude/rules/`.
@@ -17,7 +17,3 @@
17
17
  ## Review Flow
18
18
 
19
19
  {{review_flow_body}}
20
-
21
- ## Tool-Specific Notes
22
-
23
- {{tool_specific_notes}}
package/lib/install.mjs CHANGED
@@ -62,8 +62,7 @@ function entrypointReplacements({
62
62
  startupSequenceBody,
63
63
  skillRoutingBody,
64
64
  qualityRulesBody,
65
- reviewFlowBody,
66
- toolSpecificNotes
65
+ reviewFlowBody
67
66
  }) {
68
67
  return {
69
68
  quality_definition_path: qualityDefinitionPath,
@@ -81,8 +80,7 @@ function entrypointReplacements({
81
80
  startup_sequence_body: startupSequenceBody,
82
81
  skill_routing_body: skillRoutingBody,
83
82
  quality_rules_body: qualityRulesBody,
84
- review_flow_body: reviewFlowBody,
85
- tool_specific_notes: toolSpecificNotes
83
+ review_flow_body: reviewFlowBody
86
84
  };
87
85
  }
88
86
 
@@ -118,19 +116,6 @@ function globalPolicySections() {
118
116
  };
119
117
  }
120
118
 
121
- function toolNotesFor(target, { claudeEntrypointLabel = "CLAUDE.md", claudeRulesRoot = "rules/", codexSkillsRoot = "skills/", codexAgentsRoot = "agents/", opencodeConfigPath = "opencode.json" } = {}) {
122
- if (target === "claude") {
123
- return `- Claude Code should enter through \`${claudeEntrypointLabel}\` and \`${claudeRulesRoot}\`.`;
124
- }
125
- if (target === "codex") {
126
- return `- Codex should enter through this file and use \`${codexSkillsRoot}\` plus \`${codexAgentsRoot}\`.`;
127
- }
128
- if (target === "opencode") {
129
- return `- OpenCode should enter through this file and load extra instructions from \`${opencodeConfigPath}\`.`;
130
- }
131
- return "";
132
- }
133
-
134
119
  function renderAgentsRoot(policy, replacements) {
135
120
  return `# AGENTS.md\n\n${renderTemplate(policy, replacements).trimEnd()}\n`;
136
121
  }
@@ -192,8 +177,7 @@ function rootReplacements(target) {
192
177
  primarySkillRoot: "skills/",
193
178
  skillRoot: "skills",
194
179
  systemLayoutPath: "docs/policy/system-layout.md",
195
- ...globalPolicySections(),
196
- toolSpecificNotes: toolNotesFor("claude", { claudeEntrypointLabel: "CLAUDE.md", claudeRulesRoot: "rules/" })
180
+ ...globalPolicySections()
197
181
  });
198
182
  }
199
183
  if (target === "codex") {
@@ -203,8 +187,7 @@ function rootReplacements(target) {
203
187
  primarySkillRoot: "../.agents/skills/",
204
188
  skillRoot: "../.agents/skills",
205
189
  systemLayoutPath: "docs/policy/system-layout.md",
206
- ...globalPolicySections(),
207
- toolSpecificNotes: toolNotesFor("codex", { codexSkillsRoot: "../.agents/skills/", codexAgentsRoot: "agents/" })
190
+ ...globalPolicySections()
208
191
  });
209
192
  }
210
193
  if (target === "opencode") {
@@ -214,8 +197,7 @@ function rootReplacements(target) {
214
197
  primarySkillRoot: "skills/",
215
198
  skillRoot: "skills",
216
199
  systemLayoutPath: "docs/policy/system-layout.md",
217
- ...globalPolicySections(),
218
- toolSpecificNotes: toolNotesFor("opencode", { opencodeConfigPath: "opencode.json" })
200
+ ...globalPolicySections()
219
201
  });
220
202
  }
221
203
  throw new Error(`Unsupported target: ${target}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-quality-police",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Strict governance framework for coding agents that blocks testing and typing bypasses.",
5
5
  "type": "module",
6
6
  "license": "MIT",