Skip to content

Define and govern Screenplay portable executable semantics #128

Description

@woksin

Vision

Screenplay is the authoritative declarative and executable semantic model of an information system. People and AI author it, Studio visualizes it, specifications verify it, Stage executes it, and realization profiles render code and other artifacts.

This epic governs the boundary between portable model semantics and replaceable realization choices.

Scope

  • Versioned executable semantic model with stable semantic identities.
  • Portable execution plan and deterministic reference interpreter.
  • Executable specifications and cross-backend conformance.
  • Screenplay workspace, semantic snapshots, revisions, and typed patches.
  • Semantic admission rules for future language work.
  • Explicit capability requirements and fail-closed realization.
  • Separation of model meaning from source provenance, framework realization, operations, and generated artifacts.

Admission rule

A capability belongs in Screenplay core only when it changes portable observable behavior, execution, specifications, Studio/AI reasoning, or equivalent generated backends; existing building blocks cannot already express it; and it has deterministic framework-neutral semantics.

Adapter diagnostics or framework API frequency alone do not justify syntax.

Explicit non-goals

Core Screenplay does not model HTTP routes, database CRUD APIs, message-broker dispatch modes, projection daemons, framework Saga classes, package versions, or deployment topology.

Children

Focused children cover:

  • stable identities and executable semantic model;
  • portable execution plan/reference interpreter;
  • workspace and typed semantic patches;
  • constrained embedded implementations;
  • complete query and policy semantics;
  • decision consistency;
  • view-driven automation/business due time;
  • affected-view identity/cardinality;
  • data-subject relationships;
  • portable event-contract evolution.

Acceptance criteria

  • One serialized semantic model and specification corpus are canonical across file/folder forms.
  • Stage and renderers consume the Screenplay-owned semantic model rather than competing partial models.
  • Normalized Accepted/Rejected/Conflict/Unsupported outcomes are deterministic.
  • Unsupported semantics block execution/rendering rather than being dropped or weakened.
  • Studio and AI address stable semantic identities through revision-checked patches.
  • Realization/provenance is deterministic and separate from semantic equality.
  • The same conformance vectors pass in the reference interpreter, Stage, a Cratis-rendered target, and a materially different second target.
  • Public syntax/compiler compatibility and canonical existing models remain protected throughout migration.

Architecture and delivery decisions are documented in SCREENPLAY_PLUS_ARCHITECTURE.md and SCREENPLAY_PLUS_PROGRAM.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions