Contract-first engineering base with a thin core and a narrow OpenHarness bridge.
Repositories usually fail in one of two ways:
- the core is too soft, so structure and validation drift
- the core is too heavy, so every integration pulls runtime logic into the base
Harness Tool exists to keep a stable middle line:
- explicit contract
- predictable validation
- bounded extension surfaces
- external runtime integration without turning the repository into a runtime host
Harness Tool is:
- an upstream engineering base
- a contract-first repository structure
- a validation and scaffold toolset
- intended for module development, maintenance, handoff, and AI-assisted work
harness_core owns protocol, validation, stages, and scaffold semantics.
Harness Tool is not:
- a full agent runtime
- a workflow host
- a plugin platform
- an OpenHarness replacement
- a thick framework
The repository is split into three layers:
harness_core/protocol, validation, stages, scaffold semantics- extension surfaces
profiles/,templates/,.openclaw_skill/, and local extensions - bridge layer
adapters/,scripts/openharness_*, and the OpenHarness examples
The contract stays in core. Variation stays outside core. External runtimes connect through bridges.
OpenHarness is an external runtime. It is not owned by this repository’s core.
Harness Tool provides:
- project contract
- validation entrypoints
- module context
- boundary discipline
OpenHarness provides:
- agent runtime
- tools and providers
- middleware composition
- execution flow
Current support is real but narrow:
- bridge and binding documents
harness_validateprocess transport- context injection
- internal and external examples
This repository does not claim:
- runtime ownership in
harness_core - live provider wiring
- live middleware wiring
- full session or conversation integration
Initialize a module:
python tools/init_module.py my_moduleApply Harness Tool to an existing module:
python tools/apply_harness.py path/to/module
python tools/apply_harness.py path/to/module --profile python-serviceValidate a module:
python tools/validate_module.py path/to/module
python tools/validate_module.py path/to/module --strictValidate the OpenHarness example:
python tools/validate_module.py examples/openharness_app --strict --profile defaultREADME.mdprimary entrypointdocs/protocols, specs, integration docs, release notesharness_core/core implementationtools/init, apply, validate, repair entrypointsexamples/reference modules and the OpenHarness exampleadapters/bridge-side integration coderelease/packaged release material
Current scope is intentionally narrow:
- OpenHarness support is bridge-side only
harness_coredoes not host runtime responsibilities- provider and middleware handling remain outside core
- full session and conversation integration is out of scope
examples/openharness_appmay skip npm smoke when local dependencies are absent
This repository is a usable engineering base and a real bridge source. It is not a complete runtime product.