feat(api): enumerate analysis runs via loopback collection CLI - #371
Conversation
GAP-003A / issue #166: operators can list accepted, running, cancelled, and terminal runs through `tepp-analysis-runs list` without writing raw HTTP or guessing run identities. Stdout stays metric-free; tepp.scientific_acceptance.v1 never appears. Stacked on collection GET (#368). Does not duplicate GET-by-id, lifecycle POST, cancel HTTP, or the scientific-acceptance CLI.
|
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-20 exact-head review request. Current head GAP-003A collection CLI draft stacked on #368. ADR 0032. Do not self-approve. Do not --admin merge. Checks/reviews are not a reason to weaken fail-closed gates. |
|
Hour-21 exact-head review request. Current head @opencode-agent review |
Why
GAP-003A / issue #166 still required operators to write raw HTTP/1.1 after collection GET. Operators cannot enumerate accepted, running, cancelled, or terminal runs from a client without guessing framing. Collection CLI stdout stays metric-free.
tepp.scientific_acceptance.v1never appears.Live slices that this PR does not duplicate:
analysis_enginescientific-acceptance librarytepp-analysis-run)6a5d9777e2cf76c48726ae0243da872993d8881d)What
Eighth GAP-003A slice stacked on #368 over cancel HTTP
#361/ protected main1bc02f580cf48e1d39da239f0e818453437c31c3:tepp-analysis-runs listclient ofGET /v1/analysis-runsrun_id,run_state,idempotency_keytepp.scientific_acceptance.v1never prints--page-cursor/--page-limitNot an ADR 0014 scientific claim. Not persistence. Not GET-by-id. Not lifecycle POST. Not cancel HTTP. Not scientific-acceptance CLI.
Verification
cargo clippy -p tepp_api --all-targets -- -D warningscargo test -p tepp_api --all-targetsRUSTDOCFLAGS='-D warnings' cargo doc -p tepp_api --no-depspython3 scripts/validate_documentation.pypython3 scripts/check_docstrings.pyDo not merge without two independent APPROVE reviews on this exact head and current Checks. Author COMMENTED is not independent APPROVE.