Split docs/softbox-catalog-design.md into the numbered harness doc set (00-06, api.md, current-state, agent-context, tasks) following the harness_coding_docs template and soft_quay conventions. Register the nine open decision items from the design spec into the 06-tasks roadmap as W- tasks and backlog entries. Keep the original design spec as an archived design input with a header note. Recreated after the repository's previous git history was lost to an external reset; content matches the original initial commit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
100 lines
2.6 KiB
JSON
100 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://example.invalid/schemas/agent-context.schema.json",
|
|
"title": "Harness Coding agent context manifest",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schema",
|
|
"schema_version",
|
|
"authority",
|
|
"bootstrap",
|
|
"routes",
|
|
"tasks",
|
|
"refresh",
|
|
"degraded_mode"
|
|
],
|
|
"properties": {
|
|
"schema": {
|
|
"const": "docs/agent-context.schema.json"
|
|
},
|
|
"schema_version": {
|
|
"const": 1
|
|
},
|
|
"authority": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"required": [
|
|
"bootstrap",
|
|
"framework_templates",
|
|
"project_facts",
|
|
"coordination"
|
|
]
|
|
},
|
|
"bootstrap": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["always_read"],
|
|
"properties": {
|
|
"always_read": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {"$ref": "#/$defs/repositoryPath"}
|
|
}
|
|
}
|
|
},
|
|
"routes": {
|
|
"type": "object",
|
|
"minProperties": 1,
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {"$ref": "#/$defs/repositoryPath"}
|
|
}
|
|
},
|
|
"tasks": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["roadmap", "directory", "template"],
|
|
"properties": {
|
|
"roadmap": {"$ref": "#/$defs/repositoryPath"},
|
|
"directory": {"$ref": "#/$defs/repositoryPath"},
|
|
"template": {"$ref": "#/$defs/repositoryPath"}
|
|
}
|
|
},
|
|
"refresh": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["context_ref", "cache_key", "unchanged_file", "changed_ref"],
|
|
"properties": {
|
|
"context_ref": {"const": "default_branch_head_sha"},
|
|
"cache_key": {"const": "file_sha"},
|
|
"unchanged_file": {"const": "reuse_within_current_session"},
|
|
"changed_ref": {"const": "reread_manifest_and_routed_documents"}
|
|
}
|
|
},
|
|
"degraded_mode": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["continue_claimed_task", "claim_new_task", "write_remote_state"],
|
|
"properties": {
|
|
"continue_claimed_task": {"type": "boolean"},
|
|
"claim_new_task": {"type": "boolean"},
|
|
"write_remote_state": {"type": "boolean"}
|
|
}
|
|
}
|
|
},
|
|
"$defs": {
|
|
"repositoryPath": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "^(?!/)(?!.*\\\\)(?!.*(^|/)\\.\\.(/|$))(?![A-Za-z][A-Za-z0-9+.-]*:).+$"
|
|
}
|
|
}
|
|
}
|