save progress
This commit is contained in:
@@ -93,6 +93,22 @@ This contract defines the canonical `richgraph-v1` schema used for function-leve
|
||||
| `confidence` | number | Yes | Confidence [0.0-1.0]: `certain`=1.0, `high`=0.9, `medium`=0.6, `low`=0.3 |
|
||||
| `evidence` | string[] | No | Evidence sources (sorted) |
|
||||
| `candidates` | string[] | No | Alternative resolution candidates (sorted) |
|
||||
| `gate_multiplier_bps` | number | No | Combined gate multiplier for this edge in basis points (10000 = 100%) |
|
||||
| `gates` | object[] | No | Gate annotations (sorted) |
|
||||
|
||||
#### Gate Schema (optional)
|
||||
|
||||
When `gates` is present, each element follows:
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
|-------|------|----------|-------------|
|
||||
| `type` | string | Yes | Gate type: `authRequired`, `featureFlag`, `adminOnly`, `nonDefaultConfig` |
|
||||
| `guard_symbol` | string | Yes | Symbol where gate was detected |
|
||||
| `source_file` | string | No | Source file location (if available) |
|
||||
| `line_number` | number | No | Line number (if available) |
|
||||
| `detection_method` | string | Yes | Detector/method identifier |
|
||||
| `confidence` | number | Yes | Confidence [0.0-1.0] |
|
||||
| `detail` | string | Yes | Human-readable description |
|
||||
|
||||
### Root Schema
|
||||
|
||||
|
||||
Reference in New Issue
Block a user