Skip to content

Define source-neutral SDL candidate synthesis and admission #988

Description

@Brad-Edwards

Problem

External sources may contain concepts, relationships, preconditions, orderings, and examples that are useful authoring inputs. Turning those inputs directly into executable scenario claims would confuse source assertions with RAES semantics and bypass ordinary authoring, validation, and admission.

Current ownership boundary

RAES owns the source-neutral candidate artifact, transformation provenance, semantic-loss representation, and validation/admission contracts.

  • env-packs and source adapters own source retrieval, pack-aware orchestration, and scheme-specific authoring pipelines.
  • Hub owns user journeys and demonstrations that make the capability discoverable; see Hub #25.
  • No source-specific syntax, catalog client, or remote retrieval behavior belongs in the SDL core.

Outcome

Define a source-neutral candidate-synthesis pipeline that consumes governed, versioned external knowledge assertions and emits ordinary SDL candidate artifacts. Candidates must carry complete transformation provenance, expose unresolved choices and semantic loss, and pass the same parsing, composition, policy, and admission gates as manually authored content.

This work builds on the portable binding contract in #986.

Required pipeline contract

  • Pin the source authority, revision or content digest, extraction query, and transformation version.
  • Separate source facts, transformation assumptions, author decisions, and generated native constructs.
  • Represent ambiguous relationships, missing preconditions, unsupported ordering, and unresolved parameterization explicitly.
  • Emit stable candidate identities and a reproducible derivation record.
  • Require human or governed policy decisions wherever the transformation cannot preserve meaning.
  • Treat generated output as a candidate, never as admitted or executable merely because it came from an external authority.
  • Preserve information-flow and provenance constraints through generation and later inspection.

Acceptance criteria

  • One RAES contract handles candidate inputs from at least two unrelated external schemes or assertion formats.
  • Positive fixtures reproduce byte-stable or semantically canonical candidates from pinned inputs.
  • Negative fixtures cover ambiguous ordering, missing native semantics, unsupported relations, stale inputs, and non-reproducible transformations.
  • Generated candidates pass the normal SDL validation and admission path with no privileged bypass.
  • Reviewers can distinguish imported assertions, inferred structure, defaults, and explicit author decisions.
  • Re-running with a changed source or transformation version produces an inspectable semantic diff.
  • A source adapter can consume the contract without RAES knowing its retrieval protocol or authoring interface.

Non-goals

  • Promising automatic semantic equivalence with an external source.
  • Making an external assertion executable.
  • Adding a source-specific authoring language, catalog client, or pack workflow to RAES.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressAn agent is actively working this issue via /implement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions