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
79 changes: 79 additions & 0 deletions asyncapi.agent-plane.patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,82 @@ channels:
type: string
description: The `objectId` URN of the ReleaseReceipt.

srcos.v2.artifact.events:
description: Events emitted when shell artifacts are derived, signed, or validated.
bindings:
kafka:
topic: srcos.v2.artifact.events
partitions: 3
replicas: 3
topicConfiguration:
retention.ms: 2592000000
cleanup.policy: delete
publish:
operationId: publishArtifactEvent
summary: Publish an artifact lifecycle event
description: Publishes an event for ArtifactManifest upsert, signing, and validation outcomes.
message:
name: ArtifactEvent
title: Artifact Lifecycle Event
contentType: application/json
payload: { $ref: './schemas/EventEnvelope.json' }

srcos.v2.annotation.events:
description: Events emitted when annotation exports are recorded.
bindings:
kafka:
topic: srcos.v2.annotation.events
partitions: 3
replicas: 3
topicConfiguration:
retention.ms: 604800000
cleanup.policy: delete
publish:
operationId: publishAnnotationEvent
summary: Publish an annotation export event
description: Publishes an event whenever an AnnotationExport is recorded.
message:
name: AnnotationEvent
title: Annotation Export Event
contentType: application/json
payload: { $ref: './schemas/EventEnvelope.json' }

srcos.v2.run.events:
description: Events emitted when run reports or Noether diagnostics are recorded.
bindings:
kafka:
topic: srcos.v2.run.events
partitions: 3
replicas: 3
topicConfiguration:
retention.ms: 2592000000
cleanup.policy: delete
publish:
operationId: publishRunEvent
summary: Publish a run/report event
description: Publishes events for RunReport and NoetherDiagnostic objects.
message:
name: RunEvent
title: Run Report Event
contentType: application/json
payload: { $ref: './schemas/EventEnvelope.json' }

srcos.v2.publish.events:
description: Events emitted when publish decisions or mirror receipts are recorded.
bindings:
kafka:
topic: srcos.v2.publish.events
partitions: 3
replicas: 3
topicConfiguration:
retention.ms: 2592000000
cleanup.policy: delete
publish:
operationId: publishPublishEvent
summary: Publish a publish/mirror event
description: Publishes events for PublishDecision and MirrorReceipt objects.
message:
name: PublishEvent
title: Publish and Mirror Event
contentType: application/json
payload: { $ref: './schemas/EventEnvelope.json' }
119 changes: 119 additions & 0 deletions openapi.agent-plane.patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,122 @@ paths:
'422':
description: Request body is valid JSON but fails schema validation.

/v2/artifacts/manifest:
post:
operationId: upsertArtifactManifest
summary: Upsert an ArtifactManifest
description: Creates or updates a shell/document artifact manifest for a derived artifact such as a PDF.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/ArtifactManifest.json' }
responses:
'200':
description: ArtifactManifest recorded successfully.

/v2/artifacts/signature:
post:
operationId: recordSignedArtifact
summary: Record a SignedArtifact
description: Persists the signature metadata associated with a signed artifact.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/SignedArtifact.json' }
responses:
'200':
description: SignedArtifact recorded successfully.

/v2/artifacts/validation:
post:
operationId: recordPdfValidationReport
summary: Record a PdfValidationReport
description: Persists a PDF validation report for an artifact.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/PdfValidationReport.json' }
responses:
'200':
description: PdfValidationReport recorded successfully.

/v2/annotations/export:
post:
operationId: recordAnnotationExport
summary: Record an AnnotationExport
description: Persists an annotation export from PDF or HTML review surfaces.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/AnnotationExport.json' }
responses:
'200':
description: AnnotationExport recorded successfully.

/v2/runs/report:
post:
operationId: recordRunReport
summary: Record a RunReport
description: Persists a run report describing workflow artifacts and publication outputs.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/RunReport.json' }
responses:
'200':
description: RunReport recorded successfully.

/v2/diagnostics/noether:
post:
operationId: recordNoetherDiagnostic
summary: Record a NoetherDiagnostic
description: Persists a Noether diagnostic reading for a model layer or run.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/NoetherDiagnostic.json' }
responses:
'200':
description: NoetherDiagnostic recorded successfully.

/v2/publish/decisions:
post:
operationId: recordPublishDecision
summary: Record a PublishDecision
description: Persists a publish decision across knowledge, value, and ecosystem openness lanes.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/PublishDecision.json' }
responses:
'200':
description: PublishDecision recorded successfully.

/v2/mirror/receipts:
post:
operationId: recordMirrorReceipt
summary: Record a MirrorReceipt
description: Persists a receipt for an artifact mirrored to a downstream channel.
tags: [Agent Plane]
requestBody:
required: true
content:
application/json:
schema: { $ref: './schemas/MirrorReceipt.json' }
responses:
'200':
description: MirrorReceipt recorded successfully.