Skip to content

fix(proof): enforce effort relation boundaries - #253

Draft
toeknee-figma wants to merge 1 commit into
mainfrom
stack/toeknee-figma/fix/proof-cross-effort-relations/enforce-effort-relation-boundaries--fb21ca5f
Draft

fix(proof): enforce effort relation boundaries#253
toeknee-figma wants to merge 1 commit into
mainfrom
stack/toeknee-figma/fix/proof-cross-effort-relations/enforce-effort-relation-boundaries--fb21ca5f

Conversation

@toeknee-figma

Copy link
Copy Markdown
Collaborator

Reject create-time and later relation targets outside the source record's Effort. A record may still derive from its own governing Effort.

Fail legacy cross-Effort relation reads with structured PROOF_CROSS_EFFORT_RELATION data instead of returning an empty page. Preserve missing-target error precedence.

Stage reverse projections together so one valid create can both supersede and invalidate the same target without losing either back-link.

Tests:

  • pnpm verify

Fixes #251

Reject create-time and later relation targets outside the source record's Effort. A record may still derive from its own governing Effort.

Fail legacy cross-Effort relation reads with structured `PROOF_CROSS_EFFORT_RELATION` data instead of returning an empty page. Preserve missing-target error precedence.

Stage reverse projections together so one valid create can both supersede and invalidate the same target without losing either back-link.

Tests:
- `pnpm verify`

Fixes #251

Change-Id: Ifb21ca5f0f242090e6fcf3839a3edc7cc1c549fc
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.

proof: reject cross-effort create-time relations and report legacy edges

1 participant