Description
Problem
ADR 0098 requires a versioned, field-level normalized entity before entity-first evaluation is enabled. NormalizedEvent.entity identifies an event target, while entity-context-snapshot v1 describes staged run input. Neither defines the logical entity value exposed to harness CEL. Candidate discovery and field acquisition may produce partial data, so the contract must not confuse “not loaded” with “absent.”
Scope
Author a forge-neutral normalized-entity v1 specification and schema covering:
- Stable identity, kind, repository/source reference, current state, and the relationship to
NormalizedEvent.entity. - Exact CEL-visible fields and types for
entity, their coexistence with nullableevent, and event-only harness compatibility. - Actor-attributed action-indicating history, provenance, supported entity-kind classifications, current authorization representation, and handled-state evidence under ADR 0098, ADR 0133, and Authorization Contract v1.
- Presence and coverage semantics for scalar fields and collections: distinguish a value or successfully empty collection from absent, not requested/not loaded, unsupported, unknown, failed, or incomplete data where those states can arise. Specify which states, if any, CEL may observe. Unresolved or incomplete required data must never silently evaluate as absent or empty.
- The evaluation boundary: ADR 0098 requires complete enumeration of the platform-defined action-indicating categories and per-harness current-permission filtering before CEL. Any field accessed by a predicate must resolve under the contract or evaluation fails closed.
- Versioning, initial supported provider/entity-kind scope, and the boundary between CEL-visible data and model-facing context.
Specify the logical entity and partial-data invariants that Go representations must support. Do not choose a Go type layout, lazy-loading mechanism, or provider query strategy here; #8421 tracks the discovery requirements and the possible follow-up ADR for that choice.
Completion criteria
- A normative v1 README, machine-readable schema, and representative conformance examples are merged under
docs/normative/normalized-entity/v1/. - Examples distinguish a partial candidate from an evaluable entity, a genuinely empty history from an incomplete read, and event-backed from
event == nullevaluation. Missing actor provenance, unverifiable authorization, and a required field that cannot be resolved deny evaluation. - The specification is reconciled with Authorization Contract v1, ADR 0133, and entity-context-snapshot v1 where their scopes meet.
- Living architecture documentation links to the new contract. Implementation remains in the parent issue.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Oct 14, 2026
🤖 Finished Triage · ✅ Success · Started 11:49 AM UTC · Completed 11:51 AM UTC
Commit:
9f18857· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.20
fullsend-ai-triage commentedon Oct 14, 2026
This remains ready to implement as a documentation/spec task. No open or merged PR addresses it yet; a code run was started but has not produced a PR.
Related work (not blockers):
Notes for whoever picks this up:
/docs/normative/search scope prefix already exists.Proposed conformance cases:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
This looks ready to implement as a documentation/spec task, and no open PR addresses it yet.
Related work (not blockers):
Notes for whoever picks this up:
Proposed conformance cases:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Oct 14, 2026
🤖 Code ·⚠️ Cancelled · Started 11:53 AM UTC · Ended 11:58 AM UTC
Commit:
9f18857· View workflow run →fullsend-ai-triage commentedon Oct 14, 2026
🤖 Finished Triage · ✅ Success · Started 11:54 AM UTC · Completed 11:56 AM UTC
Commit:
9f18857· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.11
fullsend-ai-coder commentedon Oct 14, 2026
🤖 Finished Code · ✅ Success · Started 11:59 AM UTC · Completed 12:16 PM UTC
Commit:
9f18857· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $4.35
tpouyer commentedon Oct 26, 2026
A note for the CEL-visible field list, from the ADR 0112 overlay guard (#8829):
The overlay trusted-field guard reads its trusted paths from the "Trusted fields" section of
docs/normative/normalized-event/v1/README.md, and a test parses that section and prefixes every entry withevent.. The section listsentity.source.system"in the entity context" of ADR 0098, so the guard's list carriesevent.entity.source.system. No v1 event hasentity.source, so that path never matches; the docs say so.When this spec defines the
entityroot that harness CEL sees, the entity-context path should be trusted asentity.source.systemon that root, andevent.entity.source.systemdropped from the event list (the "Trusted fields" section andtrustedOverlayEventPathsininternal/harness/trigger.gochange together).11 remaining items
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
docs(#8420): specify normalized entity v1 for ADR 0098
Merge pull request fullsend-ai#8423 from fullsend-ai/agent/8420-norma…