Přeskočit obsah

Corpus Passage Evidence Preparation Request v1

Source schema: doc/schemas/corpus-passage-evidence.prepare.request.v1.schema.json

Request to fix the evidence one Agent passage will read (P094-023a). It names the Corpus inference-Flow binding of the passage and each wanted item by exact ref and digest; latest is never an input. The host reads every item as the binding's Room subject and answers an immutable manifest, or refuses. A reviewer passage's evidence names its review target: the exact proposal and candidate under review, fixed before inference; the candidate is then a required, included item. Projection revision 1 retains its historical shape and requires an item. Revision 2 binds a package-owned, host-derived phase, permits empty initial evidence and separates current candidate from historical reviews. The host checks that every phase basis is required, included and exact; it never truncates evidence.

Fields

Field Required Shape Description
schema yes const: corpus-passage-evidence.prepare.request.v1
inference-flow-binding/ref yes string
projection yes ref: #/$defs/projection
bytes/max yes integer
items yes array
review/target no ref: #/$defs/review-target

Definitions

Definition Shape Description
projection object
review-target object

Conditional Rules

Rule 1

When:

{
  "properties": {
    "projection": {
      "properties": {
        "revision": {
          "const": 1
        }
      }
    }
  }
}

Then:

{
  "properties": {
    "items": {
      "minItems": 1
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: corpus-passage-evidence.prepare.request.v1

inference-flow-binding/ref

  • Required: yes
  • Shape: string

projection

  • Required: yes
  • Shape: ref: #/$defs/projection

bytes/max

  • Required: yes
  • Shape: integer

items

  • Required: yes
  • Shape: array

review/target

  • Required: no
  • Shape: ref: #/$defs/review-target

Definition Semantics

$defs.projection

  • Shape: object

$defs.review-target

  • Shape: object