claude-dev-env 8.15.0 → 8.16.0
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.
- package/.agents/agents/test_agent_frontmatter.py +0 -72
- package/.agents/agents-archived/code-quality-agent.md +16 -16
- package/.agents/skills/_shared/end-of-run-gotcha-recommendations.md +5 -21
- package/.agents/skills/e-code-review/SKILL.md +1 -3
- package/.agents/skills/e-simplify/SKILL.md +6 -6
- package/.agents/skills/eli5/SKILL.md +4 -14
- package/.agents/skills/eli5/reference/task-seeds.md +3 -4
- package/.agents/skills/everything-search/SKILL.md +2 -2
- package/.agents/skills/fresh-branch/SKILL.md +2 -3
- package/.agents/skills/grok-spawn/SKILL.md +3 -8
- package/.agents/skills/issue-tracker/SKILL.md +4 -6
- package/.agents/skills/orchestrator-refresh/SKILL.md +7 -7
- package/.agents/skills/plugin-eval-standalone-skill/SKILL.md +3 -3
- package/.agents/skills/privacy-hygiene/SKILL.md +6 -10
- package/.agents/skills/privacy-hygiene/reference/sweep-procedure.md +1 -1
- package/.agents/skills/pull-request/SKILL.md +11 -14
- package/.agents/skills/pull-request/reference/publication-tasks.md +2 -4
- package/.agents/skills/recovering-codex-startup/SKILL.md +3 -6
- package/.agents/skills/recovering-codex-startup/reference/task-seeds.md +1 -1
- package/.agents/skills/repairing-hook-boundaries/SKILL.md +4 -7
- package/.agents/skills/repairing-hook-boundaries/reference/task-seeds.md +1 -2
- package/.agents/skills/second-account-workers/SKILL.md +26 -8
- package/.agents/skills/syncing-submodules/SKILL.md +7 -17
- package/.agents/skills/syncing-submodules/reference/run-tasks.md +1 -1
- package/.agents/skills/task-build/SKILL.md +1 -1
- package/.agents/skills/task-build/reference/tool-routing.md +1 -1
- package/.agents/skills/team-advisor/SKILL.md +2 -4
- package/.agents/skills/usage-pause/SKILL.md +1 -1
- package/.agents/skills/windows-scheduled-task/SKILL.md +1 -1
- package/AGENTS.md +1 -1
- package/_shared/advisor/advisor-protocol.md +4 -4
- package/_shared/advisor/reference/consult-format.md +1 -1
- package/_shared/advisor/reference/identity.md +2 -2
- package/_shared/advisor/reference/warm-up.md +1 -1
- package/audit-rubrics/category_rubrics/category-o-docstring-vs-impl-drift.md +1 -1
- package/audit-rubrics/prompts/category-o-docstring-vs-impl-drift.md +2 -16
- package/bin/install.mjs +1 -0
- package/bin/install.prompt-context.test.mjs +7 -3
- package/bin/install.test.mjs +3 -2
- package/commands/sr-loop.md +2 -2
- package/docs/CODE_RULES.md +2 -2
- package/docs/DJANGO_PATTERNS.md +3 -3
- package/docs/REACT_PATTERNS.md +6 -6
- package/docs/TEST_QUALITY.md +10 -16
- package/docs/agent-spawn-protocol.md +4 -4
- package/docs/codex-compatibility.md +4 -33
- package/docs/references/team-advisor-skill.md +0 -1
- package/docs/worker-completion-gate.md +0 -1
- package/hooks/advisory/migration_safety_advisor.py +3 -2
- package/hooks/advisory/refactor_guard.py +3 -3
- package/hooks/hooks.json +1 -1
- package/hooks/hooks_constants/issue_tracker_session_starter_constants.py +1 -2
- package/hooks/hooks_constants/orchestrator_auto_starter_constants.py +1 -2
- package/package.json +1 -1
- package/rules/explore-thoroughly.md +0 -1
- package/rules/filesystem-search.md +1 -1
- package/rules/git-workflow.md +5 -5
- package/rules/long-horizon-autonomy.md +1 -5
- package/rules/re-stage-before-commit.md +0 -2
- package/rules/shell-invocation.md +1 -1
- package/scripts/claude_account_choice.py +183 -52
- package/scripts/claude_account_profile.py +81 -49
- package/scripts/claude_account_worker.py +48 -15
- package/scripts/dev_env_scripts_constants/claude_account_constants.py +36 -1
- package/scripts/dev_env_scripts_constants/claude_account_worker_constants.py +2 -0
- package/scripts/dev_env_scripts_constants/grok_worker_constants.py +8 -2
- package/scripts/policy_lint/config/constants.py +1 -0
- package/scripts/policy_lint/engine.py +5 -2
- package/scripts/repository_checks/config/constants.py +1 -1
- package/scripts/spawn_grok_batch.py +12 -1
- package/scripts/test_claude_account_choice.py +127 -17
- package/scripts/test_claude_account_profile.py +63 -16
- package/scripts/test_claude_account_worker.py +118 -0
- package/scripts/test_spawn_grok_batch.py +22 -0
- package/scripts/tests/test_banned_prose_words.py +1 -1
- package/scripts/tests/test_policy_lint_rules_archive.py +16 -0
- package/scripts/tests/test_policy_lint_rules_engine.py +2 -2
- package/scripts/tests/test_rules.py +9 -9
- package/system-prompts/software-engineer.xml +15 -30
- package/audit-rubrics/audit-categories.json +0 -700
- package/audit-rubrics/category_rubrics/category-a-api-contracts.md +0 -90
- package/audit-rubrics/category_rubrics/category-b-selector-engine-compat.md +0 -36
- package/audit-rubrics/category_rubrics/category-c-resource-cleanup.md +0 -35
- package/audit-rubrics/category_rubrics/category-d-scoping-and-ordering.md +0 -35
- package/audit-rubrics/category_rubrics/category-e-dead-code.md +0 -40
- package/audit-rubrics/category_rubrics/category-f-silent-failures.md +0 -41
- package/audit-rubrics/category_rubrics/category-g-bounds-and-overflow.md +0 -38
- package/audit-rubrics/category_rubrics/category-h-security-boundaries.md +0 -40
- package/audit-rubrics/category_rubrics/category-i-concurrency.md +0 -38
- package/audit-rubrics/category_rubrics/category-j-code-rules-compliance.md +0 -59
- package/audit-rubrics/category_rubrics/category-k-codebase-conflicts.md +0 -66
- package/audit-rubrics/category_rubrics/category-l-behavior-equivalence.md +0 -48
- package/audit-rubrics/category_rubrics/category-m-producer-consumer-cardinality.md +0 -44
- package/audit-rubrics/category_rubrics/category-n-test-name-scenario-verifier.md +0 -54
- package/audit-rubrics/category_rubrics/category-p-name-vs-behavior-contract.md +0 -59
- package/audit-rubrics/category_rubrics/category-q-cross-surface-claims.md +0 -46
- package/audit-rubrics/prompts/category-a-api-contracts.md +0 -407
- package/audit-rubrics/prompts/category-b-selector-engine-compat.md +0 -401
- package/audit-rubrics/prompts/category-c-resource-cleanup.md +0 -420
- package/audit-rubrics/prompts/category-d-scoping-and-ordering.md +0 -414
- package/audit-rubrics/prompts/category-e-dead-code.md +0 -434
- package/audit-rubrics/prompts/category-f-silent-failures.md +0 -432
- package/audit-rubrics/prompts/category-g-bounds-and-overflow.md +0 -383
- package/audit-rubrics/prompts/category-h-security-boundaries.md +0 -423
- package/audit-rubrics/prompts/category-i-concurrency.md +0 -429
- package/audit-rubrics/prompts/category-j-code-rules-compliance.md +0 -458
- package/audit-rubrics/prompts/category-k-codebase-conflicts.md +0 -338
- package/audit-rubrics/prompts/category-l-behavior-equivalence.md +0 -131
- package/audit-rubrics/prompts/category-m-producer-consumer-cardinality.md +0 -129
- package/audit-rubrics/prompts/category-n-test-name-scenario-verifier.md +0 -139
- package/audit-rubrics/prompts/category-p-name-vs-behavior-contract.md +0 -89
- package/audit-rubrics/prompts/category-q-cross-surface-claims.md +0 -51
- package/hooks/hooks_constants/style_reminder_prompt_constants.py +0 -9
- package/hooks/session/style_reminder_prompt.py +0 -55
- package/hooks/session/test_style_reminder_prompt.py +0 -86
|
@@ -25,10 +25,10 @@ def _comment_policy_surfaces(package_root: Path) -> tuple[Path, ...]:
|
|
|
25
25
|
package_root / "system-prompts" / "software-engineer.xml",
|
|
26
26
|
package_root / ".agents" / "agents-archived" / "clean-coder.md",
|
|
27
27
|
package_root / ".agents" / "agents-archived" / "code-quality-agent.md",
|
|
28
|
-
package_root / "audit-rubrics" / "category_rubrics" / "category-j-code-rules-compliance.md",
|
|
29
|
-
package_root / "audit-rubrics" / "prompts" / "category-j-code-rules-compliance.md",
|
|
30
|
-
package_root / "audit-rubrics" / "category_rubrics" / "category-l-behavior-equivalence.md",
|
|
31
|
-
package_root / "audit-rubrics" / "prompts" / "category-l-behavior-equivalence.md",
|
|
28
|
+
package_root / "audit-rubrics-archived" / "category_rubrics" / "category-j-code-rules-compliance.md",
|
|
29
|
+
package_root / "audit-rubrics-archived" / "prompts" / "category-j-code-rules-compliance.md",
|
|
30
|
+
package_root / "audit-rubrics-archived" / "category_rubrics" / "category-l-behavior-equivalence.md",
|
|
31
|
+
package_root / "audit-rubrics-archived" / "prompts" / "category-l-behavior-equivalence.md",
|
|
32
32
|
package_root / ".agents" / "skills" / "grok-spawn" / "reference" / "worker-briefs.md",
|
|
33
33
|
package_root.parent.parent / ".github" / "copilot-instructions.md",
|
|
34
34
|
)
|
|
@@ -96,17 +96,17 @@ def test_comment_guidance_reaches_installed_instruction_surfaces() -> None:
|
|
|
96
96
|
def _category_l_policy_texts() -> tuple[str, str, str]:
|
|
97
97
|
category_l_rubric = (
|
|
98
98
|
_PACKAGE_ROOT
|
|
99
|
-
/ "audit-rubrics"
|
|
99
|
+
/ "audit-rubrics-archived"
|
|
100
100
|
/ "category_rubrics"
|
|
101
101
|
/ "category-l-behavior-equivalence.md"
|
|
102
102
|
)
|
|
103
103
|
category_l_prompt = (
|
|
104
104
|
_PACKAGE_ROOT
|
|
105
|
-
/ "audit-rubrics"
|
|
105
|
+
/ "audit-rubrics-archived"
|
|
106
106
|
/ "prompts"
|
|
107
107
|
/ "category-l-behavior-equivalence.md"
|
|
108
108
|
)
|
|
109
|
-
audit_categories = _PACKAGE_ROOT / "audit-rubrics" / "audit-categories.json"
|
|
109
|
+
audit_categories = _PACKAGE_ROOT / "audit-rubrics-archived" / "audit-categories.json"
|
|
110
110
|
return tuple(
|
|
111
111
|
each_path.read_text(encoding="utf-8").lower()
|
|
112
112
|
for each_path in (category_l_rubric, category_l_prompt, audit_categories)
|
|
@@ -117,7 +117,7 @@ def _comment_policy_summary_texts() -> tuple[str, str, str]:
|
|
|
117
117
|
clean_coder = _PACKAGE_ROOT / ".agents" / "agents-archived" / "clean-coder.md"
|
|
118
118
|
category_j = (
|
|
119
119
|
_PACKAGE_ROOT
|
|
120
|
-
/ "audit-rubrics"
|
|
120
|
+
/ "audit-rubrics-archived"
|
|
121
121
|
/ "category_rubrics"
|
|
122
122
|
/ "category-j-code-rules-compliance.md"
|
|
123
123
|
)
|
|
@@ -145,7 +145,7 @@ def test_comment_policy_removes_directive_justification_guidance() -> None:
|
|
|
145
145
|
).read_text(encoding="utf-8").lower()
|
|
146
146
|
category_e_prompt = (
|
|
147
147
|
_PACKAGE_ROOT
|
|
148
|
-
/ "audit-rubrics"
|
|
148
|
+
/ "audit-rubrics-archived"
|
|
149
149
|
/ "prompts"
|
|
150
150
|
/ "category-e-dead-code.md"
|
|
151
151
|
).read_text(encoding="utf-8").lower()
|
|
@@ -67,17 +67,7 @@
|
|
|
67
67
|
Reserve user questions for preferences, missing context the user holds, judgment calls, and
|
|
68
68
|
scope decisions.
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
— "I lack data on this" — when a credible source for a claim is absent; guessing and
|
|
72
|
-
inferring are replaced by honest acknowledgment. Second, every recommendation, claim, or piece of advice cites a
|
|
73
|
-
specific source: a file in the current project, an external URL found via web search, a
|
|
74
|
-
named expert or paper, or official documentation. Third, when working from documents, extract
|
|
75
|
-
the text first before analyzing — ground responses in direct quotes, and reference
|
|
76
|
-
the quote when making a point.
|
|
77
|
-
|
|
78
|
-
Creative thinking, brainstorming, and novel ideas are exempt from citation requirements;
|
|
79
|
-
synthesizing across sources to reach new conclusions is encouraged provided the inputs are
|
|
80
|
-
grounded.
|
|
70
|
+
Source every claim as rules/research-mode.md describes.
|
|
81
71
|
</investigation>
|
|
82
72
|
|
|
83
73
|
<problem_solving>
|
|
@@ -145,8 +135,8 @@
|
|
|
145
135
|
</code_quality>
|
|
146
136
|
|
|
147
137
|
<behavior_protocol>
|
|
148
|
-
Apply an outside-in BDD reasoning protocol before writing any code.
|
|
149
|
-
|
|
138
|
+
Apply an outside-in BDD reasoning protocol before writing any code. BDD is the outer
|
|
139
|
+
process, and red-green-refactor is the inner loop for each formulated behavior. The
|
|
150
140
|
full anti-pattern catalog, Example Mapping algorithm, and solo-developer guidance live in
|
|
151
141
|
the long-form BDD references (`~/.claude/docs/BDD_DISCOVERY_PROTOCOL.md`,
|
|
152
142
|
`~/.claude/docs/BDD_SCENARIO_QUALITY.md`); this section carries the core four-phase sequence.
|
|
@@ -178,9 +168,9 @@
|
|
|
178
168
|
where untrusted data enters the system. Trust internal code and framework guarantees within
|
|
179
169
|
those boundaries; internal call sites operate on data already validated at the entry point.
|
|
180
170
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
171
|
+
Add an abstraction at the commit that introduces its second concrete implementation, the
|
|
172
|
+
house setting in rules/code-standards.md. Implement precisely what the task requires at its
|
|
173
|
+
current scale and
|
|
184
174
|
complete it fully.
|
|
185
175
|
|
|
186
176
|
Apply backwards compatibility conventions — underscore-prefixed variable renaming, type
|
|
@@ -216,11 +206,6 @@
|
|
|
216
206
|
success looks like; and that the task is unambiguous enough to delegate. When any of those
|
|
217
207
|
is unknown, investigate first using Read, Glob, or Grep for code search — or ask the user.
|
|
218
208
|
|
|
219
|
-
After confirming context, use the /prompt-generator skill to produce a structured prompt.
|
|
220
|
-
Feed it the task description and goal, target files and directories, constraints and
|
|
221
|
-
boundaries, expected output format, and acceptance criteria. Pass the skill's output as the
|
|
222
|
-
agent's prompt parameter.
|
|
223
|
-
|
|
224
209
|
When multiple tool calls are mutually independent, make all calls in a single response.
|
|
225
210
|
Sequence calls only when a later call requires an earlier call's result. Reading three files:
|
|
226
211
|
call all three Read operations at once. Running independent searches: launch all Grep
|
|
@@ -234,7 +219,7 @@
|
|
|
234
219
|
Fetch all reviewer comments before making any fixes. Obtain the full comment set from the
|
|
235
220
|
PR using `gh pr view --comments`.
|
|
236
221
|
|
|
237
|
-
Create a
|
|
222
|
+
Create a checklist in the session's task tool with one item per comment.
|
|
238
223
|
|
|
239
224
|
Fix comments systematically, marking each todo complete as it is resolved.
|
|
240
225
|
|
|
@@ -262,8 +247,9 @@
|
|
|
262
247
|
</documentation>
|
|
263
248
|
|
|
264
249
|
<context7>
|
|
265
|
-
|
|
266
|
-
|
|
250
|
+
When the Context7 MCP server is connected, fetch current documentation before you write code
|
|
251
|
+
against a library, framework, SDK, or API whose interface you have not checked this session.
|
|
252
|
+
Training data may be stale; fetched docs are
|
|
267
253
|
authoritative. Apply this to setup questions, API references, version migration,
|
|
268
254
|
library-specific debugging, and CLI tool usage — including well-known libraries such as
|
|
269
255
|
React, Next.js, Prisma, Express, Django, and Spring Boot.
|
|
@@ -277,8 +263,9 @@
|
|
|
277
263
|
</context7>
|
|
278
264
|
|
|
279
265
|
<obsidian_vault>
|
|
280
|
-
|
|
281
|
-
research documents typically live there across projects).
|
|
266
|
+
When an Obsidian MCP server is connected, use the vault path configured for your workspace
|
|
267
|
+
(session reports, decisions, and research documents typically live there across projects).
|
|
268
|
+
Search it before starting substantive project work.
|
|
282
269
|
|
|
283
270
|
Available MCP tools:
|
|
284
271
|
- mcp__obsidian__search_notes — search by content or frontmatter (searchFrontmatter: true)
|
|
@@ -356,7 +343,7 @@
|
|
|
356
343
|
|
|
357
344
|
Reserve Bash for system commands and terminal operations that require shell execution.
|
|
358
345
|
|
|
359
|
-
Track work with
|
|
346
|
+
Track work with the session's task tool and mark each task complete as soon as it is finished.
|
|
360
347
|
</tool_usage>
|
|
361
348
|
|
|
362
349
|
<cleanup>
|
|
@@ -375,9 +362,7 @@
|
|
|
375
362
|
<communication_contract>
|
|
376
363
|
Visible output is concise by default. The first progress update is one sentence.
|
|
377
364
|
Later updates mark only important discoveries or direction changes. The final
|
|
378
|
-
response begins with the outcome.
|
|
379
|
-
natural-language sentence before a tool call that needs context, state when no
|
|
380
|
-
fitting tool exists, and never emit internal-system XML in visible output.
|
|
365
|
+
response begins with the outcome.
|
|
381
366
|
Language policy: rules/asd-ste100-language.md. This section owns visible progress,
|
|
382
367
|
tool narration, and outcome-first final structure.
|
|
383
368
|
</communication_contract>
|