@inneranimalmedia/agentsam-sdk 2.6.17 → 2.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTSAM.md +19 -0
- package/README.md +15 -0
- package/apps/agentsam-copro-studio/agentsam.app.json +125 -0
- package/apps/cad-creator/agentsam.app.json +230 -0
- package/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/cad-creator/shared/cad/src/index.ts +1 -0
- package/apps/cad-creator/shared/cad/src/lighting.test.ts +32 -0
- package/apps/cad-creator/shared/cad/src/lighting.ts +79 -0
- package/apps/cad-creator/shared/cad/src/types.ts +106 -4
- package/apps/design-canvas/agentsam.app.json +144 -0
- package/apps/ecommerce-cms-agentsam/agentsam.app.json +658 -0
- package/apps/local-studio/agentsam.app.json +271 -0
- package/apps/samsketch/agentsam.app.json +136 -0
- package/contracts/source-types.v2.json +86 -1
- package/docs/CAPABILITIES.md +56 -0
- package/docs/PRODUCT_LIFECYCLE.md +2 -0
- package/docs/REPOSITORY_KNOWLEDGE.md +24 -0
- package/docs/adr/ADR-0010-widget-contributions-registry-persistence.md +60 -0
- package/docs/architecture/ACP_D1_HOSTING.md +67 -0
- package/docs/architecture/AGENTSAM-PRODUCT-CATALOG-RELEASES-20261028.md +3 -1
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +6 -2
- package/docs/architecture/AGENTSAM_APPLICATION_INVENTORY.md +135 -0
- package/docs/architecture/AGENTSAM_DISTRIBUTION_OWNERSHIP.md +1 -1
- package/docs/architecture/AGENTSAM_GO_RUNTIME.md +1 -1
- package/docs/architecture/APP_PRODUCT_DATA_MODEL.md +121 -0
- package/docs/architecture/BRAND_WORKSPACE_V1.md +71 -0
- package/docs/architecture/CANONICAL_CAD_FORMAT_SPINE.md +79 -0
- package/docs/architecture/ECOMMERCE_THEME_START_FLOW.md +31 -0
- package/docs/architecture/LIVE_AST_AND_CREATIVE_RESOURCE_GRAPH.md +129 -0
- package/docs/architecture/PRIMETECH_SCENE_V2_READINESS.md +89 -0
- package/docs/architecture/PYTHON_CAD_SERVICE_TRANSPORT.md +116 -0
- package/docs/architecture/SCHEMA_AUTHORITIES.md +83 -0
- package/docs/architecture/app-module-plugin-classification.md +71 -0
- package/docs/architecture/primetech/BARNDOMINIUM_BIM_BUILDOUT_RUNBOOK_20261123.md +139 -0
- package/docs/architecture/primetech/BARNDOMINIUM_SPACE_DELIVERY_20261123.md +58 -0
- package/docs/architecture/primetech/CAPABILITY_AND_ACCEPTANCE_MATRIX.md +176 -0
- package/docs/architecture/primetech/IMPLEMENTATION_WAVES.md +203 -0
- package/docs/architecture/primetech/PORTABLE_EDITOR_CONTRACTS.md +192 -0
- package/docs/architecture/primetech/README.md +65 -0
- package/docs/architecture/universal-registry-recovery.md +62 -0
- package/docs/audits/2026-11-22-sdk-d1-registry-parity.md +116 -0
- package/docs/brand/BRAND_CAPABILITY_INVENTORY.md +160 -0
- package/docs/cad/FORMAT_SUPPORT.md +46 -0
- package/docs/cad/LIB_CAD_REMASTER_AUDIT.md +49 -0
- package/docs/engineering/CMS_DATA_AUTHORITY_2026-11-03.md +4 -2
- package/docs/generated/SDK_CAPABILITY_INVENTORY.md +10 -10
- package/docs/intake/product-capabilities.proposed.ts +6 -6
- package/docs/operations/CLOUDFLARE-QUEUE-OBSERVABILITY.md +1 -1
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +1 -1
- package/docs/reference/AGENTSAM-CLI-WORKFLOWS.md +1 -1
- package/docs/reference/AGENTSAM-REGISTRY.generated.md +25 -16
- package/docs/sam/opencv-media.md +63 -0
- package/docs/standards/DESKTOP_WEB_PARITY_ACCEPTANCE.md +42 -0
- package/migrations/d1/0001_agentsam_plugin_runtime.sql +0 -2
- package/migrations/d1/0028_drop_unused_tool_handler_families.sql +4 -0
- package/migrations/d1/0029_agentsam_tools_account_plugin_key_unique.sql +26 -0
- package/migrations/d1/0030_cad_engine_plugins_contract_agnostic.sql +21 -0
- package/migrations/d1/0031_ops_trail_single_tool_call_source.sql +13 -0
- package/migrations/d1/0033_service_registry_model_discovery.sql +50 -0
- package/migrations/d1/20261123_skill_package_staging.sql +64 -0
- package/migrations/d1/20261123_universal_registry_stage.sql +58 -0
- package/migrations/d1/20261126_agentsam_tool_legacy_metadata_compact.sql +6 -0
- package/migrations/d1/20261126_agentsam_tools_archive_legacy_metadata.sql +20 -0
- package/migrations/d1/20261126_agentsam_tools_normalize_intent_tags.sql +49 -0
- package/migrations/d1/20261126_agentsam_tools_normalize_policy_health.sql +89 -0
- package/migrations/d1/20261126_agentsam_tools_remove_legacy_scope_keys.sql +29 -0
- package/migrations/d1/20261126_agentsam_tools_runtime_view_compat.sql +65 -0
- package/migrations/d1/generated/20261123_portable_cli_seed.sql +97 -0
- package/migrations/d1/generated/20261123_source_skill_seed.sql +3881 -0
- package/migrations/runtime/0012_agent_run_event_sequence.sql +27 -0
- package/package.json +57 -17
- package/packages/agentsam-3d-viewer/README.md +5 -0
- package/packages/agentsam-3d-viewer/package.json +1 -1
- package/packages/agentsam-3d-viewer/src/atmosphere.js +90 -0
- package/packages/agentsam-3d-viewer/src/gltf-loader.js +42 -0
- package/packages/agentsam-3d-viewer/src/index.d.ts +53 -1
- package/packages/agentsam-3d-viewer/src/index.js +18 -3
- package/packages/agentsam-3d-viewer/src/pbr-materials.js +330 -0
- package/packages/agentsam-3d-viewer/src/procedural-material.js +96 -0
- package/packages/agentsam-3d-viewer/src/procedural-textures.js +334 -0
- package/packages/agentsam-3d-viewer/src/renderer-capabilities.js +12 -0
- package/packages/agentsam-3d-viewer/src/stroke-geometry.js +4 -0
- package/packages/agentsam-3d-viewer/src/studio-finishes.js +67 -0
- package/packages/agentsam-3d-viewer/test/atmosphere.test.mjs +17 -0
- package/packages/agentsam-3d-viewer/test/gltf-loader.test.mjs +49 -0
- package/packages/agentsam-3d-viewer/test/pbr-mined-presets.test.mjs +44 -0
- package/packages/agentsam-3d-viewer/test/procedural-material.test.mjs +56 -0
- package/packages/agentsam-3d-viewer/test/renderer-capabilities.test.mjs +18 -0
- package/packages/agentsam-3d-viewer/test/studio-shared.test.mjs +23 -0
- package/packages/agentsam-architectural-intelligence/package.json +1 -1
- package/packages/agentsam-brand/package.json +3 -2
- package/packages/agentsam-brand/src/core/capabilities.js +108 -48
- package/packages/agentsam-brand/src/extract.js +6 -1
- package/packages/agentsam-brand/src/index.js +1 -0
- package/packages/agentsam-brand/src/public.js +15 -1
- package/packages/agentsam-brand/src/scan.js +47 -0
- package/packages/agentsam-brand/src/workspace.d.ts +19 -0
- package/packages/agentsam-brand/src/workspace.js +166 -0
- package/packages/agentsam-cms/README.md +11 -0
- package/packages/agentsam-cms/package.json +4 -3
- package/packages/agentsam-cms/src/contracts.js +16 -0
- package/packages/agentsam-cms/src/studio-bridge-protocol.js +113 -0
- package/packages/agentsam-cms/test/standalone.test.mjs +7 -3
- package/packages/agentsam-cms/test/studio-bridge-protocol.test.mjs +26 -0
- package/packages/agentsam-communications/package.json +3 -2
- package/packages/agentsam-communications/src/samspeaks-runtime.js +126 -0
- package/packages/agentsam-contracts/README.md +67 -0
- package/packages/agentsam-contracts/agentsam.package.json +46 -12
- package/packages/agentsam-contracts/dist/agent.d.ts +6 -3
- package/packages/agentsam-contracts/dist/agent.js +20 -0
- package/packages/agentsam-contracts/dist/bim-model.d.ts +95 -0
- package/packages/agentsam-contracts/dist/bim-model.js +57 -0
- package/packages/agentsam-contracts/dist/cad-source-formats.d.ts +55 -0
- package/packages/agentsam-contracts/dist/cad-source-formats.js +9617 -0
- package/packages/agentsam-contracts/dist/design-workspace.d.ts +13 -1
- package/packages/agentsam-contracts/dist/index.d.ts +6 -0
- package/packages/agentsam-contracts/dist/index.js +17836 -349
- package/packages/agentsam-contracts/dist/json-schema.d.ts +8 -0
- package/packages/agentsam-contracts/dist/json-schema.js +7787 -0
- package/packages/agentsam-contracts/dist/operations.d.ts +6 -1
- package/packages/agentsam-contracts/dist/operations.js +7795 -5
- package/packages/agentsam-contracts/dist/resource-ref.d.ts +21 -0
- package/packages/agentsam-contracts/dist/resource-ref.js +23 -0
- package/packages/agentsam-contracts/dist/run.d.ts +91 -3
- package/packages/agentsam-contracts/dist/run.js +28 -0
- package/packages/agentsam-contracts/dist/scene-document.d.ts +32 -0
- package/packages/agentsam-contracts/dist/scene-document.js +30 -0
- package/packages/agentsam-contracts/dist/scene-format.d.ts +44 -0
- package/packages/agentsam-contracts/dist/scene-format.js +35 -0
- package/packages/agentsam-contracts/dist/source-types-registry.d.ts +9 -0
- package/packages/agentsam-contracts/dist/source-types-registry.js +9512 -0
- package/packages/agentsam-contracts/dist/tools.d.ts +2 -1
- package/packages/agentsam-contracts/dist/tools.js +7794 -9
- package/packages/agentsam-contracts/dist/widgets.d.ts +2 -0
- package/packages/agentsam-contracts/package.json +42 -3
- package/packages/agentsam-contracts/schemas/activity.v1.schema.json +142 -0
- package/packages/agentsam-contracts/schemas/bim-model.v1.schema.json +76 -0
- package/packages/agentsam-contracts/schemas/resource-ref.v1.schema.json +18 -0
- package/packages/agentsam-contracts/schemas/run-receipt.v1.schema.json +411 -0
- package/packages/agentsam-contracts/schemas/run-start.v1.schema.json +40 -0
- package/packages/agentsam-contracts/schemas/run.v1.schema.json +243 -0
- package/packages/agentsam-contracts/schemas/sam-operation.v1.schema.json +8 -0
- package/packages/agentsam-contracts/schemas/scene-document.v2.schema.json +212 -0
- package/packages/agentsam-contracts/schemas/scene-format.v1.schema.json +173 -0
- package/packages/agentsam-contracts/schemas/source-types.v2.json +86 -1
- package/packages/agentsam-contracts/scripts/build.mjs +2 -1
- package/packages/agentsam-contracts/src/agent.ts +10 -18
- package/packages/agentsam-contracts/src/bim-model.ts +143 -0
- package/packages/agentsam-contracts/src/cad-source-formats.ts +195 -0
- package/packages/agentsam-contracts/src/design-workspace.ts +9 -0
- package/packages/agentsam-contracts/src/index.ts +6 -0
- package/packages/agentsam-contracts/src/json-schema.ts +37 -0
- package/packages/agentsam-contracts/src/operations.ts +12 -1
- package/packages/agentsam-contracts/src/resource-ref.ts +36 -0
- package/packages/agentsam-contracts/src/run.ts +93 -16
- package/packages/agentsam-contracts/src/scene-document.ts +58 -0
- package/packages/agentsam-contracts/src/scene-format.ts +91 -0
- package/packages/agentsam-contracts/src/source-types-registry.ts +65 -0
- package/packages/agentsam-contracts/src/tools.ts +4 -1
- package/packages/agentsam-contracts/src/widgets.ts +2 -0
- package/packages/agentsam-contracts/test/bim-model.test.mjs +66 -0
- package/packages/agentsam-contracts/test/cad-source-formats.test.mjs +103 -0
- package/packages/agentsam-contracts/test/contracts.test.mjs +23 -1
- package/packages/agentsam-contracts/test/resource-ref.test.mjs +29 -0
- package/packages/agentsam-contracts/test/run-contract.test.mjs +44 -0
- package/packages/agentsam-contracts/test/scene-document.test.mjs +30 -0
- package/packages/agentsam-contracts/test/scene-format.test.mjs +40 -0
- package/packages/agentsam-contracts/test/source-types.test.mjs +29 -0
- package/packages/agentsam-desktop-shell/scripts/app-discovery.mjs +36 -25
- package/packages/agentsam-errors/package.json +1 -1
- package/packages/agentsam-goalguru/agentsam.app.json +97 -0
- package/packages/agentsam-goap/package.json +2 -2
- package/packages/agentsam-hooks/package.json +1 -1
- package/packages/agentsam-knowledge/package.json +1 -1
- package/packages/agentsam-merch/package.json +1 -1
- package/packages/agentsam-nav/dist/Surfaces.d.ts +14 -4
- package/packages/agentsam-nav/dist/browser.global.js +16 -16
- package/packages/agentsam-nav/dist/browser.js +65 -22
- package/packages/agentsam-nav/dist/contracts.d.ts +2 -0
- package/packages/agentsam-nav/dist/index.d.ts +1 -1
- package/packages/agentsam-nav/dist/index.js +62 -21
- package/packages/agentsam-nav/dist/shell.css +149 -4
- package/packages/agentsam-nav/dist/theme.css +149 -4
- package/packages/agentsam-nav/dist/useAdminApps.d.ts +21 -2
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-occt/dist/native-provider.d.mts +1 -1
- package/packages/agentsam-occt/dist/native-provider.mjs +1 -1
- package/packages/agentsam-occt/package.json +1 -1
- package/packages/agentsam-occt/src/native-provider.mjs +1 -1
- package/packages/agentsam-queue-control/package.json +1 -1
- package/packages/agentsam-queue-control/src/adapters/sqlite.js +8 -6
- package/packages/agentsam-repository/package.json +1 -1
- package/packages/agentsam-vault/package.json +5 -1
- package/packages/agentsam-vault/src/crypto/aes-gcm.d.ts +25 -0
- package/packages/agentsam-vault/src/crypto/aes-gcm.js +149 -0
- package/packages/agentsam-vault/src/crypto/classify.d.ts +22 -0
- package/packages/agentsam-vault/src/crypto/classify.js +83 -0
- package/packages/agentsam-vault/src/crypto/oauth-envelope.d.ts +7 -0
- package/packages/agentsam-vault/src/index.js +10 -0
- package/packages/agentsam-vault/src/providers/registry.js +8 -0
- package/packages/agentsam-workbench/README.md +27 -3
- package/packages/agentsam-workbench/package.json +26 -4
- package/packages/agentsam-workbench/src/agent/AskAgentSamPill.tsx +17 -0
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +144 -20
- package/packages/agentsam-workbench/src/agent/contextual-composer.css +7 -0
- package/packages/agentsam-workbench/src/agent/index.ts +1 -0
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +54 -0
- package/packages/agentsam-workbench/src/design/DesignWorkspaceFrame.tsx +277 -82
- package/packages/agentsam-workbench/src/design/design-workspace.css +173 -109
- package/packages/agentsam-workbench/src/index.ts +1 -0
- package/packages/agentsam-workbench/src/shell/InspectorPicker.tsx +38 -0
- package/packages/agentsam-workbench/src/shell/ResizableStage.tsx +26 -5
- package/packages/agentsam-workbench/src/shell/SidePanel.tsx +3 -3
- package/packages/agentsam-workbench/src/shell/StudioCommands.tsx +32 -0
- package/packages/agentsam-workbench/src/shell/appearance.d.mts +28 -0
- package/packages/agentsam-workbench/src/shell/appearance.mjs +279 -0
- package/packages/agentsam-workbench/src/shell/index.ts +2 -0
- package/packages/agentsam-workbench/src/shell/inspector-picker.css +48 -0
- package/packages/agentsam-workbench/src/shell/studio-icons.ts +104 -0
- package/packages/agentsam-workbench/src/shell/studio-panels.ts +21 -0
- package/packages/agentsam-workbench/src/widgets/registry.ts +4 -4
- package/packages/agentsam-workbench/src/workflows/WorkflowStudio.tsx +936 -0
- package/packages/agentsam-workbench/src/workflows/index.ts +5 -0
- package/packages/agentsam-workbench/src/workflows/model.ts +207 -0
- package/packages/agentsam-workbench/src/workflows/types.ts +206 -0
- package/packages/agentsam-workbench/src/workflows/workflow-studio.css +290 -0
- package/packages/catalog/generated/packages.json +157 -45
- package/packages/connectors/cfoa/package.json +7 -2
- package/packages/connectors/cfoa/src/PERMISSION_REGISTRY.md +45 -0
- package/packages/connectors/cfoa/src/api-client.js +4 -0
- package/packages/connectors/cfoa/src/capabilities.js +123 -285
- package/packages/connectors/cfoa/src/families/media.js +16 -12
- package/packages/connectors/cfoa/src/index.js +31 -37
- package/packages/connectors/cfoa/src/oauth-persist.js +18 -2
- package/packages/connectors/cfoa/src/permission-options.js +147 -1038
- package/packages/connectors/cfoa/src/routes.js +92 -35
- package/packages/connectors/cfoa/src/scope-catalog.js +16 -351
- package/packages/connectors/cfoa/src/scope-registry.js +248 -0
- package/packages/connectors/cfoa/test/scope-registry.test.mjs +168 -0
- package/packages/connectors/cfoa/tests/capabilities.test.mjs +86 -45
- package/packages/connectors/cfoa/tests/connector.test.mjs +143 -0
- package/packages/connectors/cfoa/tests/media-discovery.test.mjs +34 -10
- package/packages/identity/.agentsam/features/oauth-login-portal/agentsam.feature.json +1 -1
- package/packages/identity/agentsam.package.json +4 -4
- package/packages/identity/migrations/apply-portable.js +11 -4
- package/packages/identity/migrations/sqlite/007_identity_session_revoke_reason.sql +3 -0
- package/packages/identity/migrations/sqlite/008_identity_accounts.sql +41 -0
- package/packages/identity/migrations/sqlite/009_identity_scope.sql +30 -0
- package/packages/identity/package.json +11 -6
- package/packages/identity/schema/agentsam.identity/manifest.json +21 -4
- package/packages/identity/src/adapters/account-security-store.js +7 -0
- package/packages/identity/src/adapters/column-support.js +39 -0
- package/packages/identity/src/adapters/iam-compat/index.js +19 -4
- package/packages/identity/src/adapters/portable-d1/index.js +3 -1
- package/packages/identity/src/adapters/portable-store.js +80 -51
- package/packages/identity/src/app/verify-app.js +27 -0
- package/packages/identity/src/contracts/identity-store.js +2 -2
- package/packages/identity/src/core/password-gate.js +116 -0
- package/packages/identity/src/frontend/auth-portal/pages/login.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/reset.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +1 -1
- package/packages/identity/src/frontend/auth-portal/shared/company-branding.js +18 -7
- package/packages/identity/src/frontend/auth-portal/shared/default-auth-logo.svg +4 -0
- package/packages/identity/src/frontend/auth-portal/store-access.js +97 -0
- package/packages/identity/src/migrations/0005_session_audit_columns.sql +6 -0
- package/packages/identity/src/migrations/README.md +2 -0
- package/packages/identity/src/oauth/native-handoff.js +2 -2
- package/packages/identity/src/server/identity-service.js +1 -1
- package/packages/identity/src/server/worker-router.js +16 -5
- package/packages/identity/tests/identity-portal-e2e.test.mjs +166 -0
- package/packages/identity/tests/lane1-identity-store-parity.test.mjs +17 -6
- package/packages/identity/tests/password-gate.test.mjs +66 -0
- package/packages/identity/tests/portable-identity-scope.test.mjs +59 -0
- package/packages/identity/tests/session-audit.test.mjs +135 -0
- package/packages/identity/tests/worker-portal-assets.test.mjs +47 -0
- package/packages/primetech-procedures/README.md +46 -5
- package/packages/primetech-procedures/agentsam.package.json +6 -6
- package/packages/primetech-procedures/package.json +14 -3
- package/packages/primetech-procedures/procedures/arch.assembly.calculate/procedure.json +83 -0
- package/packages/primetech-procedures/procedures/media.asset.preflight/procedure.json +85 -0
- package/packages/primetech-procedures/procedures/media.image.optimize-asset/procedure.json +102 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/__pycache__/run.cpython-314.pyc +0 -0
- package/packages/primetech-procedures/procedures/repo.git.status/procedure.json +58 -0
- package/packages/primetech-procedures/procedures/repo.git.status/run.sh +10 -0
- package/packages/primetech-procedures/src/index.js +140 -41
- package/packages/primetech-procedures/test/__pycache__/test_inventory.cpython-314.pyc +0 -0
- package/packages/primetech-procedures/test/runtime-kinds.test.mjs +210 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/work-graph/package.json +1 -1
- package/protocol/README.md +18 -0
- package/protocol/capabilities/capability-manifest.schema.json +111 -19
- package/protocol/capabilities/manifest.json +12 -1
- package/protocol/contracts/source-types.v2.json +86 -1
- package/protocol/product-releases/README.md +15 -12
- package/protocol/registry/universal-catalog.v1.json +2820 -0
- package/protocol/sam/activity.v1.schema.json +111 -17
- package/protocol/sam/operation.schema.json +8 -0
- package/protocol/sam/run-receipt.v1.schema.json +411 -0
- package/protocol/sam/run-start.v1.schema.json +40 -0
- package/protocol/sam/run.v1.schema.json +243 -0
- package/protocol/theme-refinery/d1-reconciliation.md +66 -32
- package/protocol/theme-refinery/product-metadata.schema.json +1 -1
- package/python/README.md +81 -8
- package/python/agentsam_sdk/cad/__init__.py +26 -3
- package/python/agentsam_sdk/cad/adapters/__init__.py +6 -0
- package/python/agentsam_sdk/cad/adapters/freecad.py +200 -0
- package/python/agentsam_sdk/cad/building.py +42 -0
- package/python/agentsam_sdk/cad/jobs.py +174 -0
- package/python/agentsam_sdk/cad/native.py +68 -9
- package/python/agentsam_sdk/cad/service.py +570 -0
- package/python/agentsam_sdk/cli.py +31 -0
- package/python/agentsam_sdk/client.py +49 -16
- package/python/agentsam_sdk/data/d1_bloat.py +0 -1
- package/python/agentsam_sdk/media/__init__.py +8 -0
- package/python/agentsam_sdk/media/opencv.py +188 -0
- package/python/agentsam_sdk/procedures/client.py +1 -1
- package/python/agentsam_sdk/registry_cli.py +88 -0
- package/python/agentsam_sdk/runtime/native.py +1 -1
- package/python/agentsam_sdk/terminal_art.py +5 -6
- package/python/pyproject.toml +3 -0
- package/python/tests/fixtures/freecad_host_cases.json +30 -0
- package/python/tests/test_bridge_policy.py +40 -0
- package/python/tests/test_cad_building_client.py +47 -0
- package/python/tests/test_cad_jobs_client.py +102 -0
- package/python/tests/test_cad_native.py +104 -1
- package/python/tests/test_cad_service_client.py +288 -0
- package/python/tests/test_opencv_media.py +79 -0
- package/python/tests/test_procedure_client.py +6 -0
- package/python/tests/test_public_client.py +13 -0
- package/services/cad/blender/adapter.py +49 -0
- package/services/cad/ifc/__pycache__/adapter.cpython-311.pyc +0 -0
- package/services/cad/ifc/adapter.py +836 -0
- package/services/cad/server.py +435 -132
- package/skills/README.md +1 -1
- package/skills/agentsam-app-fundamentals/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-bim/SKILL.md +166 -6
- package/skills/agentsam-arch-bim/agentsam.skill.json +2 -2
- package/skills/agentsam-cad/SKILL.md +122 -36
- package/skills/agentsam-cad/agentsam.skill.json +20 -0
- package/skills/agentsam-cad/evals/README.md +56 -0
- package/skills/agentsam-cad/references/engines-and-lanes.md +70 -0
- package/skills/agentsam-cad/references/projects-and-operations.md +112 -0
- package/skills/agentsam-cad/references/proof-and-triage.md +89 -0
- package/skills/agentsam-cad/references/python-service-and-jobs.md +102 -0
- package/skills/agentsam-cad/references/scene-geometry-bim.md +113 -0
- package/skills/agentsam-canvas-creation/agentsam.skill.json +20 -0
- package/skills/agentsam-cloudflare-workers/agentsam.skill.json +20 -0
- package/skills/agentsam-cms-ready-creation/agentsam.skill.json +20 -0
- package/skills/agentsam-codebaseindex/agentsam.skill.json +20 -0
- package/skills/agentsam-jr-dev/agentsam.skill.json +20 -0
- package/skills/agentsam-plan-and-goap/agentsam.skill.json +20 -0
- package/skills/agentsam-progression-guard/agentsam.skill.json +20 -0
- package/skills/agentsam-repo-recon/agentsam.skill.json +20 -0
- package/skills/agentsam-sam-operations/SKILL.md +76 -36
- package/skills/agentsam-sam-operations/agentsam.skill.json +20 -0
- package/skills/agentsam-sdk-orientation/agentsam.skill.json +20 -0
- package/skills/catalog.json +21 -6
- package/src/acp/agent-executor.js +38 -2
- package/src/acp/client.js +128 -39
- package/src/acp/dependencies.js +159 -19
- package/src/acp/http.js +14 -0
- package/src/acp/index.js +3 -0
- package/src/acp/runs.js +5 -3
- package/src/agent/capability-adapter.js +21 -23
- package/src/cli/command-catalog.js +4 -4
- package/src/cli/desktop-launch.js +2 -2
- package/src/cli/update-check.js +131 -0
- package/src/cli.js +6 -5
- package/src/commands/account-auth.js +36 -26
- package/src/commands/app-inventory.js +343 -0
- package/src/commands/app.js +162 -27
- package/src/commands/ast.js +80 -0
- package/src/commands/cad.js +2 -0
- package/src/commands/cheat-sheet.js +1 -1
- package/src/commands/cloudflare-login.js +170 -65
- package/src/commands/cloudflare-status.js +38 -0
- package/src/commands/cloudflare.js +54 -42
- package/src/commands/codebaseindex.js +34 -13
- package/src/commands/db.js +2 -2
- package/src/commands/go.js +1 -1
- package/src/commands/interactive.js +5 -0
- package/src/commands/knowledge.js +4 -2
- package/src/commands/mcp.js +5 -2
- package/src/commands/preferences.js +48 -6
- package/src/commands/product.js +4 -4
- package/src/commands/run.js +3 -4
- package/src/commands/shell.js +32 -10
- package/src/go/contract.js +1 -1
- package/src/go/official-registry.js +41 -36
- package/src/go/product-catalog.test.mjs +52 -0
- package/src/go/receipts.js +19 -6
- package/src/indexing/index.js +10 -0
- package/src/indexing/live-ast.js +200 -0
- package/src/indexing/live-cad-graph.js +107 -0
- package/src/indexing/live-resource-graph.js +95 -0
- package/src/knowledge/config.js +5 -4
- package/src/knowledge/store-discovery.js +22 -5
- package/src/knowledge/stores/d1.js +141 -0
- package/src/lib/auth.js +7 -4
- package/src/lib/cad/bim-bridge.d.ts +6 -0
- package/src/lib/cad/bim-bridge.js +96 -0
- package/src/lib/cad/d1-project-store.js +1 -1
- package/src/lib/cad/delivery-profiles.d.ts +1 -1
- package/src/lib/cad/delivery-profiles.js +82 -6
- package/src/lib/cad/format-policy.d.ts +11 -0
- package/src/lib/cad/format-policy.js +14 -0
- package/src/lib/cad/freecad-host.d.ts +19 -0
- package/src/lib/cad/freecad-host.js +171 -0
- package/src/lib/cad/freecad.js +38 -65
- package/src/lib/cad/ifc-cli.js +82 -0
- package/src/lib/cad/ifc.js +152 -0
- package/src/lib/cad/index.js +3 -0
- package/src/lib/cad/production-operations.js +2 -0
- package/src/lib/cad/project-runtime.js +2 -2
- package/src/lib/cad/project-v2.js +13 -25
- package/src/lib/cad-docker.js +35 -17
- package/src/lib/whoami-capabilities.js +8 -14
- package/src/mcp/cloudflare-bundles.js +39 -41
- package/src/models/inventory-core.d.ts +32 -1
- package/src/models/inventory-core.js +118 -36
- package/src/plugins/cloudflare.js +3 -3
- package/src/plugins/completeful.js +2 -4
- package/src/plugins/contracts.js +2 -3
- package/src/plugins/creative.js +2 -2
- package/src/plugins/registry.js +52 -33
- package/src/plugins/runtime.js +64 -13
- package/src/registry/generated/inventory.json +289 -66
- package/src/registry/universal-reconcile.js +120 -0
- package/src/registry/universal-source.js +253 -0
- package/src/sam/adapters/opencv-video.js +206 -0
- package/src/sam/adapters/workspace-media.js +15 -2
- package/src/sam/bridge/policy.mjs +50 -0
- package/src/sam/bridge/stdio.mjs +61 -38
- package/src/sam/operations/architectural-knowledge.js +1 -0
- package/src/sam/operations/artifact-render.js +2 -1
- package/src/sam/operations/cad-bim-ifc.js +89 -0
- package/src/sam/operations/decision-evaluate.js +1 -0
- package/src/sam/operations/planning-goap.js +1 -0
- package/src/sam/operations/repository-inspect.js +1 -0
- package/src/sam/operations/robotics.js +1 -1
- package/src/sam/packs/core.js +2 -0
- package/src/sam/packs/evidence/endpoint.js +39 -0
- package/src/sam/packs/evidence/media.js +3 -2
- package/src/sam/packs/evidence/store-hosted.js +5 -3
- package/src/sam/shell-host.js +26 -8
- package/src/skills/catalog.js +12 -1
- package/src/skills/registry.js +16 -17
- package/src/ui/boot.js +12 -14
- package/src/ui/brand/agentsam-mark.generated.js +49 -0
- package/src/ui/cli/prompt-box.js +151 -0
- package/src/ui/home-screen.js +49 -0
- package/apps/README.md +0 -67
- package/apps/cad-creator/README.md +0 -743
- package/packages/agentsam-brand/LICENSE +0 -110
- package/packages/agentsam-desktop-shell/LICENSE +0 -110
- package/packages/agentsam-desktop-shell/README.md +0 -73
- package/packages/agentsam-ide/LICENSE +0 -110
- package/packages/agentsam-ide/README.md +0 -147
- package/packages/agentsam-nav/LICENSE +0 -110
- package/packages/agentsam-vault/LICENSE +0 -110
- package/packages/agentsam-workbench/LICENSE +0 -110
- package/src/ui/art/geaux_boot.json +0 -25
- package/src/ui/companion-art.js +0 -40
- /package/{apps/cad-creator → packages/primetech-procedures}/LICENSE +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Barndominium Starter — Next-Agent Buildout Runbook
|
|
2
|
+
|
|
3
|
+
**Source of truth**: production D1 \`inneranimalmedia-business\` → \`studio_templates\`, platform R2 bucket \`cad\`, prefix \`library/bim-starters/barndominium/v1.1/owner-review/\`. Do not use Google Drive. Do not hardcode DreamHouse, this kit, or any user's project as a runtime preset.
|
|
4
|
+
|
|
5
|
+
**Current state**: v1.1 is an interactive owner-review **HTML Space**, not a parametric model or permit-ready drawing set. The verified ZIP contains its standalone HTML, README, CSV issue/room/systems registers and delivery manifest. The archive is 184,774 bytes, SHA-256 \`fc1acabd19277de9ae4672c5f07d3b93374002691d185ce29f350aec32bc91b6\`. Always retrieve by catalog R2 reference and verify bytes. The template record for the Space can be active as a review/presentation; the native BIM candidate remains draft until verified.
|
|
6
|
+
|
|
7
|
+
## Structural concept V2 — implemented and published 2026-11-23
|
|
8
|
+
|
|
9
|
+
The previous missing-native-source condition has been superseded. Native FreeCAD
|
|
10
|
+
structural geometry and IFC4 now exist as an unapproved design-review draft.
|
|
11
|
+
|
|
12
|
+
- Catalog: SAM-BIM-BARNDOMINIUM-STARTER, existing studio_templates row,
|
|
13
|
+
version 2, status DRAFT. Do not create a parallel catalog or runtime preset.
|
|
14
|
+
- Storage: private R2 bucket cad, prefix library/bim-starters/barndominium/v2/.
|
|
15
|
+
Original v1.1 owner-review Space and archive remain unchanged.
|
|
16
|
+
- Source: source.FCStd; IFC4: model.ifc; view: preview.glb and thumbnail.webp;
|
|
17
|
+
archive: Barndominium-Structure-Concept-V2.zip; metadata: manifest.json.
|
|
18
|
+
- Verified 688 FreeCAD shapes in 12 categories, 26 real boolean wall-opening cuts
|
|
19
|
+
with IFC host/void/fill links, 20 IfcSpace source program volumes.
|
|
20
|
+
- Native includes foundation and thickened-edge concepts, structural grid,
|
|
21
|
+
posts, beams, bracing, all designated exterior/interior partitions,
|
|
22
|
+
opening frames, doors/windows, three garage overhead doors,
|
|
23
|
+
roof planes, trusses, purlins, porch posts, flashings and rainwater drainage.
|
|
24
|
+
- FreeCAD reopened 688 elements without invalid solids. IFC4 reopened
|
|
25
|
+
688 model elements, 26 IfcOpeningElement, 26 void/fill relationships each,
|
|
26
|
+
and 20 IfcSpace; Blender GLB reimport preserved 688 named nodes.
|
|
27
|
+
- All 15 R2 objects independently downloaded and SHA-256 verified; recorded
|
|
28
|
+
as publisher inventory in r2_objects and related to the existing template.
|
|
29
|
+
|
|
30
|
+
IMPORTANT: source geometry and material/frame proposals ARE NOT ENGINEERED.
|
|
31
|
+
FreeCAD feature solids are directly editable but are not fully constraint-driven
|
|
32
|
+
architectural BIM assemblies. Default sizes are placeholders. The garage
|
|
33
|
+
14-foot wall/eave is an explicit assumption for three 12-foot garage doors,
|
|
34
|
+
and the 18-foot living ridge source section conflicts with the roof-plan
|
|
35
|
+
ridge orientation. The roof-to-roof valley remains a review reference, not an
|
|
36
|
+
engineered/weatherproof detail. Structural spans, uplift, soils, footing/rebar,
|
|
37
|
+
glazing/egress, rated garage separation, interior finishes, MEP, site and
|
|
38
|
+
permit decisions are unresolved. Keep this registry row in DRAFT until
|
|
39
|
+
the actual reviews are complete.
|
|
40
|
+
|
|
41
|
+
Rebuild scripts: services/cad/recipes/barndominium/.
|
|
42
|
+
The v1.1 review/room-schedule.csv is input. The FreeCAD generator produces
|
|
43
|
+
native and IFC models, Blender makes the GLB/PNG preview, cwebp makes the
|
|
44
|
+
single release thumbnail, and prepare_release.py packages the data and manifest.
|
|
45
|
+
Any changed source or geometry must be released under a NEW immutable prefix,
|
|
46
|
+
never overwritten in published v2 storage.
|
|
47
|
+
|
|
48
|
+
## Immediate next-agent execution
|
|
49
|
+
|
|
50
|
+
1. Query \`studio_templates\` for \`SAM-SPACE-BARNDOMINIUM-V11\` and \`SAM-BIM-BARNDOMINIUM-STARTER\`; resolve \`payload_bucket_id\` → \`r2_buckets\`. Read the uploaded \`manifest.json\`, \`review/issue-register.csv\`, \`review/room-schedule.csv\` and \`review/systems-coordination.csv\` directly from the existing \`cad\` bucket. Download and check the ZIP SHA-256. Avoid a new registry, app, table, bucket, viewer, or BIM editor.
|
|
51
|
+
2. Open the 16-sheet owner-review Space. Preserve the cover/concept, original input provenance, 36-item build sequence and 17 allowance categories. Treat all drawn dimensions and notes as **unverified schematic assumptions** until checked.
|
|
52
|
+
3. Create a traceable design decision register. The source issue register has 18 open RFIs, including site, soils, loading, floor-area coordination, opening counts, roof geometry, MEP, permitting, and native BIM. Every unconfirmed setting must be \`TBD\` with an owner/reviewer, not an invented engineered value.
|
|
53
|
+
4. Build **one editable native project** under the existing CAD project/storage contracts using FreeCAD/parametric source and export IFC4. The existing CAD runtime and its authorized execution host perform builds; Cloudflare Worker does not execute FreeCAD itself. Keep R2 stock immutable and create account-owned working copies.
|
|
54
|
+
5. Generate a live, traceable **model-derived** set of drawings, schedules and quantity takeoffs. Update the owner-review Space with those verified outputs, not duplicated hardcoded measurements.
|
|
55
|
+
6. Publish native BIM version \`v1\` to a new immutable R2 prefix only after all native exports and QA gates pass. Then promote the draft BIM registry row to \`active\` and set the real \`freecad.bim\` renderer/entrypoint. Do not promote on the strength of HTML/SVG/GLB pictures alone.
|
|
56
|
+
|
|
57
|
+
## Geometry, program and assumptions to reconcile
|
|
58
|
+
|
|
59
|
+
The concept declares a 72 ft × 32 ft living block = 2,304 SF and a 38 ft × 42 ft garage/shop = 1,596 SF, totaling **3,900 SF enclosed gross**; 60 ft × 8 ft front porch (480 SF) and 24 ft × 10 ft rear patio (240 SF) are additional covered/outdoor areas. The 20 schematic spatial rectangles in \`room-schedule.csv\` represent 17 living/service spaces, garage, porch and patio; **three interior/hall/closet rectangles lack annotated dimensions**. Some conceptual geometry overlaps/notches the illustrated footprint; reconcile gross enclosed area, net room areas, wall thickness, circulation and usable clearances rather than assuming rectangles form a construction plan.
|
|
60
|
+
|
|
61
|
+
Confirm the actual parcel, site survey and georeferencing, north/orientation, finished floor elevation, flood and wind exposures, setbacks, utilities, accessibility/egress obligations, building-height limits and roof drainage with appropriate licensed reviewers. Do not apply invented local code editions or structural member sizes.
|
|
62
|
+
|
|
63
|
+
## Required native building assemblies
|
|
64
|
+
|
|
65
|
+
### A. Site and foundation
|
|
66
|
+
- Survey polygon, boundaries, building setbacks, drive access, garage approach, grading slopes, stormwater and drainage, north, levels and georeference.
|
|
67
|
+
- Footprint and finished-floor datum for *both* living and garage blocks; front porch/patio elevations and transitions.
|
|
68
|
+
- Foundation \`IfcFooting\`, \`IfcSlab\`, thickened edges/grade beams/footings, isolation joints, reinforcement zones, anchors, slab penetrations and vapor/radon/insulation details as specified by engineer.
|
|
69
|
+
- Schedule element IDs, quantities, material takeoff, design source and unresolved geotechnical inputs.
|
|
70
|
+
|
|
71
|
+
### B. Primary structural frame
|
|
72
|
+
- One coherent building grid with stable GUIDs. Structural columns, beams, lintels, braces, floor/roof support members, shop opening frames, trusses and purlins.
|
|
73
|
+
- Complete vertical and lateral load paths through the large garage overhead-door openings and roof transitions; track proposed spans and size placeholders separately from engineer-approved sizes.
|
|
74
|
+
- Connections, bracing, uplift anchors, wind/seismic/flood assumptions, engineering references and shop fabrication/erection coordination.
|
|
75
|
+
- Independent structural engineer review gate before any structural schedule is marked approved.
|
|
76
|
+
|
|
77
|
+
### C. Exterior and interior walls
|
|
78
|
+
- Model **every wall as actual geometry**, not presentation strokes: exterior finish, weather/air barrier, sheathing, structural frame, insulation, interior layer, material thickness, height, base and top constraints and IFC classification.
|
|
79
|
+
- Assign stable \`WALL-...\` IDs and wall types (\`EW\`, \`IW\`, rated/garage separation, wet/service walls); include parapet/soffit/roof intersections.
|
|
80
|
+
- Interior partitions room-by-room including wet-wall chases, cabinetry backing, pocket/double-door clearance, closets, mudroom, laundry, utility spine, garage firewall/separation where applicable.
|
|
81
|
+
- Coordinate intersections and wall joins; derive actual net/gross wall areas and material quantities from modeled geometry.
|
|
82
|
+
|
|
83
|
+
### D. Doors, windows and rough openings
|
|
84
|
+
- Every door and window must be a modeled wall opening with explicit link to parent wall and room(s), elevation, sill/head, rough opening, handing, swing, frame, hardware, threshold and occupancy/security/energy/egress attributes.
|
|
85
|
+
- Account for the concept's **three overhead garage doors** and reconcile all other doors/windows against the 16-sheet source. The review register notes provisional six door marks and five window types, **not verified quantities**.
|
|
86
|
+
- Schedule IDs \`D-###\`, \`W-###\`, \`OH-###\`, width/height, rough opening, material/glazing, finish, fire/egress/safety requirements and supplier selection; elevations/sections must match model.
|
|
87
|
+
|
|
88
|
+
### E. Roof and envelope
|
|
89
|
+
- Model actual roof planes, framing members/trusses, ridge/hip/valley conditions, slope transitions across garage/living, rafters/purlins/decking/underlayment/roof finish, edge/flashing/soffit/fascia, gutters and downspouts.
|
|
90
|
+
- Model overhangs, penetrations and drainage destinations, identify wall/roof moisture and thermal continuity and attic/ceiling assemblies.
|
|
91
|
+
- Resolve roof form and spans with structural and roofing specialists. No invented pitch or engineered truss sizing.
|
|
92
|
+
- Produce roof plan, framing plan, roof sections, roof element schedule and area takeoff.
|
|
93
|
+
|
|
94
|
+
### F. Interiors, finishes and coordinated fixtures
|
|
95
|
+
- Each named space: room boundaries from actual walls, floor-to-finish ceiling height, area, floor/wall/ceiling material types, base/trim, paint, lighting, receptacles, controls, HVAC, required doors/windows and furnishing clearances.
|
|
96
|
+
- Fully develop kitchen: walls, pantry, cabinetry, countertops, island, appliances, fixtures, plumbing/electrical rough-ins and elevations with manufacturer/owner selection status.
|
|
97
|
+
- Master bath, second bath and laundry/mudroom: fixture clearances, wet-area waterproofing, shower/tub, vanities, drains, exhaust, access panels and verified elevations.
|
|
98
|
+
- Bedrooms, flex/office, great room, dining, closets/storage and utility spine: full partitions, openings, ceiling/lighting plans, built-ins and selected furniture/equipment footprints.
|
|
99
|
+
- Garage/shop: overhead doors, service access, storage, vehicle clearances, slab design, fire separation, electrical/lighting/ventilation needs.
|
|
100
|
+
- Keep owner-selected materials separate from placeholder design allowances; provide finish, hardware, millwork, equipment and furniture schedules.
|
|
101
|
+
|
|
102
|
+
### G. Coordinated MEP and service routes
|
|
103
|
+
- Electrical: service sizing based on engineer/electrician load calculation; panel and circuit schedules; outlets, switches, luminaires, low voltage/data, smoke/CO, grounding, dedicated equipment, EV/shop circuits if required.
|
|
104
|
+
- Plumbing: incoming service, DWV/vents, fixtures, water heating, pressure/flow, cleanouts, under-slab sleeves and coordinated riser/isometric schedules.
|
|
105
|
+
- HVAC: room-by-room calculated loads, units/air handlers or ductless heads, distribution/returns/fresh air, exhaust, outdoor unit pads, refrigeration/condensate paths and thermostat controls.
|
|
106
|
+
- Reserve explicit coordination clearance and true 3D MEP geometry. Report clashes at wall/framing/roof/slab penetrations; unselected system sizes remain TBD.
|
|
107
|
+
|
|
108
|
+
## Schedules — all link to native model element GUIDs
|
|
109
|
+
|
|
110
|
+
Generate and keep synchronized (machine-readable CSV/JSON + printable schedules):
|
|
111
|
+
- **Space/room schedule**: ID, room, level, dimensions, gross/net SF, volume, ceiling height, floor/wall/ceiling finishes and occupant requirements.
|
|
112
|
+
- **Wall assembly schedule**: wall ID/type, finish layers, R-values if verified, wall height/length, opening links, rating requirements, source approvals and quantities.
|
|
113
|
+
- **Window/door/overhead-door schedule**: dimensions, marks, type, glazing, rough opening, U-values if supplied, sill/head/handing, hardware, manufacturer and installed count.
|
|
114
|
+
- **Structural frame schedule**: grid, footing/slab, columns/posts, beams, headers, bracing, truss/purlins, connections, engineered spans and hold-downs.
|
|
115
|
+
- **Roof schedule**: plane IDs, slope, orientation, covering, insulation/decking, drainage, flashing/gutters, area, penetration and truss linkage.
|
|
116
|
+
- **Finish and fixture schedules**: room-linked paint, flooring, tile, trim, millwork, countertops, appliances, plumbing fixtures, lighting, accessibility clearances.
|
|
117
|
+
- **MEP schedules**: circuit/panel, fixture, plumbing/equipment, HVAC/ventilation, devices, piping and penetrations tied to GUID and design status.
|
|
118
|
+
- **Quantities and procurement**: classified model-derived counts/length/area/volume, units and waste-factor assumptions, cost allowances versus bids, lead times, owner sign-off and revision ID.
|
|
119
|
+
- **Sheet index & revision matrix**: drawing ID ↔ model revision, author, checker, issued-for status, changed elements, remaining RFI.
|
|
120
|
+
|
|
121
|
+
Every schedule gets explicit \`modeled\`, \`estimated\`, \`unverified\`, or \`approved\` status; never assert a model-derived total from a sketch.
|
|
122
|
+
|
|
123
|
+
## Required sheet/report set
|
|
124
|
+
|
|
125
|
+
Site/grading & utilities; code/program/area sheets; dimensioned floor plan; reflected ceiling plan; doors/windows + equipment; four exterior elevations; building longitudinal/transverse sections; wall type details; foundation and slab design references; structural and roof framing; roof/ventilation/drainage; plumbing/DWV/isometrics; electrical lighting/power/panel; HVAC/ventilation; kitchen/bath/utility elevations; full interior finish and equipment schedules; materials/takeoffs; owner RFIs; revision/QA receipts. Use sheet IDs as defined in the project and preserve owner-review history.
|
|
126
|
+
|
|
127
|
+
## Native data/QA and acceptance gates
|
|
128
|
+
|
|
129
|
+
1. Save original owner-review Space intact and separately save parametric \`source.FCStd\`; confirm an *editable* hierarchy (real walls, slabs, openings, roof, beams, columns, spaces). GLB is only the **preview**.
|
|
130
|
+
2. Export IFC4 and independently round-trip check shape count, building storey, element classifications, units, placement, GUID stability, opening/door/window relationships and material assignments. Add GLB for browser preview and optional DXF/SVG/PDF for drawings.
|
|
131
|
+
3. Validate wall/roof joins and slab extents; no unhosted windows/doors, rogue duplicate elements, unbounded spaces, unexplained area mismatch, egress/access/clearance issues or critical MEP/structure clashes. Publish an issue list rather than pretending all coordination has passed.
|
|
132
|
+
4. Measure actual design quantities and compare against room/door/window/roof/wall schedules; preserve discrepancy reports. Require owner signoff and separate structural/MEP/code checks where needed.
|
|
133
|
+
5. Native deliverable \`package.zip\` includes \`source.FCStd\`, \`model.ifc\`, \`preview.glb\`, \`drawings/*.pdf\`, \`schedules/*.csv\`, \`qa/*.json\`, \`README.md\`, \`manifest.json\`. Include SHA256, file size, source lineage, generated/approved dates and unresolved blockers.
|
|
134
|
+
6. New stock release goes to \`cad/library/bim-starters/barndominium/v1/\` (not overwrite v1.1 owner-review evidence). Upload source/derived/previews, verify R2 readbacks, write manifest LAST, then switch only the existing draft \`bim_starter\` registry row to active.
|
|
135
|
+
7. Chat artifact delivery uses existing \`agentsam_agent_run\` / \`agentsam_workflow_runs\` and \`agentsam_artifacts\`, with existing Workbench/Side Stage viewers; real job states only. Show artifact card, one current thumbnail, verified ZIP download, and access-controlled project action. Do not build another artifact manager.
|
|
136
|
+
|
|
137
|
+
## First review milestone
|
|
138
|
+
|
|
139
|
+
**Before generating building members**, present an owner-ready design-development package containing corrected exterior footprint, room adjacency/area, door/window opening map, wall type list, roof concept, draft structural grid, wet/service spine and interior material directions. List exact decisions awaiting owner approval and specialist engineering. Then build the parametric project according to those approved decisions. The BIM is not complete until model, schedules, coordinated interiors/exteriors and native round-trip QA all agree.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Barndominium Starter Kit — Space, artifact, and native BIM handoff
|
|
2
|
+
|
|
3
|
+
## Production publication completed (2026-11-23)
|
|
4
|
+
|
|
5
|
+
- **Platform R2**: \`cad/library/bim-starters/barndominium/v1.1/owner-review/\` contains ten checksum-verified objects, including the exact 184,774-byte original owner-review ZIP, 312,077-byte HTML Space, one 45,840-byte WebP thumbnail, issue/room/systems CSVs, READMEs and the published-last \`manifest.json\`.
|
|
6
|
+
- **D1 reusable Space**: \`studio_templates.id='tpl_barndominium_space_v11'\`, SKU \`SAM-SPACE-BARNDOMINIUM-V11\`, \`resource_kind='space_template'\`, **status \`active\`** (concept/presentation only).
|
|
7
|
+
- **D1 native BIM candidate**: \`studio_templates.id='tpl_barndominium_bim_starter'\`, SKU \`SAM-BIM-BARNDOMINIUM-STARTER\`, \`resource_kind='bim_starter'\`, **status \`draft\`**; there is no verified editable FreeCAD/IFC geometry yet.
|
|
8
|
+
- **Object registry**: ten \`r2_objects\` rows (\`inventory_source='publisher'\`) with verified SHA256, linked by ten \`asset_relationships\` edges to the two catalog entries.
|
|
9
|
+
- **Next-agent source**: \`docs/architecture/primetech/BARNDOMINIUM_BIM_BUILDOUT_RUNBOOK_20261123.md\` and corresponding R2 \`NEXT_AGENT_BUILDOUT.md\`. Finish all geometric assemblies, interior details and BIM-derived schedules **before** activating native BIM.
|
|
10
|
+
- This production D1/R2 registration is live **independently of** the PR's application code. Current app UI may not display a new native BIM launcher until that runtime integration ships.
|
|
11
|
+
|
|
12
|
+
## Source classification (2026-11-23)
|
|
13
|
+
|
|
14
|
+
The owner's uploaded \`barndominium-starter-kit.zip\` contains a **single self-contained HTML Space** plus README, not a FreeCAD/IFC/STEP/DXF native CAD deliverable. The Space has 16 conceptual SVG-generated drawing sheets, original concept JPEG, room hotspots, doors/windows/materials, a 36-item construction sequence, and 17 allowance categories. The source itself clearly states that the documents are not stamped construction drawings. Do not register or advertise this as a native editable BIM file.
|
|
15
|
+
|
|
16
|
+
This kit's cover reconciles **72 × 32 ft living block (2,304 SF), 38 × 42 ft garage/shop (1,596 SF), 3,900 SF enclosed**, 60 × 8 ft porch and 24 × 10 ft patio. The 20 drawn spatial rectangles contain 17 interior non-garage spaces (three have no dimension label): the gross envelope is not the net sum of those schematic rectangles. Site parameters, window counts, MEP design, structural member sizes and code approval are provisional until the owner and qualified design team approve them.
|
|
17
|
+
|
|
18
|
+
## Existing ownership — do not add registries
|
|
19
|
+
|
|
20
|
+
| Responsibility | Existing authority |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| Reusable professional template definition | \`studio_templates\` in \`inneranimalmedia-business\` D1 |
|
|
23
|
+
| Platform stock payload and source manifest | private R2 bucket \`cad\`, registered as \`r2_cad\` |
|
|
24
|
+
| Private account-owned generated Space/ZIP | \`agentsam_artifacts\` + its account-authorized artifact R2 destination |
|
|
25
|
+
| Native CAD task execution and progress | \`agentsam_cad_jobs\`, linked to existing agent/workflow executions |
|
|
26
|
+
| BIM editing | Existing CAD Creator / FreeCAD (and IFC importer when validated) |
|
|
27
|
+
| Preview/viewing | Existing workbench/Side Stage/Artifacts viewers, not a new Space viewer |
|
|
28
|
+
| Project document media | Existing \`media_assets\`, only when an asset reference is needed |
|
|
29
|
+
| Standalone project ownership | Existing projects/workspace associations, not hardcoded DreamHouse |
|
|
30
|
+
|
|
31
|
+
Platform stock uses \`r2_storage_routes\` app-purpose routing; current first-party \`cad-creator\` stock-library route points to \`r2_cad\`. A row in D1 is not proof that the R2 bytes exist.
|
|
32
|
+
|
|
33
|
+
## Proposed lifecycle
|
|
34
|
+
|
|
35
|
+
1. Import the user-owned HTML Space as a private \`agentsam_artifacts\` deliverable and link it to the conversation/run. Preserve the original file and its provenance. Generated \`zip\` is a deliverable, not a canonical native BIM source.
|
|
36
|
+
2. Refine the existing Space into a design-development review: source/assumption ledger, area and room data, coordinated drawings, electrical/plumbing/HVAC device schedules, door/window hardware and procurement schedules, validation report, remaining RFIs and local approvals. Every unresolved spec remains \`TBD\` rather than fabricated.
|
|
37
|
+
3. After native project source and geometry are actually produced and validated, **promote the existing draft BIM row** in \`studio_templates\`: \`app_id='shared'\`, \`resource_kind='bim_starter'\`, \`category='bim-starters'\`, SKU \`SAM-BIM-BARNDOMINIUM-STARTER\`. Status remains \`draft\` until the R2 payload, checksum, thumbnail, FreeCAD source and GLB are verified.
|
|
38
|
+
4. Use the existing \`cad\` R2 bucket, immutable prefix \`library/bim-starters/barndominium/v1/\`. Publish \`manifest.json\` **last**. Recommended objects: \`source.FCStd\`, \`preview.glb\`, \`thumbnail.webp\`, \`drawings/\`, \`coordination/\`, and \`delivery.zip\`. Keep the account-specific review Space under private Artifacts, not public platform stock.
|
|
39
|
+
5. Use \`agentsam.cad.bim-starter.v1\` manifest conventions: original source SHA256, preview derived-from SHA256, object hierarchy, verified export relationships, source format, validation outputs. Instantiation must copy the source into an account-owned project and must never edit the shared stock source.
|
|
40
|
+
6. Chat → existing agent run status → verified artifact card → existing Side Stage open → authenticated ZIP download. The card should display real title/type/status/thumbnail, avoid overlays on mobile, and offer rename/move-to-Library and edit only when authorized.
|
|
41
|
+
|
|
42
|
+
## Integration gaps found
|
|
43
|
+
|
|
44
|
+
- \`work-cad-catalog.js\` historically derived \`ref\` only from \`/platform/<slug>/vN/\` R2 keys. BIM starters use \`library/bim-starters/...\`; consequently \`cadCanAct\` hides them from the project-template picker (whose scene callback accepts only legacy \`ref\`). This branch adds an authenticated payload resolver and typed \`payloadUrl\` field, without falsely enabling an unimplemented FreeCAD instantiation action.
|
|
45
|
+
- \`BimStartersWorkspace.tsx\` and local-only \`/api/cad/bim-starters\` read the local machine, while the platform template catalog is stored in D1/R2. Link the same viewer to the platform catalog via a proper native-format adapter; do not introduce an unrelated BIM gallery.
|
|
46
|
+
- The standalone Space does not sync checklist/budget state back to the platform. Browser-local storage is correctly labeled but must never be presented as account persistence.
|
|
47
|
+
- Existing \`agentsam-workbench/src/agent/ArtifactCard.tsx\` is only a text button. Reuse the packaged workbench, but upgrade its presentation/handlers in an explicitly integrated chat/artifact workflow; isolated cosmetic work on unused components is not sufficient.
|
|
48
|
+
- The catalog R2 inventory is explicitly partial, so publishing must verify actual object reads/checksums rather than relying on bucket totals.
|
|
49
|
+
|
|
50
|
+
## Acceptance criteria
|
|
51
|
+
|
|
52
|
+
- Old templates continue to display and launch; no new hardcoded DreamHouse preset.
|
|
53
|
+
- Hosted catalog supplies authenticated payload and preview references regardless of R2 key naming.
|
|
54
|
+
- BIM entries never advertise native edit until an importer instantiates source and passes geometry/IFC checks.
|
|
55
|
+
- Artifact card shows the actual finished output from a real completed job, not an optimistic status.
|
|
56
|
+
- One authoritative source asset; one current thumbnail per artifact, regenerated on content update; independently versioned source releases.
|
|
57
|
+
- Mobile 390 × 844 CSS px supports safe-area, no composer/dock overdraw, horizontal sheet navigation with visible selection, download/share, and focused document view.
|
|
58
|
+
- Owner review and licensed design/permit review remain explicit gates. No conceptual placeholder is described as a construction-ready plan.
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# PrimeTech component, capability and acceptance matrix
|
|
2
|
+
**Baseline:** 2026-11-20. **Meaning of status:** `EXISTS` identifies source/UI; `EXTRACT` means move portable UI; `ADAPT` means bind a real operation; `TODO` means not demonstrated/needs implementation; `SOURCE-GATED` denotes real authorization required; `FUTURE` is unscheduled. **No status other than a recorded live acceptance proves production readiness.**
|
|
3
|
+
|
|
4
|
+
## A. Shared foundation — required for all future interfaces
|
|
5
|
+
|
|
6
|
+
| ID | Capability | Status | Canonical build location / authority | Acceptance |
|
|
7
|
+
| --- | --- | --- | --- | --- |
|
|
8
|
+
| F01 | Adaptive editor frame and pane slots | EXISTS/ADAPT | `agentsam-workbench/src/design/DesignWorkspaceFrame.tsx` | No double shell; pane state persists |
|
|
9
|
+
| F02 | Editor composition/export | TODO | `agentsam-workbench/src/editor/EditorWorkspace.tsx` + package exports | Imported in CAD and SamSketch |
|
|
10
|
+
| F03 | Semantic command IDs and descriptors | TODO | `agentsam-contracts/src/editor-commands.ts` | One ID resolves across toolbar/menu/palette |
|
|
11
|
+
| F04 | Installed/authorized command capability | TODO | `agentsam-contracts/src/editor-capabilities.ts` + domain adapters | No hidden permission bypass |
|
|
12
|
+
| F05 | Command context and selection kind | TODO | `agentsam-contracts/src/editor-command-context.ts` | Correct mode/selection/source change |
|
|
13
|
+
| F06 | Create popover rows, shortcuts and focus | EXTRACT/TODO | `agentsam-workbench/src/editor/EditorMenuPrimitives.tsx` | Pointer/keyboard/touch all work |
|
|
14
|
+
| F07 | Create menu renderer | EXTRACT/TODO | `agentsam-workbench/src/editor/EditorCreateMenu.tsx` | Same component in two lanes |
|
|
15
|
+
| F08 | Contextual toolbar / tool families | TODO | `agentsam-workbench/src/editor/EditorToolbar.tsx` | Mode changes toolstrip correctly |
|
|
16
|
+
| F09 | Tool placement/cancel state | TODO | `agentsam-contracts/src/editor-session.ts` + domain engine | Escape creates no ghost objects |
|
|
17
|
+
| F10 | Command palette | TODO | `agentsam-workbench/src/editor/EditorCommandPalette.tsx` | Same command IDs, no duplicate logic |
|
|
18
|
+
| F11 | Keyboard shortcuts and help | TODO | Shared menu/tool controller and domain shortcut binding | No conflict or false trigger |
|
|
19
|
+
| F12 | Inspector schema and host | TODO | `agentsam-contracts/src/editor-inspector.ts`, `workbench/src/editor/EditorInspectorHost.tsx` | Type-specific context on selection |
|
|
20
|
+
| F13 | Reusable property fields | TODO | `workbench/src/editor/EditorInspectorFields.tsx` and field primitives | Precise editing; validation/reset |
|
|
21
|
+
| F14 | Object tree/search/virtualization | TODO | `workbench/src/editor/EditorObjectTree.tsx` | 1,881 items usable and frameable |
|
|
22
|
+
| F15 | Asset library browsing | TODO | `workbench/src/editor/EditorAssetBrowser.tsx` | Real asset reference and insertion |
|
|
23
|
+
| F16 | Template modal, categories, search | TODO | `workbench/src/editor/EditorTemplateBrowser.tsx` | Open/instantiate valid object/scene |
|
|
24
|
+
| F17 | Viewport chrome and gizmo | TODO | `workbench/src/editor/EditorViewportControls.tsx` | Projection/presets per active pane |
|
|
25
|
+
| F18 | Shared timeline dock UI | TODO | `workbench/src/editor/EditorTimelineDock.tsx` | Mounted only when real runtime exists |
|
|
26
|
+
| F19 | Status/revision/units display | TODO | `workbench/src/editor/EditorStatusBar.tsx` | Accurate dirty/saved/source feedback |
|
|
27
|
+
| F20 | Theme projection | EXISTS/ADAPT | Platform theme provider + Workbench CSS | All colorways; no leaf color fallbacks |
|
|
28
|
+
| F21 | Host/guest revision-aware bridge | EXISTS/ADAPT | `agentsam-contracts/src/design-workspace-bridge.ts` | Origin + resource + revision validated |
|
|
29
|
+
| F22 | Composer primitive and thread | EXISTS | `agentsam-workbench/src/agent/Composer.tsx` + `AgentConversationSurface.tsx` | One input implementation |
|
|
30
|
+
| F23 | Contextual assistant selection adapter | TODO | `workbench/src/agent/ContextualComposer.tsx` + host adapters | No extra global chat identity |
|
|
31
|
+
| F24 | Independent npm install/build | TODO | Workbench `package.json` exports and isolated fixture | No repo source alias required |
|
|
32
|
+
|
|
33
|
+
## B. Precision — a cross-editor obligation, not an app category
|
|
34
|
+
|
|
35
|
+
| ID | Precision capability | Status | Proposed owner | Acceptance |
|
|
36
|
+
| --- | --- | --- | --- | --- |
|
|
37
|
+
| P01 | Unit systems and exact input precision | TODO/ADAPT | `agentsam-contracts/src/editor-precision.ts` + engine | Stored value equals intended model value |
|
|
38
|
+
| P02 | 2D/3D/world/local coordinate frames | TODO/ADAPT | Precision contract + each renderer/model | Explicit basis and transforms |
|
|
39
|
+
| P03 | Snap types and tolerance reporting | TODO/ADAPT | Domain geometric engine, shared controls | Repeatable geometry landing points |
|
|
40
|
+
| P04 | Constraints/relations | TODO/VERIFY | CAD/vector domain solvers | Solve or display truthful unsupported state |
|
|
41
|
+
| P05 | Transform XYZ/link/reset | EXISTS/ADAPT | Domain transforms + shared `AxisTriplet` | No loss of precision on reload |
|
|
42
|
+
| P06 | Vector nodes and curves | EXISTS UI / VERIFY behavior | SamSketch vector engine + common interaction | Drag node, exact edit, undo/save/reload |
|
|
43
|
+
| P07 | Native CAD entities/parametric features | EXISTS portions / VERIFY | CAD native model engine | Native wall/feature retains editable parameters |
|
|
44
|
+
| P08 | Source-to-derived geometry relationship | TODO | Domain model provenance | Edit source and regenerate derivative |
|
|
45
|
+
| P09 | Non-destructive conversions | TODO | Domain text/path/solid adapters | Preserve original or explicit destructive consent |
|
|
46
|
+
| P10 | Model mutation undo/redo | EXISTS portions / ADAPT | Domain history engines | Reversible real model mutation |
|
|
47
|
+
| P11 | Revision conflict and stale-write rejection | EXISTS contracts / VERIFY | Domain backends and bridge | No stale silent overwrite |
|
|
48
|
+
| P12 | Real quantity/measurement result | EXISTS UI / VERIFY | CAD measure/BOM engine | Quantities agree with geometry and units |
|
|
49
|
+
| P13 | Export source fidelity | TODO/VERIFY | CAD/scene/typeface export engines | Round-trip and independent validator |
|
|
50
|
+
| P14 | Precision tool accessibility on mobile | TODO | Shared field/mode presentation | Exact entry still usable at 390×844 |
|
|
51
|
+
|
|
52
|
+
## C. Lane 1 — CAD Creator, first production proof
|
|
53
|
+
|
|
54
|
+
| ID | Scope | Status | Starting file / destination | Human acceptance |
|
|
55
|
+
| --- | --- | --- | --- | --- |
|
|
56
|
+
| C01 | Compact Create + menu | EXISTS/EXTRACT | `apps/cad-creator/frontend/src/components/quick-add/QuickAddMenu.tsx` → shared `EditorCreateMenu` | Real action, hover/keyboard, complete labels |
|
|
57
|
+
| C02 | Built-in and hosted catalog | EXISTS/ADAPT | `quick-add/catalog.ts`; existing `/api/work/cad/catalog` | Correct account resource and insertion |
|
|
58
|
+
| C03 | Native Wall authoring | EXISTS UI / VERIFY | `CadCreatorApp.tsx` + CAD modeling domain | Create/edit precise native wall + save/reopen |
|
|
59
|
+
| C04 | Door/window/opening/roof/etc | TODO/VERIFY per operation | CAD feature handlers/geometry domain | Only enabled if native persisted operation exists |
|
|
60
|
+
| C05 | Preview/Edit/Source modes | EXISTS/ADAPT | CAD app mode controller + shared toolbar | Correct selectable tool states |
|
|
61
|
+
| C06 | 2D/3D/Split panes | EXISTS/ADAPT | CAD viewport + shared per-pane control chrome | Both panes remain interactive |
|
|
62
|
+
| C07 | Source-linked DreamHouse item review | EXISTS/SOURCE-GATED | CAD source/project adapter | Source cannot be falsely edited |
|
|
63
|
+
| C08 | Authorized native source handoff | SOURCE-GATED/TODO | CAD host/guest revision adapter | Correct project opened or unavailable explained |
|
|
64
|
+
| C09 | CAD object inspector schema | EXISTS UI / ADAPT | CAD inspector → shared host and CAD schema | Native vs imported fields differ |
|
|
65
|
+
| C10 | Project/document/BOM fields | EXISTS UI / VERIFY | CAD project data/measurement authority | Unit-accurate and real data |
|
|
66
|
+
| C11 | Scene tree virtualization | TODO | Shared `EditorObjectTree` + CAD source adapter | 1,881 nodes, filter, reveal, frame |
|
|
67
|
+
| C12 | Orientation/zoom/projection/camera | EXISTS portions / ADAPT | CAD viewport controls → common chrome | No camera-object/nav confusion |
|
|
68
|
+
| C13 | Lighting/site/material controls | EXISTS UI / VERIFY | CAD renderer/scene adapter | Real environment parameter changes |
|
|
69
|
+
| C14 | Asset browser collision in Split | TODO | CAD overlay placement + dock system | No interaction covered by menu |
|
|
70
|
+
| C15 | Native geometry export/round trip | TODO/VERIFY | CAD engine/export services | Reopen retains true native semantic values |
|
|
71
|
+
| C16 | PR #711 token repair | TODO (PR open baseline) | `quick-add/quick-add.css` + host theme provider | No leaf literal fallback colors |
|
|
72
|
+
|
|
73
|
+
## D. Lane 2 — SamSketch, second consumer with equal precision ambition
|
|
74
|
+
|
|
75
|
+
| ID | Scope | Status | Starting file / destination | Human acceptance |
|
|
76
|
+
| --- | --- | --- | --- | --- |
|
|
77
|
+
| S01 | Real tool palette replacing command cards | TODO | `apps/samsketch/src/main.ts` → shared toolbar/Create menu | Tools no longer listed as icon assets |
|
|
78
|
+
| S02 | Object and source part hierarchy | EXISTS/ADAPT | `main.ts`, `native-scene-editor.ts` → object tree host | Correct selection and part ID |
|
|
79
|
+
| S03 | Vector drawing / point editing | EXISTS UI / VERIFY+ADAPT | SamSketch vector functions + shared session contract | Nodes/curves edit exactly and persist |
|
|
80
|
+
| S04 | 2D primitives and positioning | EXISTS UI / VERIFY | SamSketch geometry engine adapter | Create/place/transform/save/reopen |
|
|
81
|
+
| S05 | Source-backed 3D instances | EXISTS/ADAPT | `design-adapter.ts` + scene renderer | Instance changes do not mutate source |
|
|
82
|
+
| S06 | Material/PBR and surface presets | EXISTS UI / VERIFY | SamSketch material/scene handlers | Roughness/metalness persist |
|
|
83
|
+
| S07 | Scene profiles and atmosphere | EXISTS UI / VERIFY | `samspeaks-controls.ts` + scene renderer | Visual changes survive reload |
|
|
84
|
+
| S08 | Text insertion / inspector | TODO/VERIFY | SamSketch text editor + shared Text schema | Font, content, metrics are editable |
|
|
85
|
+
| S09 | Typeface specialist studio | EXISTS UI / VERIFY | Existing typeface code | Glyph/metric edits + validated TTF |
|
|
86
|
+
| S10 | Font picker from approved library | TODO | Shared `EditorAssetBrowser`/FontPicker + font provider | Licensed font applied and persisted |
|
|
87
|
+
| S11 | Gallery metadata and covers | EXISTS gallery / ADAPT | `apps/samsketch/src/gallery` and scene API | Meaningful cards, not blind Untitled list |
|
|
88
|
+
| S12 | Mini AgentSam / side assistant styling | TODO | `SamSketchAssistantPane.tsx` → shared composer/presentation | One chat primitive, theme-correct |
|
|
89
|
+
| S13 | Native IAMScene edit path | EXISTS/ADAPT | `native-scene-editor.ts` | Real saved node edit; no duplicate document |
|
|
90
|
+
| S14 | Precision measurements/constraints | TODO/VERIFY | SamSketch modeling domain | Explicit coordinate/units/constraint semantics |
|
|
91
|
+
|
|
92
|
+
## E. Advanced tool families — registered only with real execution
|
|
93
|
+
|
|
94
|
+
| ID | Tool / panel | Status | Candidate build authority | Execution requirement |
|
|
95
|
+
| --- | --- | --- | --- | --- |
|
|
96
|
+
| A01 | Rectangle / Ellipse / Polygon / Star | TODO/VERIFY by adapter | Vector/geometry engine + shared creation UI | Create actual editable primitives |
|
|
97
|
+
| A02 | Pen / Path / Vector point mode | EXISTS UI / VERIFY | Vector engine + shared mode controller | Anchor/control edits and cancel |
|
|
98
|
+
| A03 | Text and glyph conversion | TODO/VERIFY | Text engine + Typeface | Source-safe conversion, reload |
|
|
99
|
+
| A04 | Input / UI component | FUTURE | UI authoring feature adapter | Real UI semantics, not visual box |
|
|
100
|
+
| A05 | Shape blend / Decal | FUTURE | Geometry/material adapter | Source/parameters + undo |
|
|
101
|
+
| A06 | Primitives: Plane/Box/Sphere/Cylinder/Cone | TODO/VERIFY by adapter | Actual 3D geometry factory | Persisted geometry and source |
|
|
102
|
+
| A07 | Torus/Helix/Lathe/complex solids | FUTURE/VERIFY | Solid/mesh modeling engine | Exact parametric construction |
|
|
103
|
+
| A08 | Extrude / Revolve / Sweep / Loft | TODO/VERIFY | CAD/vector solid feature adapter | Recoverable source and parameters |
|
|
104
|
+
| A09 | Boolean / Array / Fillet / Chamfer | TODO/VERIFY | CAD/mesh feature adapter | Non-destructive or explicit conversion |
|
|
105
|
+
| A10 | Group / Hierarchy | EXISTS portions / ADAPT | Domain scene graph + shared UI | Stable IDs and undo |
|
|
106
|
+
| A11 | Camera object creation/inspection | TODO/VERIFY | IAMScene/CAD scene adapter | Authored camera persisted |
|
|
107
|
+
| A12 | Point/Directional/Spot lights | TODO/VERIFY | Scene renderer | True light object in document |
|
|
108
|
+
| A13 | View projection and orientation gizmo | TODO shared UI | Viewport controller per engine | Perspective/orthographic and frame |
|
|
109
|
+
| A14 | Grid/snap/view preset/zoom popover | TODO shared UI | Viewport control + domain snap engine | Explicit values/behaviors |
|
|
110
|
+
| A15 | Environment/HDRI/sky/sun | EXISTS portions / VERIFY | Scene/environment domain adapter | Real live renderer change |
|
|
111
|
+
| A16 | Fog, color pipeline, ambient shadow | TODO/VERIFY | Scene render settings authority | Real persisted effects |
|
|
112
|
+
| A17 | Simulation/physics/particles/hair | FUTURE | Simulation runtime and data model | Executable/documented simulation |
|
|
113
|
+
| A18 | Material and color asset stacks | TODO/VERIFY | Rendering engine + asset references | Layer edit/source reuse |
|
|
114
|
+
| A19 | Frame/device size presets | TODO | Shared `EditorViewportControls` + frame adapter | Real canvas/frame sizing |
|
|
115
|
+
| A20 | Timeline tracks/keyframes | EXISTS contract portions / VERIFY | IAMScene/CoPro timeline authority | Scrub/play/save/reload |
|
|
116
|
+
| A21 | Events/states/action picker | FUTURE/VERIFY | Runtime + `editor-interactions.ts` | Trigger executes real action |
|
|
117
|
+
| A22 | Variables, typed values, bindings | FUTURE/VERIFY | Runtime data registry and permission service | Set value → bound property changes |
|
|
118
|
+
| A23 | APIs/webhooks/voice/AI data | FUTURE | Secure integration/runtime host | Consent, secrets, rate limits and execution |
|
|
119
|
+
| A24 | Texture, image, video, audio libraries | EXISTS media service / ADAPT | Shared media authority + browser | Rights and account scope verified |
|
|
120
|
+
| A25 | Template object vs scene browser | EXISTS catalog / TODO shared UI | Existing catalogs + shared modal | Correct source instantiation |
|
|
121
|
+
| A26 | Font stock and derivative versions | TODO | Theme Store R2 inventory, license, font service | Verified rights and export |
|
|
122
|
+
| A27 | Assistant/context/tool capability | EXISTS partial / ADAPT | Workbench agent components + host | Selection scoped, permission enforced |
|
|
123
|
+
| A28 | Published installer-ready editor kit | TODO | Workbench package export/release | External install integration passes |
|
|
124
|
+
|
|
125
|
+
## F. Required interaction matrices
|
|
126
|
+
|
|
127
|
+
### Generic authoring cycle
|
|
128
|
+
```text
|
|
129
|
+
Open authorized document
|
|
130
|
+
→ choose mode and open Create menu
|
|
131
|
+
→ navigate/select command by keyboard, pointer or touch
|
|
132
|
+
→ arm/create/place and cancel one attempt
|
|
133
|
+
→ place/commit and select actual object
|
|
134
|
+
→ inspect exact coordinates/material/source
|
|
135
|
+
→ change a real value; capture receipt
|
|
136
|
+
→ undo, redo
|
|
137
|
+
→ save and hard reload
|
|
138
|
+
→ assert object ID + properties + provenance + revision
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### CAD source-negative cycle
|
|
142
|
+
```text
|
|
143
|
+
Open source-linked imported item
|
|
144
|
+
→ confirm read-only/source-linked authority
|
|
145
|
+
→ try menu, shortcut, inspector and assistant mutation
|
|
146
|
+
→ reject unauthorized changes
|
|
147
|
+
→ verify original source untouched
|
|
148
|
+
→ hand off to authorized native project if available
|
|
149
|
+
→ execute there with a matching revision
|
|
150
|
+
→ reject stale revision attempt
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Universal UI regression
|
|
154
|
+
- [ ] Opened popover never becomes a permanent oversized project list.
|
|
155
|
+
- [ ] Tool labels have accessible complete text even if visual width truncates.
|
|
156
|
+
- [ ] Hover is not confused with active, placement or successful commit.
|
|
157
|
+
- [ ] Keyboard and touch users can reach every essential action.
|
|
158
|
+
- [ ] Menu search, separators, shortcut labels, disabled reason and focus restoration are consistent across all consumers.
|
|
159
|
+
- [ ] Explorer/inspector/assistant can collapse and dock without blocking active canvas.
|
|
160
|
+
- [ ] Switching selected object changes the inspector correctly, not just the heading.
|
|
161
|
+
- [ ] Same field component does not impose false units/precision on different engine types.
|
|
162
|
+
- [ ] UI theme aliases follow host theme across iframe boundary; material colors remain document data.
|
|
163
|
+
- [ ] 390×844, 1920×1080 and 2560×1440 screen acceptance.
|
|
164
|
+
- [ ] Tested on actual packaged/deployed app, not just source snapshot or component preview.
|
|
165
|
+
|
|
166
|
+
## G. How to admit a new editor in the future
|
|
167
|
+
1. Reuse `DesignWorkspaceAdapter`; declare document identity/revision and authenticated resource scope.
|
|
168
|
+
2. Implement an engine adapter for commands, selection, inspector data/changes, persistence, history and viewport operations.
|
|
169
|
+
3. Register only real supported commands and capability predicates. Resolve source gates in the domain authority.
|
|
170
|
+
4. Mount the existing Workbench editor composition, menu, tree, asset, inspector and viewport primitives; do not copy them.
|
|
171
|
+
5. Provide an authorized project/asset/font catalog adapter without creating a duplicate database.
|
|
172
|
+
6. Use shared AgentSam composer with contextual selection and theme tokens; preserve global vs mini assistant roles.
|
|
173
|
+
7. Demonstrate the full generic cycle plus the new domain's precision/negative tests.
|
|
174
|
+
8. Record new field types or interaction primitives in Workbench **only when they are genuinely generic**; retain domain tools in the specialist engine.
|
|
175
|
+
|
|
176
|
+
**No app-specific partition is a feature restriction.** CAD Creator is merely the first delivery lane, SamSketch the second, and every eligible engine can offer high-end precision modeling/vector/scene behavior through actual capabilities.
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# PrimeTech implementation waves — ordered engineering instructions
|
|
2
|
+
**Status:** Planned / TODO unless explicitly labeled repository-identified.
|
|
3
|
+
**Execution priority:** CAD Creator is Lane 1. SamSketch is Lane 2. Shared infrastructure is Lane 0 and must be exercised immediately in the active product; it is not a pretext for months of untested abstraction.
|
|
4
|
+
**Scope guard:** These waves add a portable editor UX system, not a new global shell, second geometry kernel, duplicate media catalog or rewritten app-specific document model.
|
|
5
|
+
|
|
6
|
+
## Wave overview
|
|
7
|
+
|
|
8
|
+
| Wave | Primary lane | Visible result required to exit | State |
|
|
9
|
+
| --- | --- | --- | --- |
|
|
10
|
+
| W00 — Inventory and contract reconciliation | Lane 0 + CAD | Audited owner-by-owner command/precision matrix and baseline recordings | TODO |
|
|
11
|
+
| W01 — Native CAD-first shared workspace slice | Lane 1 + Lane 0 | CAD Create menu, contextual toolstrip, responsive dock and one native operation | TODO |
|
|
12
|
+
| W02 — CAD precision and source authority | Lane 1 | Native wall lifecycle, authoritative inspector, source-gated review, 2D/3D/Split, save/reopen | TODO |
|
|
13
|
+
| W03 — SamSketch second consumer | Lane 2 + Lane 0 | Same shared components; real vector/object editing, undo/redo, save/reopen | TODO |
|
|
14
|
+
| W04 — Universal property and viewport depth | Lanes 1 + 2 | Precision field family and per-pane camera/scene controls reusable by other engines | TODO |
|
|
15
|
+
| W05 — Assets, templates and type | Lanes 1 + 2 | Real searchable object/asset/template browsers and licensed font workflows | TODO |
|
|
16
|
+
| W06 — Scenes, animation and data bindings | Eligible engine lanes | Real camera/light/material/environment runtime paths; no phantom event toggles | TODO |
|
|
17
|
+
| W07 — Adoption, packaging and release acceptance | All consumers | Independently installable UI, human acceptance and deployed build proof | TODO |
|
|
18
|
+
|
|
19
|
+
Work on a focused branch/PR per wave. Where dependencies permit, split specialist implementations from shared infrastructure without removing working controls before their replacement is proven.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## W00 — Audit and baseline (do before moving source)
|
|
24
|
+
|
|
25
|
+
**Owner:** Lane 0 architecture with Lane 1 CAD command inventory first.
|
|
26
|
+
**Entry:** Current GitHub main and working hosted CAD route are available.
|
|
27
|
+
|
|
28
|
+
### Instructions
|
|
29
|
+
- [ ] Confirm current repository head and all existing `design-workspace` contracts/exports. Map existing component owner, app importer, domain authority and feature tests.
|
|
30
|
+
- [ ] Audit every visible CAD toolbar, Quick Add row, inspector tab, project selector, grid/snap control, 2D/3D/Split pane, environment field, source warning and keyboard shortcut to its actual onClick/handler. Include current asset catalog endpoint and its authorization.
|
|
31
|
+
- [ ] Audit native CAD wall/geometry create/update/save operations, exact unit representation, object IDs, source revision model, undo/redo and native-versus-imported classification. Record whether each operation is working, partial, source-gated or absent.
|
|
32
|
+
- [ ] Audit SamSketch `main.ts`, `design-adapter.ts`, `native-scene-editor.ts`, settings drawer, gallery, text/typeface, material, vector/node tools, scene profiles and real persistence. Do not conflate screenshot controls with persisted edits.
|
|
33
|
+
- [ ] Inspect package exports, style dependency graphs, component tests, PR #711 patch and current theme provider. Enumerate literal-color violations by file.
|
|
34
|
+
- [ ] Inventory existing camera, environment, IAMScene animation, CoPro, fonts, asset catalogs and media services before adding equivalents.
|
|
35
|
+
- [ ] Record desktop baseline at 2560×1440 and mobile 390×844; include panel dimensions, dark/light/custom, collapsed/opened controls, long project tree and view-only sources.
|
|
36
|
+
- [ ] Build `command-capability-audit.md` as a *generated* implementation artifact: ID, display label, owning file, handler, engine, permission, revision check, units, shortcut, undo policy, persistence, status, evidence link.
|
|
37
|
+
|
|
38
|
+
### Exit gate
|
|
39
|
+
A traceable source-to-click map exists; each implemented command has a handler and persistence claim verified or marked unknown. No proposal claims an unverified modeling operation works.
|
|
40
|
+
|
|
41
|
+
## W01 — CAD proves the shared shell and Create contract
|
|
42
|
+
|
|
43
|
+
**Owner:** Lane 1 CAD + Lane 0 Workbench.
|
|
44
|
+
**Goal:** The first real reusable improvement is installed and used *inside CAD Creator*, not demonstrated only in a component sandbox.
|
|
45
|
+
|
|
46
|
+
### Contract/package work
|
|
47
|
+
- [ ] Add `editor-commands.ts`, `editor-command-context.ts`, `editor-capabilities.ts` and `editor-session.ts` with tests under `packages/agentsam-contracts/src/`.
|
|
48
|
+
- [ ] Introduce `@inneranimalmedia/agentsam-workbench/editor` subpath with `EditorWorkspace`, `EditorToolbar`, `EditorCreateMenu`, `EditorMenuPrimitives`, `EditorStatusBar` and `EditorToolState`.
|
|
49
|
+
- [ ] Extend `DesignWorkspaceFrame` only as needed for controlled dock state and split-pane safety. Preserve its existing explorer/inspector/assistant slots and layout persistence.
|
|
50
|
+
- [ ] Resolve semantic theme tokens through one provider; remove temporary leaf fallbacks rather than inserting local hardcoded palettes.
|
|
51
|
+
- [ ] Implement mouse/touch/keyboard/focus/menu scroll/Escape handling once and prove it can be driven by a non-CAD mock adapter.
|
|
52
|
+
|
|
53
|
+
### CAD binding
|
|
54
|
+
- [ ] Replace *presentation* of `QuickAddMenu.tsx` with the Workbench Create menu; retain `catalog.ts` and the actual CAD handlers as the authoritative source.
|
|
55
|
+
- [ ] Bind the first demonstrably working CAD create command (native Wall if verified); if it is not actually supported in current native document, surface the failure truthfully and implement the missing operation in CAD before marking W01 complete.
|
|
56
|
+
- [ ] Preserve Preview/Edit/Source and 2D/3D/Split modes, correct active tool highlight, precise command labels, keyboard parity and status feedback.
|
|
57
|
+
- [ ] Separate Templates from creation rows and distinguish asset browsing from starting a whole project.
|
|
58
|
+
- [ ] Build the smallest source-aware `EditorCommandContext`; a review-only mesh must not get a native-editable Wall action.
|
|
59
|
+
|
|
60
|
+
### Exit gate
|
|
61
|
+
Human opens hosted `/admin/cad`, clicks `+`, chooses a supported native command, creates an object, selects it and sees real status. Escape cancels the next uncommitted placement. Light/dark/custom and mobile are acceptable. No duplicate Create menu remains in the visible editor. Unit tests plus click recording required.
|
|
62
|
+
|
|
63
|
+
## W02 — CAD: precision, BIM authority, document and viewport
|
|
64
|
+
|
|
65
|
+
**Owner:** Lane 1 CAD + shared inspector fields.
|
|
66
|
+
**Goal:** CAD can execute and persist a real, precision-authored native workflow while source-linked DreamHouse elements remain truthfully review-only.
|
|
67
|
+
|
|
68
|
+
### Instructions
|
|
69
|
+
- [ ] Add `editor-inspector.ts`, `editor-precision.ts`, `editor-viewport.ts` contracts.
|
|
70
|
+
- [ ] Build `EditorInspectorHost` and field primitives (`NumericField` with units, `AxisTriplet`, enum, switch, slider, color, asset ref, source banner, validation/commit controls).
|
|
71
|
+
- [ ] Bind *native* wall inspector to real wall property operations: plan coordinates, level/height/thickness/material where supported; handle engineering units, snapping, dimension display and constraints from CAD engine data, not client guesses.
|
|
72
|
+
- [ ] Demonstrate native Wall create → select → exact numerical modify → add/adjust opening if engine supports it → inspect BOM/quantities → undo/redo → save → reload → compare canonical geometry.
|
|
73
|
+
- [ ] Expose `native-editable / instance-editable / source-linked-review / read-only-revision` in source-aware inspector. Reject stale revision and unauthorized proposal at backend, not only through a gray button.
|
|
74
|
+
- [ ] Open a real authorized native source via a verified handoff if available; otherwise explain unavailable source and keep geometry controls disabled.
|
|
75
|
+
- [ ] Preserve 1,881-element DreamHouse hierarchy using virtualized tree, selection/filter and frame; verify no flattening of stable source IDs.
|
|
76
|
+
- [ ] Replace the undersized scene control card with readable viewport controls: orientation gizmo, projection when supported, plan/isometric/front/side presets, zoom/frame, grid/snapping and pane focus. Keep authored camera editing separate.
|
|
77
|
+
- [ ] In Split, scope menus and asset/template sheets to active pane or dock, with zero overlay blocking the other pane; allow independent interaction in both panes.
|
|
78
|
+
- [ ] Inspect/document actual lighting/exposure/material/source-color/site controls. Any added sky/HDRI/fog/sun controls must be bound to real renderer parameters.
|
|
79
|
+
- [ ] Preserve CAD approval bridge and native source authority on host and guest.
|
|
80
|
+
|
|
81
|
+
### Exit gate
|
|
82
|
+
A saved native wall has the same precise modeled values after a hard reload; a source-linked scene element stays review-only and routes correctly; 1,881 source items remain selectable; 2D, 3D and Split are navigable; invalid/stale/unauthorized edits do not mutate the document. Record receipts and visual evidence.
|
|
83
|
+
|
|
84
|
+
## W03 — SamSketch consumes the same components, without losing its engine
|
|
85
|
+
|
|
86
|
+
**Owner:** Lane 2 SamSketch; Lane 0 supplies no bespoke SamSketch-only widget forks.
|
|
87
|
+
|
|
88
|
+
### Instructions
|
|
89
|
+
- [ ] Map existing tools in `apps/samsketch/src/main.ts` and `native-scene-editor.ts` into the same semantic registry; extract handlers into domain command adapters, keeping Three.js/IAMScene ownership.
|
|
90
|
+
- [ ] Replace the misleading `Icons` command-card tab with a real tool palette/Create menu. Keep actual icon *assets* in the asset library, not under editor commands.
|
|
91
|
+
- [ ] Mount the same `EditorWorkspace`, `EditorCreateMenu`, `EditorToolbar` and `EditorInspectorHost` components that CAD uses; adapt existing host/guest bridge without stacking another shell around the iframe.
|
|
92
|
+
- [ ] Support select → rectangle/ellipse/path creation → point/curve editing → transform, precise node/size/rotation values, undo/redo, save/reopen. If point editing requires new vector-engine work, record that as domain TODO and implement before claiming completion.
|
|
93
|
+
- [ ] Retain existing object tree, source part transforms, appearance/visibility and PBR finishes; bind to real material/instance state.
|
|
94
|
+
- [ ] Ensure type-specific inspectors for path, polygon, source mesh, group, text and scene, not a flattened universal form.
|
|
95
|
+
- [ ] Fix `SamSketchAssistantPane.tsx` hardcoded styling and mini input. Reuse one composer primitive with a contextual selection adapter, keeping global and mini assistant roles distinct.
|
|
96
|
+
- [ ] Preserve full Typeface Studio as a specialist glyph/metrics editor; ordinary Text insertion must remain direct and editable.
|
|
97
|
+
- [ ] Clean gallery navigation: titled and covered items, domain/context differentiation, favorites/starters/drafts, remove broad unhelpful Untitled rows by improving metadata, not deleting user data.
|
|
98
|
+
|
|
99
|
+
### Exit gate
|
|
100
|
+
The **same Workbench UI exports** have been exercised in CAD and SamSketch. SamSketch can create, edit path nodes and object transforms, undo/redo, save, hard reload and preserve values/source relationships. No duplicate assistant identity, no command-as-asset confusion and no regressions in scene presentation.
|
|
101
|
+
|
|
102
|
+
## W04 — Precision and inspector depth for any eligible editor
|
|
103
|
+
|
|
104
|
+
**Owner:** Lane 0 contracts + specialist adapters; begin with CAD and SamSketch regression tests.
|
|
105
|
+
|
|
106
|
+
### Instructions
|
|
107
|
+
- [ ] Define precision semantics by domain: explicit model-space units; coordinate basis; screen-to-model transform; input rounding vs storage; tolerances; snap types; constraints and error feedback.
|
|
108
|
+
- [ ] Implement consistent numeric field behavior (typing/commit/cancel/scrub), rotation and transform triplets, linked axes, unit conversions, validation and reset; prove accurate model mutations for both lanes.
|
|
109
|
+
- [ ] Implement selection-aware inspector schemas: empty, 2D shape, point/path, text, group, instance, native BIM, imported source, camera, scene and material.
|
|
110
|
+
- [ ] Implement node handles/curve controls as a specialist engine feature surfaced through shared interaction contracts; do not ask the React inspector to author geometry.
|
|
111
|
+
- [ ] Define viewport orientation, perspective/orthographic, camera selector, camera preview dock and zoom popover semantics. Viewport camera != authored camera != Play Camera.
|
|
112
|
+
- [ ] Make full scene environment panels composable and legible: light (ambient and objects), environment/HDRI, fog, atmosphere, postprocessing, simulation, color pipeline, shadows and terrain where backed.
|
|
113
|
+
- [ ] Deliver capability failures with exact disabled reasons and recovery (e.g. missing source authorization, uninstalled adapter or read-only revision).
|
|
114
|
+
|
|
115
|
+
### Exit gate
|
|
116
|
+
A precision matrix passes for CAD wall geometry, SamSketch path/node data, mesh instance transforms, text metrics and camera values where operations are supported. No visual-only numeric fields or fake precision.
|
|
117
|
+
|
|
118
|
+
## W05 — Project discovery, assets, templates and fonts
|
|
119
|
+
|
|
120
|
+
**Owner:** Shared resource UI + existing asset authorities + specialist insert/instantiate adapters.
|
|
121
|
+
|
|
122
|
+
### Instructions
|
|
123
|
+
- [ ] Build reusable `EditorResourceExplorer`, `EditorObjectTree`, `EditorAssetBrowser` and `EditorTemplateBrowser`. Avoid another collection database.
|
|
124
|
+
- [ ] Implement Objects/Assets/Libraries as distinct concepts. Use types/categories, search, ownership/permission/source badges, template object-vs-scene separation, preview and actual insertion.
|
|
125
|
+
- [ ] For large CAD hierarchy validate virtualization and reveal-on-select; for SamSketch validate object gallery previews and source references.
|
|
126
|
+
- [ ] Inventory Theme Store R2 fonts and license evidence **before** exposing them as stock. Extract metadata from actual binaries: family, style, weight, variable axes, coverage, hash, source, version, embedding/edit/distribution rights.
|
|
127
|
+
- [ ] Build ordinary text `T` → text content → font picker (System/Stock/Brand/My Fonts) → preview → apply → save/reopen; keep `Open in Typeface Studio` a separate expert action.
|
|
128
|
+
- [ ] Validate font source round-trip, contour/node edits, sidebearings, kerning, Unicode mappings, TTF export and a versioned derivative. Do not equate export button visibility with font-engine validity.
|
|
129
|
+
- [ ] Ensure template install/instantiate preserves account/source permission and selected project state. No new-user account cross-leaks.
|
|
130
|
+
|
|
131
|
+
### Exit gate
|
|
132
|
+
Users can find and insert a licensed object/template/font from the real catalog, edit an instance without changing immutable source bytes, save/reload, and find the asset again. Search/no-result, mobile and error states verified.
|
|
133
|
+
|
|
134
|
+
## W06 — Scene authoring, events, variables and data-backed interaction
|
|
135
|
+
|
|
136
|
+
**Owner:** IAMScene/SamScene/eligible CAD or SamSketch runtime adapter; Workbench hosts controls only.
|
|
137
|
+
|
|
138
|
+
### Instructions
|
|
139
|
+
- [ ] Inventory actual scene/document runtime for authored cameras, light objects, material layers, simulation, effects, scene timeline, states, events and typed data.
|
|
140
|
+
- [ ] Bind `SceneEnvironmentInspector` to real sky/sun/HDRI, fog, shadows, exposure, materials, site and effects operations. Treat absent capabilities as TODO in registry rather than active toggles.
|
|
141
|
+
- [ ] Implement camera object create/select/transform/FOV/clipping/preview/use/pin; preserve personal viewport camera behavior independently.
|
|
142
|
+
- [ ] Implement real animation keyframe add/select/scrub/play/save/reload before adding Timeline buttons to general navigation.
|
|
143
|
+
- [ ] Where runtime exists: state/event/action/variable registry with typed Number, Boolean, String, Time and integration bindings; scoped permissions for webhooks/API/AI actions; validated triggers and observable effects.
|
|
144
|
+
- [ ] Keep video editing and rendering authority in CoPro/MovieMode; shared timeline dock is UI, not a parallel player/render engine.
|
|
145
|
+
- [ ] Verify data lifecycle including delete/rename/dependency references, runtime execution, undo/redo and reload.
|
|
146
|
+
|
|
147
|
+
### Exit gate
|
|
148
|
+
An authored camera, light/environment change, and one supported animation or event can be created, saved, reloaded and observed executing. Unsupported features never look active.
|
|
149
|
+
|
|
150
|
+
## W07 — Portability and production acceptance
|
|
151
|
+
|
|
152
|
+
**Owner:** Workbench package/release maintainers + all specialist consumers.
|
|
153
|
+
|
|
154
|
+
### Instructions
|
|
155
|
+
- [ ] Export package subpath and CSS consistently from build artifacts; test packaged import from a fresh independent fixture outside monorepo source aliases.
|
|
156
|
+
- [ ] Verify all installed consumers obtain the same component version; no package-src relative imports, no duplicate editor shell in route and iframe.
|
|
157
|
+
- [ ] Exercise accessibility: focus return, arrow key navigation, shortcut conflicts, screen-reader labels, touch targets and drawers.
|
|
158
|
+
- [ ] QA themes: light/dark/custom and missing-host theme bootstrap; static lint for prohibited literal UI colors.
|
|
159
|
+
- [ ] QA viewports: desktop 2560×1440, 1920×1080 and mobile 390×844; verify split pane and context menu placement.
|
|
160
|
+
- [ ] QA revision permissions, tenant isolation, source-linked edit prevention, concurrent edit conflicts, app reinstall and offline failure states.
|
|
161
|
+
- [ ] Replay common human tasks in deployed build, not just dev server: Create → Edit precise value → Inspect → Undo → Redo → Save → Hard reload → Verify revision; repeat per relevant mode.
|
|
162
|
+
- [ ] Document supported, degraded and uninstalled feature behavior. Prepare one deprecation map for former duplicated controls with no removal until all consumers pass.
|
|
163
|
+
- [ ] Version packages with changelog, tests, provenance of release build, installer smoke test and post-deploy acceptance evidence.
|
|
164
|
+
|
|
165
|
+
### Exit gate
|
|
166
|
+
Shared editor components are importable outside this monorepo, both priority lanes pass human click-through and source-security checks, and no unsupported menu command is silently enabled.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## First PR: mandatory scope (do not broaden)
|
|
171
|
+
Suggested PR name: `feat(workbench): portable editor create and toolstrip, CAD proof consumer`.
|
|
172
|
+
|
|
173
|
+
**Files to introduce:** contracts command/context/capability/session; `workbench/src/editor/index.ts`, workspace composition, menu primitives, Create menu, toolbar/tool state and shared styles.
|
|
174
|
+
**Files to adjust:** Workbench exports/package.json, `DesignWorkspaceFrame` as required, CAD Quick Add presentation and CAD app adapter/host rendering, theme projection.
|
|
175
|
+
**Files to keep authoritative:** CAD catalog API, CAD domain modeling, approvals, native source/revision, original CAD project data.
|
|
176
|
+
**Pass criteria:** real CAD insertion+selection+cancel and at least one exact property change can be observed/saved; dark/light/custom/mobile behavior and no duplicate toolbar.
|
|
177
|
+
**Non-goals:** rewriting CAD modeling engine, implementing every desired primitive, copying specialist engines, rebuilding global app nav, installing all future event/animation tools.
|
|
178
|
+
|
|
179
|
+
## PR #711 merge gate (existing, open as of baseline)
|
|
180
|
+
- [ ] Remove local CSS literal fallback colors introduced in `apps/cad-creator/frontend/src/components/quick-add/quick-add.css`; provide semantic defaults at theme provider boundary.
|
|
181
|
+
- [ ] Preserve documented application-owned material color values and allowed transparency effects.
|
|
182
|
+
- [ ] Test gallery inside the active host theme, missing-theme bootstrap, all supported colorways and mobile. Confirm no blank gallery.
|
|
183
|
+
- [ ] Check PR head and rebase/reconcile with the shared Create menu work; avoid merging obsolete duplicate menu CSS into the final owner.
|
|
184
|
+
|
|
185
|
+
## Mandatory per-wave evidence record
|
|
186
|
+
Store with each PR:
|
|
187
|
+
```yaml
|
|
188
|
+
wave: Wxx
|
|
189
|
+
lane: 1 | 2 | shared | eligible-runtime
|
|
190
|
+
repo_head: "<commit>"
|
|
191
|
+
actual_changed_files: []
|
|
192
|
+
supported_commands_verified: []
|
|
193
|
+
source_gated_commands_verified: []
|
|
194
|
+
screenshots_or_recordings: []
|
|
195
|
+
revision_receipts: []
|
|
196
|
+
document_before_after: []
|
|
197
|
+
negative_tests: []
|
|
198
|
+
desktop_mobile_theme_cases: []
|
|
199
|
+
independent_package_test: pass | fail | not-applicable
|
|
200
|
+
human_acceptance: accepted | rejected | pending
|
|
201
|
+
known_todos: []
|
|
202
|
+
```
|
|
203
|
+
**Rule:** A passing build is evidence the package compiles, not proof that an actual editor interaction works.
|