forked from 1b-agent/opencadstudio-upstream
ocs_doc_api: Phase 3-ii — typed AttributeDefinition create (Phase 3 complete)
- CreateAttributeDefinition(AttributeDefinitionSpec) op (append-only). - backend add_attribute_definition (ATTDEF tag/prompt/default/insertion/height/rotation). - facade create_attribute_definition; entity_kind_name AttributeDefinition/AttributeEntity. - spec AttributeDefinition family; api_reference + binding_schema regenerated; mocks + baseline. - Test phase3ii_create_attribute_definition -> 614 host lib + 3 consistency green.
This commit is contained in:
1 parent
8d8c120880
commit
f8ae54a351
14 files changed
+128
-3
No files matched your search
@@ -87,8 +87,9 @@ Phase 2b (annotations/hatch/dimension typed ops), attributes + nested traversal
|
||||
(`GetAttributes`), and `block_entities(block_name)` → read-only nested traversal
|
||||
of a block definition's entities (`GetBlockEntities`). Covered by
|
||||
`phase3_attributes_and_block_traversal` test.
|
||||
- **Remaining:** typed `AttributeDefinition` (in-block attribute-definition)
|
||||
create.
|
||||
- **Done (attribute definitions):** `create_attribute_definition(tag, prompt,
|
||||
default, point, height, rotation)` → `Operation::CreateAttributeDefinition`;
|
||||
reports kind `AttributeDefinition`. Covered by `phase3ii_*` test. Phase 3 is complete.
|
||||
|
||||
### Phase 4 — paper-space & viewports
|
||||
- **Done:** `create_viewport(center, width, height, view_target, view_height)` →
|
||||
|
||||
Reference in new issue
Block a user