teddy-cli 0.2.3.dev1518__py3-none-any.whl → 0.2.3.dev1520__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: teddy-cli
3
- Version: 0.2.3.dev1518
3
+ Version: 0.2.3.dev1520
4
4
  Summary: The local-first, test-driven agentic engineering harness. Because you should own the means of development.
5
5
  Author: Raphael Atteritano
6
6
  License: AGPL-3.0-only
@@ -138,7 +138,7 @@ teddy_executor/registries/__init__.py,sha256=Y9luGTza-JjAZCHGX7VJpyj55ijfrSJFrwY
138
138
  teddy_executor/registries/infrastructure.py,sha256=D9oBgmFMOIbYwGhOJjYWTjyzSFT_J3H7LNnzjqvkwoA,5862
139
139
  teddy_executor/registries/reviewer.py,sha256=rKDcFmrHRm_66IsNHTn2E8QQsIimO0puiWYGlHToBBs,1370
140
140
  teddy_executor/registries/validators.py,sha256=82SNpawuzWV2dtJcMAVP7wOpjoJ0hViR2a3kOwgIyIA,1907
141
- teddy_executor/resources/MRP.md,sha256=H4HDnwn5E6VKjSmw6SJArmWQdxo4zIIx6Pd1-PTUZZc,16887
141
+ teddy_executor/resources/MRP.md,sha256=icy5nFMQB0ygrs7y0OosiNAKlIO8qqAf-OaL3Ahmc9c,16809
142
142
  teddy_executor/resources/__init__.py,sha256=h835ykuoc9Xv0E4UIaHmi8iVnhPKYqhwkLzHV5jRQEs,45
143
143
  teddy_executor/resources/config/__init__.py,sha256=R96a_JS3GOty_5vsGg8AcR3cQYotYXCELrIzWFhn4kE,61
144
144
  teddy_executor/resources/config/config.yaml,sha256=rBEPC6qp6BiOyo3bva6g3qbK21VCgYxq4WEZT65wSHo,3068
@@ -149,18 +149,18 @@ teddy_executor/resources/config/prompts/debugger.md,sha256=UkS5ReAnIJIfp3YqHo87E
149
149
  teddy_executor/resources/config/prompts/developer.md,sha256=Mzd0wW1QLjt-YExV4q4k0dr0CP-8VG5HkrZhCIcmsEs,16051
150
150
  teddy_executor/resources/config/prompts/pathfinder.md,sha256=8gJtTqiVFN14e7wyaJhiE8wgARcd44LTRNdFS8C7nOg,4857
151
151
  teddy_executor/resources/config/prompts/prototyper.md,sha256=yIb_rpiNeOl5edHlZ3682WPZnKD0y_7RQ5VYpWssluA,4770
152
- teddy_executor/resources/templates/ARCHITECTURE.md,sha256=-9Ce7rVi3YNGAT4xXLXVndKx4gLZaYQJ_8dga0d4eIs,7841
153
- teddy_executor/resources/templates/PROJECT.md,sha256=freLnMDGmaa9DzIi-i12DUl0fOEpl0oLjEqKoWSzO8k,6361
152
+ teddy_executor/resources/templates/ARCHITECTURE.md,sha256=adtD8GsvrKupD0dl-TKvTQ6SupkpwkmUzkJ4evggBwc,8035
153
+ teddy_executor/resources/templates/PROJECT.md,sha256=qKsGRipdQmFjBy3j_L5tnjZj9kaT48xopJmE-1hDbsU,6537
154
154
  teddy_executor/resources/templates/case-file.md,sha256=gKhoFCum2c4Fk4E3lKGcmfV9_IOYVygjWXNu076TL1Q,1578
155
- teddy_executor/resources/templates/ci.md,sha256=mymFC4Q1nuRdFAxX2ORO76BgtBJIR3GOBrW5zYNlds4,8902
155
+ teddy_executor/resources/templates/ci.md,sha256=TRVHJ3VjDA-CB4xvAL0BcD9bs4tykpVtiJ5iQOvBpwU,10151
156
156
  teddy_executor/resources/templates/component-design.md,sha256=GgR7hS2yIugxih2H_czLx-pEdrM6LAmnznMf2AMer-k,2155
157
157
  teddy_executor/resources/templates/makefile.md,sha256=0OmQVTLbUk8XIkb7OJDDCWH_qdbOcoK5pWMuiLnZYFI,26228
158
158
  teddy_executor/resources/templates/milestone.md,sha256=PwHedgzqRQnKQq4M4GILmmv7YHBsDJCaC8rxD2MDMBE,863
159
159
  teddy_executor/resources/templates/pre-commit.md,sha256=NqllfAw8Z0yvt51QJ6OBW18dccrJniLGibSylkatvRM,7684
160
160
  teddy_executor/resources/templates/specification-document.md,sha256=skYPZ7E0m2n2STEWOKCHeiuqNtsshYzI49rmsNSKAuA,671
161
161
  teddy_executor/resources/templates/vertical-slice.md,sha256=Cn8Y_rb6BZvy9bKBDNXhGfoSgMpsZbIBfyFQgrdx8Jg,5563
162
- teddy_cli-0.2.3.dev1518.dist-info/METADATA,sha256=Bvs3PxID9_Pq5GKPZWFqr05vmHGgVxUoOc5JEaCbER8,30646
163
- teddy_cli-0.2.3.dev1518.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
164
- teddy_cli-0.2.3.dev1518.dist-info/entry_points.txt,sha256=3KaK1-CWsscLZeHduI6Jgime9aw_gfmdQZ7AUkA0QDg,54
165
- teddy_cli-0.2.3.dev1518.dist-info/licenses/LICENSE,sha256=HBL2C3ynq_mk-EYtJI7aXEc6gXnXgKJ-K6KZ13N0Ojs,35270
166
- teddy_cli-0.2.3.dev1518.dist-info/RECORD,,
162
+ teddy_cli-0.2.3.dev1520.dist-info/METADATA,sha256=cepl0G3whEH4UnCgiHUNtLAbUJpFUMrfzfo_YuH0ANo,30646
163
+ teddy_cli-0.2.3.dev1520.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
164
+ teddy_cli-0.2.3.dev1520.dist-info/entry_points.txt,sha256=3KaK1-CWsscLZeHduI6Jgime9aw_gfmdQZ7AUkA0QDg,54
165
+ teddy_cli-0.2.3.dev1520.dist-info/licenses/LICENSE,sha256=HBL2C3ynq_mk-EYtJI7aXEc6gXnXgKJ-K6KZ13N0Ojs,35270
166
+ teddy_cli-0.2.3.dev1520.dist-info/RECORD,,
@@ -137,7 +137,7 @@ A validation failure occurs when an Execution Report returns "Validation Failed"
137
137
  ## Rationale
138
138
  ~~~~
139
139
  ### Summary
140
- [The whole story so far: what the session has established, what the previous turn's outcome means, and why this plan is the next logical step. Reason aloud to get there: interpret the previous turn's result, trace what it implies, and derive why this plan follows, instead of only restating the outcome. This section carries the complete context a reader needs to follow the current decision, not a recap of only the last turn.]
140
+ [The whole story so far: what the session has established, what the previous turn's outcome means, and why this plan is the next logical step. Reason aloud to get there: interpret the previous turn's result, trace what it implies, and derive why this plan follows. This section carries the complete context a reader needs to follow the current plan.]
141
141
 
142
142
  ### Expectation
143
143
  [Observable outcome: State the single, specific, falsifiable result you expect from this action plan, and what it will prove about your current state or hypothesis. Then state how that outcome dictates the subsequent step: what you will do if it holds, and what you will do if it does not.]
@@ -15,7 +15,7 @@ This section defines foundational engineering practices. Each entry MUST be a sp
15
15
  - **Runtime Contract Assertions:** Enforce Design-by-Contract with native `assert condition, "message"` for pre/post-conditions and invariants (strippable via `python -O`); never custom exceptions for contract checks.
16
16
  - **Dependency Injection:** Constructor injection mandate; forbid Service Locator and global containers.
17
17
  - **Centralized Configuration:** Config file location, prohibition of magic numbers.
18
- - **Continuous Integration:** Parallel CI jobs: 1) Blocking OS matrix test suite. 2) Blocking static-analysis job on a single OS running deterministic, diff-actionable checks (formatters, linters, security scanners, type checkers, and structural checkers). 3) Non-blocking (`continue-on-error: true`) quality-metrics job for aggregate, repository-wide checks (test-pyramid ratios, file-length caps, duplication thresholds) that no single commit can satisfy. Platform-specific and CI-only issues are investigated via the Remote Probing Protocol (`make probe REASON="<reason>"`). See [docs/templates/ci.md](docs/templates/ci.md).
18
+ - **Continuous Integration:** Parallel CI jobs: 1) Blocking OS matrix test suite. 2) Blocking static-analysis job on the same OS matrix running deterministic, diff-actionable checks (formatters, linters, security scanners, type checkers, and structural checkers), so a platform-conditional type or lint verdict surfaces instead of hiding behind a single runner. 3) Non-blocking (`continue-on-error: true`) quality-metrics job on the same OS matrix for aggregate, repository-wide checks (test-pyramid ratios, file-length caps, duplication thresholds) that no single commit can satisfy. Every matrix job sets `fail-fast: false` and a bash default shell. Platform-specific and CI-only issues are investigated via the Remote Probing Protocol (`make probe REASON="<reason>"`). See [docs/templates/ci.md](docs/templates/ci.md).
19
19
  - **Local Quality Gates:** Local pre-commit hooks MUST stay fast, checking only staged files (formatters, secret detection, merge conflict markers). Heavier static analysis runs in the blocking static-analysis CI job, keeping the local commit loop fast. The full test suite runs via the post-commit hook (`.githooks/post-commit.py`) as an unskippable safety net, reverting automatically on failure. See [docs/templates/pre-commit.md](docs/templates/pre-commit.md).
20
20
  - **Deterministic Boundary & Anti-Pattern Enforcement:** Architectural layer boundaries (e.g., Hexagonal Core isolation), `spikes/` isolation, banned test doubles (`mock.patch`, bare mocks), and banned footgun APIs outside adapters MUST be codified as deterministic linter or structural checker rules (staged lints or CI `manual`-stage checks in the blocking static-analysis job) rather than relying solely on prose documentation.
21
21
  - **Diagnostic Instrumentation:** High-value diagnostics MUST use zero-cost language-native dead-code elimination (e.g. `if __debug__:`) and Composition Root toggles; mid-logic environment checks are forbidden.
@@ -76,4 +76,4 @@ A living list of upcoming Milestones and their high-level features.
76
76
  - **Project Readme:** Create a minimal `README.md` focused strictly on the end-user entry point: product overview, prerequisites, and installation/usage instructions.
77
77
  - **Tooling Entry Points:** Configure the test runner (`pytest`) exposed via `make test`, along with standard `Makefile` targets (`make commit`, `make push`, `make ci-watch`, `make probe`). Configure project `.gitignore` keeping `spikes/` tracked.
78
78
  - **Local Quality Gates:** Install Pre-commit with fast local hooks (formatters, banned-pattern lint rules, secret detection, merge conflict checks) and the unskippable post-commit test gate (`.githooks/post-commit.py`) that runs `make test` and reverts on failure.
79
- - **Continuous Integration:** Set up parallel GitHub Actions jobs: 1) Blocking OS matrix test suite. 2) Blocking single-OS static-analysis job holding the deterministic, diff-actionable checks (formatters, linters, secret scanners, security audits, type checkers, and structural checkers). 3) Non-blocking (`continue-on-error: true`) quality-metrics job for the aggregate checks (test-pyramid ratios, file-length caps, duplication thresholds) that no single commit can satisfy. Configure `.github/workflows/debug.yml` for the Remote Probing Protocol. See [docs/templates/ci.md](docs/templates/ci.md).
79
+ - **Continuous Integration:** Set up parallel GitHub Actions jobs: 1) Blocking OS matrix test suite. 2) Blocking static-analysis job on the same OS matrix holding the deterministic, diff-actionable checks (formatters, linters, secret scanners, security audits, type checkers, and structural checkers), because a single runner hides platform-conditional type and lint verdicts. 3) Non-blocking (`continue-on-error: true`) quality-metrics job on the same OS matrix for the aggregate checks (test-pyramid ratios, file-length caps, duplication thresholds) that no single commit can satisfy. Every matrix job sets `fail-fast: false` and a bash default shell. Configure `.github/workflows/debug.yml` for the Remote Probing Protocol. See [docs/templates/ci.md](docs/templates/ci.md).
@@ -19,14 +19,17 @@ A check earns a merge veto only when it is deterministic (the verdict is reprodu
19
19
  - **Blocking:** If this job fails, the CI pipeline is marked as failed.
20
20
 
21
21
  ### Job 2: Blocking Static Analysis
22
- - Runs on a single OS (ubuntu-latest): type and lint verdicts rarely depend on the OS, so a matrix here triples cost without adding signal on deterministic checks.
22
+ - Executes across the same OS matrix as the test suite, because static verdicts are not OS-neutral: a type checker surfaces platform-conditional attribute errors (a `msvcrt` member that exists only on Windows), and the structural checkers guard POSIX-only patches that only the Windows leg exercises.
23
23
  - Runs deterministic, diff-actionable checks, each in its own step with `if: success() || failure()` so every check reports even when an earlier one fails: formatters, linters, secret scanners, security audits, type checkers, and structural checkers.
24
24
  - Scopes the heavy checks (type checkers, security/dependency scanners, structural checkers) to the non-default `manual` stage so they never slow down the local pre-commit loop.
25
25
  - Excludes sandboxes (`spikes/`) and third-party dependencies.
26
- - **Blocking:** Configured with `continue-on-error: false`. A failure fails the pipeline.
26
+ - Sets `fail-fast: false` so each OS leg reports its own verdict instead of cancelling its siblings, and `defaults.run.shell: bash` so the checks run identically on Windows.
27
+ - **Blocking:** Configured with `continue-on-error: false`. A failure on any OS leg fails the pipeline.
27
28
 
28
29
  ### Job 3: Advisory Quality Metrics
29
30
  - Runs aggregate, repository-wide checks that no single commit can satisfy without unrelated refactoring: test-pyramid ratios, file-length caps, and duplication thresholds.
31
+ - Executes across the same OS matrix so a platform-specific path or line-ending difference cannot hide behind a single-runner verdict. These checks carry no merge veto, so a matrix here costs runner minutes without risking a blocked merge.
32
+ - Sets `fail-fast: false` and `defaults.run.shell: bash` for the same reasons as Job 2.
30
33
  - **Advisory:** Configured with `continue-on-error: true`. Findings surface as triage items, not merge blockers; a ratchet that fails only when a metric worsens is an acceptable upgrade.
31
34
 
32
35
  ```shell
@@ -88,12 +91,22 @@ jobs:
88
91
  - name: Run Tests
89
92
  run: {runner} pytest
90
93
 
91
- # Job 2: Blocking static analysis (deterministic checks, single OS).
94
+ # Jobs 2 and 3 share the test suite's OS matrix: a type checker surfaces
95
+ # platform-conditional attribute errors, and the structural hooks guard
96
+ # POSIX-only patches that only the Windows leg exercises.
97
+ # Job 2: Blocking static analysis (deterministic checks, OS matrix).
92
98
  static-analysis:
93
- name: Static Analysis
94
- runs-on: ubuntu-latest
99
+ name: Static Analysis (${{ matrix.os }})
100
+ runs-on: ${{ matrix.os }}
95
101
  timeout-minutes: 10
96
102
  continue-on-error: false
103
+ defaults:
104
+ run:
105
+ shell: bash
106
+ strategy:
107
+ fail-fast: false
108
+ matrix:
109
+ os: [ubuntu-latest, macos-latest, windows-latest]
97
110
  steps:
98
111
  - name: Check out repository
99
112
  uses: actions/checkout@v5
@@ -148,11 +161,19 @@ jobs:
148
161
  run: |
149
162
  {runner} pre-commit run pip-audit --all-files --hook-stage manual
150
163
 
151
- # Job 3: Advisory quality metrics (aggregate checks, non-blocking).
164
+ # Job 3: Advisory quality metrics (aggregate checks, non-blocking, OS matrix).
152
165
  quality-metrics:
153
- name: Quality Metrics
154
- runs-on: ubuntu-latest
166
+ name: Quality Metrics (${{ matrix.os }})
167
+ runs-on: ${{ matrix.os }}
168
+ timeout-minutes: 10
155
169
  continue-on-error: true
170
+ defaults:
171
+ run:
172
+ shell: bash
173
+ strategy:
174
+ fail-fast: false
175
+ matrix:
176
+ os: [ubuntu-latest, macos-latest, windows-latest]
156
177
  steps:
157
178
  - name: Check out repository
158
179
  uses: actions/checkout@v5