docs: add SDD specs + user requirements + tests

- .agents/specs/: spec-driven-dev docs for arcrun MVP, auth-recipe,
  credential-primitives-wasm (active refactor), landing-page,
  sdk-and-website, u6u-core-mvp, u6u-platform-evolution.
- .agents/steerings/tech.md: detailed tech stack rationale.
- docs/user_requirements/: long-form requirements incl. credential
  primitives, pages spec, py strategy analysis.
- tests/: end-to-end harness scaffolding.

These are the durable context backing CLAUDE.md's SDD protocol.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 17:48:24 +08:00
parent cadcaef3b0
commit 13b01328c1
36 changed files with 7499 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
name: bad-component
flow:
- "input >> ON_SUCCESS >> nonexistent"
config:
nonexistent:
component: does_not_exist
+7
View File
@@ -0,0 +1,7 @@
name: chinese-flow
flow:
- "input >> 完成後 >> transform"
config:
transform:
component: string_ops
operation: upper
+7
View File
@@ -0,0 +1,7 @@
name: custom-node
flow:
- "input >> ON_SUCCESS >> 我的轉換器"
config:
我的轉換器:
component: string_ops
operation: upper
+11
View File
@@ -0,0 +1,11 @@
name: error-routing
flow:
- "input >> ON_SUCCESS >> risky"
- "risky >> ON_FAIL >> fallback"
config:
risky:
component: http_request
method: GET
fallback:
component: string_ops
operation: upper
+13
View File
@@ -0,0 +1,13 @@
# arcrun hello world workflow
# 執行:acr run hello --input input="Hello, arcrun!"
name: hello
description: "Hello world — 示範字串轉大寫"
flow:
- "input >> ON_SUCCESS >> transform"
config:
transform:
component: string_ops
operation: upper
+7
View File
@@ -0,0 +1,7 @@
name: http-test
flow:
- "input >> ON_SUCCESS >> fetch"
config:
fetch:
component: http_request
method: GET
+7
View File
@@ -0,0 +1,7 @@
name: string-test
flow:
- "input >> ON_SUCCESS >> process"
config:
process:
component: string_ops
operation: "{{operation}}"
+6
View File
@@ -0,0 +1,6 @@
name: validate-test
flow:
- "input >> ON_SUCCESS >> check"
config:
check:
component: validate_json