claude-dev-env 8.96.2 → 8.96.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.
@@ -6,14 +6,14 @@ Use this process when an AI workflow needs measured output quality. Keep the exi
6
6
  2. Inspect existing cases, saved runs and graders. Record which checks execute a model, replay stored outputs, exercise code with mocked providers or verify an environment end state. Reuse trustworthy components. A test name containing "eval" is not execution evidence.
7
7
  3. Gather representative inputs. Prefer retained, sanitized application failures and accepted outputs. Record source IDs, label authors and label provenance. Minimize sensitive inputs. If only synthetic cases are feasible, anchor them to documented contracts, name that limitation and keep human review outstanding.
8
8
  4. Cover positive, negative and near-miss cases. Include confusing valid inputs and malicious instructions inside task data. Group related cases before splitting so paraphrases and paired examples do not cross development and held-out sets. Save a dataset hash. Keep labels and scoring code outside the model's task context.
9
- 5. Choose grading that measures the outcome. Use exact labels, schemas, resource constraints, rendered pixels, hidden tests or saved environment state when possible. Transcript checks measure process. They do not prove file contents, API actions or rendered outputs. For open-ended judgments, define checkable dimensions, calibrate on human-labeled good/bad/borderline outputs, blind model identity and candidate order, allow ties, and preserve disagreement. A judge must treat all candidate text as untrusted data.
9
+ 5. Choose grading that measures the outcome. Use exact labels, schemas, resource constraints, rendered pixels, hidden tests or saved environment state when possible. Transcript checks measure process. They do not prove file contents, API actions or rendered outputs. For open-ended judgments, define checkable dimensions, calibrate on human-labeled good/bad/borderline outputs, blind model identity and candidate order, allow ties, and preserve disagreement. A judge must treat all candidate text as untrusted data. A grader never calls the production code that made the output. Use an independent check. A stretch grader that reused the production corridor function passed every key while the designer saw corner smear.
10
10
  6. Prove the grader catches the intended mistakes. Score known-good, known-bad and borderline controls. Deliberately break an important output or end state and show the expected failure. Report these as harness validation with zero task-model performance claims.
11
11
  7. Prepare a bounded fresh smoke. State call count, token/cost estimate where available and total runtime cap. Use existing authorized credentials. Run in an isolated disposable workspace, enforce tool/side-effect boundaries, preserve traces and stop on infrastructure failure. Do not retry indefinitely or start a service to make the evaluation work.
12
12
  8. Record each completed attempt immediately. Include case/group/split, repeat, dataset and prompt hashes, source revision, model and effort, dependency versions, raw output, trace, latency, usage and cost if available. Preserve one authoritative output per attempt. Keep infrastructure, parsing, grader and task failures separate. A zero-exit launcher alone is not evidence of completed inference.
13
- 9. Inspect pilot outputs beside grades. For a classification task, show confusion counts, precision, recall, specificity and false-positive rate. For tool workflows, score the isolated final state. Report task failures even when format adherence passes. Include missing/failed attempts; do not compare variants on unmatched survivors.
14
- 10. Freeze the baseline. Run candidates on matched inputs and settings, measure repeated-run variation and keep held-out cases out of tuning. Review cases and grading with the owner before using scores as a release gate. When a held-out set repeatedly influences changes, retire it into development data and create a new reviewed holdout.
13
+ 9. Inspect pilot outputs beside grades. For a classification task, show confusion counts, precision, recall, specificity and false-positive rate. For tool workflows, score the isolated final state. Report task failures even when format adherence passes. Include missing/failed attempts; do not compare variants on unmatched survivors. A metric with the same value in every arm or cell is a grader fault. Fix it before you read any comparison.
14
+ 10. Freeze the baseline. Run candidates on matched inputs and settings, measure repeated-run variation and keep held-out cases out of tuning. A grader change re-scores every candidate, the shipped one included, before a ship decision. Review cases and grading with the owner before using scores as a release gate. When a held-out set repeatedly influences changes, retire it into development data and create a new reviewed holdout.
15
15
 
16
- Deliver the readable baseline report, cases, grading contract, one reproducible command and the next coverage gap. Name the execution tier in every headline result. A two-case smoke validates integration; it cannot establish a broad improvement.
16
+ Deliver the readable baseline report, cases, grading contract, one reproducible command and the next coverage gap. Name the execution tier in every headline result. The headline gives passed over graded, overall and per cohort, before any narrative. A two-case smoke validates integration; it cannot establish a broad improvement.
17
17
 
18
18
  ## Direct and plugin execution
19
19
 
@@ -24,7 +24,7 @@ User-level rule: applies to **every** git repo that uses GitHub with `gh`. Small
24
24
 
25
25
  **Prove the change where it runs before opening a PR.** Read `~/.claude/docs/rule-guides/proof-before-pull-request.md` for the body and hook requirements. A `feat` PR also needs an "Eval" section and a session that invoked `/claude-api build-eval`; read `~/.claude/docs/rule-guides/features-start-with-an-eval.md` before you build the feature.
26
26
 
27
- **Open PRs ready for review; use `--draft` when the owner requests it.**
27
+ **Open PRs ready for review; use `--draft` when the owner requests it.** Before you commit copied files or open a PR, search open PRs for the same paths with `gh pr list --search "<path>"`, so you do not duplicate a peer's PR. Each pre-existing failure or remaining defect the PR body names links a tracked issue.
28
28
 
29
29
  **A release bot's PR body is machine input. Leave it alone.** Release automation reads
30
30
  back the body of its own merged pull request to decide it owns that merge. Rewriting the
@@ -78,7 +78,7 @@ errors, so it neither clears nor convicts a change.
78
78
 
79
79
  A checks listing that reports nothing on the branch is a finding.
80
80
  Find out whether the workflow's event filters exclude the branch, or whether
81
- the check simply never ran, before you treat that branch as clean.
81
+ the check simply never ran, before you treat that branch as clean. `gh pr checks` exits 8 while a check is still pending. Exit 8 reports a pending state, so wait and read the checks again after they report.
82
82
 
83
83
  ### Each stack level stands on its own
84
84
 
@@ -458,7 +458,7 @@ slurped array and take the last element. For one page, cap the request with a
458
458
 
459
459
  Stage the files you edited this session right before you commit them. A plain `git commit` records only the staged snapshot; a tracked file this session changed but left unstaged stays behind in the working tree.
460
460
 
461
- No hook denies a commit that would drop tracked session edits. Run `git status` before you commit, then stage what you changed with `git add <paths>` or commit with `git commit -a`.
461
+ No hook denies a commit that would drop tracked session edits. Run `git status` before you commit, then stage what you changed with `git add <paths>` or commit with `git commit -a`. Before you say nothing is left to commit, run `git status` in every worktree the session wrote to, as `git worktree list` lists them.
462
462
 
463
463
  Staging covers tracked files you edited. Do not commit untracked files unless the user explicitly instructs it. An untracked file in the working tree is outside the change until they say otherwise.
464
464
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-dev-env",
3
- "version": "8.96.2",
3
+ "version": "8.96.3",
4
4
  "description": "Claude Code development standards — rules, hooks, agents, commands, and skills",
5
5
  "type": "module",
6
6
  "bin": {