feat(epic4): публиковать execution mode и применять общий admission (Story 4.1, FR-21, FR-24)
CI / UI Checks (pull_request) Successful in 11s
CI / Rust Checks (pull_request) Successful in 12m45s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
Community Release / release (push) Successful in 40m35s
CI / UI Checks (pull_request) Successful in 11s
CI / Rust Checks (pull_request) Successful in 12m45s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
Community Release / release (push) Successful in 40m35s
Tool Draft фиксирует synchronous/background/adaptive, deadline и fallback; runtime применяет единый снимок политики (concurrency, очередь, approval, deadline) до внешнего действия. Насыщение отклоняется typed overload с retry guidance, mandatory safety store fail closed, background/adaptive используют опубликованный synchronous/unsupported fallback. Refs: #29
This commit is contained in:
1 parent
44774883a0
commit
e80d30ddb0
72 files changed
+4157
-121
No files matched your search
@@ -43,6 +43,27 @@ pub enum RuntimeError {
|
||||
confirmation_token: String,
|
||||
expires_in_ms: u64,
|
||||
},
|
||||
#[error(
|
||||
"execution mode {mode:?} of operation {operation_id} is unavailable without a durable Task transport"
|
||||
)]
|
||||
ExecutionPolicyUnsupported {
|
||||
operation_id: String,
|
||||
mode: crank_core::ToolExecutionMode,
|
||||
},
|
||||
#[error(
|
||||
"execution admission is overloaded for operation {operation_id}; retry after {retry_after_ms} ms"
|
||||
)]
|
||||
AdmissionOverloaded {
|
||||
operation_id: String,
|
||||
retry_after_ms: u64,
|
||||
},
|
||||
#[error("execution admission requires a verified approval for operation {operation_id}")]
|
||||
AdmissionApprovalRequired { operation_id: String },
|
||||
#[error("execution admission store is unavailable for operation {operation_id}: {details}")]
|
||||
AdmissionStoreUnavailable {
|
||||
operation_id: String,
|
||||
details: String,
|
||||
},
|
||||
#[error("confirmation token for operation {operation_id} is invalid, expired, or already used")]
|
||||
InvalidConfirmationToken { operation_id: String },
|
||||
#[error("confirmation store is unavailable for operation {operation_id}")]
|
||||
|
||||
Reference in new issue
Block a user