chore(agent): close T3/T20/T38/T57 and sync metadata with the tree
test-runner / smoke (push) Successful in 1s
nixos flake checks / invariant-checks (push) Canceled after 0s

- T3: premise refuted by a runtime 'nft list ruleset' on otreca - 'inet nixos-fw'
  already has 'policy drop'; the hand-written 'inet filter' only rate-limits SYN
  and must NOT get a drop (it would blackhole the VDS). AGENTS invariant 6 and
  the traps table updated; T3-A proposal marked withdrawn. No code change.
- T38: herdr_web_token rotated (old -> 401, new -> 200); literal removed from
  manifest.json (token -> secret_ref). Old token in git history is now invalid.
- T20: completed (100755, bash invocation, .gitea workflow).
- T57: T38-T57 registered in manifest.json, schemas aligned with the real
  format, dangling request.json $schema resolved, new dependency-free
  validator wired as check #9.
- T4/T52: completed; invariant 2, R1.2, ADR-0004 and project-state updated;
  checkpoints.phases.execution -> completed, handoff -> in_progress.
- T58 filed: triple 'allowedUDPPorts = [ 53 ]' duplicate.

AGENTS.md also carries the .omo trap-row update from the parallel opencode
session (commit 8079536), which was left uncommitted in the shared tree.
This commit is contained in:
oqyude committed 2026-10-25 02:10:18 +03:00
1 parent 066b3acec1
commit 5f3131ea3e
15 files changed
+1539 -180

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
}
@@ -0,0 +1,91 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "metaagent/request/1.0",
"title": "MetaAgent Handoff Request",
"type": "object",
"properties": {
"template_version": {
"type": "string"
},
"request_id": {
"type": "string"
},
"task_id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ready_for_review",
"approved",
"changes_requested",
"rejected"
]
},
"created_at": {
"type": "string"
},
"goal": {
"type": "string"
},
"changes": {
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"commits": {
"type": "array",
"items": {
"type": "string"
}
},
"files_changed": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"summary"
],
"additionalProperties": false
},
"verification": {
"type": "object",
"properties": {
"tests_passed": {
"type": [
"string",
"boolean"
]
},
"lsp_clean": {
"type": "boolean"
}
},
"additionalProperties": false
},
"fulfills_ac": {
"type": "array",
"items": {
"type": "string"
}
},
"$schema": {
"type": "string"
}
},
"required": [
"template_version",
"request_id",
"task_id",
"title",
"status"
],
"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
}