robotframework-harness 1.0.0__tar.gz
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.
- robotframework_harness-1.0.0/.gitignore +23 -0
- robotframework_harness-1.0.0/LICENSE +201 -0
- robotframework_harness-1.0.0/PKG-INFO +85 -0
- robotframework_harness-1.0.0/README.md +55 -0
- robotframework_harness-1.0.0/evidence/README.md +173 -0
- robotframework_harness-1.0.0/evidence/rounds/01-capability-spikes/README.md +27 -0
- robotframework_harness-1.0.0/evidence/rounds/02-local-runtime/README.md +25 -0
- robotframework_harness-1.0.0/evidence/rounds/03-lsp-robocop/README.md +25 -0
- robotframework_harness-1.0.0/evidence/rounds/03a-ab-file-authoring/README.md +41 -0
- robotframework_harness-1.0.0/evidence/rounds/03b-ab-live-journeys/README.md +39 -0
- robotframework_harness-1.0.0/evidence/rounds/04-hooks-matrix-and-hooks-ab/README.md +43 -0
- robotframework_harness-1.0.0/evidence/rounds/04-hooks-matrix-and-hooks-ab/hooks_matrix/plugins/opencode_probe.js +135 -0
- robotframework_harness-1.0.0/evidence/rounds/05-v2/README.md +34 -0
- robotframework_harness-1.0.0/evidence/rounds/06-v3-main/README.md +40 -0
- robotframework_harness-1.0.0/evidence/rounds/07-v31-v32/README.md +82 -0
- robotframework_harness-1.0.0/evidence/rounds/08-release-gate-v1/README.md +62 -0
- robotframework_harness-1.0.0/evidence/rounds/static-analysis/README.md +33 -0
- robotframework_harness-1.0.0/hatch_build.py +35 -0
- robotframework_harness-1.0.0/plugins/rf-harness/.claude-plugin/plugin.json +10 -0
- robotframework_harness-1.0.0/plugins/rf-harness/bin/rfh-launch +60 -0
- robotframework_harness-1.0.0/plugins/rf-harness/bin/rfh-launch.cmd +19 -0
- robotframework_harness-1.0.0/plugins/rf-harness/bin/rfh_launch.py +719 -0
- robotframework_harness-1.0.0/plugins/rf-harness/hooks/hooks.json +84 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/SKILL.md +78 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/browser.md +157 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/debug.md +39 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/explore.md +52 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/requests.md +37 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/results.md +34 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/selenium.md +40 -0
- robotframework_harness-1.0.0/plugins/rf-harness/skills/rf-harness/references/waits.md +28 -0
- robotframework_harness-1.0.0/plugins/rf-harness/variants/codex/hooks.json +72 -0
- robotframework_harness-1.0.0/plugins/rf-harness/variants/copilot/hooks.json +53 -0
- robotframework_harness-1.0.0/plugins/rf-harness/variants/opencode/plugins/rf-harness.js +130 -0
- robotframework_harness-1.0.0/pyproject.toml +120 -0
- robotframework_harness-1.0.0/src/rf_harness/__init__.py +3 -0
- robotframework_harness-1.0.0/src/rf_harness/config.py +255 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/__init__.py +1 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/_assets.py +73 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/__init__.py +37 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/_base.py +189 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/claude_code.py +88 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/codex.py +108 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/copilot_cli.py +89 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/opencode.py +62 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/adapters/vscode.py +56 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/cli.py +490 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/codex_trust.py +190 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/coexist.py +211 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/demo_site/index.html +28 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/doctor.py +343 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/envfind.py +354 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/executor.py +288 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/homes.py +102 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/manifest.py +204 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/prompt.py +58 -0
- robotframework_harness-1.0.0/src/rf_harness/installer/transforms.py +483 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/__init__.py +1 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/analyzer.py +132 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/data/failure_rules.json +77 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/data/kwnames_cache.json +1 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/data/repl_format_rules.json +455 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/data/robocop-agent.toml +58 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/__init__.py +87 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/_env.py +134 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/decision.py +616 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/focus.py +1094 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/guidance.py +91 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/launch_env.py +562 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/safety.py +509 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/desktop/signals.py +321 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/docs.py +190 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/docsgen.py +174 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/engine.py +1000 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/execd.py +1131 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/guards.py +294 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/hints.py +1523 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/hook.py +1897 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/hookcore.py +832 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/kwdoc.py +285 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/kwdocs.py +286 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/leanfmt.py +451 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/lintd.py +423 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/livetmo.py +385 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/pagestate.py +489 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/portable.py +191 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/procs.py +106 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/profiles.py +144 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/proto.py +120 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/pwlog.py +89 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/replfmt.py +556 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/rfh_repl_listener.py +244 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/richfmt.py +301 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/robotcode_adapter.py +157 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/rthooks.py +623 -0
- robotframework_harness-1.0.0/src/rf_harness/runtime/smoke.py +113 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.venv/
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
.pytest_cache/
|
|
8
|
+
.mypy_cache/
|
|
9
|
+
.ruff_cache/
|
|
10
|
+
/site/
|
|
11
|
+
# generated at build time from plugins/rf-harness (hatch_build.py)
|
|
12
|
+
src/rf_harness/_assets/
|
|
13
|
+
# Robot Framework / harness run artefacts
|
|
14
|
+
output.xml
|
|
15
|
+
log.html
|
|
16
|
+
report.html
|
|
17
|
+
results/
|
|
18
|
+
.rf/
|
|
19
|
+
# never commit secrets
|
|
20
|
+
.env
|
|
21
|
+
|
|
22
|
+
# evidence: release-asset build dir (transcript packs; published as GitHub release assets, never committed)
|
|
23
|
+
evidence/_release_assets/
|
|
@@ -0,0 +1,201 @@
|
|
|
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.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: robotframework-harness
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Agent harness for Robot Framework: an Agent Skill, agent hooks and a local robotcode-based live session for Claude Code, Codex, GitHub Copilot, VS Code and OpenCode.
|
|
5
|
+
Project-URL: Homepage, https://github.com/manykarim/robotframework-harness
|
|
6
|
+
Project-URL: Documentation, https://github.com/manykarim/robotframework-harness/tree/main/docs
|
|
7
|
+
Project-URL: Issues, https://github.com/manykarim/robotframework-harness/issues
|
|
8
|
+
Author: Many Kasiriha
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: agents,ai,claude-code,codex,copilot,opencode,playwright,robotcode,robotframework,testing
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Framework :: Robot Framework
|
|
14
|
+
Classifier: Framework :: Robot Framework :: Tool
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Software Development :: Testing
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Provides-Extra: quality
|
|
25
|
+
Requires-Dist: robotframework-robocop>=9.1; extra == 'quality'
|
|
26
|
+
Provides-Extra: runtime
|
|
27
|
+
Requires-Dist: robotcode[analyze,repl,runner]<2.8,>=2.7; extra == 'runtime'
|
|
28
|
+
Requires-Dist: robotframework>=7.0; extra == 'runtime'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# robotframework-harness
|
|
32
|
+
|
|
33
|
+
**An agent harness for Robot Framework.** It gives coding agents — Claude Code, OpenAI Codex, GitHub Copilot (CLI and
|
|
34
|
+
VS Code) and OpenCode — what they need to write, debug and repair Robot Framework tests reliably:
|
|
35
|
+
|
|
36
|
+
- **Live execution while the agent edits.** Every write or edit of a `.robot` file runs the new lines in a local Robot
|
|
37
|
+
Framework session (built on [robotcode](https://github.com/robotcodedev/robotcode)). The agent gets a short answer:
|
|
38
|
+
passed, or the failing line with a verdict and the next step.
|
|
39
|
+
- **Failures the agent can act on.** Covered elements, missing elements, iframes, timing and wrong values are told
|
|
40
|
+
apart from evidence. The agent also gets concrete selectors and the page state as files it can grep.
|
|
41
|
+
- **Guard rails, not handcuffs.** Only certainly-wrong edits are refused (broken syntax, deleted tests, hidden
|
|
42
|
+
failures). Everything else becomes a one-line warning, and a green plain `robot` run is required before the agent
|
|
43
|
+
finishes.
|
|
44
|
+
|
|
45
|
+
Everything runs on your machine; no MCP server is needed.
|
|
46
|
+
|
|
47
|
+
## Quick start
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
cd your-robot-project
|
|
51
|
+
uvx robotframework-harness install # pick your agents; installs the skill, hooks and the runtime
|
|
52
|
+
uvx robotframework-harness doctor # proves the hooks fire and the live session works
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Then ask your agent for a test. Per-agent guides are in [docs/](docs/).
|
|
56
|
+
|
|
57
|
+
Plugin marketplace (Claude Code, Copilot CLI, VS Code, Codex):
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
claude plugin marketplace add manykarim/robotframework-harness
|
|
61
|
+
claude plugin install rf-harness@robotframework-harness
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Why: evidence
|
|
65
|
+
|
|
66
|
+
In same-window A/B runs on live end-to-end journeys (insurance quote, shop checkout, car configurator), the harness
|
|
67
|
+
**passed 83% of sessions versus 69% for rf-mcp** across six agent/model combinations (206 sessions). It also cut wall
|
|
68
|
+
time and cost for most agents. Weaker, cheaper models gained the most (Qwen 3.8 Flash: 0.38 → 0.88). All data,
|
|
69
|
+
graders and reports are in [evidence/](evidence/).
|
|
70
|
+
|
|
71
|
+
## Repository
|
|
72
|
+
|
|
73
|
+
| path | what |
|
|
74
|
+
|---|---|
|
|
75
|
+
| `plugins/rf-harness/` | the plugin: Agent Skill, hook definitions, launcher, per-agent variants |
|
|
76
|
+
| `.claude-plugin/marketplace.json` | plugin marketplace for Claude Code, Copilot CLI, VS Code and Codex |
|
|
77
|
+
| `src/rf_harness/installer/` | the `rf-harness` installer (no dependencies) |
|
|
78
|
+
| `src/rf_harness/runtime/` | hook dispatcher and live session (installed into your project environment) |
|
|
79
|
+
| `docs/` | documentation |
|
|
80
|
+
| `evidence/` | all experiment data behind the claims |
|
|
81
|
+
| `eval/` | the A/B evaluation harness used as release gate |
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
Apache-2.0
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# robotframework-harness
|
|
2
|
+
|
|
3
|
+
**An agent harness for Robot Framework.** It gives coding agents — Claude Code, OpenAI Codex, GitHub Copilot (CLI and
|
|
4
|
+
VS Code) and OpenCode — what they need to write, debug and repair Robot Framework tests reliably:
|
|
5
|
+
|
|
6
|
+
- **Live execution while the agent edits.** Every write or edit of a `.robot` file runs the new lines in a local Robot
|
|
7
|
+
Framework session (built on [robotcode](https://github.com/robotcodedev/robotcode)). The agent gets a short answer:
|
|
8
|
+
passed, or the failing line with a verdict and the next step.
|
|
9
|
+
- **Failures the agent can act on.** Covered elements, missing elements, iframes, timing and wrong values are told
|
|
10
|
+
apart from evidence. The agent also gets concrete selectors and the page state as files it can grep.
|
|
11
|
+
- **Guard rails, not handcuffs.** Only certainly-wrong edits are refused (broken syntax, deleted tests, hidden
|
|
12
|
+
failures). Everything else becomes a one-line warning, and a green plain `robot` run is required before the agent
|
|
13
|
+
finishes.
|
|
14
|
+
|
|
15
|
+
Everything runs on your machine; no MCP server is needed.
|
|
16
|
+
|
|
17
|
+
## Quick start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cd your-robot-project
|
|
21
|
+
uvx robotframework-harness install # pick your agents; installs the skill, hooks and the runtime
|
|
22
|
+
uvx robotframework-harness doctor # proves the hooks fire and the live session works
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then ask your agent for a test. Per-agent guides are in [docs/](docs/).
|
|
26
|
+
|
|
27
|
+
Plugin marketplace (Claude Code, Copilot CLI, VS Code, Codex):
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
claude plugin marketplace add manykarim/robotframework-harness
|
|
31
|
+
claude plugin install rf-harness@robotframework-harness
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Why: evidence
|
|
35
|
+
|
|
36
|
+
In same-window A/B runs on live end-to-end journeys (insurance quote, shop checkout, car configurator), the harness
|
|
37
|
+
**passed 83% of sessions versus 69% for rf-mcp** across six agent/model combinations (206 sessions). It also cut wall
|
|
38
|
+
time and cost for most agents. Weaker, cheaper models gained the most (Qwen 3.8 Flash: 0.38 → 0.88). All data,
|
|
39
|
+
graders and reports are in [evidence/](evidence/).
|
|
40
|
+
|
|
41
|
+
## Repository
|
|
42
|
+
|
|
43
|
+
| path | what |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `plugins/rf-harness/` | the plugin: Agent Skill, hook definitions, launcher, per-agent variants |
|
|
46
|
+
| `.claude-plugin/marketplace.json` | plugin marketplace for Claude Code, Copilot CLI, VS Code and Codex |
|
|
47
|
+
| `src/rf_harness/installer/` | the `rf-harness` installer (no dependencies) |
|
|
48
|
+
| `src/rf_harness/runtime/` | hook dispatcher and live session (installed into your project environment) |
|
|
49
|
+
| `docs/` | documentation |
|
|
50
|
+
| `evidence/` | all experiment data behind the claims |
|
|
51
|
+
| `eval/` | the A/B evaluation harness used as release gate |
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
Apache-2.0
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# Evidence archive
|
|
2
|
+
|
|
3
|
+
Every number this project publishes comes from the data in this folder. It covers every experiment round of the
|
|
4
|
+
rf-mcp research that led to the harness: raw per-session results, graders, reports, the harness versions under
|
|
5
|
+
test, the evaluation harness, excluded sessions with their reasons, and incident notes. Anyone can check,
|
|
6
|
+
recompute and challenge the claims.
|
|
7
|
+
|
|
8
|
+
**Source.** rf-mcp branch `research/robotcode-remote-mcp`, commit `7994ae3` (`experiments/robotcode-remote/**`
|
|
9
|
+
and `docs/research/static-analysis-quality-gates.md`), plus files from the research worktree that were never
|
|
10
|
+
committed: result-file backups, runner logs and one fixture. Details in [PROVENANCE.md](PROVENANCE.md).
|
|
11
|
+
|
|
12
|
+
## Verify in one minute
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
python3 evidence/checksums.py --verify # archived files match checksums.sha256 (also: sha256sum -c)
|
|
16
|
+
python3 evidence/scrub.py --check evidence --exclude _release_assets # no keys, tokens, e-mails or home paths
|
|
17
|
+
python3 evidence/check_claims.py --check-sources # every published number recomputed from the results
|
|
18
|
+
python3 evidence/check_claims.py --reports # archived analyzer regenerates the archived reports
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
All four use only the Python standard library (3.10+; `--reports` needs 3.12+, because `sum()` switched to
|
|
22
|
+
compensated float summation in 3.12 and the research ran on 3.12/3.13). CI runs them on every change to `evidence/` and
|
|
23
|
+
`README.md` (`.github/workflows/evidence.yml`).
|
|
24
|
+
|
|
25
|
+
## Rounds
|
|
26
|
+
|
|
27
|
+
Rounds are numbered as in the research. The two early A/B rounds ran between rounds 3 and 4 and carry their own
|
|
28
|
+
names in the findings ("A/B round 1", "A/B round 2"), so they are `03a` and `03b`. Round 8 is the v1 release gate.
|
|
29
|
+
|
|
30
|
+
| folder | dates | what was tested | agents / models | sessions | key result |
|
|
31
|
+
|---|---|---|---|---|---|
|
|
32
|
+
| [01-capability-spikes](rounds/01-capability-spikes/) | 2026-10-01 | robotcode as backend: remote MCP limits, hints, stepwise sessions, static validation, locators | none (scripted) | – | hints portable (32/33), analyze + dryrun catch 32/33 planted errors, 24–81 ms per step |
|
|
33
|
+
| [02-local-runtime](rounds/02-local-runtime/) | 2026-10-01 | embedded helper, stock REPL, local keyword docs, agent shell channel | Claude Code, Codex, OpenCode, Copilot CLI | 34 | repl-server not needed; the helper works in all four agents with `setsid` |
|
|
34
|
+
| [03-lsp-robocop](rounds/03-lsp-robocop/) | 2026-10-01 | robotcode LSP in agents, LSP as validator, Robocop 9.1 | same | 32 | LSP feedback only after a shim; Robocop agent profile catches 26/33 |
|
|
35
|
+
| [03a-ab-file-authoring](rounds/03a-ab-file-authoring/) | 2026-10-01 | A/B 1: rf-mcp vs skill + local package, 4 hard authoring scenarios | Haiku 4.5, gpt-5.6-luna, MiniMax-M2.5 | 180 | mcp 0.97, skillpkg 0.92, neither 0.83 (n.s.) |
|
|
36
|
+
| [03b-ab-live-journeys](rounds/03b-ab-live-journeys/) | 2026-10-02 | A/B 2: same arms on 5 live journeys (explore + debug) | same | 135 | skillpkg 0.60, neither 0.53, mcp 0.44 |
|
|
37
|
+
| [04-hooks-matrix-and-hooks-ab](rounds/04-hooks-matrix-and-hooks-ab/) | 2026-10-08 | hook capability matrix; hooks (hookpkg) vs CLI (skillpkg) | same | 90 | hooks 0.58 vs CLI 0.56; Claude +0.33, OpenCode −0.33 |
|
|
38
|
+
| [05-v2](rounds/05-v2/) | 2026-10-08/09 | REPL/debugger research; hookpkg v1 vs v2 | same | 90 | v2 0.60 vs v1 0.51; fixes OpenCode, costs Claude +48% |
|
|
39
|
+
| [06-v3-main](rounds/06-v3-main/) | 2026-10-09 | diagnosis; same-day rf-mcp vs v2 vs v3 | same | 180 | v2 0.70, v3 0.63, rf-mcp 0.52; v2 > rf-mcp in 8/0 cells (p = 0.008) |
|
|
40
|
+
| [07-v31-v32](rounds/07-v31-v32/) | 2026-10-10 | v3.1 per-model profiles vs v3 vs rf-mcp, OpenRouter models, Haiku 5.5; v3.1 vs v3.2 | Haiku 5.5, gpt-5.6-luna, MiniMax-M2.5, DeepSeek V4.1 / Qwen 3.8 / GLM 5.3 Flash (+ stopped Gemini) | 206 valid + 40 v3.2 + 10 Gemini | **v3.1 0.83 vs rf-mcp 0.69** (206 sessions); Qwen 0.38 → 0.88 |
|
|
41
|
+
| [08-release-gate-v1](rounds/08-release-gate-v1/) | 2026-10-11 | release gate: rf-harness (product 0.9.0, own installer) vs the v3.2 prototype; real-session checks per agent | Haiku 5.5, gpt-5.6-luna, MiniMax-M2.5 (+ Copilot CLI check) | 90 + 5 | **0.82 vs 0.82**, gate PASS; OpenCode 345 s vs 492 s |
|
|
42
|
+
| [static-analysis](rounds/static-analysis/) | 2026-10-02 | Robocop + robotcode analyze as quality gates for rf-mcp | none (scripted) | – | agent-profile Robocop + analyze + dryrun catch 32/33 |
|
|
43
|
+
|
|
44
|
+
Every A/B round folder has the same layout:
|
|
45
|
+
|
|
46
|
+
| path | content |
|
|
47
|
+
|---|---|
|
|
48
|
+
| `README.md` | what was tested, design, result, exclusions, files |
|
|
49
|
+
| `findings*.md` | the original findings report (its `harness/<file>` paths now point to `results/` and `reports/`) |
|
|
50
|
+
| `results/` | raw per-session result rows (`results_*.jsonl`, one JSON object per session) |
|
|
51
|
+
| `reports/` | analyzer output (`report_*.txt`, `summary_*.json`) |
|
|
52
|
+
| `scenarios.json` | scenario prompts, grader definitions, fixture and reference-solution hashes |
|
|
53
|
+
| `config.json` | agents, models, arms, scenarios, reps, harness version, dates, recorded agent versions, excluded counts |
|
|
54
|
+
| `excluded/` | `excluded_<reason>.jsonl`: each row with `reason`, `detail`, the backup it came from and whether it is still in the results file |
|
|
55
|
+
| `backups/` | the original result files the excluded rows were removed from |
|
|
56
|
+
| `logs/` | runner logs |
|
|
57
|
+
| `build-verification/` | build checks of the harness version introduced in the round |
|
|
58
|
+
| `checksums.sha256` | sha256 of every file in the folder (`sha256sum -c checksums.sha256`) |
|
|
59
|
+
|
|
60
|
+
Other folders:
|
|
61
|
+
- [`harness-versions/`](harness-versions/): source snapshots of the research prototypes (`skillpkg`, `hookpkg`
|
|
62
|
+
v1, `hookpkg2`, `hookpkg3`, `hookpkg31`, `hookpkg32`), code only.
|
|
63
|
+
- [`eval-snapshots/ab-7994ae3/`](eval-snapshots/ab-7994ae3/): the evaluation harness, analyzers, runners and
|
|
64
|
+
scenario fixtures (with hidden references and negative controls) as committed at the end of the research.
|
|
65
|
+
- [`upstream/`](upstream/): summary of the earlier robotcode CLI study (findings only, by owner decision).
|
|
66
|
+
- [`incidents.md`](incidents.md): expired logins, SIGTERMs, credit exhaustion, the Codex outage, grader
|
|
67
|
+
artifacts, stopped runs, disk pressure.
|
|
68
|
+
- [`claims.yaml`](claims.yaml): index of published claims.
|
|
69
|
+
- [`transcripts/`](transcripts/): manifests of the transcript release assets.
|
|
70
|
+
- `.gitignore` re-includes `results/`, `output.xml`, `log.html`, `report.html` and `site/`, which the root
|
|
71
|
+
`.gitignore` hides elsewhere. `.gitattributes` turns off end-of-line conversion, so checksums hold on every
|
|
72
|
+
platform.
|
|
73
|
+
|
|
74
|
+
## Reading a result row
|
|
75
|
+
|
|
76
|
+
One line per session. The fields you need most:
|
|
77
|
+
- identity: `key` = `agent|arm|scenario|rep`, plus `agent`, `arm`, `scenario`, `rep`, `model`;
|
|
78
|
+
- validity: `status` (`ok` or `aborted`) and `contaminated`;
|
|
79
|
+
- outcome: `primary_pass` (all graders passed), `verdicts` (each grader with `passed` and `detail`),
|
|
80
|
+
`n_checks` / `n_pass`;
|
|
81
|
+
- `metrics`: `wall_s`, `turns`, `tool_calls`, tokens, `cost_usd`, `timed_out`;
|
|
82
|
+
- `stepwise`: live-step counts;
|
|
83
|
+
- per-arm engagement, e.g. `hookpkg31`: hook firings, verdict classes, context characters per edit, profile;
|
|
84
|
+
- `transcript`: path of the session transcript inside the release asset.
|
|
85
|
+
|
|
86
|
+
The analyzers score rows with `status == "ok"` and keep the last ok row per `key`. Pass rate = mean of
|
|
87
|
+
`primary_pass`. Contaminated rows are kept unless `--drop-contaminated` is given; the published reports keep them
|
|
88
|
+
(see `claims.yaml`, `r7-rfmcp-drop-contaminated`).
|
|
89
|
+
|
|
90
|
+
## Claims
|
|
91
|
+
|
|
92
|
+
[`claims.yaml`](claims.yaml) lists every number in the README (and the main findings numbers the docs use). For
|
|
93
|
+
each claim it records the round, the result files, how to recompute it (metric, filter, contamination policy),
|
|
94
|
+
the expected values and tolerances, and the quoted source text. It is written in the JSON-compatible subset of YAML
|
|
95
|
+
(full-line `#` comments, the rest is JSON), so `check_claims.py` needs no YAML library.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
python3 evidence/check_claims.py --only readme-pooled-harness --show
|
|
99
|
+
# ok readme-pooled-harness: harness (v3.1) pooled pass rate 0.83 (83%) on live journeys -> {'value': 0.8286, 'passes': 58, 'n': 70}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
When a number in `README.md` or `docs/` changes, change or add its claim in the same commit.
|
|
103
|
+
`check_claims.py --check-sources` fails when a quoted claim text is no longer in its source file.
|
|
104
|
+
|
|
105
|
+
## Transcripts (release assets)
|
|
106
|
+
|
|
107
|
+
The session transcripts (about 130 MB gzip in the research tree) are too large for git. They are published as
|
|
108
|
+
GitHub release assets, one per A/B round. Each was scrubbed with the same `scrub.py`, packed decompressed, and
|
|
109
|
+
compressed with zstd:
|
|
110
|
+
|
|
111
|
+
| asset | transcripts | size |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| `evidence-transcripts-03a-ab-file-authoring.tar.zst` | 226 | 2.0 MB |
|
|
114
|
+
| `evidence-transcripts-03b-ab-live-journeys.tar.zst` | 214 | 24.7 MB |
|
|
115
|
+
| `evidence-transcripts-04-hooks-matrix-and-hooks-ab.tar.zst` | 93 | 11.7 MB |
|
|
116
|
+
| `evidence-transcripts-05-v2.tar.zst` | 92 | 8.2 MB |
|
|
117
|
+
| `evidence-transcripts-06-v3-main.tar.zst` | 197 | 12.7 MB |
|
|
118
|
+
| `evidence-transcripts-07-v31-v32.tar.zst` | 335 | 25.8 MB |
|
|
119
|
+
|
|
120
|
+
The committed manifest `transcripts/<round>.manifest.json` lists, for every transcript:
|
|
121
|
+
- its path in the asset, sha256 and size;
|
|
122
|
+
- the transcript path the result row refers to;
|
|
123
|
+
- the results file and row `key`;
|
|
124
|
+
- the row status: `scored`, `not_scored_in_results_file`, `excluded:<reason>`, or `unreferenced` (one
|
|
125
|
+
re-run smoke cell in 03a);
|
|
126
|
+
- the scrub substitutions.
|
|
127
|
+
|
|
128
|
+
`transcripts/assets.json` holds each asset's sha256.
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
mkdir -p evidence/_release_assets
|
|
132
|
+
gh release download <tag> --repo manykarim/robotframework-harness --pattern 'evidence-transcripts-*' \
|
|
133
|
+
--dir evidence/_release_assets # once the assets are published (task 8.2)
|
|
134
|
+
python3 evidence/verify_assets.py --require # asset sha256, every member's sha256, every transcript -> one row
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
`verify_assets.py` needs the `zstd` CLI (or Python 3.14+) for `.tar.zst`. To rebuild the assets from the research
|
|
138
|
+
tree, run `python3 evidence/pack_transcripts.py --transcripts <research ab/harness dir>`. They are written to
|
|
139
|
+
`evidence/_release_assets/` (git-ignored); nothing is uploaded.
|
|
140
|
+
|
|
141
|
+
## Limits: read before quoting a number
|
|
142
|
+
|
|
143
|
+
- **Small samples.** 3–5 reps per agent × arm × scenario cell. Most single contrasts are not significant at
|
|
144
|
+
p < 0.05. The strongest are round 6 (v2 > rf-mcp in 8 of 8 non-tied cells, sign test p = 0.008) and round 7
|
|
145
|
+
pooled (Fisher p = 0.073). Same-arm run-to-run noise between rounds is about ±0.07–0.13.
|
|
146
|
+
- **Live sites.** The journeys run against public websites that change. Only same-window comparisons are valid,
|
|
147
|
+
and every round's arms were interleaved in one window ([REPRODUCE.md](REPRODUCE.md)).
|
|
148
|
+
- **Grader artifacts.** The `\$916\.99` regex case hits 4 round-7 cells and 1 round-6 cell, in all arms. It is
|
|
149
|
+
not corrected; adjusted rates are in `incidents.md`.
|
|
150
|
+
- **Exclusions.** 76 round-7 sessions were removed after the OpenRouter credit exhaustion. The OpenRouter half of
|
|
151
|
+
round 7 is therefore partial: rep 1 complete, rep 2 partial.
|
|
152
|
+
- **Content confounds.** The prototypes' skills contained better guidance than rf-mcp's in some rounds (noted in
|
|
153
|
+
the findings). The comparison is "harness as built" vs "rf-mcp 0.36.0", not delivery mechanism alone.
|
|
154
|
+
- **Weak and cheap models by design.** The models were chosen to leave headroom (Haiku, MiniMax, Flash models).
|
|
155
|
+
Strong models were near the ceiling with either delivery in round 7.
|
|
156
|
+
- **Only the final harness code survives.** Earlier rounds ran earlier harness revisions. The archived reports of
|
|
157
|
+
the early rounds regenerate identically except for one data-quality line that the later analyzer splits
|
|
158
|
+
(turn caps vs agent errors).
|
|
159
|
+
- **Uncommitted raw outputs.** About 46 MB of spike outputs, plus about 300 MB of agent run directories from rounds
|
|
160
|
+
1–5, were never committed upstream and are not in this archive (PROVENANCE.md).
|
|
161
|
+
|
|
162
|
+
## Scrub
|
|
163
|
+
|
|
164
|
+
`scrub.py` removes or redacts:
|
|
165
|
+
- provider keys and tokens (OpenRouter, Anthropic, OpenAI, GitHub, Slack, AWS, Google, bearer tokens, JWTs);
|
|
166
|
+
- OAuth fields and private keys;
|
|
167
|
+
- the literal values of secret environment variables;
|
|
168
|
+
- e-mail addresses outside the allowlist (the author's public addresses and fixture or demo-site domains);
|
|
169
|
+
- agent home directories and authentication files.
|
|
170
|
+
|
|
171
|
+
It also normalizes absolute home paths to `~`. It ran on every file during import and on every transcript during
|
|
172
|
+
packing, and it re-checks the scrubbed transcript content before an asset is built. Import substitutions:
|
|
173
|
+
`scrub_report.json` (counts only). Transcript substitutions: in each manifest.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Round 1: capability spikes (2026-10-01)
|
|
2
|
+
|
|
3
|
+
**Question.** Can robotcode replace the parts of rf-mcp that an agent harness needs: stepwise execution, hints on
|
|
4
|
+
failures, static validation, keyword discovery, result analysis and locator guidance? Can a remote MCP server
|
|
5
|
+
drive local execution at all?
|
|
6
|
+
|
|
7
|
+
**How.** Six scripted studies, run by research subagents of the coordinating session against robotcode 2.7.0,
|
|
8
|
+
Robot Framework 7.5 (cross-checked on 7.3.2) and rf-mcp 0.36.0. Public demo sites: Sauce Demo, the Flowline
|
|
9
|
+
demoshop, Restful Booker, the-internet. No coding agents were involved and there are no A/B sessions.
|
|
10
|
+
|
|
11
|
+
| study | folder | key result |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| deep research: remote MCP + robotcode | `research/findings.md` | A remote MCP server cannot make the client execute anything. robotcode `repl-server` is the only released way to keep RF state across separate shell calls. |
|
|
14
|
+
| rf-mcp host-dependency map | `map/host-dependency-map.md` | Which rf-mcp components need the host (browser, files, RF context), with `file:line` references |
|
|
15
|
+
| hints on robotcode output | `hints/findings.md` | rf-mcp's hint logic is portable: 32/33 identical hints from parsed `robotcode repl -k` output |
|
|
16
|
+
| persistent stepwise sessions | `stepwise/findings.md` | `repl-server` + one-shot client: 24 ms (bash) / 81 ms (Python) median per step |
|
|
17
|
+
| static validation, keyword search, results | `static/findings.md` | `robotcode analyze` + `robot --dryrun` catch 32 of 33 planted errors. Neither alone is enough. |
|
|
18
|
+
| locator intelligence as RF steps | `locators/findings.md` | A guarded step reports 13 failure classes with live re-counted candidate locators, more informative than rf-mcp for Browser |
|
|
19
|
+
|
|
20
|
+
**Files.** Each study folder holds its `findings.md`, the scripts and the committed outputs (tables, raw JSON,
|
|
21
|
+
corpora). The outputs that were *not* committed upstream (run directories, caches, large logs, about 46 MB) are
|
|
22
|
+
not in this archive; see `../../PROVENANCE.md`.
|
|
23
|
+
|
|
24
|
+
**Config.** `config.json`. **Checksums.** `checksums.sha256` (run `sha256sum -c checksums.sha256` in this folder).
|
|
25
|
+
|
|
26
|
+
**Limits.** Single machine, single runs. The latency numbers come from a machine that was running other Browser jobs.
|
|
27
|
+
These are capability findings, not effect sizes.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Round 2: local runtime (2026-10-01)
|
|
2
|
+
|
|
3
|
+
**Question.** Round 1 needed a long-lived `repl-server`. Can the same be done locally and more simply? Does a
|
|
4
|
+
helper that agents call from their shell work in every coding agent?
|
|
5
|
+
|
|
6
|
+
| study | folder | key result |
|
|
7
|
+
|---|---|---|
|
|
8
|
+
| embedded robotcode helper (Python API) | `python_api/findings.md` | Embedding robotcode's REPL engine in a per-project daemon is faster than `repl-server`, shuts down cleanly and runs rf-mcp logic around each keyword in the live RF context (spike 1,526 lines, core about 860). |
|
|
9
|
+
| stock `robotcode repl` instead of repl-server | `repl_only/findings.md` | `repl-server` is not needed: stock `repl --plain` fed from a named pipe plus a listener gives per-step JSON. Shutdown 0.4 s vs 5.5–22 s. |
|
|
10
|
+
| keyword docs via robotcode, locally | `keyword_docs/findings.md` | robotcode returns full keyword docs locally. Only *search* is name-only; BM25 search runs locally in under 2 ms per query. |
|
|
11
|
+
| local helper channel across agents | `agents/findings.md` | Works in all four CLI agents if the helper self-detaches with `setsid` (34 headless sessions) |
|
|
12
|
+
|
|
13
|
+
**Agents (agents study).** Claude Code 2.1.286 + claude-haiku-4-5, Codex 0.153.4 + gpt-5.6-luna@low (no sandbox:
|
|
14
|
+
bwrap cannot start on this host), OpenCode 1.15.12 + MiniMax-M2.7, Copilot CLI 1.0.54 + gpt-4.1. VS Code Copilot
|
|
15
|
+
was assessed from its docs only.
|
|
16
|
+
|
|
17
|
+
**Files.** Each study folder holds its `findings.md`, the code (`python_api/rfmcp_local/`, `repl_only/rfrepl.py`,
|
|
18
|
+
`keyword_docs/helper/KwDocs.py`, `agents/common/`), and the committed results (`agents/results_summary.json`,
|
|
19
|
+
`keyword_docs/outputs/`, `repl_only/run/`). The agent run directories (`agents/runs/`), logs and benchmark work
|
|
20
|
+
dirs were not committed upstream and are not archived.
|
|
21
|
+
|
|
22
|
+
**Config.** `config.json`. **Checksums.** `checksums.sha256`.
|
|
23
|
+
|
|
24
|
+
**Limits.** One session per agent × scenario. The sandboxes were not tested (Codex ran without sandbox, and Claude's
|
|
25
|
+
sandbox cannot run on this host).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Round 3: robotcode LSP in agents, LSP as validator, Robocop (2026-10-01)
|
|
2
|
+
|
|
3
|
+
**Question.** Can static feedback reach the agent *while it edits*, without running anything? Which static
|
|
4
|
+
analyzer catches which agent mistakes, and how noisy is it?
|
|
5
|
+
|
|
6
|
+
| study | folder | key result |
|
|
7
|
+
|---|---|---|
|
|
8
|
+
| robotcode LSP diagnostics inside coding agents | `agent_lsp/findings.md` | Holds only after fixes. As-is, the LSP gives no usable feedback after the first edit in Claude Code and none in OpenCode, because of three client/server mismatches. `shim/rc_lsp_shim.py` fixes all three. Codex has no LSP support, and Copilot CLI never starts the server on edits. |
|
|
9
|
+
| LSP as validator + file-based step execution | `lsp_quality/findings.md` | Same engine as `robotcode analyze`: 28 of 33 planted errors caught, 48/48 diagnostic codes identical. All noise comes from Robocop defaults. |
|
|
10
|
+
| Robocop 9.1 for agent-written RF | `robocop/findings.md` | Default rules catch 8 of 33; the project-rule "agent profile" catches 26. Robocop is the only layer that auto-fixes outdated syntax. |
|
|
11
|
+
|
|
12
|
+
**Agents (agent_lsp, 32 headless sessions).** Claude Code 2.1.286, OpenCode 1.15.12, Copilot CLI 1.0.54,
|
|
13
|
+
Codex 0.153.4. Every run's final file was checked independently with `robotcode analyze code`.
|
|
14
|
+
|
|
15
|
+
**Tools.** robotcode 2.7.0, Robocop 9.1.0, Robot Framework 7.5.
|
|
16
|
+
|
|
17
|
+
**Files.** `agent_lsp/` (orchestrator, analyzer, LSP probe, shim, hook, `results_summary.json`,
|
|
18
|
+
`harness_notes.json`), `lsp_quality/` (experiment scripts, test projects; the `results/` and `logs/` folders were
|
|
19
|
+
not committed upstream), `robocop/` (configs incl. `robocop-agent.toml`, corpora, scripts). Agent run directories
|
|
20
|
+
(`agent_lsp/runs/`, about 260 MB) are not archived.
|
|
21
|
+
|
|
22
|
+
**Config.** `config.json`. **Checksums.** `checksums.sha256`.
|
|
23
|
+
|
|
24
|
+
**Limits.** One run per agent × cell. The error corpus is planted (33 errors, 15 valid controls), not sampled from
|
|
25
|
+
real agent output; `robocop/noise_corpus` (36 agent-written suites) covers the noise side.
|