test(e2e): workflow example 12 — large-scale hierarchical feature implementation (supervised profile) #817

Merged
hurui200320 merged 1 commits from test/e2e-wf12-hierarchical into master 2026-03-30 06:35:03 +00:00

1 Commits

Author SHA1 Message Date
hurui200320 d24959e961 test(e2e): workflow example 12 — large-scale hierarchical feature implementation (supervised profile)
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 30s
CI / typecheck (pull_request) Successful in 1m9s
CI / security (pull_request) Successful in 1m27s
CI / quality (pull_request) Successful in 43s
CI / build (pull_request) Successful in 26s
CI / helm (pull_request) Successful in 36s
CI / integration_tests (pull_request) Successful in 4m18s
CI / unit_tests (pull_request) Successful in 4m25s
CI / coverage (pull_request) Successful in 11m47s
CI / e2e_tests (pull_request) Successful in 13m21s
CI / docker (pull_request) Successful in 16s
CI / status-check (pull_request) Successful in 2s
CI / lint (push) Successful in 22s
CI / security (push) Successful in 50s
CI / build (push) Successful in 18s
CI / helm (push) Successful in 40s
CI / quality (push) Successful in 3m41s
CI / typecheck (push) Successful in 4m0s
CI / integration_tests (push) Successful in 4m19s
CI / unit_tests (push) Successful in 4m31s
CI / docker (push) Successful in 11s
CI / e2e_tests (push) Successful in 14m3s
CI / coverage (push) Successful in 11m50s
CI / status-check (push) Successful in 1s
CI / benchmark-regression (pull_request) Successful in 1h3m16s
CI / benchmark-regression (push) Has been skipped
CI / benchmark-publish (push) Successful in 32m26s
Implements E2E test for Workflow Example 12: large-scale hierarchical
feature implementation with the supervised automation profile.

Key test behaviors:
- Sets up 4 projects (protos, api, worker, frontend) with per-project
  invariants, matching the specification.
- Creates action YAML with spec-required fields: estimation_actor,
  invariant_actor, automation_profile: cautious, and action-level
  invariants.
- Passes all 4 projects to plan use (spec Step 3).
- Dynamically selects actor based on available API key (Anthropic or
  OpenAI) for flexible CI/local execution.
- Uses Skip If No LLM Keys for graceful degradation in keyless CI.
- Verifies hierarchical decomposition via plan tree (decision_id count,
  children field check).
- Selects a non-root decision for plan correct --mode append to
  exercise targeted correction rather than root invalidation.
- Verifies correction acknowledgment via output content assertions.
- Verifies phased lifecycle-apply with --yes flag and phase field
  parsing.
- Final status uses --format json with Safe Parse Json Field to verify
  terminal state (phase and processing_state populated).
- UUID-suffixed names prevent UNIQUE constraint collisions in parallel CI.
- Crockford Base32 ULID regex (excludes I, L, O, U) consistent with
  m1_acceptance.robot.
- All commands check for Traceback and INTERNAL error markers.
- Force Tags E2E in Settings (m6 convention).
- Timeout set to 35 minutes for real LLM execution headroom.

Note: plan prompt (spec Step 4 — supervised-profile user intervention)
is not yet implemented as a CLI command. A documentation note in the
test indicates this should be added once the command is available.

ISSUES CLOSED: #758
2026-03-30 13:46:21 +08:00