feat(api): query cutoff-safe temporal context via loopback CLI - #414
feat(api): query cutoff-safe temporal context via loopback CLI#414seonghobae wants to merge 1 commit into
Conversation
LineageWeave operators can POST /v1/temporal-context through `tepp-temporal-context query` against tepp-loopback without writing raw HTTP. Metric-free association_not_causal JSON only. tepp.scientific_acceptance.v1 never appears. Does not infer causality. Not analysis-run CLIs. Not export CLI. Stacked on protected main.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
|
Hour-28 exact-head: |
seonghobae
left a comment
There was a problem hiding this comment.
Exact-head COMMENT on a4409f9 (draft). Unique occupied: tepp-temporal-context query POST /v1/temporal-context (ADR 0027) as LineageWeave consumer on AnalysisRunLiveService / tepp-loopback. Cutoff-safe, metric-free. Non-loopback host is AuthorizationDenied; non-LineageWeave consumer is InvalidWirePayload. Forbidden keys include rmse family, se_gate, scientific_acceptance, causal_score, causality.
Do not duplicate this POST CLI. Retrieval GET/CLI is #452; stored-request GET/CLI is #464. Do not un-draft. Zero reviews on this SHA before this COMMENT. Never self-approve. No PII in LineageWeave. Do not weaken fail-closed. No Buyer language.
Why
Protected main already serves
POST /v1/temporal-contextonAnalysisRunLiveService/tepp-loopback, but LineageWeave operators still had to write raw HTTP/1.1. Stdout stays cutoff-safe and metric-free withclaim_boundaryassociation_not_causal.tepp.scientific_acceptance.v1never appears. The CLI does not infer causality.Live slices that this PR does not duplicate:
analysis_enginescientific-acceptance librarylistWhat
LineageWeave temporal-context CLI stacked on protected main
1bc02f580cf48e1d39da239f0e818453437c31c3:tepp-temporal-context queryclient ofPOST /v1/temporal-contextontepp-loopbackTemporalContextRequestJSON; consumer islineageweaveonlyidempotency-key(bounded read, not a durable create)association_not_causalstdout;tepp.scientific_acceptance.v1never printsNot an ADR 0014 scientific claim. Not persistence. Not a causal score. Not project-history CLI.
Verification
cargo clippy -p tepp_api --all-targets -- -D warningscargo test -p tepp_api --lib temporal_context_clicargo test -p tepp_api --test temporal_context_cli_contractRUSTDOCFLAGS='-D warnings' cargo doc -p tepp_api --no-depspython3 scripts/validate_documentation.pypython3 scripts/check_docstrings.pyExact head:
a4409f96aa6123d12f26f8df59843aa92596a81eDo not merge without two independent APPROVE reviews on this exact head and current Checks. Author COMMENTED is not independent APPROVE.