claude-dev-env 1.40.0 → 1.42.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/CLAUDE.md +9 -1
- package/_shared/pr-loop/scripts/_claude_permissions_common.py +231 -3
- package/_shared/pr-loop/scripts/config/claude_permissions_constants.py +56 -2
- package/_shared/pr-loop/scripts/config/claude_settings_keys_constants.py +2 -0
- package/_shared/pr-loop/scripts/grant_project_claude_permissions.py +173 -6
- package/_shared/pr-loop/scripts/post_audit_thread.py +2 -2
- package/_shared/pr-loop/scripts/revoke_project_claude_permissions.py +135 -14
- package/_shared/pr-loop/scripts/tests/test_agent_config_carveout.py +385 -0
- package/_shared/pr-loop/scripts/tests/test_claude_permissions_constants.py +33 -0
- package/_shared/pr-loop/scripts/tests/test_grant_project_claude_permissions.py +1 -1
- package/_shared/pr-loop/scripts/tests/test_revoke_project_claude_permissions.py +4 -2
- package/hooks/_gh_pr_author_swap_utils.py +1211 -0
- package/hooks/blocking/gh_body_arg_blocker.py +9 -6
- package/hooks/blocking/gh_pr_author_enforcer.py +480 -0
- package/hooks/blocking/gh_pr_author_restore.py +100 -0
- package/hooks/blocking/pr_converge_bugteam_enforcer.py +170 -0
- package/hooks/blocking/pr_description_enforcer.py +1 -3
- package/hooks/blocking/test_gh_body_arg_blocker.py +25 -3
- package/hooks/blocking/test_gh_pr_author_enforcer.py +1166 -0
- package/hooks/blocking/test_gh_pr_author_restore.py +512 -0
- package/hooks/blocking/test_gh_pr_author_swap_utils.py +910 -0
- package/hooks/blocking/test_pr_converge_bugteam_enforcer.py +311 -0
- package/hooks/config/gh_pr_author_swap_constants.py +76 -0
- package/hooks/config/pr_converge_bugteam_enforcer_constants.py +55 -0
- package/hooks/config/pr_converge_bugteam_enforcer_state.py +67 -0
- package/hooks/config/pr_description_enforcer_constants.py +5 -0
- package/hooks/config/test_pr_description_enforcer_constants.py +82 -0
- package/hooks/hooks.json +40 -0
- package/hooks/lifecycle/pr_converge_bugteam_skill_tracker.py +204 -0
- package/hooks/lifecycle/test_pr_converge_bugteam_skill_tracker.py +283 -0
- package/hooks/session/gh_pr_author_session_cleanup.py +171 -0
- package/hooks/session/test_gh_pr_author_session_cleanup.py +575 -0
- package/hooks/test__gh_pr_author_swap_utils.py +333 -0
- package/package.json +1 -1
- package/skills/_shared/pr-loop/scripts/write_audit_outcomes.py +2 -2
- package/skills/_shared/pr-loop/scripts/write_fix_outcomes.py +2 -2
- package/skills/bugteam/reference/audit-contract.md +22 -0
- package/skills/bugteam/reference/github-pr-reviews.md +1 -1
- package/skills/bugteam/scripts/_claude_permissions_common.py +109 -0
- package/skills/bugteam/scripts/bugteam_fix_hookspath.py +8 -2
- package/skills/bugteam/scripts/config/claude_permissions_common_constants.py +51 -2
- package/skills/bugteam/scripts/grant_project_claude_permissions.py +115 -4
- package/skills/bugteam/scripts/revoke_project_claude_permissions.py +69 -17
- package/skills/bugteam/scripts/test__claude_permissions_common.py +48 -0
- package/skills/bugteam/scripts/test_agent_config_carveout.py +356 -0
- package/skills/bugteam/scripts/test_claude_permissions_common.py +18 -10
- package/skills/implement/SKILL.md +66 -0
- package/skills/implement/scripts/append_note.py +133 -0
- package/skills/implement/scripts/config/__init__.py +0 -0
- package/skills/implement/scripts/config/notes_constants.py +12 -0
- package/skills/implement/scripts/test_append_note.py +191 -0
- package/skills/pr-converge/SKILL.md +8 -2
- package/skills/pr-converge/config/constants.py +7 -1
- package/skills/pr-converge/reference/state-schema.md +36 -8
- package/skills/pr-converge/scripts/check_bugbot_ci.py +1 -1
- package/skills/pr-converge/scripts/check_convergence.py +167 -28
- package/skills/pr-converge/scripts/check_pending_reviews.py +1 -1
- package/skills/pr-converge/scripts/conftest.py +60 -0
- package/skills/pr-converge/scripts/fetch_copilot_reviews.py +1 -1
- package/skills/pr-converge/scripts/post_fix_reply.py +1 -1
- package/skills/pr-converge/scripts/test_check_bugbot_ci.py +1 -1
- package/skills/pr-converge/scripts/test_check_convergence.py +306 -0
- package/skills/pr-converge/scripts/test_evict_cached_config_modules.py +1 -1
- package/skills/refine/SKILL.md +257 -0
- package/skills/refine/templates/implementation-notes-template.html +56 -0
- package/skills/refine/templates/plan-template.md +60 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: plan
|
|
3
|
+
project: <project-or-topic-area>
|
|
4
|
+
date: <YYYY-MM-DD>
|
|
5
|
+
status: Draft
|
|
6
|
+
tags: [refine, plan]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# <Plan title>
|
|
10
|
+
|
|
11
|
+
One-paragraph framing of what the plan delivers and why now.
|
|
12
|
+
|
|
13
|
+
## Goal
|
|
14
|
+
|
|
15
|
+
What completing this plan produces. Stated as an outcome, not an activity.
|
|
16
|
+
|
|
17
|
+
## Non-goals
|
|
18
|
+
|
|
19
|
+
What is intentionally out of scope. Each item is a thing a reader might assume is included.
|
|
20
|
+
|
|
21
|
+
- <Non-goal one>
|
|
22
|
+
- <Non-goal two>
|
|
23
|
+
|
|
24
|
+
## Current state
|
|
25
|
+
|
|
26
|
+
What exists today that this plan builds on or changes. Cite files, hooks, skills, decisions found during the fan-out. Each bullet is one concrete claim with a path or reference.
|
|
27
|
+
|
|
28
|
+
- `<path/to/file>` — <what it currently does that matters>
|
|
29
|
+
- `<vault note path>` — <decision or prior session this plan inherits from>
|
|
30
|
+
|
|
31
|
+
## Implementation
|
|
32
|
+
|
|
33
|
+
Ordered steps. Each step states the file or surface it touches and the concrete change. Subagents to spawn are named with their `subagent_type`.
|
|
34
|
+
|
|
35
|
+
1. **<Step title>** — <file path or surface>. <Concrete change>.
|
|
36
|
+
2. **<Step title>** — <file path or surface>. <Concrete change>.
|
|
37
|
+
3. **<Step title>** — <file path or surface>. <Concrete change>.
|
|
38
|
+
|
|
39
|
+
## Decisions log
|
|
40
|
+
|
|
41
|
+
Each meaningful choice the interview surfaced, with the reasoning. Future-you reads this to understand why the plan looks the way it does.
|
|
42
|
+
|
|
43
|
+
| Decision | Choice | Reasoning |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| <Question the interview answered> | <What was chosen> | <Why this over the alternatives> |
|
|
46
|
+
| <Question the interview answered> | <What was chosen> | <Why this over the alternatives> |
|
|
47
|
+
|
|
48
|
+
## Risks / open questions
|
|
49
|
+
|
|
50
|
+
What could break this plan, and what is still unresolved. Each item is actionable — either has a mitigation or is flagged for the user to resolve before implementation begins.
|
|
51
|
+
|
|
52
|
+
- **<Risk one>** — <Mitigation, or "open: needs decision before step N">
|
|
53
|
+
- **<Risk two>** — <Mitigation, or "open: needs decision before step N">
|
|
54
|
+
|
|
55
|
+
## Acceptance
|
|
56
|
+
|
|
57
|
+
What "done" looks like. Observable behavior, file existence, command output — concrete and verifiable.
|
|
58
|
+
|
|
59
|
+
- [ ] <Verifiable outcome one>
|
|
60
|
+
- [ ] <Verifiable outcome two>
|