Commit ac64452
committed
data_validation: point the agentdataflow central schema at the dataset-local one
#62 settled the direction: dataset-local schemas are authoritative, the
central data_validation/schemas/*.json are historical stubs. This is the
follow-up promised there for agentdataflow_trace.schema.json specifically.
The file becomes a $ref into
datasets/agentdataflow_toolexchange_traces/schema.json, with a $comment
naming the concrete divergences (trace_id shape, typed spans instead of an
untyped array, the disposition enum, required provenance evidence) and
pointing at #62 for why each one is deliberate. Nothing in the codebase
currently loads or validates against this file - grepped for both
"agentdataflow_trace.schema.json" and "exploit.schema.json" across .py,
.md, and .yml and found no reference - so this is a documentation fix, not
a behavior change, and there is nothing to test beyond the file parsing as
JSON, which it does.
The same drift exists between datasets/exploit_dataset/schema.json and
data_validation/schemas/exploit.schema.json; filed as a separate issue
rather than fixed here, since it's a different dataset's call to make and
this PR should stay reviewable as one change.1 parent 4188a6a commit ac64452
1 file changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
16 | 5 | | |
0 commit comments