Integrate 2.1 workflow and prepare release 2.2.0

This commit is contained in:
Codex Agent
2026-09-23 10:44:41 +08:00
17 changed files with 462 additions and 3 deletions
+6 -1
View File
@@ -13,10 +13,15 @@ def check() -> list:
skill = ROOT / "skills/codex-subagent-router"
for name in ("SKILL.md", "agents/openai.yaml", "references/lifecycle.md",
"references/platforms.md", "references/evidence-packet.md",
"references/routing-matrix.md", "scripts/validate_evidence_packet.py"):
"references/routing-matrix.md", "references/escalation.md", "references/fleet.md",
"references/gpt6-adaptation.md", "references/model-economics.md",
"scripts/validate_decision_record.py", "scripts/validate_evidence_packet.py"):
if not (skill / name).is_file():
errors.append("missing skill resource: " + name)
entry = (skill / "SKILL.md").read_text(encoding="utf-8")
version = (ROOT / "VERSION").read_text(encoding="utf-8").strip()
if not re.fullmatch(r"\d+\.\d+\.\d+", version) or "Version " + version + "." not in entry:
errors.append("invalid or inconsistent package version")
if not re.match(r"\A---\nname: codex-subagent-router\ndescription: .+\n---\n", entry):
errors.append("invalid expected skill frontmatter")
metadata = (skill / "agents/openai.yaml").read_text(encoding="utf-8")