feat(SCOPONE-0010): vendor agent assets and clean docs
This commit is contained in:
1
.github/schemas
vendored
1
.github/schemas
vendored
@@ -1 +0,0 @@
|
||||
/home/moze/Sources/copilot-agents/.github/schemas
|
||||
74
.github/schemas/benchmark_suite.schema.json
vendored
Normal file
74
.github/schemas/benchmark_suite.schema.json
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["suite_id", "version", "benchmarks"],
|
||||
"properties": {
|
||||
"suite_id": {"type": "string"},
|
||||
"version": {"type": "string"},
|
||||
"pass_threshold": {"type": "integer", "minimum": 0, "maximum": 100},
|
||||
"benchmarks": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "title", "category", "target_agents", "prompt", "checks"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"title": {"type": "string"},
|
||||
"category": {"type": "string"},
|
||||
"target_agents": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"minItems": 1
|
||||
},
|
||||
"prompt": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "mode", "path", "weight", "dimension"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["contains_all", "absent_all", "path_exists", "yaml_keys_present", "yaml_duration_max", "yaml_array_duration_max", "jsonl_event_duration_max"]
|
||||
},
|
||||
"path": {"type": "string"},
|
||||
"tokens": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"start_key": {"type": "string"},
|
||||
"end_key": {"type": "string"},
|
||||
"array_key": {"type": "string"},
|
||||
"start_event": {"type": "string"},
|
||||
"end_event": {"type": "string"},
|
||||
"pair_by": {"type": "string"},
|
||||
"max_seconds": {"type": "number", "minimum": 0},
|
||||
"weight": {"type": "integer", "minimum": 1},
|
||||
"dimension": {
|
||||
"type": "string",
|
||||
"enum": ["speed", "parallelism", "collision_resistance", "ambiguity_control", "llm_efficiency", "resumability", "observability", "schema_rigor", "timing"]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string",
|
||||
"enum": ["contracts", "artifacts"],
|
||||
"default": "contracts"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
140
.github/schemas/progress.schema.json
vendored
Normal file
140
.github/schemas/progress.schema.json
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": [
|
||||
"jira",
|
||||
"type",
|
||||
"slug",
|
||||
"branch",
|
||||
"build_command",
|
||||
"test_command",
|
||||
"max_parallel_tasks",
|
||||
"docs_cache_state_path",
|
||||
"docs_trusted_for_planning",
|
||||
"trust_status",
|
||||
"git_gate_completed",
|
||||
"cycle_acceleration_mode",
|
||||
"startup",
|
||||
"metrics",
|
||||
"iteration_number",
|
||||
"current_phase",
|
||||
"current_step",
|
||||
"status",
|
||||
"created_at",
|
||||
"last_updated",
|
||||
"last_checkpoint",
|
||||
"iterations"
|
||||
],
|
||||
"properties": {
|
||||
"jira": {"type": "string"},
|
||||
"type": {"type": "string"},
|
||||
"slug": {"type": "string"},
|
||||
"branch": {"type": "string"},
|
||||
"build_command": {"type": "string"},
|
||||
"test_command": {"type": "string"},
|
||||
"max_parallel_tasks": {"type": "integer", "minimum": 1},
|
||||
"docs_cache_state_path": {"type": "string"},
|
||||
"docs_trusted_for_planning": {"type": "boolean"},
|
||||
"trust_status": {"type": "string", "enum": ["trusted", "stale", "unknown"]},
|
||||
"git_gate_completed": {"type": "boolean"},
|
||||
"cycle_acceleration_mode": {"type": "string", "enum": ["standard", "trivial_graph"]},
|
||||
"startup": {
|
||||
"type": "object",
|
||||
"required": ["docs_state", "impact_scan", "planning_ready", "updated_at"],
|
||||
"properties": {
|
||||
"docs_state": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"architecture_exists",
|
||||
"code_style_exists",
|
||||
"findings_exists",
|
||||
"docs_trusted_for_planning",
|
||||
"refresh_required"
|
||||
],
|
||||
"properties": {
|
||||
"architecture_exists": {"type": "boolean"},
|
||||
"code_style_exists": {"type": "boolean"},
|
||||
"findings_exists": {"type": "boolean"},
|
||||
"docs_trusted_for_planning": {"type": "boolean"},
|
||||
"refresh_required": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
"impact_scan": {
|
||||
"type": "object",
|
||||
"required": ["affected_areas", "likely_files"],
|
||||
"properties": {
|
||||
"affected_areas": {"type": "array", "items": {"type": "string"}},
|
||||
"likely_files": {"type": "array", "items": {"type": "string"}}
|
||||
}
|
||||
},
|
||||
"planning_ready": {"type": "boolean"},
|
||||
"updated_at": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"metrics": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"tasks_total",
|
||||
"tasks_completed",
|
||||
"groups_total",
|
||||
"groups_completed",
|
||||
"percent_complete",
|
||||
"elapsed_minutes_estimate",
|
||||
"remaining_minutes_estimate",
|
||||
"eta_confidence",
|
||||
"first_code_change_at",
|
||||
"lead_time_to_first_code_change_minutes",
|
||||
"latest_group_cycle_minutes_estimate",
|
||||
"latest_iteration_cycle_minutes_estimate"
|
||||
],
|
||||
"properties": {
|
||||
"tasks_total": {"type": "integer", "minimum": 0},
|
||||
"tasks_completed": {"type": "integer", "minimum": 0},
|
||||
"groups_total": {"type": "integer", "minimum": 0},
|
||||
"groups_completed": {"type": "integer", "minimum": 0},
|
||||
"percent_complete": {"type": "integer", "minimum": 0, "maximum": 100},
|
||||
"elapsed_minutes_estimate": {"type": "number", "minimum": 0},
|
||||
"remaining_minutes_estimate": {"type": ["number", "null"], "minimum": 0},
|
||||
"eta_confidence": {"type": "string", "enum": ["low", "medium", "high"]},
|
||||
"first_code_change_at": {"type": ["string", "null"]},
|
||||
"lead_time_to_first_code_change_minutes": {"type": ["number", "null"], "minimum": 0},
|
||||
"latest_group_cycle_minutes_estimate": {"type": ["number", "null"], "minimum": 0},
|
||||
"latest_iteration_cycle_minutes_estimate": {"type": ["number", "null"], "minimum": 0}
|
||||
}
|
||||
},
|
||||
"iteration_number": {"type": "integer", "minimum": 0},
|
||||
"current_phase": {"type": "string"},
|
||||
"current_step": {"type": "string"},
|
||||
"current_task_id": {"type": ["string", "null"]},
|
||||
"current_task_attempt": {"type": "integer", "minimum": 0},
|
||||
"status": {"type": "string", "enum": ["PENDING", "PAUSED", "ACCEPTED", "REJECTED"]},
|
||||
"created_at": {"type": "string"},
|
||||
"last_updated": {"type": "string"},
|
||||
"last_checkpoint": {
|
||||
"type": "object",
|
||||
"required": ["timestamp", "git_head", "phase", "step"],
|
||||
"properties": {
|
||||
"timestamp": {"type": "string"},
|
||||
"git_head": {"type": "string"},
|
||||
"phase": {"type": "string"},
|
||||
"step": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"iterations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["number", "status", "started_at", "completed_at", "tasks_total", "tasks_accepted"],
|
||||
"properties": {
|
||||
"number": {"type": "integer", "minimum": 0},
|
||||
"status": {"type": "string"},
|
||||
"started_at": {"type": "string"},
|
||||
"completed_at": {"type": ["string", "null"]},
|
||||
"tasks_total": {"type": "integer", "minimum": 0},
|
||||
"tasks_accepted": {"type": "integer", "minimum": 0}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
49
.github/schemas/review_report.schema.json
vendored
Normal file
49
.github/schemas/review_report.schema.json
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"required": ["iteration_number", "status"],
|
||||
"properties": {
|
||||
"iteration_number": {"type": "integer"},
|
||||
"status": {"type": "string", "enum": ["ACCEPTED", "REJECTED"]},
|
||||
"summary": {"type": "string"},
|
||||
"evaluated_at": {"type": "string"},
|
||||
"tasks_summary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"total": {"type": "integer"},
|
||||
"accepted": {"type": "integer"},
|
||||
"rejected": {"type": "integer"}
|
||||
}
|
||||
},
|
||||
"build_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"passed": {"type": "boolean"},
|
||||
"command": {"type": "string"},
|
||||
"output_summary": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"test_status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"passed": {"type": "boolean"},
|
||||
"command": {"type": "string"},
|
||||
"total": {"type": "integer"},
|
||||
"passed_count": {"type": "integer"},
|
||||
"failed_count": {"type": "integer"},
|
||||
"output_summary": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"criteria_evaluation": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"criterion": {"type": "string"},
|
||||
"met": {"type": "boolean"}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolution_prompt": {"type": "string"}
|
||||
}
|
||||
}
|
||||
129
.github/schemas/tasks.schema.json
vendored
Normal file
129
.github/schemas/tasks.schema.json
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"validation_policy": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"cycle_acceleration_mode": {
|
||||
"type": "string",
|
||||
"enum": ["standard", "trivial_graph"]
|
||||
},
|
||||
"baseline_allowlist": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"baseline_scope": {
|
||||
"type": "string",
|
||||
"enum": ["code_and_tests_only", "all_files"]
|
||||
},
|
||||
"working_directory": {"type": "string"},
|
||||
"build_command": {"type": "string"},
|
||||
"test_command": {"type": "string"},
|
||||
"group_overrides": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"working_directory": {"type": "string"},
|
||||
"build_command": {"type": "string"},
|
||||
"test_command": {"type": "string"},
|
||||
"baseline_allowlist": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"baseline_scope": {
|
||||
"type": "string",
|
||||
"enum": ["code_and_tests_only", "all_files"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "description", "success_criteria", "files_to_modify", "parallel_group", "depends_on", "status"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"id": {"type": "string", "pattern": "^TASK-\\d+$"},
|
||||
"name": {"type": "string"},
|
||||
"parallel_group": {"type": "string"},
|
||||
"depends_on": {"type": "array", "items": {"type": "string"}},
|
||||
"description": {"type": "string"},
|
||||
"production_code_examples": {"type": "string"},
|
||||
"test_code_examples": {"type": "string"},
|
||||
"files_to_modify": {"type": "array", "items": {"type": "string"}},
|
||||
"test_files": {"type": "array", "items": {"type": "string"}},
|
||||
"findings_references": {"type": "array", "items": {"type": "string"}},
|
||||
"architecture_constraints": {"type": "object"},
|
||||
"code_style_constraints": {"type": "object"},
|
||||
"execution_strategy": {"type": "string", "enum": ["parallel", "sequential"]},
|
||||
"validation_scope": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"baseline_allowlist": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"baseline_scope": {
|
||||
"type": "string",
|
||||
"enum": ["code_and_tests_only", "all_files"]
|
||||
},
|
||||
"working_directory": {"type": "string"},
|
||||
"build_command": {"type": "string"},
|
||||
"test_command": {"type": "string"}
|
||||
}
|
||||
},
|
||||
"success_criteria": {"type": "array", "items": {"type": "string"}},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["PENDING", "ACTIVE", "DONE", "SYNTAX_VALID", "SYNTAX_ERROR", "ACCEPTED", "REJECTED", "ERROR"]
|
||||
},
|
||||
"attempts": {"type": "integer", "minimum": 0},
|
||||
"started_at": {"type": ["string", "null"]},
|
||||
"completed_at": {"type": ["string", "null"]},
|
||||
"first_code_change_at": {"type": ["string", "null"]},
|
||||
"last_execution_mode": {
|
||||
"type": ["string", "null"],
|
||||
"enum": ["PARALLEL", "SEQUENTIAL", null]
|
||||
},
|
||||
"files_modified": {"type": "array", "items": {"type": "string"}},
|
||||
"validation_details": {"type": ["string", "object", "array", "null"]},
|
||||
"rejection_reason": {"type": "string"},
|
||||
"resolution_prompt": {"type": "string"},
|
||||
"iteration": {"type": "integer"},
|
||||
"iterations": {"type": "array"},
|
||||
"created_at": {"type": "string"},
|
||||
"updated_at": {"type": "string"}
|
||||
},
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{"required": ["research_needed"]},
|
||||
{"required": ["design_decisions"]}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"parallel_groups": {"type": "object"},
|
||||
"execution_order": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["group", "strategy"],
|
||||
"properties": {
|
||||
"group": {"type": "string"},
|
||||
"strategy": {"type": "string", "enum": ["parallel", "sequential"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updated_at": {"type": "string"}
|
||||
},
|
||||
"required": ["validation_policy", "tasks", "parallel_groups", "execution_order"]
|
||||
}
|
||||
Reference in New Issue
Block a user