shotgun-sh 0.1.0.dev27__py3-none-any.whl → 0.1.0.dev28__py3-none-any.whl

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.

Potentially problematic release.


This version of shotgun-sh might be problematic. Click here for more details.

@@ -270,6 +270,9 @@ class AgentManager(Widget):
270
270
  if deps is None:
271
271
  raise ValueError("AgentDeps must be provided")
272
272
 
273
+ # Clear file tracker before each run to track only this run's operations
274
+ deps.file_tracker.clear()
275
+
273
276
  if prompt:
274
277
  self.ui_message_history.append(ModelRequest.user_text_prompt(prompt))
275
278
  self._post_messages_updated()
@@ -19,14 +19,22 @@ Your job is to help create and manage actionable tasks for software projects and
19
19
 
20
20
  **CRITICAL**: Your output will be consumed by AI coding agents (Claude Code, Cursor, Windsurf, etc.)
21
21
  - These agents already know how to code - don't teach programming concepts
22
+ - Each task MUST have a checkbox `[ ]` for tracking completion
22
23
  - Each task should be a specific file modification or creation
23
- - Format: "In [file path], [add/modify/delete] [specific code/feature]"
24
+ - Format each task as: `- [ ] In [file path], [add/modify/delete] [specific code/feature]`
24
25
  - Include acceptance criteria as executable commands (npm test, curl endpoints)
25
26
  - Reference specific line numbers or function names when modifying existing code
26
27
  - Break complex features into atomic, single-file tasks when possible
27
28
  - Include validation steps that can be automated
28
29
  - Every task should be immediately executable by an AI agent without interpretation
29
30
 
31
+ Example task format:
32
+ ```markdown
33
+ - [ ] In src/api/auth.py, add JWT token validation to authenticate() function
34
+ - [ ] In tests/test_auth.py, add unit tests for JWT validation (must achieve 80% coverage)
35
+ - [ ] In docs/API.md, update authentication section with JWT token requirements
36
+ ```
37
+
30
38
  ## TASK MANAGEMENT WORKFLOW
31
39
 
32
40
  For task management:
@@ -36,16 +44,45 @@ For task management:
36
44
  4. **Create structured tasks**: Use `write_file("tasks.md", content)` to save organized tasks
37
45
  5. **Build incrementally**: Update and refine tasks based on new information
38
46
 
47
+ ## TASK FORMAT
48
+
49
+ **CRITICAL**: All tasks MUST use checkbox format for tracking completion:
50
+ - Use `[ ]` for incomplete tasks
51
+ - Use `[X]` for completed tasks
52
+ - Include instructions at the top of tasks.md explaining how to mark tasks complete
53
+
39
54
  ## TASK FILE STRUCTURE
40
55
 
41
- Organize tasks into logical sections in tasks.md:
42
- - **Backlog** - Prioritized list of tasks to be done
43
- - **In Progress** - Current active tasks and status
44
- - **Done** - Completed tasks for reference
45
- - **Blocked** - Tasks waiting on dependencies or decisions
56
+ Start tasks.md with these instructions:
57
+ ```markdown
58
+ # Task Management
59
+
60
+ ## Instructions
61
+ - Mark tasks as complete by replacing `[ ]` with `[X]`
62
+ - Tasks without an `[X]` are not finished yet
63
+ ```
64
+
65
+ Then organize tasks into logical sections:
66
+ ```markdown
67
+ ## Backlog
68
+ - [ ] Task description with clear action
69
+ - [ ] Another specific task to complete
70
+
71
+ ## In Progress
72
+ - [ ] Currently working on this task
73
+ - [ ] Task being actively developed
74
+
75
+ ## Done
76
+ - [X] Completed task for reference
77
+ - [X] Another finished task
78
+
79
+ ## Blocked
80
+ - [ ] Task waiting on dependency (blocked by: reason)
81
+ ```
46
82
 
47
83
  ## TASK CREATION PRINCIPLES
48
84
 
85
+ - **ALWAYS use checkbox format `[ ]` for every task**
49
86
  - Base tasks on available research findings and plan requirements
50
87
  - Create specific, actionable tasks with clear acceptance criteria
51
88
  - Include effort estimates and priority levels when possible
@@ -55,7 +92,8 @@ Organize tasks into logical sections in tasks.md:
55
92
  - Include both development and testing/validation tasks
56
93
  - Break down complex work into manageable chunks
57
94
  - Keep tasks.md as the single source of truth
58
- - Use clear task IDs or numbers for tracking
95
+ - Group related tasks under clear section headings
96
+ - Mark completed tasks with `[X]` when updating the file
59
97
 
60
98
  {% if interactive_mode %}
61
99
  USER INTERACTION - ASK CLARIFYING QUESTIONS:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shotgun-sh
3
- Version: 0.1.0.dev27
3
+ Version: 0.1.0.dev28
4
4
  Summary: AI-powered research, planning, and task management CLI tool
5
5
  Project-URL: Homepage, https://shotgun.sh/
6
6
  Project-URL: Repository, https://github.com/shotgun-sh/shotgun
@@ -7,7 +7,7 @@ shotgun/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  shotgun/sentry_telemetry.py,sha256=3r9on0GQposn9aX6Dkb9mrfaVQl_dIZzhu9BjE838AU,2854
8
8
  shotgun/telemetry.py,sha256=aBwCRFU97oiIK5K13OhT7yYCQUAVQyrvnoG-aX3k2ZE,3109
9
9
  shotgun/agents/__init__.py,sha256=8Jzv1YsDuLyNPFJyckSr_qI4ehTVeDyIMDW4omsfPGc,25
10
- shotgun/agents/agent_manager.py,sha256=Tz20_cmCQhuUOIyr3rGrtvN_XBAYBZNuzhXBo-BFngQ,22349
10
+ shotgun/agents/agent_manager.py,sha256=zfGlZGb7A6ZRvTtHaJa9_mFnL_myc52wNbkdVS8Bfxk,22465
11
11
  shotgun/agents/common.py,sha256=vt7ECq1rT6GR5Rt63t0whH0R0cydrk7Mty2KyPL8mEg,19045
12
12
  shotgun/agents/conversation_history.py,sha256=5J8_1yxdZiiWTq22aDio88DkBDZ4_Lh_p5Iy5_ENszc,3898
13
13
  shotgun/agents/conversation_manager.py,sha256=fxAvXbEl3Cl2ugJ4N9aWXaqZtkrnfj3QzwjWC4LFXwI,3514
@@ -78,7 +78,7 @@ shotgun/prompts/agents/export.j2,sha256=GKpOfGbZA9PVa4TNtMORUYiBIAcN6JCo8URmTCWK
78
78
  shotgun/prompts/agents/plan.j2,sha256=MyZDyOS21V-zrHNzbIhIdzcESGh_3KVbA4qh9rZR2_E,6086
79
79
  shotgun/prompts/agents/research.j2,sha256=JBtjXaMVDRuNTt7-Ai8gUb2InfolfqCkQoEkn9PsQZk,3929
80
80
  shotgun/prompts/agents/specify.j2,sha256=AP7XrA3KE7GZsCvW4guASxZHBM2mnrMw3irdZ3RUOBs,2808
81
- shotgun/prompts/agents/tasks.j2,sha256=Vm6nFSgYzdwRBySUzwMzWHhfYR12Cb_xKPqif7yMuhs,4909
81
+ shotgun/prompts/agents/tasks.j2,sha256=9gGCimCWVvpaQSxkAjt7WmIxFHXJY2FlmqhqomFxQTA,5949
82
82
  shotgun/prompts/agents/partials/codebase_understanding.j2,sha256=7WH-PVd-TRBFQUdOdKkwwn9hAUaJznFZMAGHhO7IGGU,5633
83
83
  shotgun/prompts/agents/partials/common_agent_system_prompt.j2,sha256=eFuc3z1pSJzQtPJfjMIDNHv5XX9lP6YVrmKcbbskJj8,1877
84
84
  shotgun/prompts/agents/partials/content_formatting.j2,sha256=MG0JB7SSp8YV5akDWpbs2f9DcdREIYqLp38NnoWLeQ0,1854
@@ -123,8 +123,8 @@ shotgun/utils/__init__.py,sha256=WinIEp9oL2iMrWaDkXz2QX4nYVPAm8C9aBSKTeEwLtE,198
123
123
  shotgun/utils/env_utils.py,sha256=8QK5aw_f_V2AVTleQQlcL0RnD4sPJWXlDG46fsHu0d8,1057
124
124
  shotgun/utils/file_system_utils.py,sha256=l-0p1bEHF34OU19MahnRFdClHufThfGAjQ431teAIp0,1004
125
125
  shotgun/utils/update_checker.py,sha256=Xf-7w3Pos3etzCoT771gJe2HLkA8_V2GrqWy7ni9UqA,11373
126
- shotgun_sh-0.1.0.dev27.dist-info/METADATA,sha256=yE6vp8p3JZUIQeu8t1RWTU086EaiZ8wQO7CzCX2HxXU,11197
127
- shotgun_sh-0.1.0.dev27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
128
- shotgun_sh-0.1.0.dev27.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
129
- shotgun_sh-0.1.0.dev27.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
130
- shotgun_sh-0.1.0.dev27.dist-info/RECORD,,
126
+ shotgun_sh-0.1.0.dev28.dist-info/METADATA,sha256=8jf2GyrCtSPnCcYTfwenqva0r6K3vVymDjGBWNCTLaY,11197
127
+ shotgun_sh-0.1.0.dev28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
128
+ shotgun_sh-0.1.0.dev28.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
129
+ shotgun_sh-0.1.0.dev28.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
130
+ shotgun_sh-0.1.0.dev28.dist-info/RECORD,,