Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions schemas/bundle.schema.patch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "JSON Merge Patch-style fragment showing new agent-runtime fields to add under spec.",
"spec": {
"sessionPolicyRef": {
"type": "string"
},
"skillRefs": {
"type": "array",
"items": {
"type": "string"
}
},
"memoryNamespace": {
"type": "string"
},
"worktreeStrategy": {
"enum": [
"none",
"existing",
"create-temp",
"named"
]
},
"rolloutFlags": {
"type": "array",
"items": {
"type": "string"
}
},
"telemetrySink": {
"type": "string"
},
"receiptSchemaVersion": {
"type": "string"
}
}
}
39 changes: 39 additions & 0 deletions schemas/promotion-artifact.schema.v0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Agentplane Promotion Artifact v0.1",
"type": "object",
"required": [
"kind",
"bundle",
"capturedAt",
"promotionReceiptRef",
"promotedObjectRef"
],
"properties": {
"kind": {
"const": "PromotionArtifact"
},
"bundle": {
"type": "string"
},
"capturedAt": {
"type": "string",
"format": "date-time"
},
"promotionReceiptRef": {
"type": "string",
"pattern": "^urn:srcos:receipt:promotion:"
},
"promotedObjectRef": {
"type": "string"
},
"reviewSessionRef": {
"type": [
"string",
"null"
],
"pattern": "^urn:srcos:session:"
}
},
"additionalProperties": false
}
39 changes: 39 additions & 0 deletions schemas/reversal-artifact.schema.v0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Agentplane Reversal Artifact v0.1",
"type": "object",
"required": [
"kind",
"bundle",
"capturedAt",
"sourcePromotionReceiptRef",
"reversalHandle"
],
"properties": {
"kind": {
"const": "ReversalArtifact"
},
"bundle": {
"type": "string"
},
"capturedAt": {
"type": "string",
"format": "date-time"
},
"sourcePromotionReceiptRef": {
"type": "string",
"pattern": "^urn:srcos:receipt:promotion:"
},
"reversalHandle": {
"type": "string"
},
"status": {
"enum": [
"started",
"succeeded",
"failed"
]
}
},
"additionalProperties": false
}
57 changes: 57 additions & 0 deletions schemas/session-artifact.schema.v0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Agentplane Session Artifact v0.1",
"type": "object",
"required": [
"kind",
"bundle",
"capturedAt",
"sessionRef",
"status"
],
"properties": {
"kind": {
"const": "SessionArtifact"
},
"bundle": {
"type": "string"
},
"capturedAt": {
"type": "string",
"format": "date-time"
},
"sessionRef": {
"type": "string",
"pattern": "^urn:srcos:session:"
},
"status": {
"enum": [
"success",
"failure",
"paused",
"deferred",
"canceled"
]
},
"receiptRef": {
"type": [
"string",
"null"
],
"pattern": "^urn:srcos:receipt:session:"
},
"runArtifactRef": {
"type": [
"string",
"null"
]
},
"replayArtifactRef": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Loading