重构 改为标准化输出

This commit is contained in:
2026-09-01 14:10:23 +08:00
parent 7533b298f1
commit bc87bd6d2d
10151 changed files with 1709487 additions and 11776 deletions
@@ -0,0 +1,10 @@
{"at":"2026-08-31 20:31:12","draft_path":"documents/requirements-draft-v1-4ab22812c3b4-cad_c1d62e0655f9_inv_ac0bae75b2e.json","draft_revision":1,"event":"requirements_draft_updated","invocation_id":"cad_c1d62e0655f9_inv_ac0bae75b2ef54fb","item_count":2,"schema_version":"cad.action-ledger.v1","sequence":151}
{"at":"2026-08-31 20:31:16","draft_revision":1,"event":"requirements_review_requested","invocation_id":"cad_c1d62e0655f9_inv_65db3e6bd273e7e1","schema_version":"cad.action-ledger.v1","sequence":152}
{"at":"2026-08-31 20:31:28","event":"requirements_review_revise","invocation_id":"cad_c1d62e0655f9_inv_bfd3132aa8fe2c20","review_path":"documents/requirements-review-55078f5ae346-cad_c1d62e0655f9_inv_bfd3132aa8f.json","schema_version":"cad.action-ledger.v1","sequence":153}
{"at":"2026-08-31 20:31:41","draft_path":"documents/requirements-draft-v2-5ac11ec6cfd8-cad_c1d62e0655f9_inv_e2b9926074f.json","draft_revision":2,"event":"requirements_draft_patched","invocation_id":"cad_c1d62e0655f9_inv_e2b9926074f547c7","item_count":2,"schema_version":"cad.action-ledger.v1","sequence":154}
{"at":"2026-08-31 20:31:45","draft_revision":2,"event":"requirements_review_requested","invocation_id":"cad_c1d62e0655f9_inv_cd181476a2ad5d84","schema_version":"cad.action-ledger.v1","sequence":155}
{"at":"2026-08-31 20:31:52","event":"requirements_review_revise","invocation_id":"cad_c1d62e0655f9_inv_3757613f706dec24","review_path":"documents/requirements-review-ff24ab59ee51-cad_c1d62e0655f9_inv_3757613f706.json","schema_version":"cad.action-ledger.v1","sequence":156}
{"at":"2026-08-31 20:32:07","draft_path":"documents/requirements-draft-v3-f794039e3aa7-cad_c1d62e0655f9_inv_0c8588a9ece.json","draft_revision":3,"event":"requirements_draft_patched","invocation_id":"cad_c1d62e0655f9_inv_0c8588a9ece9beba","item_count":2,"schema_version":"cad.action-ledger.v1","sequence":157}
{"at":"2026-08-31 20:32:11","draft_revision":3,"event":"requirements_review_requested","invocation_id":"cad_c1d62e0655f9_inv_4cc7493bab32c400","schema_version":"cad.action-ledger.v1","sequence":158}
{"at":"2026-08-31 20:32:27","event":"requirements_review_revise","invocation_id":"cad_c1d62e0655f9_inv_39dae2d36201e239","review_path":"documents/requirements-review-91a1c6fa371a-cad_c1d62e0655f9_inv_39dae2d3620.json","schema_version":"cad.action-ledger.v1","sequence":159}
{"at":"2026-08-31 20:32:27","draft_revision":3,"event":"requirements_review_limit_reached","schema_version":"cad.action-ledger.v1","sequence":160}
@@ -0,0 +1,64 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 60
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 50
}
},
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "生成一个阀块试件,外形为长80毫米、宽60毫米、高50毫米的实心零件。"
},
{
"acceptance_claims": [
{
"claim_kind": "orthogonal_intersecting_through_bores",
"expected": {
"first_diameter_mm": 20,
"second_diameter_mm": 12,
"tolerance_mm": 0.01
}
}
],
"assumptions": [],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "零件上加工两条相互正交并在零件中心相交的贯穿圆孔,其中沿长度方向的孔直径为20毫米,沿宽度方向的孔直径为12毫米。"
}
],
"revision": 1,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,73 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 60
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 50
}
},
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "生成一个阀块试件,外形为长80毫米、宽60毫米、高50毫米的实心零件。"
},
{
"acceptance_claims": [
{
"claim_kind": "orthogonal_intersecting_through_bores",
"expected": {
"first_diameter_mm": 20,
"second_diameter_mm": 12,
"tolerance_mm": 0.01
}
},
{
"claim_kind": "visual",
"expected": {
"description": "A 20 mm through bore runs along the length/x direction, a 12 mm through bore runs along the width/y direction, and their axes intersect at the geometric center of the 80 x 60 x 50 mm block."
}
}
],
"assumptions": [
"Length corresponds to the x axis and width corresponds to the y axis.",
"The two through bores intersect at the block center point."
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "零件上加工两条相互正交并在零件几何中心相交的贯穿圆孔,其中沿长度方向(x 轴)的孔直径为20毫米,沿宽度方向(y 轴)的孔直径为12毫米。"
}
],
"revision": 2,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,90 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 60
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 50
}
},
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "生成一个阀块试件,外形为长80毫米、宽60毫米、高50毫米的实心零件。"
},
{
"acceptance_claims": [
{
"claim_kind": "through_cylindrical_bore",
"expected": {
"count": 1,
"diameter_mm": 20,
"tolerance_mm": 0.01
}
},
{
"claim_kind": "through_cylindrical_bore",
"expected": {
"count": 1,
"diameter_mm": 12,
"tolerance_mm": 0.01
}
},
{
"claim_kind": "orthogonal_intersecting_through_bores",
"expected": {
"first_diameter_mm": 20,
"second_diameter_mm": 12,
"tolerance_mm": 0.01
}
},
{
"claim_kind": "visual",
"expected": {
"description": "A 20 mm through bore runs along the length/x direction through the full 80 mm extent of the block, a 12 mm through bore runs along the width/y direction through the full 60 mm extent of the block, and the two bore axes intersect at the geometric center of the 80 x 60 x 50 mm block."
}
}
],
"assumptions": [
"Length corresponds to the x axis and width corresponds to the y axis.",
"Both bores are centered on the block midplanes so their axes intersect at the geometric center.",
"Each bore extends fully through the block in its respective direction."
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "零件上加工两条相互正交并在零件几何中心相交的贯穿圆孔,其中沿长度方向(x 轴)的孔直径为20毫米,沿宽度方向(y 轴)的孔直径为12毫米。"
}
],
"revision": 3,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,30 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 does not include executable acceptance criteria tying the 20 mm bore axis specifically to the length/x direction and the 12 mm bore axis specifically to the width/y direction.",
"draft_002 states the bore axes intersect at the part center in prose, but the acceptance claim only checks orthogonal intersecting through bores and does not explicitly verify intersection at the part center."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,30 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 represents the required x-axis/length orientation for the 20 mm through bore and y-axis/width orientation for the 12 mm through bore only in visual prose/assumptions, not as exact executable acceptance claims.",
"draft_002 does not include an exact executable acceptance claim that the intersecting bore axes pass through the geometric center of the 80 x 60 x 50 mm block; the center condition is only stated in prose/assumptions."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,30 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 lacks exact executable acceptance claims for bore orientations along x and y, through extent through the full block, and center-axis intersection/location; these are only partly represented in prose/visual text.",
"draft_002 diameter tolerance is 0.01 mm while the source gives nominal diameters without such a strict manufacturing tolerance; executable claims should be feasible but not overconstrain beyond the source unless accepted by policy."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,6 @@
{
"schema_version": "cad.source-index.v1",
"sources": {
"src_001": "生成一个阀块试件,长80毫米,宽60毫米,高50毫米。沿长度方向加工一个直径20毫米的贯穿孔,沿宽度方向加工一个直径12毫米的贯穿孔,两个孔的轴线在零件中心相交。"
}
}
@@ -0,0 +1 @@
生成一个阀块试件,长80毫米,宽60毫米,高50毫米。沿长度方向加工一个直径20毫米的贯穿孔,沿宽度方向加工一个直径12毫米的贯穿孔,两个孔的轴线在零件中心相交。