atdd 0.2.5__py3-none-any.whl → 0.2.7__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.
@@ -4,20 +4,41 @@ missions:
4
4
  validate_phase_transitions: "Phase transitions and quality gates per conventions and schemas"
5
5
  required: true
6
6
 
7
- # ATDD Gate (REQUIRED before any work)
8
- # =====================================
9
- # Before starting ANY task, you MUST confirm you have loaded these rules.
10
- # Provide this confirmation at the start of your first response:
7
+ # =============================================================================
8
+ # ATDD AGENT BOOTSTRAP PROTOCOL (REQUIRED)
9
+ # =============================================================================
11
10
  #
12
- # ## ATDD Gate Confirmation
13
- # - **File loaded:** CLAUDE.md (or AGENTS.md, etc.)
14
- # - **Key constraints:**
15
- # 1. No ad-hoc tests - follow ATDD conventions
16
- # 2. Domain layer NEVER imports from other layers
17
- # 3. Phase transitions require quality gates
11
+ # Problem: Agents often skip instruction files and work without ATDD context.
12
+ # Solution: Coercive context - inject rules via mandatory tool output.
18
13
  #
19
- # If you cannot provide this confirmation, STOP and reload the rules.
20
- # Run `atdd gate` to verify the expected values.
14
+ # PROTOCOL:
15
+ # ---------
16
+ # 1. Run this command FIRST:
17
+ #
18
+ # atdd gate
19
+ #
20
+ # 2. Paste the output and confirm:
21
+ # - Which file(s) were loaded
22
+ # - The reported hash
23
+ # - The key ATDD constraints
24
+ #
25
+ # 3. If output shows missing/unsynced files, run:
26
+ #
27
+ # atdd sync
28
+ #
29
+ # Then re-run: atdd gate
30
+ #
31
+ # WHY THIS WORKS:
32
+ # - Gate output is mandatory tool output - agent can't ignore it
33
+ # - Proves which ATDD files were actually loaded
34
+ # - Forces consistency across all agents
35
+ #
36
+ # FAILURE MODE:
37
+ # - If agent skips the gate: STOP and run atdd gate again
38
+ # - Don't proceed until gate confirmation is posted
39
+ #
40
+ # RULE: If ATDD rules matter, start with `atdd gate`. No gate = no guarantees.
41
+ # =============================================================================
21
42
 
22
43
  manifest:
23
44
  - trains: "plan/_trains.yaml"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atdd
3
- Version: 0.2.5
3
+ Version: 0.2.7
4
4
  Summary: ATDD Platform - Acceptance Test Driven Development toolkit
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
@@ -41,22 +41,15 @@ atdd --help
41
41
  ## Quick Start
42
42
 
43
43
  ```bash
44
- # Initialize ATDD in your project
45
- atdd init
46
-
47
- # Create a planning session
48
- atdd session new my-feature
49
-
50
- # List sessions
51
- atdd session list
52
-
53
- # Sync ATDD rules to agent config files
54
- atdd sync
55
-
56
- # Run validators
57
- atdd --test all
44
+ atdd init # Initialize ATDD in your project
45
+ atdd gate # ⚠️ START EVERY SESSION WITH THIS
46
+ atdd session new my-feature # Create a planning session
47
+ atdd sync # Sync rules to agent config files
48
+ atdd --test all # Run validators
58
49
  ```
59
50
 
51
+ > **⚠️ `atdd gate` is required.** Agents skip instruction files but can't ignore tool output. No gate = no ATDD guarantees.
52
+
60
53
  ## What It Does
61
54
 
62
55
  ATDD provides:
@@ -144,16 +137,29 @@ sync:
144
137
  atdd sync # Creates/updates CLAUDE.md, AGENTS.md, GEMINI.md, QWEN.md
145
138
  ```
146
139
 
147
- ### ATDD Gate
140
+ ### ATDD Gate (Bootstrap Protocol)
148
141
 
149
- Verify agents have loaded ATDD rules before starting work:
142
+ Agents often skip instruction files. The gate solves this by injecting rules via mandatory tool output.
150
143
 
151
- ```bash
152
- atdd gate # Show gate verification info
153
- atdd gate --json # Output as JSON for programmatic use
154
- ```
144
+ **Protocol:**
145
+
146
+ 1. Run this command first:
147
+ ```bash
148
+ atdd gate
149
+ ```
150
+
151
+ 2. Agent must paste output and confirm:
152
+ - Which file(s) were loaded
153
+ - The reported hash
154
+ - The key constraints
155
155
 
156
- Example output:
156
+ 3. If files are missing/unsynced:
157
+ ```bash
158
+ atdd sync
159
+ atdd gate # Re-verify
160
+ ```
161
+
162
+ **Example output:**
157
163
  ```
158
164
  ============================================================
159
165
  ATDD Gate Verification
@@ -172,9 +178,12 @@ Before starting work, confirm you have loaded these rules.
172
178
  ------------------------------------------------------------
173
179
  ```
174
180
 
175
- Agents should confirm at the start of each session:
176
- - Which ATDD file(s) they loaded
177
- - The key constraints they will follow
181
+ **Why this works:**
182
+ - Gate output is mandatory tool output - agent can't ignore it
183
+ - Proves which ATDD files were actually loaded
184
+ - Forces consistency across all agents
185
+
186
+ **Rule:** If ATDD rules matter, start with `atdd gate`. No gate = no guarantees.
178
187
 
179
188
  ### Validation
180
189
 
@@ -27,7 +27,7 @@ atdd/coach/overlays/__init__.py,sha256=2lMiMSgfLJ3YHLpbzNI5B88AdQxiMEwjIfsWWb8t3
27
27
  atdd/coach/overlays/claude.md,sha256=33mhpqhmsRhCtdWlU7cMXAJDsaVra9uBBK8URV8OtQA,101
28
28
  atdd/coach/schemas/config.schema.json,sha256=xzct7gBoPTIGh3NFPSGtfW0zIiyFdHDZkvjuy1qgAqA,951
29
29
  atdd/coach/schemas/manifest.schema.json,sha256=WO13-YF_FgH1awh96khCtk-112b6XSC24anlY3B7GjY,2885
30
- atdd/coach/templates/ATDD.md,sha256=oHZi7g-quHSmE4NPhN20AFSPrB2N03lzeuldX3LG8Xk,11410
30
+ atdd/coach/templates/ATDD.md,sha256=uoLt3gSUym4hd0S5joaTVqmrfbMASn6jhTwrvDSBlhI,11920
31
31
  atdd/coach/templates/SESSION-TEMPLATE.md,sha256=p_AwdV9ktKS-FGcg8ocDso74NdR7yeMEQO3dJmeb4VQ,8647
32
32
  atdd/coach/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  atdd/coach/utils/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -178,9 +178,9 @@ atdd/tester/validators/test_red_supabase_layer_structure.py,sha256=26cnzPZAwSFy0
178
178
  atdd/tester/validators/test_telemetry_structure.py,sha256=hIUnU2WU-8PNIg9EVHe2fnUdIQKIOUm5AWEtCBUXLVk,22467
179
179
  atdd/tester/validators/test_typescript_test_naming.py,sha256=E-TyGv_GVlTfsbyuxrtv9sOWSZS_QcpH6rrJFbWoeeU,11280
180
180
  atdd/tester/validators/test_typescript_test_structure.py,sha256=eV89SD1RaKtchBZupqhnJmaruoROosf3LwB4Fwe4UJI,2612
181
- atdd-0.2.5.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
182
- atdd-0.2.5.dist-info/METADATA,sha256=YLszhSnmQooMD3eaLzcg4p1NI6bABS9FBdPz7gAjr_U,6390
183
- atdd-0.2.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
184
- atdd-0.2.5.dist-info/entry_points.txt,sha256=-C3yrA1WQQfN3iuGmSzPapA5cKVBEYU5Q1HUffSJTbY,38
185
- atdd-0.2.5.dist-info/top_level.txt,sha256=VKkf6Uiyrm4RS6ULCGM-v8AzYN8K2yg8SMqwJLoO-xs,5
186
- atdd-0.2.5.dist-info/RECORD,,
181
+ atdd-0.2.7.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
182
+ atdd-0.2.7.dist-info/METADATA,sha256=xWWAOx07EP3to0A2iMt-KYjp7S5fzrM9SNpt1wZ6gqA,6954
183
+ atdd-0.2.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
184
+ atdd-0.2.7.dist-info/entry_points.txt,sha256=-C3yrA1WQQfN3iuGmSzPapA5cKVBEYU5Q1HUffSJTbY,38
185
+ atdd-0.2.7.dist-info/top_level.txt,sha256=VKkf6Uiyrm4RS6ULCGM-v8AzYN8K2yg8SMqwJLoO-xs,5
186
+ atdd-0.2.7.dist-info/RECORD,,
File without changes