82 lines
2.7 KiB
JSON
82 lines
2.7 KiB
JSON
{
|
|
"story_id": "2.10",
|
|
"story_key": "2-10-security-schemes-secrets",
|
|
"story_file": "_bmad-output/implementation-artifacts/spec-2-10-security-schemes-secrets.md",
|
|
"checklist": "_bmad-output/test-artifacts/atdd-checklist-2-10-security-schemes-secrets.md",
|
|
"tdd_phase": "GREEN",
|
|
"acceptance_criteria_total": 12,
|
|
"active_red_tests": 0,
|
|
"historical_red_tests": [
|
|
{
|
|
"scenario": "2.10-API-A1",
|
|
"acceptance_criterion": "AC-1",
|
|
"test": "security_schemes::ac_1_projects_openapi_security_scheme_identity_onto_operation_metadata",
|
|
"result": "FAIL_BEFORE_IMPLEMENTATION_THEN_PASS",
|
|
"observed": "operation projection does not contain WorkspaceBearer"
|
|
},
|
|
{
|
|
"scenario": "2.10-API-B2",
|
|
"acceptance_criterion": "AC-6",
|
|
"test": "security_schemes::ac_6_never_copies_literal_secret_canaries_into_normalized_ir",
|
|
"result": "FAIL_BEFORE_IMPLEMENTATION_THEN_PASS",
|
|
"observed": "normalized IR contains atdd-secret-canary-2-10"
|
|
}
|
|
],
|
|
"pending_acceptance_criteria": [],
|
|
"generated_test_files": [
|
|
"crates/crank-import/tests/security_schemes.rs",
|
|
"apps/admin-api/tests/integration/openapi_import/security.rs",
|
|
"apps/admin-api/tests/integration/openapi_import/external_references.rs",
|
|
"crates/crank-registry/tests/integration/import_auth_binding.rs"
|
|
],
|
|
"existing_suite_baseline": {
|
|
"command": "cargo test -p crank-import --all-targets",
|
|
"result": "PASS",
|
|
"passed": 99,
|
|
"failed": 0,
|
|
"ignored": 0,
|
|
"timing": "current implementation"
|
|
},
|
|
"other_passed_suites": [
|
|
{
|
|
"command": "cargo test -p admin-api --test integration openapi_import -- --test-threads=1",
|
|
"result": "PASS",
|
|
"passed": 24,
|
|
"failed": 0,
|
|
"ignored": 0,
|
|
"filtered_out": 64
|
|
},
|
|
{
|
|
"command": "cargo test -p crank-registry --test integration import_auth_binding -- --test-threads=1",
|
|
"result": "PASS",
|
|
"passed": 5,
|
|
"failed": 0,
|
|
"ignored": 0,
|
|
"filtered_out": 95
|
|
},
|
|
{
|
|
"command": "cargo test -p crank-runtime --all-targets",
|
|
"result": "PASS",
|
|
"passed": 83,
|
|
"failed": 0,
|
|
"ignored": 0,
|
|
"reported_by": "root"
|
|
}
|
|
],
|
|
"other_checks": [
|
|
{
|
|
"command": "just verify",
|
|
"result": "PASS",
|
|
"detail": "Repeat full workspace gate after review fixes exited 0; earlier file-size, advisory, fmt/clippy and stdout-redirection failures were resolved."
|
|
},
|
|
{
|
|
"command": "git diff --check",
|
|
"result": "PASS"
|
|
}
|
|
],
|
|
"all_tests_skipped": false,
|
|
"expected_to_fail": false,
|
|
"e2e_tests": 0,
|
|
"note": "Historical RED evidence is preserved; all active acceptance tests and the final just verify gate pass. No skipped scaffold is counted as RED."
|
|
}
|