claude-dev-env 8.85.2 → 8.85.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.
@@ -129,3 +129,7 @@ Open [details](code-rules/enforcement-surfaces.md) when routing a check.
129
129
  Scope assigns the lane. A check that reads a file other than the target runs on the full gate. Every other check runs on both lanes.
130
130
 
131
131
  Open [details](code-rules/enforcement-surfaces.md) when adding a check.
132
+
133
+ ## 11.7 A NEW INSTRUCTION NAMES THE TRIGGER THAT COVERS IT
134
+
135
+ A new rule, hook, or skill names the trigger that covers it and records that trigger in `rules-archived/ARCHIVE-MANIFEST.md`. The first-task gate is `hooks/session/deepen_first_prompt.py`. DeepStack cites that gate. This criterion cites the gate. It does not restate the gate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-dev-env",
3
- "version": "8.85.2",
3
+ "version": "8.85.3",
4
4
  "description": "Claude Code development standards — rules, hooks, agents, commands, and skills",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,15 @@
1
+ """A new instruction names the trigger that covers it."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from pathlib import Path
6
+
7
+ _RULES = Path(__file__).resolve().parent.parent / "docs" / "CODE_RULES.md"
8
+
9
+
10
+ def test_new_instruction_criterion_cites_the_gate() -> None:
11
+ text = _RULES.read_text(encoding="utf-8")
12
+ assert "## 11.7 A NEW INSTRUCTION NAMES THE TRIGGER THAT COVERS IT" in text
13
+ assert "hooks/session/deepen_first_prompt.py" in text
14
+ assert "rules-archived/ARCHIVE-MANIFEST.md" in text
15
+ assert "DeepStack" in text