feat(api): cancel accepted project-histories via loopback CLI - #448
feat(api): cancel accepted project-histories via loopback CLI#448seonghobae wants to merge 2 commits into
Conversation
Publish tepp-project-history-cancel cancel so operators mint LineageWeave
POST /v1/project-histories/{idempotency_key}/cancel onto spawned
tepp-loopback TCP. Receipts stay metric-free cancelled=true with
temporal_association_only. Naruon is refused. NaruonLiveService stays
POST-only. ADR 0080.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| return Err(ApiError::InvalidWirePayload); | ||
| } | ||
| let parsed = ProjectHistoryCancelled::from_json(&response.body)?; | ||
| if !parsed.cancelled || parsed.idempotency_key != invocation.idempotency_key { |
|
Closing with replacement mapping to #174. Before closure, exact branch head |
Summary
GAP-003A unique operator-visible slice: published
tepp-project-history-cancel cancelmints typedlineageweave_project_history_cancel_exchangeonto spawnedtepp-loopbackTCP.from_args+ typed exchange +loopback_http1_from_project_history_cancel_exchange+dispatch/execute/render+ published[[bin]].localhosthost /httporigin / unpublished consumer / credential flags fail closed.cancelled=trueandinference_status=temporal_association_only. Evidence text, findings, RMSE, bias, coverage, SE-gate, causal scores, andtepp.scientific_acceptance.v1never appear.tepp-project-histories(feat(api): consolidate project-history collection GET and CLI #428) ortepp-project-history-get(feat(api): consolidate project-history retrieval GET and CLI #431).feat/project-history-cancel-http-gap-003a). Does not unstack onto main.Explicitly not
Another project-history cancel HTTP (#447), export cancel CLI (#446), export cancel HTTP (#445), interpretation-run cancel CLI (#442), interpretation-run cancel HTTP (#440), project-history retrieval CLI (#431), project-history GET-by-id (#429), project-history collection CLI (#428), project-history collection GET (#424), project-history POST CLI (#420), analysis-run cancel (#361), Leiden, Driver p.16, GAP-010 Figma/export, persistence/Compose (#287).
Does not add GET to
NaruonLiveService. Does not open naruon on this LineageWeave-owned adapter. Does not weaken fail-closed. Does not infer causality. No Buyer language. HTTP 200 is not an ADR 0014 claim.Test plan
cargo test -p tepp_api --lib project_history_cancel_clicargo test -p tepp_api --test project_history_cancel_cli_contractcargo clippy -p tepp_api --all-targets -- -D warningscargo doc -p tepp_api --no-depspython3 scripts/validate_documentation.pypython3 scripts/check_docstrings.py