Repository navigation
Description
What happens
The harness YAML is the contract between fullsend and fullsend-ai/agents, but the only full description of it is fullsend's Go code. ADR 0127 gave us schema_version and the field type table in docs/contributing/harness-fields.md, and it deferred a JSON Schema per version as the natural follow on (ADR 0024 says the same). Epic #8720 lists it under out of scope, and as far as I can tell nobody has filed it.
So a repo that publishes harnesses has two choices today: install a pinned fullsend binary and run fullsend lint, or skip the check. fullsend-ai/agents does neither today.
The one piece we already publish is the env contract from #8679 (ADR 0146): docs/normative/sandbox-env/v1/harness-env.schema.json. It validates the env blocks of a harness and lets every other field through on purpose. It is generated from the runner's code and has a golden test, which is the pattern I would like to copy here.
What should happen
fullsend publishes a generated JSON Schema (Draft 2020-12) for each supported harness schema_version, under docs/normative/ beside the sandbox env schemas, so any CI job can validate harness YAML with stock tooling and no fullsend binary.
Validation criteria:
- The schema for version 1 covers every field in
HarnessandForgeConfig, includingbase,forge.<platform>,overlays[], andschema_version - It is generated from the Go types and a golden test fails when a field is added, removed, or changes type without regenerating
- Every production harness in fullsend-ai/agents at its current pin validates clean
- A wrong type, a misspelled field, or an unsupported
schema_versionfails validation with the offending path - Env blocks reuse the sandbox env definitions instead of restating them (ADR 0146 already expects this)
- docs/contributing/harness-fields.md points at the schema, and the ADR 0127 rule that a field type change bumps
schema_versionalso means publishing a new schema version
Open questions
- Unknown keys: should the schema reject them? I am not sure the loader rejects them everywhere today, and I would rather the schema match the loader than get ahead of it.
- Hybrid fields and the semantic types (inline command vs local path vs resource): which of these can a schema express as a pattern, and which stay with
Harness.Lint()(Harness.Lint() should flag values that violate their declared field type #8723)? My gut says the schema covers structure and scalar types, and Lint keeps the heuristics and CEL trigger checks. - Overlays: ADR 0112 and ADR 0158 will change what an overlay may set. Do we schema the current behavior and update when those land?
Not in scope
- Consuming the schema in fullsend-ai/agents CI. That belongs with CI should block harness changes on fullsend lint SeverityError agents#1752, which still needs
fullsend lintfor the rules a schema cannot express. - The policy for other breaking schema changes (separate ADR 0127 follow up).
Context
- ADR 0127: docs/ADRs/0127-harness-schema-versioning-and-field-types.md (Options, and the out of scope list under Consequences)
- ADR 0024: docs/ADRs/0024-harness-definitions.md
- ADR 0146 and the env schema: docs/normative/sandbox-env/v1/, generated by internal/envmanifest
- Field type table: docs/contributing/harness-fields.md
- Related: Harness.Lint() should flag values that violate their declared field type #8723 (Lint type checks), Epic: implement ADRs 0127, 0128, and 0129 (harness schema versioning and preflight checks) #8720 (epic), CI should block harness changes on fullsend lint SeverityError agents#1752 (agents CI gate), Switch skill-env-reachability-test.sh from hand-maintained SANDBOX_RUNTIME_VARS to the released-tag sandbox env manifest agents#1738 (agents consuming the env manifest)
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
fullsend-ai-triage commentedon Nov 30, 2026
🤖 Finished Triage · ✅ Success · Started 3:58 PM UTC · Completed 4:00 PM UTC
Commit:
cca0379· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.24
fullsend-ai-triage commentedon Nov 30, 2026
This is a well-scoped request and ready for implementation. The Go types and the existing generator pattern (internal/envmanifest with its golden test, and the sandbox-env v1 schemas under docs/normative/) are all in this repository. No open PR or duplicate issue was found, and #8723 (Lint type checks) and the epic #8720 are related but do not block this work.
Notes on the open questions, for whoever picks this up:
yaml.Unmarshal, without strict known-field checking, so it accepts unknown keys. Your criterion that a misspelled field fails validation therefore makes the schema stricter than the loader. Make that an explicit decision, and document it either way.Harness.Lint()keeps the heuristics and CEL trigger checks) looks workable.Suggested test coverage:
Labels: This is a new-capability request touching harness configuration, matching type/feature and component/harness in the repo's conventions.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidance