---
typeId: req
recordId: benac-author-004
fields:
  title: Authoring operations exposed through tools and APIs
  statement: Benac shall expose package validation, package build, and package fixture
    execution as machine-readable authoring operations. Command-line Host
    Implementations shall expose these operations as stable commands or documented
    command equivalents. Browser and agent-facing Host Implementations shall expose
    equivalent operations through UI and/or machine-readable APIs. All surfaces shall
    use the same validation, build, fixture, diagnostic, and report semantics. Authoring
    operations exposed through CLI, PWA/runtime, Host API, and Agent API shall be
    package-generic. They shall not rely on hello-world-specific defaults,
    package-specific request bodies, host-specific shortcuts, or surface-specific
    fixture comparison logic. The same underlying validation, build, fixture execution,
    diagnostic, artifact availability, and report semantics shall be used across
    surfaces.
  rationale: A package should not validate differently because it was tested in a CLI,
    browser UI, or agent workflow.
  verification: The same package bundle validates, builds, and runs fixtures through
    command-line tooling, browser/API tooling, and agent-facing APIs with equivalent
    results. Verification shall run validation, inspection, fixture execution, approval
    where applicable, and invocation for at least hello-world/greeting, calculator, todo
    reducer, and notes/text transform packages through generic package pathways.
    Equivalent inputs shall produce equivalent validation reports, inspection results,
    fixture results, diagnostics, request/output snapshots, and invocation records
    across supported surfaces.
  testable: true
  status: draft
  area: BENAC-AUTHOR
  sourceDocument: operator ticket dc3af413-dc52-4b70-afd0-527af9270195
  sourceVersion: 2026-05-04
  sourceSections:
    - Package authoring
  order: 87.12
---
