重构 改为标准化输出

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:27:47","draft_path":"documents/requirements-draft-v1-42ed47fd8a74-cad_75144c5a307a_inv_86d451c84cb.json","draft_revision":1,"event":"requirements_draft_updated","invocation_id":"cad_75144c5a307a_inv_86d451c84cbcb3d3","item_count":5,"schema_version":"cad.action-ledger.v1","sequence":131}
{"at":"2026-08-31 20:27:49","draft_revision":1,"event":"requirements_review_requested","invocation_id":"cad_75144c5a307a_inv_35a5e85f997ae388","schema_version":"cad.action-ledger.v1","sequence":132}
{"at":"2026-08-31 20:28:05","event":"requirements_review_revise","invocation_id":"cad_75144c5a307a_inv_15f7629c5b0e3baf","review_path":"documents/requirements-review-17cc8f6bbbb8-cad_75144c5a307a_inv_15f7629c5b0.json","schema_version":"cad.action-ledger.v1","sequence":133}
{"at":"2026-08-31 20:28:32","draft_path":"documents/requirements-draft-v2-b890ef128e09-cad_75144c5a307a_inv_e786407a2ef.json","draft_revision":2,"event":"requirements_draft_patched","invocation_id":"cad_75144c5a307a_inv_e786407a2ef86be1","item_count":5,"schema_version":"cad.action-ledger.v1","sequence":134}
{"at":"2026-08-31 20:28:38","draft_revision":2,"event":"requirements_review_requested","invocation_id":"cad_75144c5a307a_inv_a96409976170e5fe","schema_version":"cad.action-ledger.v1","sequence":135}
{"at":"2026-08-31 20:28:56","event":"requirements_review_revise","invocation_id":"cad_75144c5a307a_inv_e6cfa914b485f0a2","review_path":"documents/requirements-review-80cff73caa8d-cad_75144c5a307a_inv_e6cfa914b48.json","schema_version":"cad.action-ledger.v1","sequence":136}
{"at":"2026-08-31 20:29:17","draft_path":"documents/requirements-draft-v3-c1263585992a-cad_75144c5a307a_inv_074033323a4.json","draft_revision":3,"event":"requirements_draft_patched","invocation_id":"cad_75144c5a307a_inv_074033323a4f4893","item_count":5,"schema_version":"cad.action-ledger.v1","sequence":137}
{"at":"2026-08-31 20:29:20","draft_revision":3,"event":"requirements_review_requested","invocation_id":"cad_75144c5a307a_inv_f5d189cddf353384","schema_version":"cad.action-ledger.v1","sequence":138}
{"at":"2026-08-31 20:29:31","event":"requirements_review_revise","invocation_id":"cad_75144c5a307a_inv_f8d8457ff14cbe08","review_path":"documents/requirements-review-2c0accd90a2f-cad_75144c5a307a_inv_f8d8457ff14.json","schema_version":"cad.action-ledger.v1","sequence":139}
{"at":"2026-08-31 20:29:31","draft_revision":3,"event":"requirements_review_limit_reached","schema_version":"cad.action-ledger.v1","sequence":140}
@@ -0,0 +1,134 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 120
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "single_connected_body",
"expected": {}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "Create a rectangular base plate with overall dimensions 120 mm by 80 mm by 20 mm."
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "A rectangular pocket is present on the top face and centered relative to the base plate."
}
}
],
"assumptions": [],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "Machine a centered rectangular pocket on the top face of the base plate."
},
{
"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": 45
}
},
{
"claim_kind": "cylindrical_bore_depth",
"expected": {
"depth_mm": 12,
"diameter_mm": 1,
"tolerance_mm": 0.1
}
}
],
"assumptions": [],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "The rectangular pocket shall measure 80 mm by 45 mm in plan view and 12 mm in depth."
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "All four internal pocket corners are rounded with radius R6."
}
}
],
"assumptions": [],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "The pocket corners shall have a radius of R6."
},
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket depth leaves an 8 mm bottom wall under the pocket floor."
}
}
],
"assumptions": [],
"draft_id": "draft_005",
"source_ids": [
"src_001"
],
"statement": "The pocket bottom shall leave 8 mm of material remaining through the full base thickness."
}
],
"revision": 1,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,149 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 120
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "single_connected_body",
"expected": {}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "Create a rectangular base plate with overall dimensions 120 mm by 80 mm by 20 mm."
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "The pocket is centered on the top face of the base plate and its sides are aligned with the base plate edges."
}
}
],
"assumptions": [
"The pocket is located on the top face of the 120 mm by 80 mm base plate and centered in both plan directions."
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "Machine a centered rectangular pocket on the top face of the base plate."
},
{
"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": 45
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 12
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket is a rectangular recess with a flat bottom."
}
}
],
"assumptions": [
"The 80 mm by 45 mm size refers to the pocket opening in plan view.",
"The 12 mm dimension refers to pocket depth measured downward from the top face."
],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "The rectangular pocket shall measure 80 mm by 45 mm in plan view and 12 mm in depth."
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "All four internal pocket corners are rounded with radius R6."
}
}
],
"assumptions": [
"The pocket has four internal corners and each corner uses the same radius."
],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "The pocket corners shall have a radius of R6."
},
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket floor leaves an 8 mm bottom wall under the recess."
}
}
],
"assumptions": [
"The pocket depth is 12 mm measured from the top face of the 20 mm base plate, leaving 8 mm of material below the pocket floor."
],
"draft_id": "draft_005",
"source_ids": [
"src_001"
],
"statement": "The pocket bottom shall leave 8 mm of material remaining through the full base thickness."
}
],
"revision": 2,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,174 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 120
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 80
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "single_connected_body",
"expected": {}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "Create a rectangular base plate with overall dimensions 120 mm by 80 mm by 20 mm."
},
{
"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": 45
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 12
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket is centered on the top face of the base plate and its sides are aligned with the base plate edges."
}
}
],
"assumptions": [
"The pocket is located on the top face of the 120 mm by 80 mm base plate.",
"The pocket opening is centered in both plan directions, with equal edge offsets on opposite sides."
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "Machine a centered rectangular pocket on the top face of the base plate."
},
{
"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": 45
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 12
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket is a rectangular recess with a flat bottom."
}
}
],
"assumptions": [
"The 80 mm by 45 mm size refers to the pocket opening in plan view.",
"The 12 mm dimension refers to pocket depth measured downward from the top face."
],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "The rectangular pocket shall measure 80 mm by 45 mm in plan view and 12 mm in depth."
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "All four internal pocket corners are rounded with radius R6."
}
}
],
"assumptions": [
"The pocket has four internal corners and each corner uses the same radius."
],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "The pocket corners shall have a radius of R6."
},
{
"acceptance_claims": [
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 20
}
},
{
"claim_kind": "visual",
"expected": {
"description": "The pocket floor leaves an 8 mm bottom wall under the recess."
}
}
],
"assumptions": [
"The pocket depth is 12 mm measured from the top face of the 20 mm base plate, leaving 8 mm of material below the pocket floor."
],
"draft_id": "draft_005",
"source_ids": [
"src_001"
],
"statement": "The pocket bottom shall leave 8 mm of material remaining through the full base thickness."
}
],
"revision": 3,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,53 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004",
"req_005"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 represents the top-face location and centered relationship only as a visual claim; these need exact executable acceptance claims for orientation/placement and centering offsets.",
"draft_003 uses whole-object bbox_dimension claims for the pocket plan size and a cylindrical_bore_depth claim with diameter 1 for rectangular pocket depth; these are not feasible/exact claims for an 80 x 45 x 12 rectangular pocket.",
"draft_004 represents the R6 internal corner requirement only as a visual claim; it needs an executable radius claim for all four pocket corners and the count of four corners.",
"draft_005 represents the remaining 8 mm bottom wall only as a visual claim; the duplicate overall z bbox does not verify the residual thickness under the pocket floor."
],
"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"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "claim_unverifiable",
"verdict": "revise"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_005",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,52 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004",
"req_005"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 and draft_003 use bbox_dimension_mm claims for pocket dimensions, but a pocket is a recess within the solid rather than a standalone body bounding box; executable claims should directly measure the pocket opening length 80 mm, width 45 mm, and depth 12 mm.",
"draft_004 represents R6 corner radius only as a visual claim; the 6 mm radius is an independently measurable numeric requirement and needs an exact executable radius claim for all four pocket corners.",
"draft_005 represents the remaining 8 mm bottom thickness only as a visual claim; the 8 mm remaining material is independently measurable and needs an exact executable thickness or floor elevation claim."
],
"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"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_005",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,52 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004",
"req_005"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 covers centered top-face pocket placement only with a visual claim; the centered geometric relationship needs exact executable checks such as pocket center coincident with plate center or equal edge offsets.",
"draft_004 covers the R6 pocket corner radius only with a visual claim; the independently measurable 6 mm radius needs an exact executable radius claim for all four internal corners.",
"draft_005 covers the remaining 8 mm bottom wall only with a visual claim; the independently measurable remaining thickness needs an exact executable 8 mm claim, not only prose or inference from other items."
],
"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"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_005",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,6 @@
{
"schema_version": "cad.source-index.v1",
"sources": {
"src_001": "生成一个矩形底板,长120毫米,宽80毫米,厚20毫米,在顶面中心加工一个长80毫米、宽45毫米、深12毫米的矩形口袋,口袋四角圆角R6,底部保留8毫米厚度。"
}
}
@@ -0,0 +1 @@
生成一个矩形底板,长120毫米,宽80毫米,厚20毫米,在顶面中心加工一个长80毫米、宽45毫米、深12毫米的矩形口袋,口袋四角圆角R6,底部保留8毫米厚度。