Skip to content

CAP-PFM-INT-011Inspect calls and resolve operational problems

Markdown

CAP-PFM-INT-011

Inspect calls and resolve operational problems

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindCapabilityProduct areaPlatformModuleIntegration access, customer extensions and shared workflow configurationRevision1

Read atservices-platform ad3f6a65react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Stored executions and attempts remain inspectable through archive read-through.Manual settlement records the operator and informs the application.Rhythm staff can inspect stuck calls across customers and close a circuit.
Surfaces
consoleapi
Intent sources
services-platform:docs/milestones/INTG-M1-find-install-connect.md#D4services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.md#M2-D5services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.md#M2-D6services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.plan.md#INTG-M2-S11services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.plan.md#INTG-M2-S13services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.plan.md#INTG-M2-S15services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.plan.md#INTG-M2-S16

Controls

32 controls apply, from the corpus control catalogue.

TC-AVL-001 TC-AVL-004 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-AZ-005 TC-DAT-001 TC-DAT-002 TC-DAT-003 TC-IAM-001 TC-IAM-003 TC-IAM-006 TC-LOG-001 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-MON-001 TC-MON-002 TC-PI-001 TC-PI-002 TC-PI-004 TC-PI-005 TC-PRV-001 TC-PRV-002 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
platform.integrations.readapitenant
platform.integration-executions.operateapitenant
platform.integration-executions.readapitenant
hq.integrations.operateapiglobal

Business Rules

8 rules, 7 to be proved before approval. A rule's product intent is derived from its origin: 1 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
Integration readers inspect execution lists, attempts and stored answers; the separately declared executions-read permission is not required by a route or screen.
permissionapitest
services-platform:modules/integrations/tests/e2e-adapters/gateway-dummy.adapters.spec.js#lets the tenant read the execution, its attempts and its stored response
02must prove
Proposed
Retry, cancel and resolve require executions-operate separately from connection management; unauthorized callers leave the execution unchanged.
permissionapitest
services-platform:modules/integrations/tests/e2e/reader-access.e2e.spec.js#is refused every route that changes something (403)
03must prove
Proposed
Operator retry accepts only retrying or retryable failed executions with the original request unchanged, queues an attempt on that execution and records the operation.
validationservicetest
04must prove
Confirmed
The Library leaves Retry disabled and directs retries to the calling application because the original request is not retained for resubmission.
no proof recorded yet
policyconsoleobserved
05must prove
Proposed
Cancellation of an accepted unattempted execution removes dispatch work and releases its key, cancellation of running asynchronous work requests adapter cancellation and settled work refuses cancellation.
lifecycleservicetest
services-platform:modules/integrations/tests/integration/services/executions/invoke-capability.integration.spec.js#cancels an accepted execution before its first attempt, releasing its key and its queued dispatch
06must prove
Proposed
Manual resolution requires a needs-attention execution, a succeeded or failed outcome and a note, contacts no provider and records settlement with one applicable application notification.
lifecycleservicetest
services-platform:modules/integrations/tests/integration/services/executions/reconciler.integration.spec.js#lets an operator resolve a needs_attention execution by hand, audited, with no call to the provider
07
Proposed
Detail reads fall back to the workspace archive when an execution leaves the thirteen-month online store, preserve its shape and mark it archived, while lists include only online executions.
policyservicetest
services-platform:modules/integrations/tests/integration/services/persistence/integration-execution-archives.integration.spec.js#answers the detail with archived true once the row is not online, through the read the routes use
08must prove
Proposed
Rhythm staff can list attention executions across customers and reset a circuit with workspace history; customer callers cannot perform these staff operations.
permissionapi, servicetest

Scenarios

IdGivenWhenThenProvenance
01An operator verifies a stuck payment in the provider’s dashboard.They record success with an explanatory note.Settlement identifies the operator and supplies Accounting one completion event.test
services-platform:modules/integrations/tests/integration/services/executions/execution-settlement.integration.spec.js#resolve of a needs_attention async execution writes the completion with the stored answer

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.