Table of Contents generated with DocToc
Capability: substrate:sandbox
Harness: agnostic
Runnable cross-family probe scripts that the issue-reproducer skill copies from when its Step 9 (optional cross-family probe) runs against an issue.
The probe pattern, contract, and recording schema are in the skill's probe-templates.md companion. This directory holds runtime-specific reference implementations.
groovy/). Running a probe needs the matching language runtime (e.g. a Groovy interpreter for the groovy/ templates).tools/probe-templates/ ├── README.md (this file) └── <runtime>/ (one subdirectory per supported runtime) └── *.template (probe template files with placeholders)
Adopters with JVM-language projects copy from <runtime>/ where <runtime> matches their language. Adopters whose runtime is not covered contribute their own per-runtime templates back via PR.
A probe template is a small runnable script that exercises the same expression across every member of a type or operator family and emits a comparison table. The structure is universal across runtimes:
# Pseudocode (each runtime renders this in its own syntax): probes = { "Member A": () => { construct backend A, exercise the expression } "Member B": () => { same expression on backend B } # ... one entry per family member } for name, body in probes: try: outcome = body() catch e: outcome = "THREW: " + type(e) + ": " + message(e) print(name + " | " + outcome)
The expression under test is a placeholder; users substitute it when running against a specific issue.
The framework treats every per-runtime subdirectory as first-class. Today the groovy/ subdirectory ships in the framework; python/, kotlin/, java/, rust/, and other-language subdirectories are welcome and awaiting contribution. None of them require framework-side support beyond adding the subdirectory — the per-runtime probe scripts are runnable standalone.
Adopters with a new runtime should:
tools/probe-templates/<runtime>/ matching the runtime's conventional short name (lowercase, hyphenated).range-index-cross-type.<ext>.templategpath-cross-backend.<ext>.templateoperator-variants-safe-nav.<ext>.templateapache/magpie.Note: not every language has every family. A typed compiled language without an operator-overloading subsystem may have no operator-variants-* templates; that's fine — the framework only loads templates that exist.
issue-reproducer/probe-templates.md — the skill-side procedural detail.issue-reproducer/verdict-composition.md — schema for the cross_type_probe and operator_variants_probe sub-objects.<project-config>/reproducer-conventions.md — where probe artefacts live in the per-issue evidence package.