Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
87dd32b
test(lang): add content id tests
senamakel Nov 25, 2026
a9e210a
test(content-ids): pin real content ids for harness-less packages
senamakel Nov 25, 2026
3baf629
test(harness): cover harness wire format round trips
senamakel Nov 25, 2026
411e0e2
feat(harness): add harness types and default isolation
senamakel Nov 25, 2026
6b12d97
feat(document): add harness selection to manifest, seats and profiles
senamakel Nov 25, 2026
1187146
refactor(lang): narrow document re-exports and widen harness exports
senamakel Nov 25, 2026
8b0d173
feat(harness): resolve each seat's harness from seat, profile, runtim…
senamakel Nov 25, 2026
0dc7dce
feat(examples): add mixed-harnesses hive example
senamakel Nov 25, 2026
1fc1485
test(validation): expose example loader and diagnostic helper for reuse
senamakel Nov 25, 2026
1b11fa4
test(validation): add harness for validation tests
senamakel Nov 25, 2026
6c97ce1
test(validation): register harness test module
senamakel Nov 25, 2026
8f9d0a0
feat(harness): add capability table and harness validation
senamakel Nov 25, 2026
536c541
feat(validation): add capability validation module
senamakel Nov 25, 2026
818dc0a
refactor(validation): simplify limit layer lookup in capability judge
senamakel Nov 25, 2026
15e86a7
feat(lang): re-export harness capability and support types
senamakel Nov 25, 2026
766c564
fix(validation): deduplicate capability findings by location
senamakel Nov 25, 2026
09c272f
test(check): add shared harness module for check tests
senamakel Nov 25, 2026
6b204e7
feat(check): require integration class for seat moves
senamakel Nov 25, 2026
5c9bb16
feat(split): allow harnesses in agents.json
senamakel Nov 25, 2026
89e3655
test: cover harness validation and deployment refusal cases
senamakel Nov 25, 2026
39b1c2f
test(deploy): qualify harnesses calls with crate path
senamakel Nov 25, 2026
121852d
feat(deploy): reject unsupported harnesses and conflicting declarations
senamakel Nov 25, 2026
cee5a35
test(deploy): share an openhuman-only package fixture across harness …
senamakel Nov 25, 2026
ecaaaa7
test(deploy): expect claw as the conflicting harness id
senamakel Nov 25, 2026
71fe5f7
feat(examples): add broken harnesses example package
senamakel Nov 25, 2026
59f19bd
docs(harness): document harness kinds, seat resolution and capability…
senamakel Nov 25, 2026
50227ba
chore(lang): rename shadowed bindings and fix doc comment casing
senamakel Nov 25, 2026
5b388e4
docs(tinyhivemind-openhuman): format `OpenHuman` in deploy error doc …
senamakel Nov 25, 2026
a075c67
feat(harness): track additional spec capabilities in the support matrix
senamakel Nov 26, 2026
caee5e5
feat(harness): reject fields the spec does not decide
senamakel Nov 26, 2026
d863b30
feat(validation): judge seat capabilities field by field against defa…
senamakel Nov 26, 2026
cdcc64b
fix(lang): drop deny lists from broken harness fixture and assert jud…
senamakel Nov 26, 2026
399a4a3
docs(harness): document the default-deny field map for capability checks
senamakel Nov 26, 2026
17dbaf0
docs(validation): update capability table description
senamakel Nov 26, 2026
5644ace
refactor(harness): fold builtin tool rules into the rejected capabili…
senamakel Nov 26, 2026
9cea1ff
test(capability): read declared fields from the decoder
senamakel Nov 26, 2026
35cd974
test(validation): cover harness rejection reasons and seat sections
senamakel Nov 26, 2026
01367fc
feat(harness): default unlisted tool groups off when a harness is named
senamakel Nov 26, 2026
bfef649
fix(validation): report capability findings once per rejecting harnes…
senamakel Nov 26, 2026
99a6752
feat(deploy): derive per-seat tool groups from toolpack listings
senamakel Nov 26, 2026
f231fa6
test(openhuman): include captured requests in seat deploy failure mes…
senamakel Nov 26, 2026
7fb3251
test(openhuman): route judged seat deploy through fixture provider
senamakel Nov 26, 2026
82cd428
fix(deploy): judge harness declarations by kind and isolation
senamakel Nov 26, 2026
7c66eb8
refactor(capability): extract hook validation into its own method
senamakel Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/tinyhivemind-lang/examples/broken/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exercise, so the report a host or editor sees is pinned by a test.
| Directory | Findings |
| --- | --- |
| `integrations/` | The `integrations` example with an undeclared seat model (`reference`), `tools/word_count.py` removed (`missing_document`), a delegated profile that sets a model, an `argv` placeholder naming no argument, and `sqlite` sessions without a workspace (`integration`). Its [README](integrations/README.md) lists each fault and where it is located |
| `harnesses/` | The `mixed-harnesses` example with an undeclared harness (`reference`), a duplicate harness id (`identity`), and `integration` findings for `deployment` isolation on `codex`, a harness on a delegated profile, subagents on `codex`, a provider credential, a runtime sandbox and a tool argument named `call` (ten findings: two faults are reported once per rejecting kind). Its [README](harnesses/README.md) lists each one |

```sh
cargo run -p tinyhivemind-lang --example hive_check -- crates/tinyhivemind-lang/examples/broken/integrations
cargo run -p tinyhivemind-lang --example hive_check -- crates/tinyhivemind-lang/examples/broken/harnesses
```
27 changes: 27 additions & 0 deletions crates/tinyhivemind-lang/examples/broken/harnesses/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# broken/harnesses

The [`mixed-harnesses`](../../hives/mixed-harnesses/README.md) package with
eight deliberate faults, one per harness diagnostic. `hive_check` reports ten
findings: the provider credential and the runtime sandbox are each rejected
twice, once by the openclaw seat and once by the codex seat, with that kind's
reason. The report is pinned by
`the_broken_harnesses_package_reports_each_harness_finding_once` in
`../../hive_check/test.rs`.

| Fault | Where | Rule |
| --- | --- | --- |
| Seat `lead` names the undeclared harness `ghost` | `hive.json` `/seats/0/harness` | `reference` |
| The harness id `codex` is declared twice | `hive.json` `/harnesses/2/id` | `identity` |
| The `codex` harness asks for `isolation: deployment`, which only `openclaw` accepts | `hive.json` `/harnesses/1/isolation` | `integration` |
| The delegated `helper` profile names a harness | `hive.json` `/profiles/1/harness` | `integration` |
| The `coder` profile delegates to `helper`, and `codex` rejects subagents | `hive.json` `/profiles/0/subagents` | `integration` |
| The `local` provider carries a `credential`, rejected on every kind until a conformance test proves it | `hive.json` `/providers/0/credential` | `integration` |
| `runtime.sandbox` is `read_only`, which no harness can apply to the host's executable tools | `hive.json` `/runtime/sandbox` | `integration` |
| `word_count` declares an argument named `call`, which the host adds to every served tool | `hive.json` `/tools/0/args/properties/call` | `integration` |

| Path | Purpose |
| --- | --- |
| `hive.json` | The faulty manifest |
| `constitution.json`, `memory.json` | As in `mixed-harnesses` |
| `roles/`, `seats/` | Charters and prompts |
| `tools/` | `word_count.py` |
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"hard_constraints": [],
"max_turns": 60,
"max_width": 8,
"permitted_edits": [],
"read_only_memories": [],
"protected_namespaces": [],
"contamination_canaries": [],
"evaluation": null,
"acceptance": null,
"telemetry": null
}
Loading
Loading