Skip to content

docs: clarify which ProjectStatus variants are currently produced (Closes #329) - #358

Open
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/issue-329-status-docs
Open

docs: clarify which ProjectStatus variants are currently produced (Closes #329)#358
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/issue-329-status-docs

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Summary

Documents which ProjectStatus variants this contract can actually produce.

Problem

ProjectStatus defines Pending, Active, Funded, Completed, and Archived, but only Pending (creation) and Archived (archive_project) are ever written. Active, Funded, and Completed are unreachable dead states that downstream indexers or logic may incorrectly branch on.

Change

Adds a doc comment on the ProjectStatus enum stating explicitly that Pending and Archived are the only variants produced today, and that Active/Funded/Completed are reserved for a future vault-managed lifecycle transition (the cross-contract funding-status call tracked as a separate dependency).

Closes #329

…oses Heliobond#329)

Active, Funded, and Completed are unreachable today (only Pending and Archived are written). Document them as reserved for future vault-managed transitions so downstream consumers do not branch on dead states.

Signed-off-by: laurentketterle-hub <laurentketterle-hub@users.noreply.github.com>
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.

ProjectStatus::Active/Funded/Completed are unreachable — status never advances past Pending

2 participants