ENTITY Documentation Portal
Tutorial 5 · real-world evidence

Record external contribution lineage without overstating rights or value

This tutorial follows the pattern already demonstrated by Vector #26501 / PR #26504 and Memnox #46 / PR #86: an external problem becomes a BTG contribution, the exact change-set is recorded, upstream independently reviews/accepts it, and economic state remains separate from technical acceptance.

PROBLEM → ENGINEERING → ENTITY PROVENANCE → INDEPENDENT REVIEW / CI → UPSTREAM ACCEPTANCE → MEASURABLE CONSEQUENCE → COMMERCIAL INSTRUMENT → SETTLEMENT

1. Capture the external problem before changing code

Record the upstream repository, issue number, issue state, problem statement, licensing context, maintainer/assignment state and any explicit bounty or sponsorship terms.

If money is advertised, verify it before engineering. A bounty listing is a price signal, not proof that the issue remains claimable or that payment is guaranteed.

2. Create the smallest defensible change-set

Work against a pinned upstream base. Record the exact files changed, tests added/changed, local validation limits, commit SHA and branch. Do not claim that ENTITY owns upstream project code merely because it records the contribution.

3. Validate locally, then let upstream remain independent

4. Record ENTITY lineage by phase

A practical external-contribution state progression is:

DISCOVERED → VALIDATED_DIFF → COMMIT_PUSH → UPSTREAM_PR → REVIEW_CHANGE (if required) → UPSTREAM_ACCEPTED_RECORDED

For each phase preserve predecessor receipt/hash, repository and issue identifiers, exact commit/head SHA, changed paths, evidence references, contribution class and economic state.

5. Only record upstream acceptance after it actually happens

Acceptance evidence should use live upstream facts: PR merged/accepted state, final PR head, accepted upstream commit/tree where available, maintainer review, CI/check results and issue closure where applicable.

Vector and Memnox demonstrate this boundary publicly. Their accepted contribution records are externally anchored because unrelated upstream projects merged the work.

6. Preserve the accepted source/recovery evidence where needed

For a stronger evidence campaign, snapshot the accepted tracked source and prove it can be recovered from governed BTDU state without relying on the original working directory or network. The qualified Memnox case recovered all 865 tracked blobs plus its archive, manifest and acceptance evidence.

7. Record economic state separately

StateMeaning
PRO_BONO / USD 0The contribution was accepted without a paid settlement claim.
PROMISED / CONTINGENTCompensation terms may exist but are not yet settled.
FUNDED / SETTLEDOnly use after the relevant economic obligation and settlement evidence actually exist.
Contribution-value evidenceUpstream acceptance can evidence technical adoption; it does not itself assign a monetary valuation.
Never infer: upstream merge = payment; provenance = ownership; open-source contribution = proprietary control; technical acceptance = accounting fair value.

8. Publish only the evidence needed for public verification

The public ledger can expose contribution identity, upstream state, review/CI status, exact accepted head/commit, licence context and explicit economic state while keeping sensitive keys/private workspace material out of the publication layer.

9. Success criteria