fix(agent): вернуть откаченные схемы .agent и синхронизировать статусы
Регресс: коммит d6d64d2 (2026-11-07, 'treefmt + samba dir changed')
откатил расширения JSON-схем, которыми закрывался T57. С тех пор check #9
('.agent-метаданные против своих схем') падал на 137 нарушениях — то есть
CI был красным, а это никто не заметил.
Также: убрана протухшая пометка в manifest.md о том, что T38+ не внесены в
JSON (внесены 2026-10-25), поправлена строка T57 про blocked, сводка
открытых задач в AGENTS.md приведена в соответствие с манифестом, и
заведена задача T62 на эту работу.
Согласованность теперь проверяется автоматически — check #12.
This commit is contained in:
1 parent
0ab45578d1
commit
d1f9025c20
8 files changed
+745
-43
No files matched your search
@@ -19,25 +19,108 @@
|
||||
"description": "Path to the target repository"
|
||||
},
|
||||
"goal": {
|
||||
"type": ["string", "null"],
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "Session goal (set by user, may be null until first task)"
|
||||
},
|
||||
"project_type": {
|
||||
"type": ["string", "null"],
|
||||
"enum": [null, "existing", "greenfield", "scaffold"],
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"enum": [
|
||||
null,
|
||||
"existing",
|
||||
"greenfield",
|
||||
"scaffold"
|
||||
],
|
||||
"description": "Type of the target project (set in ANALYSE phase)"
|
||||
},
|
||||
"phases": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"init": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"analyse": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"roadmap": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"design": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"decomposition": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"execution": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"metastate": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] },
|
||||
"handoff": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "skipped"] }
|
||||
"init": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"analyse": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"roadmap": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"design": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"decomposition": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"execution": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"metastate": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"handoff": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
@@ -47,11 +130,28 @@
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"status": { "type": "string", "enum": ["pending", "in_progress", "completed", "failed", "archived"] }
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"archived"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["id", "title", "status"],
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
@@ -59,8 +159,46 @@
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "ISO 8601 timestamp of last update"
|
||||
},
|
||||
"source_of_truth": {
|
||||
"type": "object"
|
||||
},
|
||||
"uncommitted_work": {
|
||||
"type": "object"
|
||||
},
|
||||
"host_state": {
|
||||
"type": "object"
|
||||
},
|
||||
"closed_attempts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"resolved_doc_drift": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol_deviations": {
|
||||
"type": "object"
|
||||
},
|
||||
"corrections_this_session": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"session_chain": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": ["metaagent_version", "session_id", "phases", "last_updated"],
|
||||
"required": [
|
||||
"metaagent_version",
|
||||
"session_id",
|
||||
"phases",
|
||||
"last_updated"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -8,7 +8,11 @@
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "Schema version (3.0 in v3.0+, 2.0 still valid from v2.1)",
|
||||
"enum": ["2.0", "3.0"]
|
||||
"enum": [
|
||||
"2.0",
|
||||
"3.0",
|
||||
"3.0.0"
|
||||
]
|
||||
},
|
||||
"decisions": {
|
||||
"type": "array",
|
||||
@@ -27,7 +31,12 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["proposed", "accepted", "deprecated", "superseded"],
|
||||
"enum": [
|
||||
"proposed",
|
||||
"accepted",
|
||||
"deprecated",
|
||||
"superseded"
|
||||
],
|
||||
"description": "ADR status"
|
||||
},
|
||||
"file": {
|
||||
@@ -38,9 +47,74 @@
|
||||
"type": "string",
|
||||
"format": "date",
|
||||
"description": "Decision date (ISO 8601)"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Free-form tags"
|
||||
},
|
||||
"task": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"resolution": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"moot_unless": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"resolved_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"related_artifact": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"supersedes_wrong_conclusion_of": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["id", "title", "file"],
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"file"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
@@ -53,8 +127,68 @@
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "ISO 8601 timestamp of last update"
|
||||
},
|
||||
"proposals": {
|
||||
"type": "array",
|
||||
"description": "Proposed ADRs not yet accepted (T38+ series)",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"proposed",
|
||||
"accepted",
|
||||
"withdrawn",
|
||||
"rejected"
|
||||
]
|
||||
},
|
||||
"date": {
|
||||
"type": "string"
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"task": {
|
||||
"type": "string"
|
||||
},
|
||||
"blocked_by": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resolution": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["version", "decisions"],
|
||||
"required": [
|
||||
"version",
|
||||
"decisions"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -6,9 +6,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "Schema version",
|
||||
"enum": ["3.0"]
|
||||
"type": "string"
|
||||
},
|
||||
"session_id": {
|
||||
"type": "string",
|
||||
@@ -44,7 +42,26 @@
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["feature", "refactor", "test", "fix", "config", "design", "docs", "invariant"],
|
||||
"enum": [
|
||||
"feature",
|
||||
"refactor",
|
||||
"test",
|
||||
"fix",
|
||||
"config",
|
||||
"design",
|
||||
"docs",
|
||||
"documentation",
|
||||
"deploy",
|
||||
"implementation",
|
||||
"decision",
|
||||
"verify",
|
||||
"security",
|
||||
"investigation",
|
||||
"review",
|
||||
"upstream",
|
||||
"question",
|
||||
"housekeeping"
|
||||
],
|
||||
"description": "Task type"
|
||||
},
|
||||
"origin": {
|
||||
@@ -53,17 +70,23 @@
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Files affected by this task"
|
||||
},
|
||||
"depends_on": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Task IDs this task depends on"
|
||||
},
|
||||
"acceptance_criteria": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Measurable criteria for completion"
|
||||
},
|
||||
"context": {
|
||||
@@ -72,7 +95,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["pending", "in_progress", "completed", "failed", "archived"],
|
||||
"enum": [
|
||||
"pending",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"failed",
|
||||
"archived"
|
||||
],
|
||||
"description": "Current task status"
|
||||
},
|
||||
"claimed_by": {
|
||||
@@ -83,13 +112,237 @@
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "When the task was claimed"
|
||||
},
|
||||
"priority": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"blocks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"notes": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"fixes": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"adr": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"completed_in_commits": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"verified_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"severity": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"critical"
|
||||
]
|
||||
},
|
||||
"verified": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"fix_landed": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"next_action_required": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"machine_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"patch_summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"moot_after": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"completed_in_session": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"verified_at_host": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"secret_ref": {
|
||||
"type": [
|
||||
"string",
|
||||
"array",
|
||||
"boolean",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"description": "Project extension field (documented in AGENTS.md / manifest.md)"
|
||||
},
|
||||
"verify_after_deploy": {
|
||||
"type": [
|
||||
"string",
|
||||
"boolean",
|
||||
"array",
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["id", "title", "type", "status"],
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"type",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"metaagent_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_repo": {
|
||||
"type": "string"
|
||||
},
|
||||
"project_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"existing",
|
||||
"greenfield",
|
||||
"scaffold"
|
||||
]
|
||||
},
|
||||
"date": {
|
||||
"type": "string"
|
||||
},
|
||||
"phases": {
|
||||
"type": "object",
|
||||
"description": "Phase state mirror (checkpoints.json is authoritative)",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"backlog_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"backlog_count_breakdown": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"backlog_note": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_updated": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"required": ["version", "tasks"],
|
||||
"required": [
|
||||
"version",
|
||||
"tasks"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user