Repository navigation
Description
Parent
#8418 — Implement ADR 0098 entity-first harness evaluation
What to build
For each entity-source harness evaluation, apply Authorization Contract v2, ADR 0151's effective human_min_role, and the applicable bot rules to the normalized entity as a structured, potentially partial document. The input is the entity tree together with its coverage and source-revision/provenance metadata, the selected harness's effective authorization policy, and provider-verified actor-role evidence. Actor-role evidence may come from a live check or eligible ADR 0148 cache reuse.
Produce a harness-specific CEL view that preserves the normalized entity's field paths and nested record shapes, along with bounded authorization and coverage evidence. Keep this view separate from shared cached entity data because each harness can apply a different policy. This issue covers authorization-aware view construction; it does not own entity acquisition or query planning.
View behavior
- Check the current-revision actor attribution and applicable authorization evidence for actor-attributed values, including the current editor of singular fields such as
titleandbody, and actors nested in collections such ascomments,reviews, andlabel_applications. - Preserve admitted values and records in their normalized locations. Exclude known non-admitted records from that harness's view. Keep collection coverage accurate for the authorized view: unresolved attribution, role evidence, source revision, or source completeness must not be represented as a complete empty collection.
- Leave a singular actor-attributed value unknown when its current actor cannot be admitted. Bind unresolved values and incomplete collection coverage as CEL unknown, not as empty, false, or a known absence.
- Apply the contract's field classification. Do not treat every entity field or relationship as an independently actor-originated action.
- CEL evaluates the resulting view and returns true, false, or unknown. That result does not replace event authorization, trusted eventless invocation provenance, or the later model-bound content authorization gate.
Acceptance criteria
- Given a partial normalized entity, a harness policy, and actor-role evidence, produce a harness-specific, entity-shaped CEL view and bounded authorization/coverage evidence.
- Tests cover an admitted nested action, a known actor below the harness minimum, unresolved or stale actor/source-revision evidence, and incomplete source coverage. Incomplete evidence must not make absence or an aggregate predicate appear conclusively false or empty.
- Tests cover singular actor-attributed fields whose current editor is unauthorized or unresolved; those values remain unknown.
- Applying different harness minimums produces independently authorized views without mutating the shared normalized entity or its cache entry.
- Actor-role cache reuse follows ADR 0148's scope, age, invalidation, and audit constraints and applies only to entity CEL role evidence.
- Event authorization, trusted eventless invocation provenance, entity-view admission, and model-bound content authorization remain separate gates. Passing CEL does not authorize content to be staged or acted on.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Nov 17, 2026
🤖 Finished Triage · ✅ Success · Started 9:05 AM UTC · Completed 9:07 AM UTC
Commit:
4c81590· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.11
fullsend-ai-triage commentedon Nov 17, 2026
This work is blocked on the acquisition-plan issue (#9583), which derives the per-harness plan for which entity facts get fetched from CEL dependencies. It is still open and no PR is in flight. This issue admits actor-attributed facts into entity CEL, which depends on that plan defining which facts are acquired. Re-triage once #9583 lands. The scope and acceptance tests (insufficient actor role, missing provenance, stale revision, cache reuse allowed or denied by scope and age, gate separation) look clear enough to implement at that point. The binding of entity into the CEL environment (#9582) is a sibling slice of the same parent; it is worth confirming at implementation time whether it must land first.
Blocked by:
fullsend-ai-triage commentedon Nov 17, 2026
🤖 Finished Triage · ✅ Success · Started 1:57 PM UTC · Completed 1:59 PM UTC
Commit:
1cc7728· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.19
10 remaining items
ifireball commentedon Nov 17, 2026
/fs-code
fullsend-ai-coder commentedon Nov 17, 2026
🤖 Finished Code · ✅ Success · Started 3:27 PM UTC · Completed 3:44 PM UTC
Commit:
3e8fae6· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $3.61
fix(#9584): address review feedback on PR #9614
fix(#9584): address review feedback on PR #9614 (iteration 2)
fix(#9584): address review feedback on PR #9614 (iteration 3)
refactor(#9584): add harness-specific authorized entity view for CEL
fix(#9584): gate threads by origin and keep actor shape without verdict
fix(#9584): admit threads by attributed origin and resolution state
fix(#9584): keep comment failure reasons and gate null thread resolvers
fix(#9584): report stale comments reason in thread membership coverage
Merge pull request fullsend-ai#9614 from fullsend-ai/agent/9584-autho…