26 lines
1.7 KiB
Plaintext
26 lines
1.7 KiB
Plaintext
== SWBOOT-10 dev runtime acceptance (dev 86e0cf46, no-docker runtime) ==
|
|
|
|
[allowlist seed] INSERT repo_path_allowlist ('/tmp/swboot-demo', test_commands='go,echo') -> 1 row
|
|
|
|
[creation preview] controlled_patch + repo_path=/tmp/swboot-demo/repo -> valid=true
|
|
[create 6638] HTTP 201 execution_mode=controlled_patch; project_source_bindings: 6638|/tmp/swboot-demo/repo|controlled_patch
|
|
|
|
[execution success] POST /projects/6635/swboot/executions {base_ref:HEAD, patch(main.go), commands:[echo demo-ok]}
|
|
-> HTTP 201 {"id":1,"status":"succeeded","branch":"feature/swboot-p6635-...","patches_applied":1,
|
|
"files":[{"path":"main.go","sha256":"02f108b..."}],"commands":[{"command":"echo demo-ok","exit_code":0,"output":"demo-ok"}]}
|
|
[isolation] repository working tree main.go remains println("v1"); patch only in isolated worktree
|
|
|
|
[negative: non-allowlisted command] curl -> 403 ERR_COMMAND_NOT_ALLOWLISTED (no execution started)
|
|
[negative: non-allowlisted repo] /etc -> 400, evidence record id=2 failed ERR_REPO_PATH_NOT_ALLOWLISTED (no worktree)
|
|
[negative: non-creator] lizhuguan -> 403 ERR_FORBIDDEN
|
|
|
|
== L5 real PI advisor (runner MiniMax-M2.7-highspeed) ==
|
|
RUN_PI_E2E=1 go test ./internal/app/ -run TestPiSoftwareBootstrapAdvisor_LiveMiniMax -> PASS (9.82s)
|
|
narrative: 建议 software_delivery + 禁止自动激活
|
|
|
|
== L6 UI wizard (docker mcr.microsoft.com/playwright:v1.63.0-noble, real dev stack :8080) ==
|
|
RUN_UI_ACCEPTANCE=1 docker ... test e2e/swboot-wizard.spec.ts --project=chromium --reporter=line
|
|
-> 1 passed (1.2s)
|
|
assertions: 软件域切换 / solo 未独立评审横幅 / catalog 绿地立项 / 必填三要素 / 创建进入项目 / 无医疗污染默认词
|
|
playwright --list: 33 tests in 10 files
|