motionloom 2.2.0 → 2.4.0
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/CHANGELOG.md +48 -1
- package/README.md +123 -17
- package/ROADMAP.md +8 -3
- package/SKILL.md +34 -3
- package/agent-card.json +48 -5
- package/agent-surfaces.json +8 -1
- package/artifact-adapter-registry.json +53 -0
- package/bin/motionloom.mjs +41 -4
- package/docs/AGENT-INTEGRATION.md +15 -2
- package/docs/CHECKLIST.md +21 -0
- package/docs/STATUS.md +2 -2
- package/docs/audits/data/deep-stress-latest.json +65 -65
- package/docs/releases/2.3.0.md +33 -0
- package/docs/releases/2.4.0.md +31 -0
- package/docs/releases/npm-publish-from-workstation.md +19 -8
- package/docs/research/agent-skill-ecosystem-notes.md +47 -0
- package/docs/research/ai-animation-tools-2026-notes.md +81 -0
- package/docs/research/ai-animation-tools-2026-report.md +168 -0
- package/docs/research/ai-pilot-ingest-notes.md +29 -0
- package/examples/agent-consumer/ai-generated-pilot/hero-male.json +10 -0
- package/examples/agent-consumer/ai-generated-pilot-provenance.json +55 -0
- package/examples/agent-consumer/ai-pilot-scout/CHATGPT-HANDOFF.md +70 -0
- package/examples/agent-consumer/ai-pilot-scout/CODEX-HANDOFF.md +80 -0
- package/examples/agent-consumer/ai-pilot-scout/README.md +39 -0
- package/examples/agent-consumer/ai-pilot-scout/chatgpt-geometry-correction-prompt.md +55 -0
- package/examples/agent-consumer/ai-pilot-scout/chatgpt-pose-generation-prompt.md +78 -0
- package/examples/agent-consumer/ai-pilot-scout/partial-handoff.json +73 -0
- package/examples/agent-consumer/artifact-intake/hero-motion-controls.json +15 -0
- package/examples/agent-consumer/artifact-intake/hero-motion-export.json +14 -0
- package/examples/agent-consumer/artifact-intake/hero-motion-provenance.json +20 -0
- package/examples/agent-consumer/artifact-intake/hero-motion-receipt.json +16 -0
- package/examples/agent-consumer/asset-consistency/assets/forest-back.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/forest-front.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/forest-mid.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/hero-atlas.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/hero-frame-00.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/hero-frame-01.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/hero-frame-02.png +0 -0
- package/examples/agent-consumer/asset-consistency/assets/hero-frame-03.png +0 -0
- package/examples/agent-consumer/asset-consistency/forest-layered-map.json +53 -0
- package/examples/agent-consumer/asset-consistency/hero-atlas-contract.json +24 -0
- package/examples/agent-consumer/asset-consistency/hero-identity.json +51 -0
- package/examples/agent-consumer/asset-consistency/hero-walk-action-set.json +27 -0
- package/examples/agent-consumer/asset-consistency/hero-walk-frame-geometry.json +63 -0
- package/examples/agent-consumer/rig-compatibility/hero-walk-fixture-rig.json +13 -0
- package/examples/agent-consumer/rive-package-gate/README.md +20 -0
- package/examples/agent-consumer/runtime-candidate/hero-walk-candidate.json +18 -0
- package/examples/agent-consumer/runtime-pilot/action-set.json +19 -0
- package/examples/agent-consumer/runtime-pilot/asset-identity.json +44 -0
- package/examples/agent-consumer/runtime-pilot/candidate.json +21 -0
- package/examples/agent-consumer/runtime-pilot/controls.json +35 -0
- package/examples/agent-consumer/runtime-pilot/export.json +17 -0
- package/examples/agent-consumer/runtime-pilot/provenance.json +38 -0
- package/examples/agent-consumer/runtime-pilot/receipt.json +30 -0
- package/package.json +65 -4
- package/references/agent-interoperability.md +11 -0
- package/references/browser-review-contract.md +7 -1
- package/references/intelligence-core.md +29 -2
- package/rig-adapter-registry.json +39 -0
- package/schemas/action-set.schema.json +42 -0
- package/schemas/agent-surfaces.schema.json +1 -1
- package/schemas/artifact-adapter-registry.schema.json +16 -0
- package/schemas/asset-identity.schema.json +117 -0
- package/schemas/asset-provenance.schema.json +183 -0
- package/schemas/atlas-contract.schema.json +48 -0
- package/schemas/control-track.schema.json +18 -0
- package/schemas/export-manifest.schema.json +19 -0
- package/schemas/frame-geometry.schema.json +79 -0
- package/schemas/generation-receipt.schema.json +20 -0
- package/schemas/layered-map.schema.json +75 -0
- package/schemas/rig-adapter-registry.schema.json +14 -0
- package/schemas/rig-compatibility.schema.json +53 -0
- package/schemas/rive-package-manifest.schema.json +43 -0
- package/schemas/runtime-candidate.schema.json +48 -0
- package/schemas/scene-manifest.schema.json +19 -0
- package/scripts/artifact-intake.py +408 -0
- package/scripts/asset-consistency.py +517 -0
- package/scripts/asset-provenance.py +395 -0
- package/scripts/build-ai-pilot.py +504 -0
- package/scripts/docs-audit.py +14 -2
- package/scripts/isolate-alpha-background.py +147 -0
- package/scripts/pr.py +2 -0
- package/scripts/quality-gate.py +127 -3
- package/scripts/report.py +135 -0
- package/scripts/resolve-task-bundle.py +84 -0
- package/scripts/review-hook.py +26 -4
- package/scripts/rig-compatibility.py +251 -0
- package/scripts/rive-package-gate.py +245 -0
- package/scripts/runtime-candidate.py +301 -0
- package/scripts/setup.mjs +500 -0
- package/scripts/skill-doctor.py +2 -1
- package/src/output/browser-review-smoke/asset-provenance.json +77 -0
- package/src/output/browser-review-smoke/manifest.json +1 -0
- package/src/output/browser-review-smoke/visual-truth.json +3 -3
- package/src/output/runtime-pilot-framer/asset-provenance.json +38 -0
- package/src/output/runtime-pilot-framer/browser-review.json +20 -0
- package/src/output/runtime-pilot-framer/framer-motion/runtime-telemetry.json +103 -0
- package/src/output/runtime-pilot-framer/manifest.json +31 -0
- package/src/output/runtime-pilot-framer/motion-spec.json +25 -0
- package/src/output/runtime-pilot-framer/runtime-evidence.json +96 -0
- package/src/output/runtime-pilot-framer/runtime-telemetry.json +100 -0
- package/src/output/runtime-pilot-framer/scene.jsx +52 -0
- package/src/output/runtime-pilot-framer/snapshot/.render-meta.json +9 -0
- package/src/output/runtime-pilot-framer/snapshot/frame-00.png +0 -0
- package/src/output/runtime-pilot-framer/snapshot/frame-100.png +0 -0
- package/src/output/runtime-pilot-framer/snapshot/frame-50.png +0 -0
- package/tests/scripts/run_tests.py +131 -0
- package/tests/scripts/test_ai_pilot_builder.py +128 -0
- package/tests/scripts/test_alpha_isolation.py +60 -0
- package/tests/scripts/test_artifact_intake.py +146 -0
- package/tests/scripts/test_asset_consistency.py +199 -0
- package/tests/scripts/test_rig_compatibility.py +105 -0
- package/tests/scripts/test_rive_package_gate.py +101 -0
- package/tests/scripts/test_runtime_candidate.py +95 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"asset_identity": "runtime/framer-motion-pilot",
|
|
4
|
+
"actions": [
|
|
5
|
+
{
|
|
6
|
+
"action_id": "scrubbable-trajectory",
|
|
7
|
+
"frames": ["src/output/runtime-pilot-framer/scene.jsx"],
|
|
8
|
+
"fps": 60,
|
|
9
|
+
"loop": true,
|
|
10
|
+
"events": ["checkpoint-00", "checkpoint-50", "checkpoint-100"],
|
|
11
|
+
"required_sockets": []
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"invariants": {
|
|
15
|
+
"checkpoint_percentages": [0, 50, 100],
|
|
16
|
+
"progress_domain": [0, 1],
|
|
17
|
+
"runtime_target": "framer-motion"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"asset_id": "runtime/framer-motion-pilot",
|
|
4
|
+
"asset_kind": "ui",
|
|
5
|
+
"identity": {
|
|
6
|
+
"subject_id": "framer-motion-runtime-pilot",
|
|
7
|
+
"reference_hashes": [
|
|
8
|
+
"f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b"
|
|
9
|
+
],
|
|
10
|
+
"camera": {
|
|
11
|
+
"projection": "orthographic",
|
|
12
|
+
"width": 512,
|
|
13
|
+
"height": 512,
|
|
14
|
+
"focal_length": 50
|
|
15
|
+
},
|
|
16
|
+
"coordinate_system": "screen_y_down",
|
|
17
|
+
"scale": 1,
|
|
18
|
+
"pivot": {
|
|
19
|
+
"x": 0.5,
|
|
20
|
+
"y": 0.5,
|
|
21
|
+
"space": "normalized_canvas"
|
|
22
|
+
},
|
|
23
|
+
"palette_lock": {
|
|
24
|
+
"colors": ["#2563eb", "#f59e0b", "#0f172a"],
|
|
25
|
+
"delta_e_tolerance": 0
|
|
26
|
+
},
|
|
27
|
+
"style_profile": "code-authored-runtime-pilot",
|
|
28
|
+
"lighting_profile": "not-applicable"
|
|
29
|
+
},
|
|
30
|
+
"derivation": {
|
|
31
|
+
"origin": "code_authored",
|
|
32
|
+
"source_refs": ["src/output/runtime-pilot-framer/scene.jsx"],
|
|
33
|
+
"derivation_chain": [
|
|
34
|
+
{
|
|
35
|
+
"step": 0,
|
|
36
|
+
"operation": "repository-code-authoring",
|
|
37
|
+
"input_hashes": [],
|
|
38
|
+
"output_hash": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"provenance_ref": "provenance.json",
|
|
43
|
+
"notes": "Code-authored Framer Motion pilot. Runtime evidence can establish runtime verification only; human review remains required."
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"candidate_id": "runtime-pilot-framer-001",
|
|
4
|
+
"asset_id": "runtime/framer-motion-pilot",
|
|
5
|
+
"created_at": "2026-08-15T00:00:00Z",
|
|
6
|
+
"artifact_intake": {
|
|
7
|
+
"registry": "artifact-adapter-registry.json",
|
|
8
|
+
"receipt": "examples/agent-consumer/runtime-pilot/receipt.json",
|
|
9
|
+
"controls": "examples/agent-consumer/runtime-pilot/controls.json",
|
|
10
|
+
"export_manifest": "examples/agent-consumer/runtime-pilot/export.json"
|
|
11
|
+
},
|
|
12
|
+
"consistency": {
|
|
13
|
+
"asset_identity": "examples/agent-consumer/runtime-pilot/asset-identity.json",
|
|
14
|
+
"action_set": "examples/agent-consumer/runtime-pilot/action-set.json"
|
|
15
|
+
},
|
|
16
|
+
"runtime": {
|
|
17
|
+
"target": "framer-motion",
|
|
18
|
+
"runtime_evidence_ref": "src/output/runtime-pilot-framer/runtime-evidence.json",
|
|
19
|
+
"review_required": true
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"control_id": "runtime-pilot-framer-controls",
|
|
4
|
+
"asset_id": "runtime/framer-motion-pilot",
|
|
5
|
+
"created_at": "2026-08-15T00:00:00Z",
|
|
6
|
+
"references": [
|
|
7
|
+
{
|
|
8
|
+
"id": "framer-runtime-source",
|
|
9
|
+
"path": "src/output/runtime-pilot-framer/scene.jsx",
|
|
10
|
+
"sha256": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b",
|
|
11
|
+
"role": "motion"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"tracks": [
|
|
15
|
+
{
|
|
16
|
+
"id": "source-binding",
|
|
17
|
+
"kind": "source",
|
|
18
|
+
"binding": "required",
|
|
19
|
+
"value_hash": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "scrub-progress",
|
|
23
|
+
"kind": "motion",
|
|
24
|
+
"binding": "required",
|
|
25
|
+
"value_hash": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b",
|
|
26
|
+
"samples": 3
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"output_profile": {
|
|
30
|
+
"kind": "runtime_scene",
|
|
31
|
+
"fps": 60,
|
|
32
|
+
"expected_frame_count": 3,
|
|
33
|
+
"loop": true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"manifest_id": "runtime-pilot-framer-export",
|
|
4
|
+
"asset_id": "runtime/framer-motion-pilot",
|
|
5
|
+
"created_at": "2026-08-15T00:00:00Z",
|
|
6
|
+
"receipt_ref": "examples/agent-consumer/runtime-pilot/receipt.json",
|
|
7
|
+
"control_track_ref": "examples/agent-consumer/runtime-pilot/controls.json",
|
|
8
|
+
"outputs": [
|
|
9
|
+
{
|
|
10
|
+
"path": "src/output/runtime-pilot-framer/scene.jsx",
|
|
11
|
+
"role": "runtime-source",
|
|
12
|
+
"sha256": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b",
|
|
13
|
+
"bytes": 1769,
|
|
14
|
+
"target": "runtime_candidate"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0",
|
|
3
|
+
"provenance_id": "runtime-pilot-framer-provenance",
|
|
4
|
+
"task_id": "runtime-pilot-001",
|
|
5
|
+
"scene": "runtime-pilot-framer",
|
|
6
|
+
"created_at": "2026-08-15T00:00:00Z",
|
|
7
|
+
"asset": {
|
|
8
|
+
"id": "runtime/framer-motion-pilot",
|
|
9
|
+
"path": "src/output/runtime-pilot-framer/scene.jsx",
|
|
10
|
+
"type": "runtime_scene",
|
|
11
|
+
"framework": "framer-motion",
|
|
12
|
+
"version": "13.1.0"
|
|
13
|
+
},
|
|
14
|
+
"authority": "code_authored",
|
|
15
|
+
"readiness": "review_required",
|
|
16
|
+
"license": {
|
|
17
|
+
"spdx": "MIT",
|
|
18
|
+
"source": "MotionLoom repository source",
|
|
19
|
+
"attribution": "MotionLoom contributors"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
{
|
|
23
|
+
"path": "src/output/runtime-pilot-framer/scene.jsx",
|
|
24
|
+
"role": "runtime-source",
|
|
25
|
+
"sha256": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b",
|
|
26
|
+
"bytes": 1769
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"provenance_chain": [
|
|
30
|
+
{
|
|
31
|
+
"step": "code-authoring",
|
|
32
|
+
"actor": "MotionLoom runtime-pilot author",
|
|
33
|
+
"source": "src/output/runtime-pilot-framer/scene.jsx",
|
|
34
|
+
"timestamp": "2026-08-15T00:00:00Z",
|
|
35
|
+
"sha256": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"receipt_id": "runtime-pilot-framer-receipt",
|
|
4
|
+
"created_at": "2026-08-15T00:00:00Z",
|
|
5
|
+
"asset": {
|
|
6
|
+
"id": "runtime/framer-motion-pilot",
|
|
7
|
+
"kind": "runtime_scene",
|
|
8
|
+
"intended_use": "runtime_candidate"
|
|
9
|
+
},
|
|
10
|
+
"authority": "code_authored",
|
|
11
|
+
"provider": {
|
|
12
|
+
"adapter_id": "fixture.local-artifact-intake",
|
|
13
|
+
"kind": "fixture",
|
|
14
|
+
"invocation_mode": "none",
|
|
15
|
+
"task_id": "runtime-pilot-001",
|
|
16
|
+
"model": "code-authored-repository-source",
|
|
17
|
+
"generated_at": "2026-08-15T00:00:00Z",
|
|
18
|
+
"cost_class": "included"
|
|
19
|
+
},
|
|
20
|
+
"control_track_ref": "examples/agent-consumer/runtime-pilot/controls.json",
|
|
21
|
+
"provenance_ref": "examples/agent-consumer/runtime-pilot/provenance.json",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"path": "src/output/runtime-pilot-framer/scene.jsx",
|
|
25
|
+
"role": "runtime-source",
|
|
26
|
+
"sha256": "f4c0e56de842cae6b234566b556e4f07154f8109dde382a474218a9de8b45a8b",
|
|
27
|
+
"bytes": 1769
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motionloom",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"packageManager": "pnpm@11.20.0",
|
|
6
6
|
"description": "MotionLoom: project-aware animation Skill with Agent interoperability, graph, provenance, Motion IR, runtime telemetry, Visual Truth, Remediation Learning, DSSE-compatible signed attestation, external evidence verification and Dev Lab review.",
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"references",
|
|
29
29
|
"docs",
|
|
30
30
|
"examples",
|
|
31
|
+
"scripts/asset-provenance.py",
|
|
32
|
+
"schemas/asset-provenance.schema.json",
|
|
33
|
+
"examples/agent-consumer/ai-generated-pilot-provenance.json",
|
|
31
34
|
"project-context.example.json",
|
|
32
35
|
"tests/evals",
|
|
33
36
|
"tests/scripts/run_tests.py",
|
|
@@ -37,7 +40,40 @@
|
|
|
37
40
|
".claude",
|
|
38
41
|
".codex",
|
|
39
42
|
"AGENTS.md",
|
|
40
|
-
"agent-surfaces.json"
|
|
43
|
+
"agent-surfaces.json",
|
|
44
|
+
"scripts/asset-consistency.py",
|
|
45
|
+
"schemas/asset-identity.schema.json",
|
|
46
|
+
"schemas/action-set.schema.json",
|
|
47
|
+
"schemas/frame-geometry.schema.json",
|
|
48
|
+
"schemas/atlas-contract.schema.json",
|
|
49
|
+
"schemas/layered-map.schema.json",
|
|
50
|
+
"tests/scripts/test_asset_consistency.py",
|
|
51
|
+
"scripts/artifact-intake.py",
|
|
52
|
+
"schemas/generation-receipt.schema.json",
|
|
53
|
+
"schemas/control-track.schema.json",
|
|
54
|
+
"schemas/export-manifest.schema.json",
|
|
55
|
+
"schemas/artifact-adapter-registry.schema.json",
|
|
56
|
+
"artifact-adapter-registry.json",
|
|
57
|
+
"examples/agent-consumer/artifact-intake",
|
|
58
|
+
"tests/scripts/test_artifact_intake.py",
|
|
59
|
+
"scripts/runtime-candidate.py",
|
|
60
|
+
"schemas/runtime-candidate.schema.json",
|
|
61
|
+
"examples/agent-consumer/runtime-candidate",
|
|
62
|
+
"tests/scripts/test_runtime_candidate.py",
|
|
63
|
+
"scripts/rig-compatibility.py",
|
|
64
|
+
"schemas/rig-compatibility.schema.json",
|
|
65
|
+
"schemas/rig-adapter-registry.schema.json",
|
|
66
|
+
"rig-adapter-registry.json",
|
|
67
|
+
"examples/agent-consumer/rig-compatibility",
|
|
68
|
+
"tests/scripts/test_rig_compatibility.py",
|
|
69
|
+
"scripts/rive-package-gate.py",
|
|
70
|
+
"schemas/rive-package-manifest.schema.json",
|
|
71
|
+
"examples/agent-consumer/rive-package-gate",
|
|
72
|
+
"tests/scripts/test_rive_package_gate.py"
|
|
73
|
+
,"scripts/build-ai-pilot.py"
|
|
74
|
+
,"scripts/isolate-alpha-background.py"
|
|
75
|
+
,"tests/scripts/test_ai_pilot_builder.py"
|
|
76
|
+
,"tests/scripts/test_alpha_isolation.py"
|
|
41
77
|
],
|
|
42
78
|
"keywords": [
|
|
43
79
|
"animation",
|
|
@@ -58,7 +94,17 @@
|
|
|
58
94
|
"dev-lab",
|
|
59
95
|
"visual-truth",
|
|
60
96
|
"remediation-learning",
|
|
61
|
-
"agent-interoperability"
|
|
97
|
+
"agent-interoperability",
|
|
98
|
+
"asset-consistency",
|
|
99
|
+
"sprite-atlas",
|
|
100
|
+
"layered-map",
|
|
101
|
+
"artifact-intake",
|
|
102
|
+
"generation-receipt",
|
|
103
|
+
"runtime-candidate",
|
|
104
|
+
"rig-compatibility",
|
|
105
|
+
"rive-package-gate",
|
|
106
|
+
"provider-neutral",
|
|
107
|
+
"agent-skills"
|
|
62
108
|
],
|
|
63
109
|
"repository": {
|
|
64
110
|
"type": "git",
|
|
@@ -80,6 +126,11 @@
|
|
|
80
126
|
"test": "node bin/motionloom.mjs test",
|
|
81
127
|
"validate": "npm run quality:attestation",
|
|
82
128
|
"doctor": "node bin/motionloom.mjs doctor --json",
|
|
129
|
+
"init": "node bin/motionloom.mjs init",
|
|
130
|
+
"setup": "node bin/motionloom.mjs setup",
|
|
131
|
+
"setup:dry": "node bin/motionloom.mjs setup --dry-run",
|
|
132
|
+
"status": "node bin/motionloom.mjs status",
|
|
133
|
+
"repair": "node bin/motionloom.mjs repair",
|
|
83
134
|
"docs:check": "python3 scripts/docs-audit.py",
|
|
84
135
|
"eval:projects": "python3 scripts/eval-projects.py --allow-insufficient",
|
|
85
136
|
"release:verify": "python3 scripts/release-verify.py",
|
|
@@ -116,7 +167,17 @@
|
|
|
116
167
|
"remediation:summary": "node bin/motionloom.mjs remediation-learning summary --history artifacts/remediation-history.jsonl --output artifacts/remediation-summary.json --json",
|
|
117
168
|
"discovery:check": "node bin/motionloom.mjs discovery check --root . --json",
|
|
118
169
|
"discovery:show": "node bin/motionloom.mjs discovery show --root . --json",
|
|
119
|
-
"install:matrix": "node bin/motionloom.mjs discovery install-matrix --root . --json"
|
|
170
|
+
"install:matrix": "node bin/motionloom.mjs discovery install-matrix --root . --json",
|
|
171
|
+
"asset-provenance:validate": "node bin/motionloom.mjs asset-provenance validate --input examples/agent-consumer/ai-generated-pilot-provenance.json --json",
|
|
172
|
+
"asset-provenance:check": "node bin/motionloom.mjs asset-provenance check --input examples/agent-consumer/ai-generated-pilot-provenance.json --root examples/agent-consumer --mode runtime --json",
|
|
173
|
+
"asset:consistency": "node bin/motionloom.mjs asset-consistency validate --kind frame-geometry --input examples/agent-consumer/asset-consistency/hero-walk-frame-geometry.json --root examples/agent-consumer/asset-consistency --json",
|
|
174
|
+
"asset:audit": "node bin/motionloom.mjs asset-consistency report --kind frame-geometry --input examples/agent-consumer/asset-consistency/hero-walk-frame-geometry.json --root examples/agent-consumer/asset-consistency --json",
|
|
175
|
+
"artifact:intake": "node bin/motionloom.mjs artifact-intake intake --root . --registry artifact-adapter-registry.json --receipt examples/agent-consumer/artifact-intake/hero-motion-receipt.json --controls examples/agent-consumer/artifact-intake/hero-motion-controls.json --export-manifest examples/agent-consumer/artifact-intake/hero-motion-export.json --json",
|
|
176
|
+
"runtime:candidate": "node bin/motionloom.mjs runtime-candidate validate --root . --input examples/agent-consumer/runtime-candidate/hero-walk-candidate.json --json",
|
|
177
|
+
"rig:compatibility": "node bin/motionloom.mjs rig-compatibility validate --root . --registry rig-adapter-registry.json --input examples/agent-consumer/rig-compatibility/hero-walk-fixture-rig.json --json",
|
|
178
|
+
"rive:gate": "node bin/motionloom.mjs rive-package-gate --help"
|
|
179
|
+
,"pilot:build": "node bin/motionloom.mjs pilot-build --help"
|
|
180
|
+
,"alpha:isolate": "node bin/motionloom.mjs alpha-isolate --help"
|
|
120
181
|
},
|
|
121
182
|
"dependencies": {
|
|
122
183
|
"@lottiefiles/dotlottie-web": "^0.79.0",
|
|
@@ -16,6 +16,17 @@ Do not put divergent workflow rules into an Agent-specific file. Add reusable do
|
|
|
16
16
|
|
|
17
17
|
The JSON result contains `status`, `source`, `surface_count`, `installation_count`, `errors` and `warnings`. `status=pass` means the local package has the expected files and contract values. It does not assert that the host project has been analyzed, that runtime dependencies are installed, that a candidate rendered correctly or that a user approved a change.
|
|
18
18
|
|
|
19
|
+
## One-command onboarding
|
|
20
|
+
|
|
21
|
+
For a host project that has not installed MotionLoom, prefer:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx --yes motionloom setup --project-root <project-path>
|
|
25
|
+
npx --no-install motionloom status --project-root <project-path> --json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`setup` is idempotent. It detects the project root and package manager, installs a local development dependency when needed, merges only the managed router block in `AGENTS.md`, runs discovery and bootstraps project context plus `.motionloom/project-memory.json`. Use `--dry-run --json` to preview and `repair --yes --json` to restore missing managed pieces. A setup result of `blocked` is actionable failure, not permission to continue with guessed context. Setup never commits, pushes, opens a PR or infers approval.
|
|
29
|
+
|
|
19
30
|
## Adding a new Agent surface
|
|
20
31
|
|
|
21
32
|
Add one manifest entry with a safe relative path, a supported agent identifier, `canonical: SKILL.md` and either `load_mode: alias` or `load_mode: router`. Create a short file at that path. Add or update the installation/discovery test and run `motionloom discovery check --root . --json`, `python3 scripts/docs-audit.py` and the full test suite. Never silently overwrite an existing surface with a copied version of `SKILL.md`.
|
|
@@ -13,9 +13,15 @@ Prepare a candidate with:
|
|
|
13
13
|
```bash
|
|
14
14
|
python3 scripts/review-hook.py prepare \
|
|
15
15
|
--task-dir artifacts/<task-id> \
|
|
16
|
-
--lab-url
|
|
16
|
+
--lab-url https://animdevlab-hcxnxr9c.manus.space/lab
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
`--lab-url` là **browser review route thực tế**. Dev Lab React dùng
|
|
20
|
+
`https://…/lab`; Dev Lab static cục bộ dùng `http://127.0.0.1:3300/`. Command
|
|
21
|
+
tự gắn `scene`, `task_id`, `candidate_id`, `artifact_base` và `task_base` vào
|
|
22
|
+
URL cùng origin; Dev Lab từ chối URL thiếu field, foreign origin hoặc path sai
|
|
23
|
+
trước khi tải artifact.
|
|
24
|
+
|
|
19
25
|
The command writes `browser-review.json` into the task bundle and scene output, records a deterministic `candidate_id`, binds the candidate to the context and animation source SHA-256, and emits JSON containing the exact URL and the next browser Agent action.
|
|
20
26
|
|
|
21
27
|
The browser-capable Agent must open the emitted URL, inspect frames 0/50/100, scrub the timeline, check the quality checklist, record notes, and ask the user for approval. The page exposes `window.__lab.getReview()` so the Agent can capture the review payload without relying on a downloaded file. Persist the captured payload with:
|
|
@@ -8,6 +8,11 @@ Use this reference when an Agent needs to understand or extend MotionLoom's task
|
|
|
8
8
|
| --- | --- | --- |
|
|
9
9
|
| `project-graph.json` | `python3 scripts/intelligence.py graph build --task-dir <task>` | Links project, intent, scene, context, artifacts and review with task identity and hashes. |
|
|
10
10
|
| `provenance.json` | `python3 scripts/intelligence.py provenance build --task-dir <task>` | Records step actor, builder, materials, products, policy, result and parent chain hash. |
|
|
11
|
+
| `asset-provenance.json` | `motionloom asset-provenance check --input <path> --root <scene-dir> --mode runtime|production` | Classifies asset origin/authority and effective readiness, binds file hashes and license/source metadata, and fails closed before production eligibility. It never grants `production_approved`. |
|
|
12
|
+
| `asset-consistency-report` | `motionloom asset-consistency validate|analyze|report --kind <kind> --input <path> --root <asset-root> --json` | Measures declared identity, action timing, frame geometry, atlas ownership or layered-map bounds against real artifacts. It reports deterministic errors/warnings and never grants provenance authority or approval. |
|
|
13
|
+
| `generation-receipt.json`, `control-track.json`, `export-manifest.json` | `motionloom artifact-intake intake --root <root> --registry <registry> --receipt <path> --controls <path> --export-manifest <path> --json` | Hash-binds an internal-skill/provider generation record, declared controls and emitted output to a provider-neutral adapter descriptor. It neither invokes a provider nor proves artist authority, runtime readiness or approval. |
|
|
14
|
+
| `runtime-candidate.json` | `motionloom runtime-candidate validate --root <root> --input <path> --json` | Requires the intake bundle and referenced identity/action/geometry contracts to agree before allowing a `runtime_test_ready`, review-required candidate. |
|
|
15
|
+
| `rig-compatibility.json` | `motionloom rig-compatibility validate --root <root> --registry <registry> --input <path> --json` | Checks adapter target/evidence, skeleton, sockets, action/event coverage and candidate binding. A pass is compatibility evidence, not a production-rig or approval claim. |
|
|
11
16
|
| `capability-registry.json` | `python3 scripts/intelligence.py capabilities build --output <path>` | Describes verified/scaffold-only adapters, evidence freshness, compatibility, fallback and side effects. |
|
|
12
17
|
| `motion-ir.json` | `python3 scripts/intelligence.py motion-ir build --task-dir <task>` | Binds framework-neutral tracks and accessibility policy to task, scene, context and source. |
|
|
13
18
|
| `replay-bundle.json` | `python3 scripts/intelligence.py replay capture --root <root> --task-dir <task>` | Captures clean-root artifact hashes and environment metadata; verification fails on mutation or omission. |
|
|
@@ -26,7 +31,11 @@ Use this reference when an Agent needs to understand or extend MotionLoom's task
|
|
|
26
31
|
|
|
27
32
|
## Agent operating rules
|
|
28
33
|
|
|
29
|
-
The Agent must build the graph, Motion IR, provenance, replay bundle, P1 feedback reports and semantic-lint benchmark after render and before the strict quality gate. For a strict observability run it must also capture runtime telemetry and run the external verifier before `--require-telemetry`. For a production trust run it must derive/sign `attestation.json`, copy or resolve a managed `trust-policy.json`, run the independent attestation verifier and use `--require-attestation`. It must run the report completeness contract for changed scenes; that contract selects one deterministic passing task bundle and fails on ambiguous ties. It may use a verified capability only when the registry evidence is fresh, its hash matches the referenced file and the target environment is compatible. `scaffold_only` is a planning option, never a production acceptance result.
|
|
34
|
+
The Agent must build the graph, Motion IR, step-level provenance, asset provenance, replay bundle, P1 feedback reports and semantic-lint benchmark after render and before the strict quality gate. For a strict observability run it must also capture runtime telemetry and run the external verifier before `--require-telemetry`. For a production trust run it must derive/sign `attestation.json`, copy or resolve a managed `trust-policy.json`, run the independent attestation verifier and use `--require-attestation` plus `--require-asset-provenance`. It must run the report completeness contract for changed scenes; that contract selects one deterministic passing task bundle and fails on ambiguous ties. It may use a verified capability only when the registry evidence is fresh, its hash matches the referenced file and the target environment is compatible. `scaffold_only` is a planning option, never a production acceptance result.
|
|
35
|
+
|
|
36
|
+
When the task includes multi-frame, atlas or layered-map material, the Agent must also build the applicable consistency contract and preserve its JSON result in the task bundle. The Agent should use `--strict` for a production-bound check, but must keep warnings and measurements visible in the report. A consistency pass is evidence that declared artifact boundaries agree; it is not a claim about aesthetics, provenance, artist authorship or user consent.
|
|
37
|
+
|
|
38
|
+
When the task begins with an internal skill such as ImageGen or an external generation provider, the Agent must additionally preserve a receipt/control/export intake bundle. The registry only describes audited adapter evidence; it does not make a network call and it cannot elevate a provider's claim. Build the runtime candidate only after Intake and the referenced consistency contracts pass, then validate rig compatibility for skeleton-based output. Preserve all three result files in the task bundle and Dev Lab handoff; any `scaffold`, `static-validated`, `blocked` or `review_required` result must remain visible through review.
|
|
30
39
|
|
|
31
40
|
The graph and provenance are evidence indexes, not approval tokens. A valid graph cannot bypass source binding, runtime assertions, browser review, reviewer consent or the `OPEN_PR=0` default. A confidence or risk value can prioritize investigation but cannot replace a deterministic rule or human decision.
|
|
32
41
|
|
|
@@ -72,7 +81,21 @@ python3 scripts/quality-gate.py \
|
|
|
72
81
|
--scene <scene> \
|
|
73
82
|
--context <project-context.json> \
|
|
74
83
|
--task-dir artifacts/<task-id> \
|
|
75
|
-
--require-browser-review --require-intelligence --require-p1 --require-benchmark --require-telemetry --require-attestation
|
|
84
|
+
--require-browser-review --require-intelligence --require-p1 --require-benchmark --require-telemetry --require-attestation --require-asset-provenance --require-asset-consistency
|
|
85
|
+
motionloom asset-consistency validate \
|
|
86
|
+
--kind frame-geometry \
|
|
87
|
+
--input src/output/<scene>/hero-walk-frame-geometry.json \
|
|
88
|
+
--root src/output/<scene> --strict --json
|
|
89
|
+
motionloom asset-provenance check \
|
|
90
|
+
--input src/output/<scene>/asset-provenance.json \
|
|
91
|
+
--root src/output/<scene> --mode production \
|
|
92
|
+
--manifest src/output/<scene>/manifest.json --json
|
|
93
|
+
motionloom artifact-intake intake --root . --registry artifact-adapter-registry.json \
|
|
94
|
+
--receipt <generation-receipt.json> --controls <control-track.json> \
|
|
95
|
+
--export-manifest <export-manifest.json> --json
|
|
96
|
+
motionloom runtime-candidate validate --root . --input <runtime-candidate.json> --json
|
|
97
|
+
motionloom rig-compatibility validate --root . --registry rig-adapter-registry.json \
|
|
98
|
+
--input <rig-compatibility.json> --json
|
|
76
99
|
python3 scripts/remediation-learning.py validate --history artifacts/remediation-history.jsonl --json
|
|
77
100
|
python3 scripts/remediation-learning.py summary --history artifacts/remediation-history.jsonl --output artifacts/remediation-summary.json --json
|
|
78
101
|
python3 scripts/eval-intelligence.py
|
|
@@ -98,5 +121,9 @@ The replay policy excludes generated reports and manifests because `report.py co
|
|
|
98
121
|
| `artifact_base must share the Dev Lab origin` or identity binding failure | Dev Lab query parameters would mix an external or foreign task/candidate bundle | Reject the handoff and regenerate the review URL from the canonical task bundle. |
|
|
99
122
|
| `runtime telemetry verification failed` | Scrub-point evidence is stale, tampered, missing, cross-task, path-escaped or bound to different source/manifest/Motion IR bytes | Re-run the real runtime capture from the canonical scene/task bundle, then verify again; never treat the verifier as approval. |
|
|
100
123
|
| `attestation verification failed` | Payload hash, DSSE signature, signer validity/revocation, policy lookup, path binding or expected task/scene binding failed | Regenerate the statement from current artifacts, re-run the external verifier against a managed policy and investigate signer lifecycle; never flip `approval` or bypass user review. |
|
|
124
|
+
| `asset provenance is blocked` or `production_eligible: false` | Origin is unknown/AI-generated without the required review, a file hash/license/runtime/full-gate record is missing, or an Agent self-asserted artist authority/approval | Keep the candidate runtime-only, fix the provenance record or obtain the required human review; never rewrite the authority tier or set `production_approved` automatically. |
|
|
125
|
+
| `asset consistency is blocked` | Declared frame, atlas or map geometry disagrees with the referenced bytes, or a required image/contract is missing | Inspect the measured path/code, regenerate only the affected asset/contract, rerun the deterministic check and return to Dev Lab review; never bypass the finding with provenance or attestation. |
|
|
126
|
+
| `artifact intake is blocked` | Receipt, controls, export, provenance, adapter evidence or output hash is missing, escaped, unknown or disagrees with the declared bundle | Recreate the intake bundle from the actual generator/export output, preserve the correct provenance tier and rerun the check; never set an adapter to verified or grant approval by hand. |
|
|
127
|
+
| `runtime candidate is blocked` or rig compatibility fails | Intake, identity/action/geometry refs, runtime evidence, adapter target, skeleton, socket or event coverage is missing or incompatible | Repair/re-export only the affected asset or adapter binding, regenerate runtime evidence and return to Dev Lab review; do not substitute a placeholder rig or override the result. |
|
|
101
128
|
|
|
102
129
|
The public eval corpus is `tests/evals/intelligence-cases.json`. It covers positive verified selection plus scaffold-only, stale evidence, tampering, graph corruption, replay tamper and foreign-task candidate failures. P1 extends the acceptance surface with semantic warning preservation, generic-intent detection, multi-scene context drift, selective rerun binding, performance budget/frame-rate warnings, perceptual easing/reduced-motion warnings and benchmark execution time. The 1.9.0 slice adds runtime telemetry happy-path, state tamper, cross-task identity, stale evidence and symlink escape cases. The 2.0.0 slice adds clean attestation, payload tamper, binding mismatch, revoked signer and unknown signer cases without weakening the approval=false and human-review invariants.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1",
|
|
3
|
+
"registry_id": "motionloom-rig-adapters",
|
|
4
|
+
"generated_at": "2026-08-15T00:00:00Z",
|
|
5
|
+
"adapters": [
|
|
6
|
+
{
|
|
7
|
+
"adapter_id": "motionloom.sprite-frame-sequence",
|
|
8
|
+
"target": "sprite",
|
|
9
|
+
"framework": "sprite",
|
|
10
|
+
"status": "static_validated",
|
|
11
|
+
"evidence": [{"path": "scripts/runtime-candidate.py", "sha256": "ec292a902de12c14dcc53442e15f6d7b8a8f8d22fd2bcdd7e522c15ca9d20af1"}],
|
|
12
|
+
"limitations": ["Contract-only adapter; requires runtime evidence before runtime verification."]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"adapter_id": "motionloom.rive-runtime",
|
|
16
|
+
"target": "rive",
|
|
17
|
+
"framework": "rive",
|
|
18
|
+
"status": "project_integrated",
|
|
19
|
+
"evidence": [{"path": "scripts/runtime-adapters.mjs", "sha256": "711a64c07b4d82f646d066c7b0d91deaefc5c9c0fb701358706bf31d558b4d89"}],
|
|
20
|
+
"limitations": ["Runtime harness evidence must be captured for the concrete scene and source bytes."]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"adapter_id": "motionloom.gsap-runtime",
|
|
24
|
+
"target": "gsap",
|
|
25
|
+
"framework": "gsap",
|
|
26
|
+
"status": "project_integrated",
|
|
27
|
+
"evidence": [{"path": "scripts/runtime-adapters.mjs", "sha256": "711a64c07b4d82f646d066c7b0d91deaefc5c9c0fb701358706bf31d558b4d89"}],
|
|
28
|
+
"limitations": ["Runtime harness evidence must be captured for the concrete scene and source bytes."]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"adapter_id": "motionloom.framer-motion-runtime",
|
|
32
|
+
"target": "framer-motion",
|
|
33
|
+
"framework": "framer-motion",
|
|
34
|
+
"status": "project_integrated",
|
|
35
|
+
"evidence": [{"path": "scripts/runtime-adapters.mjs", "sha256": "711a64c07b4d82f646d066c7b0d91deaefc5c9c0fb701358706bf31d558b4d89"}],
|
|
36
|
+
"limitations": ["Runtime harness evidence must be captured for the concrete scene and source bytes."]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://motionloom.dev/schemas/action-set.schema.json",
|
|
4
|
+
"title": "MotionLoom Action Set Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "asset_identity", "actions", "invariants"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": "0.1" },
|
|
10
|
+
"asset_identity": { "type": "string", "minLength": 1 },
|
|
11
|
+
"actions": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"minItems": 1,
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"required": ["action_id", "fps", "frames", "loop"],
|
|
18
|
+
"properties": {
|
|
19
|
+
"action_id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]{1,63}$" },
|
|
20
|
+
"fps": { "type": "number", "exclusiveMinimum": 0 },
|
|
21
|
+
"frames": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1 },
|
|
22
|
+
"loop": { "type": "boolean" },
|
|
23
|
+
"events": { "type": "array", "items": { "type": "string" } },
|
|
24
|
+
"required_sockets": { "type": "array", "items": { "type": "string" } }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"invariants": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"required": ["canvas_width", "canvas_height", "pivot_tolerance_px", "footline_tolerance_px", "bbox_drift_tolerance_px"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"canvas_width": { "type": "integer", "minimum": 1 },
|
|
34
|
+
"canvas_height": { "type": "integer", "minimum": 1 },
|
|
35
|
+
"pivot_tolerance_px": { "type": "number", "minimum": 0 },
|
|
36
|
+
"footline_tolerance_px": { "type": "number", "minimum": 0 },
|
|
37
|
+
"bbox_drift_tolerance_px": { "type": "number", "minimum": 0 },
|
|
38
|
+
"min_alpha_pixels": { "type": "integer", "minimum": 1 }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"required": ["id", "source_kind", "command", "verification", "provenance"],
|
|
44
44
|
"properties": {
|
|
45
45
|
"id": {"type": "string"},
|
|
46
|
-
"source_kind": {"type": "string", "enum": ["npm", "git", "local"]},
|
|
46
|
+
"source_kind": {"type": "string", "enum": ["npm", "npx", "git", "local"]},
|
|
47
47
|
"command": {"type": "string"},
|
|
48
48
|
"verification": {"type": "string"},
|
|
49
49
|
"provenance": {"type": "string"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/lenhonbp/MotionLoom/blob/main/schemas/artifact-adapter-registry.schema.json",
|
|
4
|
+
"title": "MotionLoom artifact adapter registry",
|
|
5
|
+
"description": "Provider-neutral capability descriptors. Registry membership does not invoke a provider, transfer credentials or grant approval.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["schema_version", "registry_id", "generated_at", "selection_policy", "adapters"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"schema_version": {"const": "0.1"},
|
|
11
|
+
"registry_id": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{2,127}$"},
|
|
12
|
+
"generated_at": {"type": "string", "format": "date-time"},
|
|
13
|
+
"selection_policy": {"type": "object", "additionalProperties": false, "required": ["require_verified", "allow_scaffold_only"], "properties": {"require_verified": {"type": "boolean"}, "allow_scaffold_only": {"type": "boolean"}}},
|
|
14
|
+
"adapters": {"type": "array", "minItems": 1, "items": {"type": "object", "additionalProperties": false, "required": ["adapter_id", "kind", "status", "adapter_version", "invocation_mode", "cost_class", "inputs", "outputs", "compatibility", "evidence", "limitations", "risk_level", "side_effect_level"], "properties": {"adapter_id": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{2,127}$"}, "kind": {"type": "string", "enum": ["fixture", "internal_skill", "external_provider", "manual_import"]}, "status": {"type": "string", "enum": ["verified", "scaffold_only", "static_validated", "project_integrated", "disabled"]}, "adapter_version": {"type": "string", "minLength": 1}, "invocation_mode": {"type": "string", "enum": ["none", "manual", "agent-mediated", "api"]}, "cost_class": {"type": "string", "enum": ["included", "metered", "external", "unknown"]}, "inputs": {"type": "array", "items": {"type": "string"}}, "outputs": {"type": "array", "items": {"type": "string"}}, "compatibility": {"type": "object", "additionalProperties": false, "required": ["os"], "properties": {"os": {"type": "array", "items": {"type": "string"}}, "browsers": {"type": "array", "items": {"type": "string"}}}}, "evidence": {"type": "array", "minItems": 1, "items": {"type": "object", "additionalProperties": false, "required": ["path", "sha256", "kind"], "properties": {"path": {"type": "string", "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$)).+"}, "sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"}, "kind": {"type": "string", "enum": ["runtime", "ci", "browser", "static"]}}}}, "limitations": {"type": "array", "items": {"type": "string"}}, "risk_level": {"type": "string", "enum": ["low", "medium", "high"]}, "side_effect_level": {"type": "string", "enum": ["read", "local_write", "user_review_required", "remote_write"]}}}}
|
|
15
|
+
}
|
|
16
|
+
}
|