hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

manifest.json (3148B)


      1 {
      2   "schema_version": 1,
      3   "program": "hyf_http_v1",
      4   "revision": "hyf_ops_v2",
      5   "selector": {
      6     "field": "context.versions.schema",
      7     "value": "hyf_ops_v2"
      8   },
      9   "envelope_version": 1,
     10   "activation": {
     11     "state": "pre_activation",
     12     "guard_error_code": "capability_unavailable",
     13     "owner": "C042-C046",
     14     "note": "Before activation a recognized hyf_ops_v2 request is parsed and then refused with capability_unavailable; it never reaches the legacy shortcut handlers even when their enable flag is set. C004 does not advertise v2 readiness."
     15   },
     16   "operations": {
     17     "farm_update.interpret": {
     18       "request_schema": "farm_update_interpret.request.schema.json",
     19       "response_schema": "farm_update_interpret.response.schema.json"
     20     },
     21     "buyer_request.interpret": {
     22       "request_schema": "buyer_request_interpret.request.schema.json",
     23       "response_schema": "buyer_request_interpret.response.schema.json"
     24     },
     25     "buyer_request.match": {
     26       "request_schema": "buyer_request_match.request.schema.json",
     27       "response_schema": "buyer_request_match.response.schema.json"
     28     }
     29   },
     30   "error_families": {
     31     "invalid_request": "malformed JSON/schema/type/selector/version/reference/scope inconsistency",
     32     "unsupported_capability": "unknown capability",
     33     "capability_disabled": "disabled legacy operation",
     34     "capability_unavailable": "recognized hyf_ops_v2 request before activation",
     35     "internal_error": "unexpected internal failure (sanitized)"
     36   },
     37   "semantic_cases": "semantic-cases.json",
     38   "version_manifest": "version_manifest.json",
     39   "domain_manifest": "domain_manifest.json",
     40   "money_binding": {
     41     "schema": "buyer_request_match.request.schema.json#/$defs/snapshot_price",
     42     "fees": "buyer_request_match.request.schema.json#/$defs/money_fees",
     43     "note": "ADR-0027 D47 BP01: snapshot.price binds the existing scaled money representation (state/amount/scale/currency/basis) distinct from the reported-quantity decimal projection. known requires a canonical nonnegative integer amount, integer scale 0..9, nonblank currency and basis per_unit|per_pack|per_order (zero is known); unknown requires amount/scale/currency null and basis unknown and is never free. Optional closed fees {kind,amount,scale,currency} are the separate money-schema family. Legacy hyf_v1_jev money schema/domain constructors are unchanged; C009 enforces the checked int64 coefficient and typed mapping."
     44   },
     45   "provenance_binding": {
     46     "farm": "farm_update_interpret.response.schema.json#/$defs/farm_output_provenance",
     47     "buyer": "buyer_request_interpret.response.schema.json#/$defs/interpret_output_provenance",
     48     "match": "buyer_request_match.response.schema.json#/$defs/match_output_provenance",
     49     "note": "ADR-0027 D47 BP01: every successful output requires a closed provenance object carrying only the immutable identities actually used, independently of optional detailed evidence and context.return_provenance. Error envelopes carry no output/provenance. Identity equality, actual use, uniqueness and coverage/allocation agreement are semantic obligations owned by C009/C023/C030/C038/C041."
     50   }
     51 }