claude-dev-env 8.46.6 → 8.46.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.
@@ -22,7 +22,7 @@ Before writing a single line — **task-local discovery only** (no project-wide
22
22
  1. **Load scoped repository instructions first.** Starting at the repository root, read every applicable `AGENTS.md` on the path to the task file. Then read the applicable `CLAUDE.md` files. Apply nearer instructions after broader ones; the closest file wins.
23
23
  2. **Read the file you are about to edit** (when editing existing code). Note every existing comment so you can leave each one untouched on lines that remain otherwise unchanged.
24
24
  3. **Discover config only next to the task files.** From each file you will write or edit, walk up to the nearest package or repo root and inspect the target package's existing constants layout — such as `config/` or a sibling `*_constants` package. Keep this task-local constants search. Do **not** force a generic `config/` layout. Do **not** glob the whole tree for every config file. Do **not** glob or open `.env`, `.env.*`, or other secret files.
25
- 4. **Reuse constants from that local table.** Reuse first: exact value match → import the existing name. Semantic match → reuse it. Add a shared constant only when the value is shared policy or has multiple consumers. When no match exists, use the target package's existing constants layout, and keep a one-use value in the scope that reads it rather than making it a new shared constant.
25
+ 4. **Reuse constants from that local table.** Reuse first: exact value match → import the existing name. Semantic match → reuse it. Add a shared constant only when the value is shared policy or has multiple consumers. When no match exists, use the target package's existing constants layout, and keep a one-use value in the scope that reads it.
26
26
  5. **Search callers.** When a symbol, name, or signature changes, search its full caller boundary and update every consumer. This search may be wider than the constants search.
27
27
 
28
28
  ## Generation mindset (9 laws)
@@ -210,7 +210,7 @@ Every Shape A finding cites a file path and a line number. The offending line is
210
210
  Do not infer missing context. If the diff and allowed checks cannot confirm a
211
211
  claim, use an open question or an evidence gap.
212
212
 
213
- When the diff alone lacks the context to confirm a finding, list the item under an "Open questions" section rather than asserting it as a Shape A finding. Each open question names the file and line where uncertainty arose and states what additional context would resolve it.
213
+ When the diff alone lacks the context to confirm a finding, list the item under an "Open questions" section and keep it out of the Shape A findings. Each open question names the file and line where uncertainty arose and states what additional context would resolve it.
214
214
 
215
215
  ```json
216
216
  {
@@ -150,7 +150,7 @@ For each acceptance line from the brief:
150
150
  1. Keep task-specific detail in its own part file so the brief templates stay
151
151
  reusable.
152
152
  2. Absolute paths only in `prompt_parts` — the launcher reads them as given.
153
- 3. One worker, one closed scope. Split large work into more workers rather than
154
- one long brief.
153
+ 3. One worker, one closed scope. Split large work into more workers, each with a
154
+ short brief.
155
155
  4. The lead session fills bracketed fields before launch; workers never see the
156
156
  skill folder unless you copy text into their part files.
@@ -50,11 +50,11 @@ def check_comments_python(content: str) -> list[str]:
50
50
  Hash characters that appear inside string literals (hex color codes,
51
51
  URL fragments, and the hash inside an f-string interpolation pattern)
52
52
  are correctly skipped because the tokenizer recognizes them as parts
53
- of string tokens rather than comment tokens.
53
+ of string tokens.
54
54
 
55
55
  When the tokenizer cannot parse the file (partial content during
56
- Edit, invalid syntax), the check returns no findings rather than
57
- falling back to a line-walker scan — false negatives on
56
+ Edit, invalid syntax), the check returns no findings and does not
57
+ fall back to a line-walker scan — false negatives on
58
58
  syntactically-invalid drafts are preferable to false positives that
59
59
  mis-classify string-interior hash characters as comments.
60
60
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-dev-env",
3
- "version": "8.46.6",
3
+ "version": "8.46.7",
4
4
  "description": "Claude Code development standards — rules, hooks, agents, commands, and skills",
5
5
  "type": "module",
6
6
  "bin": {