Skip to content

feat(api): retrieve project history via loopback GET-by-id - #429

Closed
seonghobae wants to merge 3 commits into
feat/project-history-collection-get-gap-003afrom
feat/project-history-retrieval-get-gap-003a
Closed

feat(api): retrieve project history via loopback GET-by-id#429
seonghobae wants to merge 3 commits into
feat/project-history-collection-get-gap-003afrom
feat/project-history-retrieval-get-gap-003a

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Folded into #431

Closed as superseded_by_fold, not discarded. #431's head contains this PR as its direct ancestor and has been retargeted to this PR's former base, so the project-history GET-by-id implementation/tests and this review history remain intact while queue WIP is reduced. Stored-request vehicle #456 also retains this ancestry.

Canonical retrieval landing vehicle: #431 (feat(api): consolidate project-history retrieval GET and CLI).

Do not reopen unless a surviving folded head demonstrably loses unique behavior or evidence.

LineageWeave operators can GET /v1/project-histories/{idempotency_key} on
tepp-loopback to recover one stored cutoff-safe projection without replaying
POST. inference_status remains temporal_association_only.
tepp.scientific_acceptance.v1 never appears. Does not infer causality.
Not collection GET. Not collection CLI. Stacked on #424.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 093e1e9a-405e-425c-a62e-0c3b0540f1d8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

Devin Review

Comment on lines +394 to +398
pub(crate) fn validate_project_history_registry_identity(value: &str) -> Result<(), ApiError> {
if value.chars().any(char::is_control) {
return Err(ApiError::InvalidWirePayload);
}
validate_bounded_text(value, 256)?;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Whitespace tenant identities become unreachable

validate_project_history_registry_identity accepts tenant IDs with boundary whitespace. Header parsing trims it, so collection and retrieval cannot find accepted histories.

Suggested change
pub(crate) fn validate_project_history_registry_identity(value: &str) -> Result<(), ApiError> {
if value.chars().any(char::is_control) {
return Err(ApiError::InvalidWirePayload);
}
validate_bounded_text(value, 256)?;
pub(crate) fn validate_project_history_registry_identity(value: &str) -> Result<(), ApiError> {
if value.trim() != value || value.chars().any(char::is_control) {
return Err(ApiError::InvalidWirePayload);
}
validate_bounded_text(value, 256)?;
Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

seonghobae added a commit that referenced this pull request Sep 1, 2026
LineageWeave operators can run tepp-project-history-get get against
tepp-loopback to recover one stored cutoff-safe projection without
replaying POST. inference_status remains temporal_association_only.
tepp.scientific_acceptance.v1 never appears. Does not infer causality.
Not collection CLI. Not GET-by-id HTTP. Stacked on #429.
@seonghobae seonghobae closed this Sep 1, 2026
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