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:
@@ -0,0 +1,6 @@
|
||||
name: bad-component
|
||||
flow:
|
||||
- "input >> ON_SUCCESS >> nonexistent"
|
||||
config:
|
||||
nonexistent:
|
||||
component: does_not_exist
|
||||
@@ -0,0 +1,7 @@
|
||||
name: chinese-flow
|
||||
flow:
|
||||
- "input >> 完成後 >> transform"
|
||||
config:
|
||||
transform:
|
||||
component: string_ops
|
||||
operation: upper
|
||||
@@ -0,0 +1,7 @@
|
||||
name: custom-node
|
||||
flow:
|
||||
- "input >> ON_SUCCESS >> 我的轉換器"
|
||||
config:
|
||||
我的轉換器:
|
||||
component: string_ops
|
||||
operation: upper
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
name: http-test
|
||||
flow:
|
||||
- "input >> ON_SUCCESS >> fetch"
|
||||
config:
|
||||
fetch:
|
||||
component: http_request
|
||||
method: GET
|
||||
@@ -0,0 +1,7 @@
|
||||
name: string-test
|
||||
flow:
|
||||
- "input >> ON_SUCCESS >> process"
|
||||
config:
|
||||
process:
|
||||
component: string_ops
|
||||
operation: "{{operation}}"
|
||||
@@ -0,0 +1,6 @@
|
||||
name: validate-test
|
||||
flow:
|
||||
- "input >> ON_SUCCESS >> check"
|
||||
config:
|
||||
check:
|
||||
component: validate_json
|
||||
Reference in New Issue
Block a user