clarent-methods 0.1.0__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.
Files changed (59) hide show
  1. clarent/__init__.py +2 -0
  2. clarent/__main__.py +5 -0
  3. clarent/_methods/ach/CARD.md +46 -0
  4. clarent/_methods/ach/clarent_ach/__init__.py +6 -0
  5. clarent/_methods/ach/clarent_ach/__main__.py +5 -0
  6. clarent/_methods/ach/clarent_ach/cli.py +123 -0
  7. clarent/_methods/ach/clarent_ach/engine.py +214 -0
  8. clarent/_methods/ach/clarent_ach/i18n.py +160 -0
  9. clarent/_methods/ach/clarent_ach/model.py +174 -0
  10. clarent/_methods/ach/clarent_ach/render.py +72 -0
  11. clarent/_methods/ach/examples/flaky-test.es.json +156 -0
  12. clarent/_methods/ach/examples/flaky-test.json +156 -0
  13. clarent/_methods/ach/method.toml +43 -0
  14. clarent/_methods/ach/skill/SKILL.md +58 -0
  15. clarent/_methods/ach/tests/test_ach.py +231 -0
  16. clarent/_methods/redteam/CARD.md +66 -0
  17. clarent/_methods/redteam/clarent_redteam/__init__.py +6 -0
  18. clarent/_methods/redteam/clarent_redteam/__main__.py +5 -0
  19. clarent/_methods/redteam/clarent_redteam/catalog.py +192 -0
  20. clarent/_methods/redteam/clarent_redteam/cli.py +189 -0
  21. clarent/_methods/redteam/clarent_redteam/engine.py +281 -0
  22. clarent/_methods/redteam/clarent_redteam/i18n.py +199 -0
  23. clarent/_methods/redteam/clarent_redteam/model.py +320 -0
  24. clarent/_methods/redteam/clarent_redteam/render.py +103 -0
  25. clarent/_methods/redteam/examples/design-doc/design.es.md +27 -0
  26. clarent/_methods/redteam/examples/design-doc/design.md +27 -0
  27. clarent/_methods/redteam/examples/design-doc/findings.es.json +132 -0
  28. clarent/_methods/redteam/examples/design-doc/findings.json +132 -0
  29. clarent/_methods/redteam/examples/design-doc/findings.rejected.json +130 -0
  30. clarent/_methods/redteam/examples/pr/change.diff +34 -0
  31. clarent/_methods/redteam/examples/pr/description.md +13 -0
  32. clarent/_methods/redteam/examples/pr/findings.json +114 -0
  33. clarent/_methods/redteam/method.toml +43 -0
  34. clarent/_methods/redteam/skill/SKILL.md +52 -0
  35. clarent/_methods/redteam/tests/test_redteam.py +640 -0
  36. clarent/_methods/triz-matrix/CARD.md +50 -0
  37. clarent/_methods/triz-matrix/clarent_triz/__init__.py +6 -0
  38. clarent/_methods/triz-matrix/clarent_triz/__main__.py +5 -0
  39. clarent/_methods/triz-matrix/clarent_triz/cli.py +184 -0
  40. clarent/_methods/triz-matrix/clarent_triz/data/DATA_LICENSE.md +51 -0
  41. clarent/_methods/triz-matrix/clarent_triz/data/catalog.json +89 -0
  42. clarent/_methods/triz-matrix/clarent_triz/data/matrix.json +11920 -0
  43. clarent/_methods/triz-matrix/clarent_triz/engine.py +103 -0
  44. clarent/_methods/triz-matrix/clarent_triz/i18n.py +134 -0
  45. clarent/_methods/triz-matrix/clarent_triz/model.py +179 -0
  46. clarent/_methods/triz-matrix/clarent_triz/render.py +101 -0
  47. clarent/_methods/triz-matrix/examples/search-api.es.json +9 -0
  48. clarent/_methods/triz-matrix/examples/search-api.json +9 -0
  49. clarent/_methods/triz-matrix/method.toml +58 -0
  50. clarent/_methods/triz-matrix/skill/SKILL.md +50 -0
  51. clarent/_methods/triz-matrix/tests/test_triz.py +306 -0
  52. clarent/cli.py +95 -0
  53. clarent/registry.py +175 -0
  54. clarent_methods-0.1.0.dist-info/METADATA +227 -0
  55. clarent_methods-0.1.0.dist-info/RECORD +59 -0
  56. clarent_methods-0.1.0.dist-info/WHEEL +4 -0
  57. clarent_methods-0.1.0.dist-info/entry_points.txt +2 -0
  58. clarent_methods-0.1.0.dist-info/licenses/LICENSE +202 -0
  59. clarent_methods-0.1.0.dist-info/licenses/NOTICE +12 -0
@@ -0,0 +1,227 @@
1
+ Metadata-Version: 2.5
2
+ Name: clarent-methods
3
+ Version: 0.1.0
4
+ Summary: Classic decision, optimization and engineering methodologies as executable developer tools.
5
+ Project-URL: Homepage, https://github.com/Joaquincuevas/clarent
6
+ Project-URL: Repository, https://github.com/Joaquincuevas/clarent
7
+ Project-URL: Issues, https://github.com/Joaquincuevas/clarent/issues
8
+ Project-URL: Documentation, https://github.com/Joaquincuevas/clarent#readme
9
+ Project-URL: Changelog, https://github.com/Joaquincuevas/clarent/blob/main/CHANGELOG.md
10
+ Author: Joaquín Cuevas Muñoz
11
+ License-Expression: Apache-2.0
12
+ License-File: LICENSE
13
+ License-File: NOTICE
14
+ Keywords: agents,claude-code,debugging,methodology,root-cause-analysis
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: Environment :: Console
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Topic :: Software Development :: Debuggers
25
+ Classifier: Topic :: Software Development :: Quality Assurance
26
+ Requires-Python: >=3.11
27
+ Description-Content-Type: text/markdown
28
+
29
+ # Clarent
30
+
31
+ [![ci](https://github.com/Joaquincuevas/clarent/actions/workflows/ci.yml/badge.svg)](https://github.com/Joaquincuevas/clarent/actions/workflows/ci.yml)
32
+ [![PyPI](https://img.shields.io/pypi/v/clarent-methods.svg)](https://pypi.org/project/clarent-methods/)
33
+ [![license: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
34
+ [![python: >=3.11](https://img.shields.io/badge/python-%E2%89%A53.11-blue.svg)](pyproject.toml)
35
+
36
+ **Classic decision, optimization and engineering methods — as tools that compute, not prompts that sound smart.**
37
+
38
+ Military doctrine, Toyota's shop floor, Soviet inventors' algorithms, NASA safety engineering: decades of method for finding root causes, attacking plans and estimating honestly. Clarent turns them into small, auditable tools for developers and their coding agents: Claude Code skills, a CLI, and (soon) hooks, MCP tools and GitHub Actions.
39
+
40
+ > **Status: pre-release (v0.1).** Three methods are implemented end-to-end (`ach`, 24 tests; `redteam`, 82; `triz-matrix`, 38). Eight more are specified in [`research/product-spec.md`](research/product-spec.md); the rest of the plan is in [`research/roadmap.md`](research/roadmap.md). Nothing here claims to make your agent fix more bugs — see [What we do not claim](#what-we-do-not-claim).
41
+
42
+ ## Install
43
+
44
+ ```bash
45
+ pip install clarent-methods # the `clarent` CLI; Python >= 3.11, no dependencies
46
+ # or the development version: pip install git+https://github.com/Joaquincuevas/clarent
47
+ ```
48
+
49
+ ```text
50
+ /plugin marketplace add Joaquincuevas/clarent # in Claude Code: add the marketplace...
51
+ /plugin install clarent-methods@clarent # ...and install the skills
52
+ ```
53
+
54
+ ## Why another methods repo?
55
+
56
+ Collections of "thinking frameworks as prompts" already exist (the biggest we found has ~1.7k stars; see [`research/novelty.md`](research/novelty.md)). They give an agent a checklist. Clarent's rule is stricter: **every method must have a deterministic core** — something the code computes or rejects with no LLM involved — plus evidence discipline:
57
+
58
+ - the agent **proposes**, the engine **scores, validates and can say no**;
59
+ - every observed fact needs a `ref` (the command, `file:line` or log that produced it);
60
+ - reports say what they are: an ACH score is a *ranking of inconsistencies*, never a probability.
61
+
62
+ ## Demo
63
+
64
+ Everything below is the real output of the command shown, on the synthetic examples shipped in [`methods/`](methods/). The files in [`docs/demo/`](docs/demo/) hold the complete outputs and are regenerated by `python tools/gen_demo.py` (CI fails if they drift).
65
+
66
+ ### `ach` — debugging with competing hypotheses
67
+
68
+ A test, `test_checkout_total`, fails about 1 run in 8 on CI. Five rival causes and a catch-all, five pieces of evidence, each rated against *every* hypothesis:
69
+
70
+ ```console
71
+ $ clarent ach score methods/ach/examples/flaky-test.json
72
+ ```
73
+
74
+ Excerpt (the full report also has the evidence matrix, diagnosticity, sensitivity and warnings — [`docs/demo/ach-score.md`](docs/demo/ach-score.md)):
75
+
76
+ ```markdown
77
+ ## Conclusion
78
+
79
+ - Tie: several hypotheses share the lowest inconsistency score.
80
+ - Leader(s): H1, H5 (margin over the next: 21)
81
+ - This is a ranking of inconsistencies, **not a probability**.
82
+
83
+ ## Hypothesis ranking (lower inconsistency = better)
84
+
85
+ | # | Hypothesis | Inconsistency | State | Contradicted by |
86
+ |---|-----------|---------------:|--------|-----------------|
87
+ | 1 | **H1** Race condition between xdist workers on a session-scoped fixture | 0 | alive | — |
88
+ | 1 | **H5** Leftover DB state from another test that ran earlier on the same worker | 0 | alive | — |
89
+ | 1 | **H6** Something else I am not considering | 0 | catch-all | — |
90
+ | 2 | **H2** Clock/timezone dependence (datetime.now near a day boundary) | 21 | refuted | E2, E1 |
91
+ | 3 | **H3** Real, unmocked network call that sometimes answers slowly or errors | 27 | refuted | E4, E1 |
92
+ | 4 | **H4** Non-deterministic set/dict ordering (PYTHONHASHSEED) changes a float sum | 33 | refuted | E3, E1, E5 |
93
+ ```
94
+
95
+ Clock, network and hash-seed causes are refuted by cited evidence; two causes tie. Which single experiment separates them?
96
+
97
+ ```console
98
+ $ clarent ach next methods/ach/examples/flaky-test.json
99
+ T1 priority=36.0 for=H5 against=H1
100
+ Reproducing serially with the same random order as the failure (pytest-randomly --randomly-seed=<seed of run #8812>) also fails
101
+ T2 priority=9.0 for=H1 against=-
102
+ Changing the fixture from scope=session to scope=function removes the failures in 200 runs with '-n 4'
103
+ ```
104
+
105
+ ### `redteam` — attack a design or a PR; the engine refuses what it cannot anchor
106
+
107
+ A synthetic design doc moves notifications from a cron job to a stream consumer ([`design.md`](methods/redteam/examples/design-doc/design.md)). A model proposes assumptions and attacks as JSON, each quoting the passage it rests on; the engine checks them against the text:
108
+
109
+ ```console
110
+ $ clarent redteam check methods/redteam/examples/design-doc/findings.json
111
+ ```
112
+
113
+ Excerpt (the full report also has the assumption matrix, what to verify next, class coverage and warnings — [`docs/demo/redteam-check.md`](docs/demo/redteam-check.md)):
114
+
115
+ ```markdown
116
+ ## Top 3 attacks by impact
117
+
118
+ | # | Attack | Class | Assumption | Risk | Where | How to check |
119
+ |--:|---|---|---|---|---|---|
120
+ | 1 | **X3** After the rollout there is no way back: the flag cannot bring back the cron job or the sent_at column, so a bad release can only be fixed by shipping another one while notifications are being lost. | Reversibility | A5 (contradicted) | 25 (S1) | `design.md:26` | Apply the migration in staging, then try to revert to the previous release and send a notification. |
121
+ | 2 | **X1** If Redis is down when the API publishes, the row stays in the table but nothing reads it once the cron job is gone: those notifications are never sent and nobody is told. | Failure modes | A1 (contradicted) | 20 (S1) | `design.md:19` | Stop Redis in staging, create 20 notifications, restart Redis and count how many are sent. |
122
+ | 3 | **X2** A consumer that crashes after the read and before the provider answers loses the notification: acknowledging on read gives at-most-once delivery, and the row stays pending for ever. | Failure modes | A6 (unverified) | 16 (S2) | `design.md:14` | In staging, kill -9 a consumer between the read and the provider call; count the rows still pending after 10 minutes. |
123
+ ```
124
+
125
+ `Where` is the line of the design the attack quotes; `contradicted` means the assumption was checked and the evidence says it is false (here, `design.md:15` deletes the only reader of the table), which raises the plausibility of every attack that depends on it. X2 rests on an *unverified* assumption, so the report lists it first under "Verify next".
126
+
127
+ The same design with findings the engine must refuse (an invented quote, "verified" with no evidence, a ref to a line that does not exist, a duplicate, an attack with no way to check it) exits 1 and says why:
128
+
129
+ ```console
130
+ $ clarent redteam check methods/redteam/examples/design-doc/findings.rejected.json
131
+ ```
132
+
133
+ ```markdown
134
+ ## Rejected findings
135
+
136
+ | Kind | ID | Reason |
137
+ |---|---|---|
138
+ | assumption | A3 | the quote does not appear in the target (compared literally, ignoring only whitespace) |
139
+ | assumption | A4 | status 'verified' needs at least one evidence item with a ref and an observation |
140
+ | assumption | A5 | evidence ref 'design.md:99' is not valid: line out of range (the file has 27 lines) |
141
+ | attack | X3 | its assumption A3 was rejected |
142
+ | attack | X4 | the quote has 5 characters; at least 12 are required to anchor a finding |
143
+ | attack | X5 | duplicate of X2 (same class and assumption, near-identical text) |
144
+ | attack | X6 | no 'check': say how to verify this attack (a command or a concrete question) |
145
+ | attack | X7 | its assumption A4 was rejected |
146
+ | attack | X8 | its assumption A5 was rejected |
147
+ ```
148
+
149
+ The engine proves a finding is anchored and backed, not that it is right. It also works on PRs (description plus `gh pr diff`): [`docs/demo/redteam-pr.md`](docs/demo/redteam-pr.md).
150
+
151
+ ### `triz-matrix` — a design trade-off, resolved against the 1973 table
152
+
153
+ "Make `/search` faster without making the system harder to run":
154
+
155
+ ```console
156
+ $ clarent triz-matrix lookup latency "Device complexity"
157
+ ```
158
+
159
+ ```markdown
160
+ # TRIZ contradiction: improve «Speed» without worsening «Device complexity»
161
+
162
+ - **Improving:** 9. Speed — _software reading: latency, response time or throughput of an operation_
163
+ - **Worsening:** 36. Device complexity — _software reading: system complexity: number of components, dependencies, code paths_
164
+ - «latency» was interpreted as parameter 9 (Speed) by software-reading match
165
+
166
+ > Cell verified: the consensus of 4 independent transcriptions equals the Altshuller Foundation 1973 table.
167
+
168
+ ## Principles (in the order the matrix lists them)
169
+
170
+ | # | Principle | What it means | Software example |
171
+ |--:|---|---|---|
172
+ | 10 | **Preliminary action** | Carry out the required change, fully or partly, before it is needed. | Precompute results; warm caches; ahead-of-time compilation; pre-pulled images and pre-provisioned environments. |
173
+ | 28 | **Mechanics substitution** | Replace the way the parts interact with a different kind of channel or field. | Replace polling with events or webhooks; replace manual review with automated static analysis. |
174
+ | 4 | **Asymmetry** | Replace a symmetrical form with an asymmetrical one, or increase existing asymmetry. | Separate read and write paths (CQRS); one writer with many read replicas; asymmetric roles in a protocol. |
175
+ | 34 | **Discarding and recovering** | Let parts that have done their job go away or change during operation, and restore used-up parts straight away. | Garbage collection; cache eviction and TTLs; log rotation; automatic cleanup of ephemeral environments; compaction. |
176
+ ```
177
+
178
+ The report goes on with a reminder that principles are prompts for ideas, not solutions, and the reverse cell. `triz-matrix analyze methods/triz-matrix/examples/search-api.json` does the same for several contradictions at once and ranks the principles that recur ([`docs/demo/triz-analyze.md`](docs/demo/triz-analyze.md)). Ambiguous names are rejected with the candidates listed, never guessed.
179
+
180
+ ### In Claude Code
181
+
182
+ ```text
183
+ /clarent-methods:ach test_checkout_total fails ~1 in 8 CI runs
184
+ /clarent-methods:redteam docs/adr-014-event-sourcing.md
185
+ /clarent-methods:triz-matrix make /search faster without making it harder to run
186
+ ```
187
+
188
+ The skills are manual-only (`disable-model-invocation`), so they cost no context until you call them. `ach` makes the agent list rival causes first, gather evidence by running commands, rate each item against *all* hypotheses, and re-score until one explanation survives or the diagnosis is declared unresolved.
189
+
190
+ ## Methods
191
+
192
+ | Method | Tool | Status |
193
+ |--------|------|--------|
194
+ | Analysis of Competing Hypotheses (Heuer, CIA) | `ach` | **implemented** (reference) |
195
+ | Red Teaming (UFMCS) | `redteam` | **implemented** (beta) |
196
+ | TRIZ contradiction matrix (Altshuller) | `triz-matrix` | **implemented** (beta); additional method, outside the top-10 ranking |
197
+ | Statistical Process Control (Shewhart) on CI | `spc` | spec |
198
+ | Commander's Intent / Mission Command | `intent` | spec |
199
+ | Reference Class Forecasting | `rcf` | spec |
200
+ | Kepner-Tregoe IS / IS-NOT | `kt` | spec |
201
+ | Heilmeier Catechism | `gate` | spec |
202
+ | Fault Tree Analysis | `fta` | spec |
203
+ | HAZOP (guide words on APIs and data flows) | `hazop` | spec |
204
+ | After Action Review (US Army TC 25-20) | `aar` | spec |
205
+ | FMEA, STAMP / STPA | `fmea`, `stpa` | deferred to v2 |
206
+
207
+ The ranking is the author's judgment, not a measurement; scores, criteria and the corrections made along the way are in [`research/ranking.md`](research/ranking.md). 63 methods were catalogued, each source marked `read / exists / blocked / unverified`: [`research/`](research/).
208
+
209
+ ## What we do not claim
210
+
211
+ - That a skill makes an agent solve more tasks. gstack (one of the biggest repos in this space) publishes a null result on its own bug-fixing benchmark in its README; we will publish ours, null or not.
212
+ - That the numbers are Heuer's, Shewhart's or Goldratt's. Where a constant is ours (weights, thresholds) the method card says so.
213
+ - That the catalog's sources are all verified. Each one carries its verification level.
214
+ - That the TRIZ matrix data has a clean chain of title. Its licenses and gaps are written down in [`DATA_LICENSE.md`](methods/triz-matrix/clarent_triz/data/DATA_LICENSE.md); 29 of its 1 248 cells are contested between transcriptions, and you can supply your own matrix with `--data`.
215
+ - That the demos are real incidents. The examples are synthetic and labelled so.
216
+ - That the specified methods exist. `spc`, `intent`, `rcf`, `kt`, `gate`, `fta`, `hazop` and `aar` are specifications; nothing is promised about when they ship.
217
+ - That the red team's findings are correct. The engine rejects findings that are not quoted from the text or not backed by evidence; whether an attack is right is still a judgment. Three of its six attack classes (`scale`, `dependency`, `reversibility`) are Clarent's own and are not in the UFMCS handbook it draws on.
218
+ - That it works in agents other than Claude Code. The plugin is validated with `claude plugin validate`; Cursor, Codex and others have not been tested.
219
+ - That the ranking of methods is a measurement, or that its "no existing repo" findings are proof of absence: they are lower bounds from GitHub search.
220
+
221
+ ## Contributing
222
+
223
+ A new method is one folder, one card, one engine, tests and an example. Start with [`CONTRIBUTING.md`](CONTRIBUTING.md); `clarent doctor` tells you what is missing.
224
+
225
+ ## License
226
+
227
+ Apache-2.0. See [`LICENSE`](LICENSE).
@@ -0,0 +1,59 @@
1
+ clarent/__init__.py,sha256=Sqcm1fRNqSTVFvhLIIfkUJmse1xsnJb-QkkHie-tYm0,129
2
+ clarent/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
3
+ clarent/cli.py,sha256=d8oArvTPCFtnkFUucGvu0LeGbz2Kd74BMOpnLAc-YSg,3100
4
+ clarent/registry.py,sha256=tomixnI4T3uzOxoff69qn72Kv5-bwPQ-CQ-bhTTgSlQ,6986
5
+ clarent/_methods/ach/CARD.md,sha256=-EpyRvAULcUeA0op4mYvUDAwbLQZTpZ_JxoGJ5bnqC4,4584
6
+ clarent/_methods/ach/method.toml,sha256=jHVctp4W7NsDzShl5GFEg7gDp5uPR5B3pE-0-UYkw68,1925
7
+ clarent/_methods/ach/clarent_ach/__init__.py,sha256=Z2llR95Jhhm17FYBy5dHFxfkknPAn_ZOfHV7OOmYpsI,274
8
+ clarent/_methods/ach/clarent_ach/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
9
+ clarent/_methods/ach/clarent_ach/cli.py,sha256=e0M0xp8CmosMtiSZfFejbopTL8JXengKhPuFu2JCWxw,4351
10
+ clarent/_methods/ach/clarent_ach/engine.py,sha256=D78sqHDSyIZvm2YUpoXot-QUSalNkRqzXDDtbvD2pok,7323
11
+ clarent/_methods/ach/clarent_ach/i18n.py,sha256=F9uDh6cNVNzm4oRstFv06wAW77rLoIrKHFFNAGicmWE,11318
12
+ clarent/_methods/ach/clarent_ach/model.py,sha256=6Vyb8xZwvpGqShOLMm8epDMpZbp29fs3RYI4q23ZVb0,6202
13
+ clarent/_methods/ach/clarent_ach/render.py,sha256=vM3QShH-4r-0_3_aJLLxEtCr5rhDNJ2KXDY3JPyaR_0,3064
14
+ clarent/_methods/ach/examples/flaky-test.es.json,sha256=bNBY4tptXzgO3mz_VK-4dPvKJegCzE0OwzAfjdRbF5M,4135
15
+ clarent/_methods/ach/examples/flaky-test.json,sha256=f-XpcS2kkagQ9DwRdXue8_sif2-Pw5A6GjNepZCnVuo,4067
16
+ clarent/_methods/ach/skill/SKILL.md,sha256=auwDgAa94xutSf6XFgQje-DuT2eCQr3Y3BYVKYonn70,3594
17
+ clarent/_methods/ach/tests/test_ach.py,sha256=cLvcBS1r_zcHM4Y23fcUWPEd5Q6_KwfKcZGaC2_driA,10162
18
+ clarent/_methods/redteam/CARD.md,sha256=oCRe_JDlsdex-EImYKBCKMIj4uyhgkTNBIdpeV9GRVw,12454
19
+ clarent/_methods/redteam/method.toml,sha256=C6NP8a_JOkCPjvHjg5OQoCgfkmIaGc02C-jxRw4wqfA,2819
20
+ clarent/_methods/redteam/clarent_redteam/__init__.py,sha256=E8e4UZJl9KR9l_zQMtuWpxHGPvDABU6znkp6QKiyyXU,322
21
+ clarent/_methods/redteam/clarent_redteam/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
22
+ clarent/_methods/redteam/clarent_redteam/catalog.py,sha256=Yxk7BO-CjjEXsCX2fM_a8XKiMg-8MHfPd_u-I6BF-kU,9547
23
+ clarent/_methods/redteam/clarent_redteam/cli.py,sha256=qyeGgh8tKqrzIhVcKquBNHGZcHWiT-PPj3epGlLc-yE,7650
24
+ clarent/_methods/redteam/clarent_redteam/engine.py,sha256=BK1tE2pD79_OWtAie_F26iUkvW6z7yQzla7PSTAutWw,10838
25
+ clarent/_methods/redteam/clarent_redteam/i18n.py,sha256=h2_-Eu2mV9wRG_yML-cBTT30JP6OR8SRw0BEciXDEu8,13715
26
+ clarent/_methods/redteam/clarent_redteam/model.py,sha256=i_9JvdzbMCIau4tAyb-YqzquGj_lFuDSD-q4JPcAOKU,12145
27
+ clarent/_methods/redteam/clarent_redteam/render.py,sha256=QO7iqMwSJoho61vaKkHPVNuc8XZA-M5yRx4F1boJng8,4651
28
+ clarent/_methods/redteam/examples/design-doc/design.es.md,sha256=eOT2hFOhTk-ERusNpvljPf9WHOinZjU4-RG2qc2c7P8,1510
29
+ clarent/_methods/redteam/examples/design-doc/design.md,sha256=vB4jpxuolkXNIYA6jwS0SFMOrsYrEAoleb-kcip3nNE,1351
30
+ clarent/_methods/redteam/examples/design-doc/findings.es.json,sha256=juJQiSphVqEb0Fwj49hQbmmKCbO39Wuv1u7kLr85IwA,6851
31
+ clarent/_methods/redteam/examples/design-doc/findings.json,sha256=vfjeUKM88FFAazg_NL_XN6UPaTsmeKsoCRAVQpOgSI0,6428
32
+ clarent/_methods/redteam/examples/design-doc/findings.rejected.json,sha256=iqT7INGDy9zKDA_e2vqhvhRbv0ryj6r8XDl-CQvOXNI,4839
33
+ clarent/_methods/redteam/examples/pr/change.diff,sha256=zMMQu1RzbMSK7JGr0C-NhMZqYOAw6GtFNCwGVH6heDQ,1117
34
+ clarent/_methods/redteam/examples/pr/description.md,sha256=bB6VGCzdo5wF43V8EhFV8NxY5FVbkZrziPBxe-DR7yE,486
35
+ clarent/_methods/redteam/examples/pr/findings.json,sha256=fZpGpvkCK8aSI73Qe5_9EAwjljCn3Ml3af4uQT446DI,5233
36
+ clarent/_methods/redteam/skill/SKILL.md,sha256=T-pPdcbQKLvCzZi8FVM9C7mbN_fu9bSrC732uM-EY9A,4582
37
+ clarent/_methods/redteam/tests/test_redteam.py,sha256=o5KX1qEsR-mvSXkEJd-QHWtHdcAX0hXxl7UvF24QfTw,32891
38
+ clarent/_methods/triz-matrix/CARD.md,sha256=3GcJIx02injpqLbsZQa3FVQyWhJPKCYhrxlbR1KIr2c,6779
39
+ clarent/_methods/triz-matrix/method.toml,sha256=I4Q9mp9idqVsLP5FNldciQkmJQvgyocYto2_oDN0hGo,2760
40
+ clarent/_methods/triz-matrix/clarent_triz/__init__.py,sha256=WUegifT2L31JqmrwkrfG9kipJEO38vKFub56qEMYokY,330
41
+ clarent/_methods/triz-matrix/clarent_triz/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
42
+ clarent/_methods/triz-matrix/clarent_triz/cli.py,sha256=A_dMlseb3p5D51Qafzgl8ZzuVyLEd2Og5CBo9m1Um9Y,6946
43
+ clarent/_methods/triz-matrix/clarent_triz/engine.py,sha256=PnEyudZ4fd7ye8DCqBHoOgJAr3qMS0OTYQ_xFIHbjQs,4566
44
+ clarent/_methods/triz-matrix/clarent_triz/i18n.py,sha256=XX2dlU4pRy6qRavXjHILXgt7KS7PVkaoyh_B4kaTicw,9884
45
+ clarent/_methods/triz-matrix/clarent_triz/model.py,sha256=3S4sX4usTkEaF8gmWPBF0su_ZfWA_Q_Fj-p4n-latyQ,7036
46
+ clarent/_methods/triz-matrix/clarent_triz/render.py,sha256=6XVKU8lQ2KwtBY07gMlQMgY20AjHX0VVmpqIPESmag4,4567
47
+ clarent/_methods/triz-matrix/clarent_triz/data/DATA_LICENSE.md,sha256=6jyksPpgrdMWM5NewxQImr8w0fYLDLGKbiw7LDuqdC0,6001
48
+ clarent/_methods/triz-matrix/clarent_triz/data/catalog.json,sha256=wbbCZmvjscag5UdYKPRThkuGFhxPKEi5Q_-cLDyCt3M,32595
49
+ clarent/_methods/triz-matrix/clarent_triz/data/matrix.json,sha256=ciCvhs06E76TX9TzIYqEkoQi_DkJAPG43qyAclHSj1U,115058
50
+ clarent/_methods/triz-matrix/examples/search-api.es.json,sha256=oCzcW8_88MHL0RY7zXVKYZW59R8pP5vkBWS4nVXyxvk,856
51
+ clarent/_methods/triz-matrix/examples/search-api.json,sha256=XBvq8fD_gFTghwbhaNEv-rRl9_CAr2HUrjO2To-p3ek,760
52
+ clarent/_methods/triz-matrix/skill/SKILL.md,sha256=5fE1r2dZz1OYGhXy17qR2YSrW8Vvl_DAx39o8mvz3nk,3608
53
+ clarent/_methods/triz-matrix/tests/test_triz.py,sha256=IY9ZqGwwv7G0gXg5OnjVUTkybNuktpYN3Nvwk4iXFK8,14678
54
+ clarent_methods-0.1.0.dist-info/METADATA,sha256=muwjxMY3PBPYCOhmjkj7YFbcjhgvlQfbwguNqt3DhMo,15074
55
+ clarent_methods-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
56
+ clarent_methods-0.1.0.dist-info/entry_points.txt,sha256=hDaPQ-H9pl1w-gPXfOEMl-H66GKGnfi_bUe08sI__PY,45
57
+ clarent_methods-0.1.0.dist-info/licenses/LICENSE,sha256=yVuuHRzgI17MzTVgt3LsHvuX80innw--CmNPDCzO_iw,11358
58
+ clarent_methods-0.1.0.dist-info/licenses/NOTICE,sha256=dmrDAX2r2iACMHeLlYC0p2BHlW2EGx7LDxe7SEXi2YI,523
59
+ clarent_methods-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ clarent = clarent.cli:main
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
@@ -0,0 +1,12 @@
1
+ Clarent
2
+ Copyright 2026 Clarent contributors
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ Third-party material
7
+ --------------------
8
+ methods/triz-matrix/clarent_triz/data/matrix.json is derived from five MIT-licensed
9
+ transcriptions of the Altshuller contradiction matrix. Their copyright notices, the MIT
10
+ license text, the provenance of the data and what could not be verified about it are in
11
+ methods/triz-matrix/clarent_triz/data/DATA_LICENSE.md. Keep that file with any copy of
12
+ the data.