API naming
Responsibility: keep public terminology deliberate.Authority: API design.
Owner role: API/SDK. Change policy: a change requires compatibility review against docs/api/versioning.md. Settled names (ADR 0010):
Actor.make, and its definition sectionskey,placement,state,tables,blobs,events,feeds,api,internal,createdBy,schedules,jobs,subscriptions,policy,access- Member options:
payload,success,error; reducerbatch: { combine }; job bindings{ job, ...settings }; subscriptions{ delivery, handler } - Members:
Actor.command,Actor.reducer,Actor.query,Actor.stream,Actor.connection,Actor.workflow,Actor.state,Actor.table,Actor.blob,Actor.event,Actor.job,Actor.singleton,Actor.DeadLetter,Actor.Cancelled,Actor.Delivery,Actor.subscription - Turn jobs:
turn.enqueue,turn.cancelJob; executorjobId - Handles:
X.get,X.create,X.intents, andIntent.after,Intent.at,Intent.key,Intent.cancel - Layers:
X.toLayer,X.toQueryLayer,X.toJobLayer - Context services:
X.Turn,X.Read,X.Connection,X.Workflow,X.Executor, and the runtime markerActor.InTurn - Ambient scope:
Actor.as,Actor.tenant,Actor.commandId - Fleet reads:
Fleet.view,Fleet.subscribe Actors.layer,Actors.serve, andAuthfrom@rikalabs/akter/runtimeActorTest,test.actor,ActorTest.simulate
api key, handler key, and handle method. There is one name per concept and one way to do each task; a second spelling exists only when it changes outcomes materially.
An actor is always made with Actor.make, and its definition is its only shape. Member constructors never make actors. Schedules map to actor commands on the definition; policy holds only limits, retention, and lifecycle settings. Runtime construction is plural because it supplies the Actors service.