Skip to content

feat(api): GET retry parent from published tepp-retry-parent CLI - #400

Draft
seonghobae wants to merge 1 commit into
feat/analysis-run-retry-parent-consumer-parity-gap-003afrom
feat/analysis-run-retry-parent-cli-gap-003a
Draft

feat(api): GET retry parent from published tepp-retry-parent CLI#400
seonghobae wants to merge 1 commit into
feat/analysis-run-retry-parent-consumer-parity-gap-003afrom
feat/analysis-run-retry-parent-cli-gap-003a

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Why

GAP-003A / issue #166 still has no published CLI that GETs /parent from the typed naruon/LineageWeave retry-parent exchange onto spawned tepp-loopback TCP. ADR 0038 / #384 owns retry-parent GET. ADR 0044 / #396 owns consumer-parity exchanges. Operators still had to embed the library or invent HTTP. Retry CLI (#394) lives on a diverged stack that lacks retry-parent GET.

Live slices that this PR does not duplicate:

What

Unique GAP-003A retry-parent CLI slice stacked on #396 over protected main 1bc02f580cf48e1d39da239f0e818453437c31c3:

  • published tepp-retry-parent parent mints naruon_analysis_run_retry_parent_exchange or lineageweave_analysis_run_retry_parent_exchange and renders through loopback_http1_from_retry_parent_exchange
  • --origin stays the published HTTPS origin; only --host is the loopback bind address printed by tepp-loopback
  • empty stdin is required; nonempty GET bodies fail closed
  • success stdout is a metric-free 200 OK inspect ("parent": null when the run was never retried)
  • public bind hosts, localhost, unpublished consumers, credential-shaped flags, metric keys, and http:// origins fail closed
  • does not add GET to NaruonLiveService beyond the Naruon-only compatibility inspect already owned by ADR 0044; LineageWeave remains refused there
  • ADR 0046

Not an ADR 0014 scientific claim. Not retry-parent GET. Not retry-parent consumer-parity. Not retry CLI. Not retry HTTP. Persistence remains GAP-003B.

Verification

  • cargo clippy -p tepp_api --all-targets -- -D warnings
  • cargo test -p tepp_api --test analysis_run_retry_parent_cli_contract
  • cargo test -p tepp_api --lib
  • cargo doc -p tepp_api --no-deps
  • python3 scripts/validate_documentation.py
  • python3 scripts/check_docstrings.py

Stacking

Base is feat/analysis-run-retry-parent-consumer-parity-gap-003a (#396). Merge #396 first or retarget onto main after #396 lands. No force-push.

GAP-003A operator-visible slice: tepp-retry-parent mints typed naruon and
LineageWeave GET /v1/analysis-runs/{run_id}/parent exchanges onto spawned
tepp-loopback TCP. Inspect stays metric-free. Public bind hosts fail closed.
Persistence remains GAP-003B.
@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.

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