@srobroek/pi-code-quality 0.0.0-stage → 0.15.1
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/CHANGELOG.md +182 -0
- package/LICENSE +202 -0
- package/README.md +147 -2
- package/agents/adversarial-challenger.md +29 -0
- package/extensions/quality.js +4583 -0
- package/package.json +40 -4
- package/skills/prototype-logic/LICENSE +21 -0
- package/skills/prototype-logic/NOTICE +26 -0
- package/skills/prototype-logic/SKILL.md +76 -0
- package/skills/quality-code-design/LICENSE-mattpocock-skills +21 -0
- package/skills/quality-code-design/NOTICE +63 -0
- package/skills/quality-code-design/SKILL.md +63 -0
- package/skills/quality-code-design/references/contracts.md +37 -0
- package/skills/quality-code-design/references/debugging.md +85 -0
- package/skills/quality-code-design/references/deep-modules.md +67 -0
- package/skills/quality-code-design/references/dependencies.md +81 -0
- package/skills/quality-code-design/references/encapsulation.md +148 -0
- package/skills/quality-code-design/references/feature-flags.md +189 -0
- package/skills/quality-code-design/references/go.md +110 -0
- package/skills/quality-code-design/references/lifecycle.md +66 -0
- package/skills/quality-code-design/references/middleware.md +55 -0
- package/skills/quality-code-design/references/other-paradigms.md +44 -0
- package/skills/quality-code-design/references/persistence.md +52 -0
- package/skills/quality-code-design/references/python.md +100 -0
- package/skills/quality-code-design/references/release.md +59 -0
- package/skills/quality-code-design/references/review.md +121 -0
- package/skills/quality-code-design/references/rust.md +140 -0
- package/skills/quality-code-design/references/safe-mutation.md +33 -0
- package/skills/quality-code-design/references/security.md +65 -0
- package/skills/quality-code-design/references/simplicity.md +165 -0
- package/skills/quality-code-design/references/solid.md +165 -0
- package/skills/quality-code-design/references/supporting-principles.md +78 -0
- package/skills/quality-code-design/references/telemetry.md +54 -0
- package/skills/quality-code-design/references/test-first.md +78 -0
- package/skills/quality-code-design/references/typescript.md +93 -0
- package/skills/quality-code-design/references/verification.md +53 -0
- package/skills/quality-code-policy/SKILL.md +34 -0
- package/skills/quality-profiling/SKILL.md +48 -0
- package/skills/quality-profiling/references/hygiene.md +27 -0
- package/skills/quality-profiling/references/reading-profiles.md +21 -0
- package/skills/quality-profiling/references/system.md +51 -0
- package/skills/quality-test-audit/SKILL.md +122 -0
- package/skills/quality-test-audit/references/catalog.md +108 -0
- package/skills/quality-test-audit/references/evidence.md +123 -0
- package/skills/quality-test-audit/references/report.md +75 -0
- package/skills/quality-testing/SKILL.md +62 -0
- package/skills/quality-testing/references/bad-tests.md +258 -0
- package/skills/quality-testing/references/doubles.md +49 -0
- package/skills/quality-testing/references/good-tests.md +90 -0
- package/skills/quality-testing/references/maintenance.md +96 -0
- package/skills/quality-testing/references/review-tests.md +72 -0
- package/skills/quality-testing/references/shared-contracts.md +30 -0
- package/skills/quality-testing/references/signals.md +50 -0
- package/skills/quality-testing/references/test-budget.md +81 -0
- package/skills/quality-testing/references/what-to-test.md +58 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
## quality [0.15.1](https://github.com/srobroek/harness-plugins/compare/quality--v0.15.0...quality--v0.15.1) (2026-11-23)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **whats-new:** grant MCP tools to the whats-new research agent ([8ae7fe0](https://github.com/srobroek/harness-plugins/commit/8ae7fe05c65e2df2f53ebf944c8f9bd5b7625cf9))
|
|
6
|
+
|
|
7
|
+
## quality [0.15.0](https://github.com/srobroek/harness-plugins/compare/quality--v0.14.1...quality--v0.15.0) (2026-11-23)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **quality:** add pi test audit tools ([57e334b](https://github.com/srobroek/harness-plugins/commit/57e334ba19730f79cd9e4307447322a42abc895a))
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **agent-reviewer:** align duplicate harness agents ([b5bf82a](https://github.com/srobroek/harness-plugins/commit/b5bf82a275d3127e73518336c5b1a9228c4f6a71))
|
|
16
|
+
* **quality:** name the pi bundle quality.js ([2797720](https://github.com/srobroek/harness-plugins/commit/2797720631f7c3088254fffca69eae8db5d53a41))
|
|
17
|
+
* **quality:** restore the adversarial-challenger description ([90dab4b](https://github.com/srobroek/harness-plugins/commit/90dab4b3cf7bcd916e0837882b1c867a9ff1c611))
|
|
18
|
+
|
|
19
|
+
## quality [0.14.1](https://github.com/srobroek/harness-plugins/compare/quality--v0.14.0...quality--v0.14.1) (2026-11-23)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* make every plugin agent's OMP form correct ([96b7bfe](https://github.com/srobroek/harness-plugins/commit/96b7bfea3c35017b34a28f59e81fb059f6c68a24))
|
|
24
|
+
|
|
25
|
+
## quality [0.14.0](https://github.com/srobroek/harness-plugins/compare/quality--v0.13.1...quality--v0.14.0) (2026-11-22)
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **delivery:** ship the orchestrator agent ([#121](https://github.com/srobroek/harness-plugins/issues/121)) ([53f33c0](https://github.com/srobroek/harness-plugins/commit/53f33c016315732220a7c87066267931ee87f514))
|
|
30
|
+
|
|
31
|
+
## quality [0.13.1](https://github.com/srobroek/harness-plugins/compare/quality--v0.13.0...quality--v0.13.1) (2026-11-21)
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* **code-challenge:** close dogfood friction in skill, schema and validation ([043a8b3](https://github.com/srobroek/harness-plugins/commit/043a8b39057ec8fca54d09adebb0532c2154e330))
|
|
36
|
+
|
|
37
|
+
## quality [0.13.0](https://github.com/srobroek/harness-plugins/compare/quality--v0.12.0...quality--v0.13.0) (2026-11-21)
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **quality:** give the adversarial challenger the read-only shell ([c145260](https://github.com/srobroek/harness-plugins/commit/c14526098df88b459ec2ec3b992d0e3ef0150502))
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* **quality:** rebuild with the hardened read-only shell rules ([1f2a83f](https://github.com/srobroek/harness-plugins/commit/1f2a83f33f84c1de50798e4f81961f4d3552d683))
|
|
46
|
+
|
|
47
|
+
# Changelog
|
|
48
|
+
|
|
49
|
+
## [0.12.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.11.0...quality--v0.12.0) (2026-11-20)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **agent-reviewer:** judge reviews against the quality, standards and testing parts ([7669ebf](https://github.com/srobroek/opencode-plugins/commit/7669ebfa5c5311d6a3da796a3cca16a9fbaad268))
|
|
55
|
+
* **agents:** follow lang skills and the repo engineering doc, report departures ([#267](https://github.com/srobroek/opencode-plugins/issues/267)) ([2c15755](https://github.com/srobroek/opencode-plugins/commit/2c15755d62faed398c8f3ce4747a61d1c92ff00c))
|
|
56
|
+
* plugin scan fixes, wider agent access and the plugin-audit plugin ([9c71525](https://github.com/srobroek/opencode-plugins/commit/9c7152559776aaf80cfed9626d78bafdd845fa9a))
|
|
57
|
+
* **plugin-audit:** add plugin_audit_scan tool and plugin-audit skill ([d400433](https://github.com/srobroek/opencode-plugins/commit/d4004330e9a922d8e832b6f3266502141eaea4a3))
|
|
58
|
+
* **quality:** allow lang-* and architecture-* skills to adversarial-challenger ([e614877](https://github.com/srobroek/opencode-plugins/commit/e614877191586707aa554bcbf5fbd3eedbbafdb9))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Refactors
|
|
62
|
+
|
|
63
|
+
* **lib:** one MCP tool grant table for the tools option ([f8cc1d8](https://github.com/srobroek/opencode-plugins/commit/f8cc1d817d62b211b712d1889200f7c91f049c89))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Documentation
|
|
67
|
+
|
|
68
|
+
* **quality:** list the shipped agents that carry coding-core in their prompt ([9f727f3](https://github.com/srobroek/opencode-plugins/commit/9f727f30c159c294cc25af7a7e2e2b9cc465d12e))
|
|
69
|
+
|
|
70
|
+
## [0.11.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.10.0...quality--v0.11.0) (2026-11-19)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
* beads, speckit and journeys in Claude Code; translated subagents instead of raw OpenCode agents ([e5fcc23](https://github.com/srobroek/opencode-plugins/commit/e5fcc2338e0846cbebc3370f65826cf2edf137bc))
|
|
76
|
+
* **modes:** debug, refactor and concept agents ([6369b8a](https://github.com/srobroek/opencode-plugins/commit/6369b8ae6c4ca35c664f094b60c28d356cc13298))
|
|
77
|
+
* **project:** REUSE guidance for scaffold, code policy and release setup ([c09cf94](https://github.com/srobroek/opencode-plugins/commit/c09cf9454847afa1f73791511f937daef8df93ca))
|
|
78
|
+
* **quality:** add stub-and-swap rules to coding and testing standards ([2bdfe9b](https://github.com/srobroek/opencode-plugins/commit/2bdfe9b4755dfc284200dadfb4648e6e9239f3b6))
|
|
79
|
+
* **safety:** secret_store tool stores a generated or command-issued secret without a shell ([d84a1d2](https://github.com/srobroek/opencode-plugins/commit/d84a1d22b0ff6e72f327fb185c512b2296a80a1e))
|
|
80
|
+
* **toolchain:** prescriptive testing and quality concerns for every language ([2cbcb66](https://github.com/srobroek/opencode-plugins/commit/2cbcb66c2e4589eccf2553d324d83680744cd6d7))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* **safety:** refuse history-rewriting git in a canonical checkout ([#210](https://github.com/srobroek/opencode-plugins/issues/210)) ([515f7ba](https://github.com/srobroek/opencode-plugins/commit/515f7ba36493307fad32de51e48c47197bb31f26))
|
|
86
|
+
|
|
87
|
+
## [0.10.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.9.0...quality--v0.10.0) (2026-11-16)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
* **quality:** add audit learnings on order, load, leaks and noisy runs ([#170](https://github.com/srobroek/opencode-plugins/issues/170)) ([07964f1](https://github.com/srobroek/opencode-plugins/commit/07964f1e58836ae59ac261dcc692a8d9521e0f83))
|
|
93
|
+
|
|
94
|
+
## [0.9.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.8.0...quality--v0.9.0) (2026-11-13)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Features
|
|
98
|
+
|
|
99
|
+
* **agents:** a tools option that lets read-only and coding agents call allowed MCP tools ([70558c3](https://github.com/srobroek/opencode-plugins/commit/70558c30dc450faec7e6012cdb0f678f1ecd7f01))
|
|
100
|
+
|
|
101
|
+
## [0.8.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.7.0...quality--v0.8.0) (2026-11-13)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Features
|
|
105
|
+
|
|
106
|
+
* **quality:** the test audit recommends drops, rewrites, simplifications, new tests and suite practices ([39eca1a](https://github.com/srobroek/opencode-plugins/commit/39eca1a29a13d09bb810320c2288c43ad06b0c6a))
|
|
107
|
+
|
|
108
|
+
## [0.7.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.6.0...quality--v0.7.0) (2026-11-12)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
* **quality:** OpenFeature flags with a flags.yaml, SSM or AppConfig provider; code and storage guidance ([20baffa](https://github.com/srobroek/opencode-plugins/commit/20baffae842836d814f1f5c3e2cd410c5bde0dd4))
|
|
114
|
+
* **quality:** quality-test-audit skill with quality_test_summarize and quality_test_compare tools ([6436731](https://github.com/srobroek/opencode-plugins/commit/64367311ec0a20a51a45b8c21aaeb01dad368f23))
|
|
115
|
+
* **quality:** research-first engineering standards and per-language library standards for every coding agent ([09e8d46](https://github.com/srobroek/opencode-plugins/commit/09e8d461bb2b7654788a588ef6932929ff564d28))
|
|
116
|
+
* **quality:** testing standards: behavior tests, test budget, same-change maintenance, reviewers check test changes ([dcdf941](https://github.com/srobroek/opencode-plugins/commit/dcdf9413b6793ed06ef8978a0084d9f50d30b00c))
|
|
117
|
+
* **toolchain:** compare Connect, gRPC and OpenAPI, and use Connect for RPC beside Hono for HTTP ([d62b5c7](https://github.com/srobroek/opencode-plugins/commit/d62b5c79f355c687a9d53333c64cc583dcabfea8))
|
|
118
|
+
|
|
119
|
+
## [0.6.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.5.0...quality--v0.6.0) (2026-11-11)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* **quality:** require quality-code-design only for new behavior, refactors, hard bugs and reviews ([#125](https://github.com/srobroek/opencode-plugins/issues/125)) ([774d73f](https://github.com/srobroek/opencode-plugins/commit/774d73f64e9966cdd1bbad40c13f152d17f2c61d))
|
|
125
|
+
|
|
126
|
+
## [0.5.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.4.0...quality--v0.5.0) (2026-11-11)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### Features
|
|
130
|
+
|
|
131
|
+
* cap every shipped agent with a step limit ([#123](https://github.com/srobroek/opencode-plugins/issues/123)) ([7b3b60f](https://github.com/srobroek/opencode-plugins/commit/7b3b60f84ac4aabcf8d5d649042e26054f79b0f4))
|
|
132
|
+
|
|
133
|
+
## [0.4.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.3.0...quality--v0.4.0) (2026-10-27)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Features
|
|
137
|
+
|
|
138
|
+
* **quality:** type-check once after multi-file or signature edits ([72871bf](https://github.com/srobroek/opencode-plugins/commit/72871bf9e3005d741eb80fde938beff51eecd06f))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Bug Fixes
|
|
142
|
+
|
|
143
|
+
* **lib:** keep a shipped agent hidden when the host prefills hidden: false ([6156c94](https://github.com/srobroek/opencode-plugins/commit/6156c946f8a5265ff5498bb4062a9d822bbd0555))
|
|
144
|
+
* **quality:** quality-profiling loads the exact lang-<language>-profiling id, not the router ([80f44bc](https://github.com/srobroek/opencode-plugins/commit/80f44bc6b6f19ecedfe4f4755b0a7cc0d9dc777d))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Performance
|
|
148
|
+
|
|
149
|
+
* **quality:** allow the challenger fallback quality-* skills ([1c85401](https://github.com/srobroek/opencode-plugins/commit/1c8540191f1ec9a979353689ecfd763dc8475b7d))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Documentation
|
|
153
|
+
|
|
154
|
+
* add repomix to the manual-test install loop ([d411160](https://github.com/srobroek/opencode-plugins/commit/d41116016e8a7f7390046cc8aca70f58b7c2ab22))
|
|
155
|
+
|
|
156
|
+
## [0.3.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.2.0...quality--v0.3.0) (2026-10-27)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Features
|
|
160
|
+
|
|
161
|
+
* **quality:** quality-profiling method skill with per-language profiling skills ([7786848](https://github.com/srobroek/opencode-plugins/commit/7786848fb2cfe68b6c1c29848644023c6668197f))
|
|
162
|
+
* **quality:** safe-mutation, persistence, contracts, TypeScript and Python references and a quality-testing skill ([d53491a](https://github.com/srobroek/opencode-plugins/commit/d53491adc07943d68e372db34e61eba2d897d7b3))
|
|
163
|
+
|
|
164
|
+
## [0.2.0](https://github.com/srobroek/opencode-plugins/compare/quality--v0.1.0...quality--v0.2.0) (2026-10-27)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Features
|
|
168
|
+
|
|
169
|
+
* **agent-reviewer:** reviewer subagents on a shared review core ([74f29b7](https://github.com/srobroek/opencode-plugins/commit/74f29b73b257531d894e508e957cddd7f9bfd4a3))
|
|
170
|
+
* **lib:** carry steps and the model-role header from shipped agent files ([7538ab1](https://github.com/srobroek/opencode-plugins/commit/7538ab1a05b3071564defb2ab11ce356245c3890))
|
|
171
|
+
* **lib:** honour metadata opencode/autoinvoke in shipped SKILL.md files ([881e7df](https://github.com/srobroek/opencode-plugins/commit/881e7df220095d0155b07437e733fdb795d9279b))
|
|
172
|
+
* **lib:** shared review core composed into agents at build time ([d79c79b](https://github.com/srobroek/opencode-plugins/commit/d79c79b48ba09d5770c7586799f856237f3b00af))
|
|
173
|
+
* **model-roles:** tiers derived from the catalog, reviewer tier and one-time classification ([4265016](https://github.com/srobroek/opencode-plugins/commit/42650166140c1fada15bda5066d235fdf5fce327))
|
|
174
|
+
* **quality:** add code design skills, policy skill and adversarial-challenger agent ([30fb138](https://github.com/srobroek/opencode-plugins/commit/30fb1380855f520943aa8e5b8031eb580bd1b500))
|
|
175
|
+
* **quality:** declare the challenger model role ([c16af77](https://github.com/srobroek/opencode-plugins/commit/c16af77f61f6fac3ee8c25f460e2f65d20092f6f))
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### Performance
|
|
179
|
+
|
|
180
|
+
* give shipped subagents tool allowlists ([014fffb](https://github.com/srobroek/opencode-plugins/commit/014fffb403fd1363f494af84c63bf93074af6d20))
|
|
181
|
+
* keep shipped agent descriptions under 150 characters ([7023675](https://github.com/srobroek/opencode-plugins/commit/70236752520b0fd02b872ec61510ec1388028778))
|
|
182
|
+
* shorten skill descriptions and hide pure reference skills from the listing ([51841bd](https://github.com/srobroek/opencode-plugins/commit/51841bd68ae7fe809711430fe3430b75b63e81c0))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,148 @@
|
|
|
1
|
-
#
|
|
1
|
+
# quality
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Code design and review guidance, a short code-quality policy, testing standards and an on-demand
|
|
4
|
+
test audit with two helper tools, performance profiling, throwaway logic prototypes, and a read-only
|
|
5
|
+
`adversarial-challenger` subagent.
|
|
6
|
+
|
|
7
|
+
| Skill | When |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| `quality-code-policy` | The short policy: SOLID and invariants over YAGNI, DRY for knowledge that changes together, research first and compare with the library standards before building, middleware for cross-cutting concerns, Powertools on Lambda, OpenTelemetry by default, tests kept in step with the code, planning scaled by risk, a type check after multi-file or signature edits, refactors scoped to the change. It requires `quality-code-design` only for new behavior, refactors, hard bugs and reviews |
|
|
10
|
+
| `quality-code-design` | Code design, investigation, implementation, refactoring, review, debugging or test-first work in any language. Picks IMPLEMENT, INVESTIGATE or REVIEW and loads only the references the task needs from `references/`, including `middleware.md` (handlers versus middleware, stack order, one error mapper), `telemetry.md` (OpenTelemetry setup and rules) and `feature-flags.md` (typed decisions, safe defaults, storage and removal) |
|
|
11
|
+
| `quality-profiling` | Slow or memory-heavy code, endpoints, builds or CLIs: set a target, reproduce with a fixed workload, baseline with variance, pick the profiler, change one thing, re-measure, report before/after. hyperfine, Linux perf and macOS Instruments live in `references/`; language tooling is the `lang-<language>-profiling` skills in the `lang-<language>` plugins |
|
|
12
|
+
| `quality-testing` | What to test and how many tests to keep. A workflow and five rules, with references for good and bad tests (`good-tests.md`, `bad-tests.md`), test levels (`what-to-test.md`), the test budget against sprawl (`test-budget.md`), maintenance and deletion with the code (`maintenance.md`), doubles (`doubles.md`), coverage and mutation signals (`signals.md`) and reviewing test changes (`review-tests.md`). Tool choices for coverage, mutation, property tests, fuzzing and flaky order come from the per-language concerns tables; the `lang-<language>-testing` skills and their `references/practice.md` give idioms |
|
|
13
|
+
| `quality-test-audit` | Run on demand to audit one test scope. It takes a baseline of repeated random-order runs, coverage and mutation testing. It classifies tests to prune, assets to purge, tests to fix, speed up or simplify, and weak spots to strengthen with new or extended tests, and it recommends suite-level practices such as runner settings and CI lanes. A challenger checks the plan before you approve it, or you take the report only. Each applied batch must keep every mutant that the baseline killed, and each added test must fail first against a forced fault. Tool choices come from the per-language concerns tables, and a missing tool is installed only with your permission. `references/` holds the catalog, the commands per runner and the report template |
|
|
14
|
+
| `prototype-logic` | A throwaway single-file HTML demo over a pure reducer or state machine, to test a state model before building it |
|
|
15
|
+
|
|
16
|
+
Other plugins point at these: `architecture` and the `architect` agent load
|
|
17
|
+
`quality-code-design` references, and `toolchain` defers language design guidance
|
|
18
|
+
to it.
|
|
19
|
+
|
|
20
|
+
## Engineering standards in the system prompt
|
|
21
|
+
|
|
22
|
+
Every primary session, and the child sessions of `general` and `security-auditor`, get three static blocks at the end of its system
|
|
23
|
+
prompt, from the shared coding core (`plugins/lib/src/coding-core.md`):
|
|
24
|
+
|
|
25
|
+
- `# Engineering standards`, the `standards` part. It tells the agent to research current
|
|
26
|
+
best practice and compare its plan with the `lang-<language>-libraries`, `toolchain-api`,
|
|
27
|
+
`aws-guidance` and `toolchain-languages` standards before it writes its own code, to
|
|
28
|
+
report each departure, to put cross-cutting concerns in middleware, to keep Lambda
|
|
29
|
+
handlers thin on Powertools for AWS Lambda, and to use OpenTelemetry.
|
|
30
|
+
- `# Repository engineering doc`, the `repo-doc` part. It tells the agent to read
|
|
31
|
+
`docs/engineering.md` (or the path `AGENTS.md` names) first, to update it in the same
|
|
32
|
+
change as any stack change, and to report a missing or stale doc.
|
|
33
|
+
- `# Testing standards`, the `testing` part. It tells the agent to list the behaviors a
|
|
34
|
+
change adds, changes or removes, to test each behavior once through the public
|
|
35
|
+
interface, to give each test a distinct risk, to change and delete tests with the code,
|
|
36
|
+
and never to write tests that only check removed code is gone or to weaken assertions
|
|
37
|
+
to pass.
|
|
38
|
+
|
|
39
|
+
The `coder`, `implementer`, `implementer-high`, `ui-implementer`, `code-reviewer` and both
|
|
40
|
+
`pr-reviewer` agents carry the same parts in their composed prompts, so they are not given them
|
|
41
|
+
twice. `security-auditor` carries only the review rules, so it gets the blocks. Each block is under
|
|
42
|
+
1000 characters and never changes between requests, so the provider's prompt cache holds.
|
|
43
|
+
|
|
44
|
+
| Option | Default | Effect |
|
|
45
|
+
| --- | --- | --- |
|
|
46
|
+
| `standards` | `true` | `false` turns both blocks off |
|
|
47
|
+
| `standardsSubagents` | `["general", "security-auditor"]` | Subagent ids whose child sessions also get the blocks; primary sessions always do |
|
|
48
|
+
|
|
49
|
+
```jsonc
|
|
50
|
+
{
|
|
51
|
+
"plugins": [{
|
|
52
|
+
"package": "github:srobroek/harness-plugins::path:plugins/quality/opencode",
|
|
53
|
+
"options": { "standardsSubagents": ["general", "my-writer"] }
|
|
54
|
+
}]
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Always-on policy
|
|
59
|
+
|
|
60
|
+
On omp `quality-code-design` was also an always-applied rule. OpenCode has no
|
|
61
|
+
always-on skill, so the rule ships as the `quality-code-policy` skill, loaded when
|
|
62
|
+
its description matches; the standards blocks above cover its research, library and testing
|
|
63
|
+
rules in every session. To make the whole policy always on, copy its body into your
|
|
64
|
+
global `AGENTS.md` or into a file listed under `instructions` in your config.
|
|
65
|
+
|
|
66
|
+
## Test audit tools
|
|
67
|
+
|
|
68
|
+
Two read-only tools back the `quality-test-audit` skill. Both refuse report paths outside
|
|
69
|
+
the session directory and the OpenCode temp directory. Claude Code get the
|
|
70
|
+
skill without the tools; it falls back to the shell commands in its `references/evidence.md`.
|
|
71
|
+
|
|
72
|
+
| Tool | Does |
|
|
73
|
+
| --- | --- |
|
|
74
|
+
| `quality_test_summarize` | Read-only. Takes 1 to 50 JUnit XML paths, one per run in run order, and optional `exitCodes`. The agent runs the test command through the shell, one report per run. The tool reports flaky tests, tests that failed in every report, tests retried within a run, the 10 slowest by median time, unreadable or invalid reports and whether the exit codes agree (pytest, Vitest, bun test, gotestsum, cargo-nextest) |
|
|
75
|
+
| `quality_test_compare` | Read-only. Compares a baseline and a candidate report: coverage (LCOV, Cobertura XML, Go cover profile) for lost lines and branches, or mutation (mutation-testing-report JSON from Stryker, cargo-mutants `outcomes.json`, Gremlins JSON) for mutants the baseline killed that now survive. Missing branch data is "not measured", not zero. mutmut is not supported: it exports summary counts only |
|
|
76
|
+
|
|
77
|
+
| Option | Default | Effect |
|
|
78
|
+
| --- | --- | --- |
|
|
79
|
+
| `testAudit` | `true` | `false` turns both tools off; the skill then uses the shell commands |
|
|
80
|
+
|
|
81
|
+
## Agent
|
|
82
|
+
|
|
83
|
+
`adversarial-challenger` (mode `subagent`, steps 60) stress-tests a claim, plan, design or
|
|
84
|
+
decision from a brief of observable facts and returns evidence-backed
|
|
85
|
+
counter-arguments and alternatives, starting with `VERDICT: HOLDS|WEAKENED|REFUTED`.
|
|
86
|
+
It belongs to the [`agent-reviewer`](../agent-reviewer/README.md) plugin, which
|
|
87
|
+
documents its permissions and the shared review core. Quality ships an identical
|
|
88
|
+
fallback copy, composed from `agents.src/adversarial-challenger.md`, and skips it when
|
|
89
|
+
`plugin.list` reports `srobroek.agent-reviewer` or an earlier plugin already registered
|
|
90
|
+
the id; if the copy loads first, agent-reviewer replaces it.
|
|
91
|
+
|
|
92
|
+
It pins no model and declares the `reviewer` tier through the
|
|
93
|
+
`x-opencode-model-role` request header; without model-roles it inherits the caller's
|
|
94
|
+
model. Set `agent.adversarial-challenger.model` to pin one.
|
|
95
|
+
|
|
96
|
+
## MCP tools
|
|
97
|
+
|
|
98
|
+
The `adversarial-challenger` fallback copy (agent-reviewer's copy takes over when that plugin is installed, and uses its own `tools` option) cannot call MCP tools unless a rule allows them. The `tools` option adds allow rules for MCP tool patterns after the agent's own rules. OpenCode names an MCP tool's permission action `<server>_<tool>`, so `context7_*` allows every tool of the `context7` server and `context7_query-docs` allows one. Characters outside letters, digits, `_` and `-` become `_`.
|
|
99
|
+
|
|
100
|
+
| Option | Default | Effect |
|
|
101
|
+
| --- | --- | --- |
|
|
102
|
+
| `tools` | `["context7_*", "aws-mcp_*"]` | An array of patterns replaces the defaults. `false` or `[]` adds no rules; the agent keeps its fixed allowlist. |
|
|
103
|
+
|
|
104
|
+
```jsonc
|
|
105
|
+
"options": { "tools": ["context7_*", "<server>_<tool>"] }
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Patterns must name MCP server tools only (`<server>_<tool>`). The option refuses a pattern that could match a tool from a plugin in this repository or from OpenCode itself, such as `dep_*`, `delivery_*`, `quality_*`, `lsp_*` or `opencode_*`, and a pattern that starts with a wildcard, and logs a warning. Only add read-only tools: an allowed MCP tool runs without a prompt. The option refuses a pattern that matches a built-in action (`shell`, `edit`, `write`, `patch`, `external_directory`, `subagent`, `*` and the like) and logs a warning, so it cannot widen file or shell access.
|
|
109
|
+
|
|
110
|
+
This agent denies `execute`, so OpenCode lists its allowed MCP tools directly, even for a server configured for Code Mode: with `execute` wholly denied, every tool left active becomes a direct tool (`packages/core/src/tool.ts:260-264`, OpenCode v2.2.6; an MCP tool's `codemode` flag is set at `packages/core/src/tool/mcp.ts:57`).
|
|
111
|
+
|
|
112
|
+
## Not ported
|
|
113
|
+
|
|
114
|
+
- `watchdog-files` and `advisor-resample`: they author and audit the omp advisor
|
|
115
|
+
(`WATCHDOG.yml`) and its transcripts, which OpenCode does not have.
|
|
116
|
+
- `tests/code-design-eval`: development cases for tuning the steering, not shipped
|
|
117
|
+
content.
|
|
118
|
+
|
|
119
|
+
## Text changes from omp
|
|
120
|
+
|
|
121
|
+
References to other skills name the skill (`toolchain-languages`, `sniff`,
|
|
122
|
+
`tune-model-prompt`, `design-prototype`); reference links inside a skill are
|
|
123
|
+
relative paths; "Scouts" became read-only explore subagents; the review mode
|
|
124
|
+
reports in the format the role or brief defines instead of an omp output schema.
|
|
125
|
+
These are the authoritative copies; earlier ones under `~/.claude/skills` are gone.
|
|
126
|
+
|
|
127
|
+
## Attribution
|
|
128
|
+
|
|
129
|
+
Parts of this plugin derive from [mattpocock/skills](https://github.com/mattpocock/skills)
|
|
130
|
+
1.2.3 under the MIT licence. `skills/prototype-logic` is vendored with its own
|
|
131
|
+
LICENSE and NOTICE. Content folded into `quality-code-design` references is listed
|
|
132
|
+
in `skills/quality-code-design/NOTICE`, with the licence text in
|
|
133
|
+
`skills/quality-code-design/LICENSE-mattpocock-skills`.
|
|
134
|
+
|
|
135
|
+
## Install
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
opencode plugin add 'github:srobroek/harness-plugins::path:plugins/quality/opencode'
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Claude Code install the skills, not the agent, from this repository's
|
|
142
|
+
marketplace:
|
|
143
|
+
|
|
144
|
+
```sh
|
|
145
|
+
claude plugin marketplace add srobroek/harness-plugins
|
|
146
|
+
claude plugin install quality@harness-plugins
|
|
147
|
+
|
|
148
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: adversarial-challenger
|
|
3
|
+
description: "Read-only challenger that stress-tests a claim, plan, design or decision and returns evidence-backed counter-arguments."
|
|
4
|
+
tools: read, grep, find, ls, bash, web_search, fetch_content, get_search_content, source_check
|
|
5
|
+
skills: quality-code-design, quality-code-policy, quality-testing, quality-test-audit, quality-profiling, prototype-logic, lang-go, lang-python, lang-rust, lang-typescript, architecture-guide
|
|
6
|
+
inheritProjectContext: true
|
|
7
|
+
inheritSkills: true
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
You are an adversarial challenger. Independently investigate the claim and attack its assumptions. You are not trying to be balanced; you are finding what was missed. Investigate and propose; never implement.
|
|
11
|
+
|
|
12
|
+
## Investigation protocol
|
|
13
|
+
|
|
14
|
+
1. Restate the claim in one or two lines. Check the evidence and any checkable source supplied by the caller.
|
|
15
|
+
2. Examine relevant code, files, data, documents and configuration available in the assigned scope. If an argument depends on inaccessible external material, identify the evidence gap rather than assuming network access.
|
|
16
|
+
3. For each supporting step, name and test its implicit assumption.
|
|
17
|
+
4. Generate 1-3 alternative conclusions ranked by likelihood, each with evidence.
|
|
18
|
+
5. Run only small, read-only checks. If a test or build is needed, name the exact command for a writer.
|
|
19
|
+
|
|
20
|
+
## Rules
|
|
21
|
+
|
|
22
|
+
- Keep the shell read-only; do not modify a repository, remote, or ledger, and do not run tests or builds.
|
|
23
|
+
- Back claims with a file path and line, command output, or cited source.
|
|
24
|
+
|
|
25
|
+
## Output
|
|
26
|
+
|
|
27
|
+
First line: `VERDICT: HOLDS|WEAKENED|REFUTED -- one sentence why`.
|
|
28
|
+
Then give the claim summary, evidence-backed failed assumptions, alternatives, strongest counter, and material factual questions. No word cap.
|
|
29
|
+
CAP: none.
|