Author Role Assistant Evidence

Prev Next

Add Evidence to a Role Assistant package so governed asks, gates, and expected
behaviors can be imported for review — without storing vendor schemas as
Evidence. Evidence is the business-significant layer that shapes how work
continues; it is not current Reality and not Knowledge answers.

Why this matters: You do not encode the process as a workflow graph. You
author the asks, gates, and expected behaviors that make governed
continuation testable. Package upload imports candidates; an authorized human
reviews and promotes them before the Runtime may rely on them.

Certify is not Activate. Certified Evidence may be reused later. Certification does not apply a suggestion to live work. Uncertified AI suggestions must not apply. Vendor substance belongs in Knowledge, not Evidence.

Prerequisites

Where it lives

Artifact Package path
Evidence rows evidence/ under the Role Assistant package
Standalone CRUD Builder Evidence CLI when you are not promoting the whole package
Kind catalog Builder Evidence kinds commands when you need catalog operations

Evidence holds question templates, confidence gates, and business-significant conditions. Filled answers and vendor substance belong in Knowledge (Author Role Assistant Knowledge).

Ownership reminder:

Vendor operation or schema fact = Knowledge
Vendor mapping and joins         = CIP
Canonical enterprise meaning     = COM
Current authorized business fact = Reality
Business-significant condition   = Evidence

How to set

  1. Read live Evidence metadata (allowed kinds, aspects, resources, capabilities) before inventing fields. Reuse existing patterns. Do not author duplicates or rows that exclude each other for the same situation — resolve those conflicts during review so the process stays completable.

  2. Author rows under package evidence/ with specific when conditions and actionable expected behavior. Align kind, aspect, and resource type with what the platform supports. Each row must leave a path for work to finish (ask, wait, or continue) — not a dead-end that contradicts another certified gate.

    Kind defaults are not value generated. Selecting an Evidence Kind may show expected contribution vocabulary for that kind. That is catalog guidance — it does not create a realized contribution value until governed outcomes attribute one. Do not invent free-form vendor field names as contribution types.

Illustrative row shape (fields vary by deployment — validate against Evidence contracts):

kind: missing_information
aspect: connected-system-authoring
resourceType: customer
when: "Primary customer identity is ambiguous across more than one candidate record"
expectedBehavior: "Ask a constrained clarification before create or update; do not invent the primary key"

Evidence does not decide create vs update. Author Evidence as asks, gates, and expected behavior for a task — never as "check if the record exists, then update; otherwise create" branching logic. Whether the requested record already exists is Reality, determined by the platform's own Reality check, not by conditions you write into Evidence. Evidence's job is to state what information is needed and what a good outcome looks like; it does not re-implement the existence check.

  1. Keep boundaries
Questions and gates → Evidence
Filled answers / substance → Knowledge
Vendor mappings / joins → CIP / COM (not Evidence)
Current facts → Reality
  1. Import with the package:
aifabrix validate <roleKey>
aifabrix upload <roleKey> --env dev

Upload discovers evidence/, resolves stable identity, and imports new or
changed candidate rows. It reports row identities, partial results, and pending
lifecycle actions. Required import failures exit non-zero. Upload does not
certify or activate Evidence, and a retry must not overwrite, demote, or
reactivate current server records by accident.

  1. Review and promote in Assistants → Evidence with an authorized human
    actor. Confirm scope, provenance, conflicts, and the path to completion before
    promotion. File approval metadata and --force do not grant this authority.

  2. Extend a missing ask: add Evidence for the new closed key, document the key in your question catalog, store answers as Knowledge — do not invent free-text question surfaces in product code.

  3. Standalone path (optional): Builder aifabrix evidence list/get/insert/load when you need CRUD outside package import.

aifabrix evidence list --role-key sales-representative
aifabrix evidence load ./evidence-batch.json --dry-run

Defaults and examples

Practice Guidance
Good when Specific, observable, scoped to role/resource/trigger
Good expected behavior Explicit action or decision path; include approval when required
Import Candidate identity and payload are validated; upload does not certify or activate
Promotion Authorized human review confirms scope, provenance, conflicts, and completion path
Completeness Gates must leave a path for the process to complete
Category A Package authoring / process Evidence
Category B Business-language projection from Connected System contracts — not a Builder-keyed upload catalogue
Retired files Do not upload retired or skipped catalogue basenames

Good (shape):

  • when: Customer identity confidence is below policy threshold for ownership change.
  • expectedBehavior: Pause the change, request secondary verification, require human approval.

Bad:

  • when: When needed.
  • expectedBehavior: Handle correctly.

Ambiguity handling: flag uncertainty, ask a focused human question, keep candidate Evidence inactive until reviewed.

Validate

Check Signal
Package validate aifabrix validate <roleKey>
Upload Evidence summary Non-zero exit on required import failures; identities and pending actions in CLI summary
Governed review Imported candidates reviewed and promoted by an authorized human in the target environment
Lifecycle aifabrix role-assistant test <roleKey> --env <env> after required Evidence is promoted
Standalone aifabrix evidence list / get for the role
Kind catalog aifabrix evidence-kinds when catalog work is required

If upload fails on Evidence, fix or remove invalid rows under evidence/ and re-upload. Do not bypass required Evidence failures.

Common mistakes

Mistake Fix
Pasting OpenAPI or vendor fields into Evidence Put substance in Knowledge; mappings in CIP/COM
Treating answers as Evidence Answers are Knowledge
Manufacturing capabilities via Evidence Evidence may qualify synthesis — never invent executable support
Duplicate or near-duplicate rows Keep one certified pattern; remove wording-only clones
Evidence that excludes each other Resolve conflicts so one coherent path remains; re-certify
Treating upload as certification Complete governed human review and promotion separately
Blind retry after a partial import Inspect returned identities and server state before retrying
Vague when / expected behavior Make conditions observable and actions explicit

Limits

  • Exact Evidence JSON fields follow dataplane Evidence Fabrix contracts and your Builder version.
  • Review and promotion controls can vary by deployment. Upload never grants
    promotion authority; confirm the target environment's Evidence review state.
  • Category B enterprise capability language is synthesized from Connected Systems, not authored as a predetermined Builder catalogue.
  • This page does not create Role Assistants from scratch — assistants remain platform-generated.

Related