Skip to content

feat(api): query cutoff-safe temporal context via loopback CLI - #414

Draft
seonghobae wants to merge 1 commit into
mainfrom
feat/temporal-context-cli-gap-003a
Draft

feat(api): query cutoff-safe temporal context via loopback CLI#414
seonghobae wants to merge 1 commit into
mainfrom
feat/temporal-context-cli-gap-003a

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Why

Protected main already serves POST /v1/temporal-context on AnalysisRunLiveService / tepp-loopback, but LineageWeave operators still had to write raw HTTP/1.1. Stdout stays cutoff-safe and metric-free with claim_boundary association_not_causal. tepp.scientific_acceptance.v1 never appears. The CLI does not infer causality.

Live slices that this PR does not duplicate:

What

LineageWeave temporal-context CLI stacked on protected main 1bc02f580cf48e1d39da239f0e818453437c31c3:

  • tepp-temporal-context query client of POST /v1/temporal-context on tepp-loopback
  • stdin is TemporalContextRequest JSON; consumer is lineageweave only
  • no idempotency-key (bounded read, not a durable create)
  • metric-free association_not_causal stdout; tepp.scientific_acceptance.v1 never prints
  • loopback-only; credential flags, empty stdin, unknown verbs, and metric keys fail closed
  • ADR 0027 on protected main (distinct from GET-status ADR 0027 on other stacks)

Not an ADR 0014 scientific claim. Not persistence. Not a causal score. Not project-history CLI.

Verification

  • cargo clippy -p tepp_api --all-targets -- -D warnings
  • cargo test -p tepp_api --lib temporal_context_cli
  • cargo test -p tepp_api --test temporal_context_cli_contract
  • RUSTDOCFLAGS='-D warnings' cargo doc -p tepp_api --no-deps
  • python3 scripts/validate_documentation.py
  • python3 scripts/check_docstrings.py

Exact head: a4409f96aa6123d12f26f8df59843aa92596a81e

Do not merge without two independent APPROVE reviews on this exact head and current Checks. Author COMMENTED is not independent APPROVE.

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.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Contributor Author

Hour-28 exact-head: a4409f96aa6123d12f26f8df59843aa92596a81e. LineageWeave temporal-context CLI tepp-temporal-context query against tepp-loopback (POST /v1/temporal-context) stacked on protected main. Metric-free association_not_causal; tepp.scientific_acceptance.v1 never appears. Does not infer causality. Devin/CodeRabbit/author COMMENTED is not independent APPROVE. Ruleset 18156473 needs two independent APPROVE reviews. No self-approve.

This was referenced Aug 31, 2026

@seonghobae seonghobae left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant