Developer Manual

Architecture and responsibilities

Understand the host, packages, provider, verifier, and authority boundaries.

The Developer Manual is for engineers integrating AnswerUp into an application they operate. It complements Concepts, which explains the model, and the API Reference, which records exact package declarations.

The system boundary

The host application receives a request, supplies trusted identity and business context, searches its authoritative systems, and renders the result. AnswerUp does not perform provider or verifier I/O and does not own the host’s business database.

ComponentRoleOwnsDoes not do
Host applicationCoordinates transport, domain interpretation, context, policy, adapters, persistence, and presentationBusiness meaning, credentials, tenant scope, durable recordsTreat model output or provider acknowledgment as truth
Proposing systemProduces a bounded proposalIntent supplied by the user or workflowAuthority, authorization, or effect truth
Framework/channel adapterMaps an ingress or tool call into host inputTransport parsing and channel identityWiden trusted context or authorize an action
@answerup/actionsProtected-action composition and bounded result projectionThe package’s public action contractHosted execution or durable storage
@answerup/runtimeProcess-local orchestration, execution, verification, reconciliation, and projectionRuntime handles and lifecycle sequencingRestart-safe recovery or exactly-once execution
@answerup/coreGrounding, authorization provenance, identities, lifecycle, effect resolution, and claim permissionCore semantic artifactsProvider calls, business searches, or persistence
Provider adapterAttempts the requested external mutationProvider credentials, request mapping, acknowledgmentIndependent proof of success
Independent verifierReads the authoritative system and reports bounded evidenceVerifier credentials and read policyGuessing, self-verification, or mutation
Authoritative systemOwns business stateRecords and final stateAnswerUp lifecycle semantics
Durable action recordHost-owned record of the lifecycleRetention, access control, and recovery dataBecoming business authority
Trace/conformance toolingConnects bounded observations or evaluates fixturesTooling output and evidenceBecoming effect truth or production certification

End-to-end sequence

  1. The host accepts and validates the proposal.
  2. The host supplies requester, tenant, subject, policy, and source context.
  3. The host supplies authoritative candidates; Core resolves or requests clarification.
  4. The host binds confirmation and authorization to the grounded operation.
  5. Runtime/Core prepares an execution with operation, effect, execution, and attempt identities.
  6. The host-owned provider adapter dispatches once.
  7. A separate verifier reads the authoritative system.
  8. PRESENT supports COMMITTED; ABSENT_FINAL supports DISPROVED; INDETERMINATE yields UNKNOWN.
  9. The host projects only a permitted, bounded user-facing claim.

ACKNOWLEDGED means the provider observed or accepted the dispatch request. It is not COMMITTED. An UNKNOWN result is not permission to redispatch.

Responsibility matrix

ResponsibilityOwner
Semantic lifecycle and effect classificationAnswerUp Core
Runtime orchestrationAnswerUp Runtime
Proposal interpretation and domain rulesHost application
Candidate search and authoritative dataIntegration owner
Authorization policyHost policy authority
Provider credentials and mutationHost/provider adapter
Independent read-backHost/verifier
Durable records, retention, and recoveryHost/operator
User-facing wordingHost, within claim permission
Commercial entitlementSeparate platform authority