Skip to content

Run compiler-produced Hello Echo through scheduler-owned Ticks #690

Description

@flyingrobots

Claim

Echo's existing cargo xtask hello-echo demo registers native Rust matcher, executor, and footprint callbacks. Replace that application behavior with the exact package emitted from the standalone Edict examples.hello_echo@1.createGreeting source tracked by flyingrobots/edict#169.

Echo remains the only native runtime code. The application action, effect, obstruction, and package semantics originate in Edict and the Echo-owned provider artifacts; no application callback or handwritten executable package remains in the demo.

Acceptance criteria

  • The demo consumes exact compiler-produced ExecutableOperationPackageV1 bytes and a structurally separate verifier report from Compile standalone Hello Echo through the provider boundary edict#169.
  • Echo installs the package and submits a canonical executable-operation Action through the WAL-backed application boundary.
  • Submission acknowledgement occurs only after accepted-submission WAL commit.
  • The scheduler selects and privately evaluates the Action inside Tick construction.
  • One atomic decided Tick is committed to the WAL before state, frontier, outcome, or Receipt publication.
  • A fresh filesystem-backed host recovers the installed package, pending or decided Action, Tick, greeting state, typed outcome, and Receipt.
  • createGreeting succeeds exactly once for an absent greeting.
  • Repeating the same greeting creation produces typed AlreadyExists/precondition obstruction evidence and no hidden mutation.
  • A mutated pre-Tick initial state causes recovery refusal.
  • The demo contains no GraphQL dependency, fake transport, native application matcher/executor/footprint callback, or handwritten package builder.
  • The existing native counter demo is removed or explicitly renamed as a low-level runtime diagnostic; it no longer claims to be the application-level Hello Echo path.

Test shape

The end-to-end witness must begin with the exact .edict source and lawpack closure, consume compiler/provider outputs without reconstructing them, execute through the scheduler-owned Action route, restart, and assert the recovered semantic result and Receipt.

Dependency

Blocked by flyingrobots/edict#169.

Non-goals

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeatureFeature umbrella (epic)legend:testMethod legend test.priority:highMethod priority high.runtimeRuntime corespecSpec/Design documenttoolingTooling/CI/CLItype:enhancementMethod work type enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions