Troubleshooting

Troubleshoot research output handoff — Reporting Studio

Troubleshoot failed or partial research-output handoffs involving missing artifacts, stale revisions, broken provenance, duplicate operations, or access restrictions.

ProductSustainable Catalyst Platform CoreUpdatedNovember 15, 2026Reading time26 minutes

Application: Reporting Studio
Cross-application area: Workspace / Research / Research Hub / Library / Citation Studio / Workbench / Research Lab / Platform Core
Classification: Troubleshooting / Research Output Handoff
Audience: Researchers, publication editors, research administrators, data stewards, scientific reviewers, platform operators, and software engineers
Technical level: Intermediate to advanced
Reference environment: Python 3.10 or later; standard library only
Relevant specifications: W3C PROV-O, W3C DCAT 3, DataCite Metadata Schema 4.7, FAIR Guiding Principles, RFC 9110, and RFC 9457
Primary outputs: Handoff incident classification, source and receiving-state reconciliation, object-dependency audit, authorization assessment, safe recovery plan, negative-test evidence, and publication-boundary acceptance receipt
Estimated reading time: 20–25 minutes; approximately 40–50 minutes including exercises

1. Purpose and primary acceptance condition

Research-output handoff transfers a controlled publication package from its originating Reporting Studio and Workspace context into an authorized Research destination.

A package may contain or reference a manuscript, scientific figures, citations, source datasets, methods, reproducible computations, review decisions, rights restrictions, and publication metadata.

Failures can affect the integrity of the scientific record even when the transfer service reports success.

Determine why an approved research output was not transferred, was transferred incorrectly, or became visible outside its authorized scope, and restore a traceable state without silently altering scientific evidence, approval history, or publication permissions.

Primary acceptance condition: The receiving Research environment and public Research Hub must expose only outputs eligible and approved for the applicable audience, version, and publication scope.

Internal acceptance, scientific approval, editorial approval, and public release must remain distinguishable.

2. Recognize typical handoff failures

Common symptoms include:

  • The originating publication or Workspace project cannot be resolved.
  • The receiving Research project is missing or incorrectly mapped.
  • The user is authenticated but lacks authority to initiate handoff.
  • The source manuscript revision differs from the reviewed revision.
  • An approved figure has been replaced or omitted.
  • Citations cannot be resolved to their authoritative source records.
  • Required methods or reproducibility references are missing.
  • Rights or permissions are incomplete for one or more objects.
  • The sender reports success but Research contains no corresponding object.
  • The receiver has a publication record but only some of its dependencies.
  • Objects are assigned to the wrong owner or project.
  • A transfer is retried and creates duplicate research objects.
  • A timeout leaves the transaction outcome unknown.
  • Receiving records refer to stale or conflicting source revisions.
  • Research displays an approved badge based on an earlier review.
  • A private publication appears on a public page, API, search index, or knowledge graph.
  • A public output retains restricted attachments or confidential reviewer material.

These symptoms may originate in different applications. Diagnose the relevant service boundary before modifying records or rerunning transfers.

3. Identify the failure boundary

Table 1. Research handoff failure boundaries
Boundary Typical failure Primary diagnostic
Source publication Missing or stale manuscript Resolve authoritative source and revision
Workspace ownership Incorrect project or owner Verify trusted project mapping
Package assembly Missing figures, citations, or methods Compare required manifest entries
Review and rights Incomplete or stale approvals Inspect scope and version binding
Sender authorization Invalid or insufficient service authority Inspect authenticated identity and permissions
Transfer execution Timeout, network error, or partial response Resolve command outcome and trace
Receiver validation Schema or ownership mismatch Inspect receiving rejection and contract
Receiver persistence Incomplete or missing durable state Read back authoritative stored objects
Research interface Stale projection or incorrectly displayed status Compare interface with authoritative state
Public publication Unauthorized public exposure Test anonymous pages, APIs, assets, and indexes

Do not treat a sender-side acknowledgment as evidence that all receiving-side requirements have passed.

4. Diagnose in a controlled sequence

  1. Preserve the incident. Record the sanitized request or trace identifier, source publication, intended destination, and observed failure.
  2. Confirm the project context. Verify the originating organization, owner, Workspace project, and authorized role.
  3. Resolve the authoritative source. Identify the manuscript and its exact reviewed revision.
  4. Inspect the package manifest. Compare required figures, citations, datasets, methods, and research-object identities.
  5. Verify approvals and rights. Establish that required decisions apply to the exact candidate and proposed transfer.
  6. Check the destination mapping. Resolve the receiving Research project through trusted ownership records.
  7. Inspect transfer execution. Distinguish rejection, timeout, acknowledgment, and completed persistence.
  8. Read the receiver state. Compare its stored revision, manifest, object relationships, and visibility with the sender’s approved package.
  9. Test access boundaries. Confirm unauthorized users and public interfaces cannot see unapproved material.
  10. Determine the narrowest correction. Preserve historical source, review, and transfer evidence.
  11. Rerun applicable acceptance. Include negative and cross-owner tests.
  12. Record closure. Document the actual outcome, reviewer, remaining limitations, and publication state.

Do not retry write operations until the authoritative state of the previous attempt has been established, unless the implementation provides a documented, safely reusable idempotency mechanism.

5. Verify source publication and exact revision

Each handoff must identify the publication revision used to assemble the transfer.

Inspect:

  • Authoritative publication identifier.
  • Workspace project and owner.
  • Current editable draft revision.
  • Actual approved revision.
  • Canonical source artifact or snapshot.
  • Source digest, where appropriate.
  • Linked figure and reference manifests.
  • Review decisions and their version scopes.

For example:

Reporting Studio:
Publication research-017
Approved revision v3

Handoff request:
Publication research-017
Source revision v4

Scientific review:
Applies to revision v3

Expected diagnosis:
SOURCE_REVISION_MISMATCH
STALE_APPROVAL

The newer revision must not inherit the older approval automatically.

Assess changes and obtain the required review rather than editing approval records to reference a different version.

6. Verify ownership and destination mapping

The receiving Research destination must be associated with the correct originating project and authorized owner.

Relevant checks include:

  • Authenticated actor or service identity.
  • Originating organization and tenant.
  • Workspace project ownership.
  • Publication-specific authorization.
  • Destination Research project identity.
  • Trusted origin-to-destination mapping.
  • Permitted handoff action.
  • Correct receiving visibility scope.

An application-generated destination identifier is not sufficient if the receiving system has not independently established ownership and authority.

Do not attempt to repair a missing mapping by changing ownership or granting broader permissions without an authorized review.

7. Diagnose incomplete package assembly

A handoff package is incomplete when it lacks objects required by its approved publication manifest.

Table 2. Required package reconciliation
Object Common defect Validation
Manuscript Wrong revision or missing source Match approved source identity
Figure Missing, stale, or substituted graphic Verify figure ID and analytical provenance
Citation manifest Unresolved references Compare against authoritative Library sources
Methods Missing computational or methodological reference Inspect approved dependency manifest
Dataset Incorrect source version Compare dataset identity and rights
Review record Missing or stale decision Check version, scope, and reviewer authority
Rights record Unverified transfer or disclosure permission Reconcile applicable conditions

Do not silently omit missing figures or citations to make the package acceptable.

If an object is deliberately excluded, record the exclusion reason and preserve any required scientific or bibliographic reference.

8. Diagnose broken research-object relationships

The correct objects can be present while their relationships are wrong.

Examples include:

  • A figure linked to a different publication.
  • A citation associated with an unrelated manuscript.
  • A notebook referring to a superseded dataset.
  • A derived result missing its parent analysis.
  • A review record assigned to a previous revision.
  • A Research object linked to the wrong Workspace project.

W3C PROV-O provides concepts for representing entities, activities, agents, and derivation relationships. DataCite metadata supports typed relationships among scholarly research outputs.

Verify the actual target identifiers and relationship semantics rather than inferring correctness from matching titles.

Provenance relationships help establish traceability but do not independently validate the scientific conclusion.

9. Diagnose scientific figure and citation mismatches

Figures and citations are common sources of hidden handoff defects.

For figures, compare:

  • Exact figure revision.
  • Dataset and analysis dependencies.
  • Axes, legends, units, and captions.
  • Uncertainty and limitations.
  • Accessibility descriptions and rights.

For citations, compare:

  • Authoritative Library source ID.
  • DOI or other persistent identifier where applicable.
  • Source version and bibliographic details.
  • In-text citation and bibliography relationships.
  • Source-rights restrictions.

A visually similar replacement figure or correctly formatted citation is not proof of equivalent scientific evidence.

10. Diagnose stale scientific and editorial approvals

Approval records must identify the exact content version and review scope.

Check separately:

  • Scientific review.
  • Editorial review.
  • Rights clearance.
  • Permissions and project authorization.
  • Final public publication approval.

A package may be eligible for private Research staging without being eligible for public publication.

Do not treat a reviewer recommendation as the final release decision, and do not replace an unresolved decision with a generic approved status.

11. Diagnose rights and confidentiality blockers

Some scientific objects may be referenced but not redistributed.

Relevant restrictions may apply to:

  • Licensed scientific datasets.
  • Subscription publications and full-text content.
  • Third-party scientific figures or imagery.
  • Confidential research projects.
  • Private peer-review records.
  • Restricted computational inputs.
  • Personal or otherwise protected information.

The receiving system should preserve applicable restrictions and determine whether each object can be copied, stored, referenced, shared, or published.

If content transfer is not permitted, an authorized metadata-only relationship may be appropriate where the relevant rights and governance allow it.

Do not presume that internal access establishes permission for public Research Hub distribution.

12. Diagnose sender and receiver discrepancies

The handoff spans at least two conceptual authorities: the originating Reporting Studio or Workspace state and the receiving Research state.

Table 3. Sender and receiver state reconciliation
Sender state Receiver state Interpretation
Not submitted No object No transfer established
Submitted Unknown Transaction outcome unresolved
Accepted response No durable object Acceptance or persistence discrepancy
Submitted Partial object graph Incomplete receiver state
Submitted Matching private package Candidate for successful handoff acceptance
Submitted Wrong project owner Security or ownership failure
Submitted Public without release approval Publication-boundary violation

Do not equate HTTP 200 or 202 with successful end-to-end persistence. The status code must be interpreted under the actual API contract.

Confirm the receiving object by independently reading its authoritative stored state.

13. Diagnose duplicate transfers and uncertain retries

Cross-service writes may succeed even when the initiating request times out.

Before retrying, inspect:

  • Original command or transaction ID.
  • Documented idempotency behavior.
  • Expected source revision.
  • Receiver object ID, if already created.
  • Durable acceptance receipt.
  • Existing object relationships.
  • Duplicate or conflicting revision records.

Where a stable idempotency key is supported, use it according to the implemented contract.

Do not invent idempotency support or assume that repeating a POST request is harmless.

If the result remains uncertain, preserve an unresolved transaction state and escalate rather than generating untraceable duplicates.

14. Diagnose schema and dependency failures

A receiver may reject a manifest because the sending and receiving systems disagree about:

  • Required metadata fields.
  • Object and relationship types.
  • Revision identifiers.
  • Supported manifest versions.
  • Rights and approval representations.
  • Expected content digests.
  • Optional versus mandatory dependencies.

Do not modify production manifests manually to bypass schema validation.

Inspect the authoritative schema versions on both sides and reproduce the failure with sanitized synthetic data.

A schema-valid package may still be scientifically incomplete or unauthorized.

15. Diagnose stale interface and indexing results

Research may store an object before all dependent interfaces update.

Possible differences include:

  • Authoritative database state.
  • API read representation.
  • Application dashboard.
  • Search index.
  • Knowledge graph.
  • Public Research Hub page.

An indexing delay is not necessarily a failed transfer. Likewise, a visible preview does not prove that all required dependencies were durably accepted.

Reconcile each projection with the authoritative object state and applicable visibility policy.

Never resolve a stale display by granting broader access or enabling public publication.

16. Treat unauthorized public visibility as a separate incident

A publication-boundary failure is more serious than an ordinary transfer delay.

Test for unauthorized exposure through:

  • Public Research Hub listings.
  • Individual publication pages.
  • Public API responses.
  • Search-result snippets.
  • Knowledge-graph nodes and relationships.
  • Public asset or download URLs.
  • Cached previews and metadata exports.

If protected content is publicly exposed, preserve sanitized evidence and follow the applicable security, privacy, rights, and institutional incident-response procedures.

Removing a visible page alone may not resolve exposure through APIs, stored assets, indexes, or caches.

17. Define proposed diagnostic codes

Table 4. Illustrative diagnostic classifications
Code Meaning Initial action
ORIGIN_NOT_FOUND Source publication cannot be resolved Verify authoritative source identity
PROJECT_MAPPING_DENIED Destination not authorized for origin Inspect trusted ownership mapping
SOURCE_REVISION_MISMATCH Handoff does not match approved revision Reconcile source and review state
MANIFEST_INCOMPLETE Required objects missing Inspect dependency manifest
OBJECT_RELATIONSHIP_INVALID Object refers to an incorrect parent Reconcile authoritative relationships
RIGHTS_NOT_VERIFIED Transfer or disclosure rights unresolved Obtain appropriate rights review
APPROVAL_STALE Review applies to another revision Assess re-review requirement
SCHEMA_INCOMPATIBLE Sender and receiver contracts differ Compare supported schema versions
TRANSFER_OUTCOME_UNKNOWN Command result cannot be established Read authoritative receiver state
RECEIVER_MISMATCH Received identity or manifest differs Inspect persisted receiving object
RECEIVER_NOT_PERSISTED Durable acceptance not established Inspect persistence and recovery
DUPLICATE_HANDOFF Repeated transfer created conflicting objects Reconcile idempotency and object history
PUBLIC_VISIBILITY_VIOLATION Unapproved material exposed publicly Contain exposure and initiate incident review

These are proposed domain-specific codes. They are not confirmed Reporting Studio or Research API responses.

Where HTTP APIs use RFC 9457 problem details, error responses should avoid disclosing protected internal data.

18. Prepare a synthetic handoff diagnostic

The following local exercise checks a fictional sender package against a fictional receiver record.

It detects source-version mismatches, wrong project mappings, missing dependencies, invalid parent relationships, stale approvals, rights failures, incomplete receiving state, and public visibility violations.

All objects and authority records are synthetic. No real transfer, network request, database access, or publication occurs.

19. Create the Python reference implementation

Prepare Python 3.10 or later:

mkdir handoff-troubleshooting
cd handoff-troubleshooting

python3 -m venv .venv
source .venv/bin/activate

python --version

Save the following as handoff_diagnostics.py.

from dataclasses import dataclass, replace
import json


REQUIRED = frozenset({
    "manuscript", "figure",
    "citation", "methods"
})

REVIEWS = frozenset({
    "scientific", "editorial",
    "rights", "permissions"
})


@dataclass(frozen=True)
class ObjectRef:
    identifier: str
    kind: str
    revision: str
    parent: str
    rights_ok: bool


@dataclass(frozen=True)
class Approval:
    scope: str
    revision: str
    approved: bool


@dataclass(frozen=True)
class Package:
    publication_id: str
    revision: str
    digest: str
    origin: str
    destination: str
    schema: str
    objects: tuple[ObjectRef, ...]
    approvals: tuple[Approval, ...]


@dataclass(frozen=True)
class Receipt:
    publication_id: str
    revision: str
    digest: str
    destination: str
    schema: str
    object_ids: frozenset[str]
    persisted: bool
    visibility: str


OBJECTS = tuple(
    ObjectRef(
        identifier=identifier,
        kind=kind,
        revision="v3",
        parent="publication-017",
        rights_ok=True
    )
    for kind, identifier in (
        ("manuscript", "manuscript-017"),
        ("figure", "figure-017"),
        ("citation", "citations-017"),
        ("methods", "methods-017")
    )
)

APPROVALS = tuple(
    Approval(scope, "v3", True)
    for scope in sorted(REVIEWS)
)

PACKAGE = Package(
    publication_id="publication-017",
    revision="v3",
    digest="synthetic-digest-017",
    origin="workspace-017",
    destination="research-017",
    schema="fixture-v1",
    objects=OBJECTS,
    approvals=APPROVALS
)

RECEIPT = Receipt(
    publication_id="publication-017",
    revision="v3",
    digest="synthetic-digest-017",
    destination="research-017",
    schema="fixture-v1",
    object_ids=frozenset(
        obj.identifier for obj in OBJECTS
    ),
    persisted=True,
    visibility="private"
)

MAPPINGS = frozenset({
    ("workspace-017", "research-017")
})


def diagnose(
    package,
    receipt,
    *,
    expected_revision,
    mappings,
    supported_schema="fixture-v1"
):
    denials = []
    holds = []

    if (
        package.origin,
        package.destination
    ) not in mappings:
        denials.append("PROJECT_MAPPING_DENIED")

    if not package.publication_id or not package.digest:
        denials.append("ORIGIN_IDENTITY_INVALID")

    if package.revision != expected_revision:
        holds.append("SOURCE_REVISION_MISMATCH")

    if package.schema != supported_schema:
        holds.append("SCHEMA_INCOMPATIBLE")

    identifiers = [
        obj.identifier for obj in package.objects
    ]

    if (
        not all(identifiers)
        or len(identifiers) != len(set(identifiers))
    ):
        denials.append("OBJECT_IDENTITIES_INVALID")

    kinds = {obj.kind for obj in package.objects}

    if not REQUIRED.issubset(kinds):
        holds.append("MANIFEST_INCOMPLETE")

    for obj in package.objects:
        if obj.parent != package.publication_id:
            denials.append("OBJECT_RELATIONSHIP_INVALID")

        if obj.revision != package.revision:
            holds.append("OBJECT_REVISION_MISMATCH")

        if not obj.rights_ok:
            holds.append("RIGHTS_NOT_VERIFIED")

    scopes = [item.scope for item in package.approvals]

    if len(scopes) != len(set(scopes)):
        denials.append("DUPLICATE_APPROVAL_SCOPE")

    if not REVIEWS.issubset(set(scopes)):
        holds.append("REQUIRED_APPROVAL_MISSING")

    for item in package.approvals:
        if item.revision != package.revision:
            holds.append("APPROVAL_STALE")

        if not item.approved:
            holds.append("APPROVAL_PENDING")

    if receipt is None:
        holds.append("TRANSFER_OUTCOME_UNKNOWN")
    else:
        if (
            receipt.publication_id != package.publication_id
            or receipt.revision != package.revision
            or receipt.digest != package.digest
            or receipt.destination != package.destination
            or receipt.schema != package.schema
        ):
            denials.append("RECEIVER_MISMATCH")

        if receipt.object_ids != frozenset(identifiers):
            holds.append("RECEIVER_OBJECT_MISMATCH")

        if not receipt.persisted:
            holds.append("RECEIVER_NOT_PERSISTED")

        if receipt.visibility != "private":
            denials.append("PUBLIC_VISIBILITY_VIOLATION")

    if denials:
        status = "REJECTED"
    elif holds:
        status = "REVIEW_REQUIRED"
    else:
        status = "SYNTHETIC_CONSISTENT"

    return {
        "status": status,
        "denials": sorted(set(denials)),
        "review_items": sorted(set(holds)),
        "receiver_verified": "NOT_TESTED",
        "real_authorization": "NOT_TESTED",
        "scientific_validity": "NOT_TESTED",
        "public_release_approved": False
    }


if __name__ == "__main__":
    print(json.dumps(
        diagnose(
            PACKAGE,
            RECEIPT,
            expected_revision="v3",
            mappings=MAPPINGS
        ),
        indent=2
    ))

The validator distinguishes blocking inconsistencies from conditions requiring review.

Important limitations: Project mappings, approval records, rights flags, and receiver persistence are fixture assertions. The code does not authenticate users, inspect authoritative permissions, retrieve actual objects, check a cryptographic content digest, query a receiving service, or enforce publication access. The synthetic status cannot authorize a production handoff.

20. Execute and interpret the reference diagnostic

python handoff_diagnostics.py

Expected synthetic output:

{
  "status": "SYNTHETIC_CONSISTENT",
  "denials": [],
  "review_items": [],
  "receiver_verified": "NOT_TESTED",
  "real_authorization": "NOT_TESTED",
  "scientific_validity": "NOT_TESTED",
  "public_release_approved": false
}

The fixture demonstrates consistent internal records only. It does not establish actual receiver persistence or public-release eligibility.

21. Implement negative and regression tests

Save as test_handoff_diagnostics.py.

from dataclasses import replace
import unittest

from handoff_diagnostics import (
    PACKAGE, RECEIPT, OBJECTS,
    APPROVALS, MAPPINGS, diagnose
)


class HandoffDiagnosticTests(unittest.TestCase):

    def run_case(
        self,
        package=PACKAGE,
        receipt=RECEIPT,
        **kwargs
    ):
        args = {
            "expected_revision": "v3",
            "mappings": MAPPINGS
        }
        args.update(kwargs)

        return diagnose(package, receipt, **args)

    def assert_finding(
        self,
        code,
        package=PACKAGE,
        receipt=RECEIPT,
        field="review_items",
        **kwargs
    ):
        result = self.run_case(
            package, receipt, **kwargs
        )
        self.assertIn(code, result[field])

    def test_consistent_fixture(self):
        self.assertEqual(
            self.run_case()["status"],
            "SYNTHETIC_CONSISTENT"
        )

    def test_public_release_not_authorized(self):
        self.assertFalse(
            self.run_case()["public_release_approved"]
        )

    def test_wrong_project_mapping(self):
        self.assert_finding(
            "PROJECT_MAPPING_DENIED",
            field="denials",
            mappings=frozenset()
        )

    def test_source_revision_mismatch(self):
        self.assert_finding(
            "SOURCE_REVISION_MISMATCH",
            expected_revision="v4"
        )

    def test_schema_incompatible(self):
        self.assert_finding(
            "SCHEMA_INCOMPATIBLE",
            supported_schema="fixture-v2"
        )

    def test_missing_figure(self):
        self.assert_finding(
            "MANIFEST_INCOMPLETE",
            package=replace(
                PACKAGE,
                objects=tuple(
                    obj for obj in OBJECTS
                    if obj.kind != "figure"
                )
            )
        )

    def test_wrong_parent(self):
        self.assert_finding(
            "OBJECT_RELATIONSHIP_INVALID",
            package=replace(
                PACKAGE,
                objects=(
                    replace(
                        OBJECTS[0],
                        parent="other-publication"
                    ),
                ) + OBJECTS[1:]
            ),
            field="denials"
        )

    def test_stale_object(self):
        self.assert_finding(
            "OBJECT_REVISION_MISMATCH",
            package=replace(
                PACKAGE,
                objects=(
                    replace(OBJECTS[0], revision="v2"),
                ) + OBJECTS[1:]
            )
        )

    def test_rights_not_verified(self):
        self.assert_finding(
            "RIGHTS_NOT_VERIFIED",
            package=replace(
                PACKAGE,
                objects=(
                    replace(OBJECTS[0], rights_ok=False),
                ) + OBJECTS[1:]
            )
        )

    def test_missing_approval(self):
        self.assert_finding(
            "REQUIRED_APPROVAL_MISSING",
            package=replace(
                PACKAGE,
                approvals=tuple(
                    item for item in APPROVALS
                    if item.scope != "scientific"
                )
            )
        )

    def test_stale_approval(self):
        self.assert_finding(
            "APPROVAL_STALE",
            package=replace(
                PACKAGE,
                approvals=(
                    replace(APPROVALS[0], revision="v2"),
                ) + APPROVALS[1:]
            )
        )

    def test_unknown_transfer_outcome(self):
        self.assert_finding(
            "TRANSFER_OUTCOME_UNKNOWN",
            receipt=None
        )

    def test_receiver_revision_mismatch(self):
        self.assert_finding(
            "RECEIVER_MISMATCH",
            receipt=replace(
                RECEIPT,
                revision="v2"
            ),
            field="denials"
        )

    def test_receiver_missing_object(self):
        self.assert_finding(
            "RECEIVER_OBJECT_MISMATCH",
            receipt=replace(
                RECEIPT,
                object_ids=frozenset({
                    "manuscript-017"
                })
            )
        )

    def test_receiver_not_persisted(self):
        self.assert_finding(
            "RECEIVER_NOT_PERSISTED",
            receipt=replace(
                RECEIPT, persisted=False
            )
        )

    def test_public_visibility_violation(self):
        self.assert_finding(
            "PUBLIC_VISIBILITY_VIOLATION",
            receipt=replace(
                RECEIPT, visibility="public"
            ),
            field="denials"
        )

    def test_duplicate_objects(self):
        self.assert_finding(
            "OBJECT_IDENTITIES_INVALID",
            package=replace(
                PACKAGE,
                objects=OBJECTS + (OBJECTS[0],)
            ),
            field="denials"
        )

    def test_deterministic(self):
        self.assertEqual(
            self.run_case(),
            self.run_case()
        )


if __name__ == "__main__":
    unittest.main()

22. Run and interpret the regression suite

python -m unittest -v test_handoff_diagnostics.py

The reference suite defines eighteen synthetic tests.

They cover:

  • Consistent reference package.
  • Independent public-release boundary.
  • Unauthorized project mapping.
  • Source revision mismatch.
  • Schema incompatibility.
  • Missing required figures.
  • Incorrect parent relationships.
  • Stale object revisions.
  • Unverified object rights.
  • Missing or stale approvals.
  • Unknown transfer outcomes.
  • Receiver revision and object mismatches.
  • Receiver persistence failure.
  • Unauthorized public visibility.
  • Duplicate object identities.
  • Deterministic evaluation.

These are reference tests supplied for local reproduction, not asserted production or staging test results.

Real acceptance must also exercise authenticated services, actual persistence, concurrent requests, repeated commands, and public exposure paths.

23. Verify the receiving system independently

After a real transfer attempt, inspect the receiving Research service using a permitted authenticated session.

  1. Resolve the actual receiving object identifier.
  2. Confirm its authoritative project owner.
  3. Read the stored publication revision and manifest.
  4. Compare source and receiving artifact integrity references.
  5. Resolve all required figures, citations, and methods.
  6. Inspect rights and review references.
  7. Verify the package is in the correct private or approved state.
  8. Reload and repeat the read-back.
  9. Switch to an unauthorized synthetic identity and confirm access denial.
  10. Confirm the public Research Hub does not expose unapproved content.

The authoritative database or service state must be distinguished from search or interface projections.

Where eventual indexing is implemented, record pending indexing separately from durable acceptance.

24. Verify public Research Hub boundaries

The primary acceptance condition requires checks against all implemented routes through which content may become public.

Table 5. Public visibility negative tests
Exposure path Required test
Publication listing Unapproved outputs absent
Publication detail page Unauthorized direct access denied
Public API Protected content and metadata excluded
Search index Unapproved records not discoverable publicly
Knowledge graph Restricted nodes and relationships withheld
Asset download Unapproved files inaccessible
Preview or cached response Prior protected content not leaked
Cross-tenant session Unauthorized source and receiver access denied

Test the actual enabled interfaces. Do not claim the platform implements a particular public route unless it has been independently identified.

A public-page 404 response alone does not establish that the corresponding API or downloadable assets are protected.

25. Preserve scientific evidence during recovery

Research handoff recovery should preserve the scientific record.

Retain:

  • Original approved manuscript revision.
  • Approved figures and tables.
  • Dataset and analytical versions.
  • Citation and bibliography relationships.
  • Methods, assumptions, and uncertainty statements.
  • Review and rights decisions.
  • Original handoff request and outcome evidence.
  • Receiving-state history.
  • Any authorized correction or superseding revision.

Do not remove scientific limitations, substitute missing evidence, or recalculate results merely to make a transfer pass.

If the correction changes research content, assess its scientific materiality and obtain appropriate re-review.

26. Recover safely from an incomplete transfer

Use a controlled recovery sequence.

  1. Preserve sender and receiver evidence. Record the actual source version and existing receiving state.
  2. Classify the failure. Determine whether the problem concerns identity, manifest content, approvals, transport, persistence, or public visibility.
  3. Protect the publication boundary. Hold public release and contain unauthorized exposure as needed.
  4. Reconcile existing writes. Establish whether the original transfer committed.
  5. Inspect object relationships. Identify the exact missing or inconsistent references.
  6. Resolve authorization. Correct trusted project mappings or service permissions only through approved procedures.
  7. Repair narrowly. Apply the smallest authorized schema, object, mapping, or workflow correction.
  8. Preserve version history. Avoid overwriting accepted artifacts.
  9. Retry only when safe. Respect documented idempotency and expected-revision controls.
  10. Read back the result. Verify durable receiver state.
  11. Rerun negative tests. Confirm cross-owner denial and nonpublic staging.
  12. Record recovery. Preserve the correction, reviewer, executed tests, and unresolved limitations.

Do not attempt destructive recovery on production storage without the applicable backup, restore, and authorization requirements being satisfied.

27. Prepare a sanitized incident receipt

An illustrative evidence record is:

{
  "schema_version": "example-1.0",
  "workflow": "research_output_handoff_troubleshooting",
  "classification": "synthetic",
  "incident": {
    "case_id": "handoff-incident-017",
    "suspected_failure": "RECEIVER_OBJECT_MISMATCH",
    "root_cause_confirmed": false
  },
  "origin": {
    "project_id": "workspace-017",
    "publication_id": "publication-017",
    "source_revision": "v3",
    "source_digest": null
  },
  "destination": {
    "research_project_id": "research-017",
    "receiver_object_id": null,
    "visibility": "unverified"
  },
  "acceptance": {
    "origin_identity": "not_tested",
    "trusted_project_mapping": "not_tested",
    "source_revision": "not_tested",
    "manifest_schema": "not_tested",
    "object_completeness": "not_tested",
    "figure_provenance": "not_tested",
    "citation_integrity": "not_tested",
    "scientific_review": "not_tested",
    "editorial_review": "not_tested",
    "rights_and_permissions": "not_tested",
    "transfer_outcome": "not_tested",
    "receiver_identity": "not_tested",
    "receiver_persistence": "not_tested",
    "idempotency": "not_tested",
    "tenant_isolation": "not_tested",
    "public_page_boundary": "not_tested",
    "public_api_boundary": "not_tested",
    "public_search_boundary": "not_tested",
    "knowledge_graph_boundary": "not_tested",
    "scientific_impact": "not_tested",
    "production_runtime": "not_tested"
  },
  "real_transfer_verified": false,
  "public_release_approved": false,
  "release_decision": "NO_GO"
}

This is a proposed incident format and not a verified Reporting Studio or Research API schema.

Real receipts should link to sanitized diagnostics, exact source and receiving revisions, actual authorization decisions, and executed acceptance evidence.

28. Technical and scientific recovery acceptance matrix

Table 6. Research-output handoff troubleshooting acceptance
Criterion Pass condition Required evidence
Origin identity Correct originating project and publication resolved Authoritative Workspace record
Source revision Transfer bound to exact reviewed version Revision and integrity evidence
Package completeness All mandatory objects present or explicitly governed Approved manifest comparison
Scientific fidelity Evidence and methodological meaning preserved Independent scientific review
Figure and citation integrity Correct versioned source relationships Figure and Library reconciliation
Review approvals Required decisions bind to exact revision and scope Review records
Rights and permissions Transfer and receiving use authorized Rights and project authorization evidence
Destination mapping Correct Research owner and project Trusted mapping test
Manifest schema Sender and receiver support compatible contract Schema and version tests
Transfer outcome Original command result established Request and receiving evidence
Receiver integrity Stored source identity and relationships match Receiver read-back
Receiver persistence Durable state survives reload and authorized replay Persistence acceptance
Idempotency Retries do not create unintended duplicate or conflicting records Repeated-command tests
Tenant isolation Unauthorized cross-owner access denied Authenticated negative tests
Nonpublic staging Unapproved packages remain private Private visibility tests
Public Research Hub Only approved representations publicly accessible Page, API, index, asset, and graph tests
Historical integrity Previous accepted artifacts and decisions preserved Version and recovery receipts
Runtime verification Real sender and receiver behavior tested CI, API, staging, and browser results

Acceptance rule: Record each required criterion as Pass, Fail, Not Tested, or Not Applicable. Any failed or untested mandatory ownership, authorization, scientific-integrity, receiver-persistence, or public-visibility control prevents full handoff or public-release acceptance, as applicable.

29. Sustainable Catalyst cross-application responsibilities

Table 7. Proposed incident ownership and responsibilities
Application Intended responsibility
Reporting Studio Preserve approved publication identity and assemble the versioned handoff package
Workspace Maintain project ownership, reviewer roles, and approval histories
Library Preserve authoritative sources, citations, rights, and research artifacts
Citation Studio Support correct bibliographic relationships where implemented
Workbench Maintain reproducible figures, analytical dependencies, and numerical evidence
Research Lab Evaluate scientific methods, evidence quality, and uncertainty
Research Validate receiving ownership, source versions, object graph, persistence, and private staging
Research Hub Expose only eligible public outputs under appropriate publication controls
Platform Core Enforce trusted identity, tenant separation, and service-to-service authority

These describe proposed architectural boundaries. Actual component ownership and implemented routes must be confirmed from source and deployment evidence.

30. Required implementation and deployment audit

Before certifying this troubleshooting procedure, inspect:

  • Actual Reporting Studio, Workspace, Research, and Platform Core repositories and commits.
  • Publication and research-object identity contracts.
  • Workspace-to-Research ownership mapping.
  • Exact-version review and approval records.
  • Figure, citation, and method dependency schemas.
  • Rights and confidentiality enforcement.
  • Actual handoff request and response contracts.
  • Service authentication, delegated authority, and credential handling.
  • Manifest schema negotiation and compatibility.
  • Receiver persistence and durable event history.
  • Transaction, retry, and idempotency behavior.
  • Cross-tenant and cross-project negative tests.
  • Private staging and public publication gates.
  • Public page, API, search, asset, and knowledge-graph filtering.
  • Projection and cache invalidation behavior.
  • Executed unit, integration, and regression tests.
  • CI receipts tied to specific implementation commits.
  • Authenticated staging and browser acceptance.
  • Backup, restore, rollback, and reconciliation evidence.
  • Known disabled integrations and unresolved production blockers.

Do not claim the handoff is deployed because a sender-side interface displays a successful result. The receiver’s stored state and public authorization boundaries require independent verification.

31. Escalation and incident handling

Escalate when:

  • An unauthorized project can hand off or receive protected research.
  • A receiving package differs materially from the approved source.
  • Scientific figures, citations, or dependencies disappear.
  • Stale approvals are accepted as current.
  • Restricted content appears in public Research Hub outputs.
  • Public APIs or indexes expose unapproved metadata or assets.
  • The transfer’s outcome cannot be established after a partial failure.
  • Duplicate handoffs create conflicting publication objects.
  • Previously approved source or review history is overwritten.
  • Recovery requires destructive changes to production data or public publications.

Preserve the last accepted state and sanitized evidence, contain unsafe access or publication where required, and involve the responsible technical, scientific, institutional, rights, or security authority.

Never disclose service credentials, confidential reviewer identities, private manuscripts, or protected research artifacts in public issue reports.

32. Technical and scientific references

  1. World Wide Web Consortium (W3C) (2013). PROV-O: The PROV Ontology. Available at: https://www.w3.org/TR/prov-o/.
  2. World Wide Web Consortium (W3C) (2024). Data Catalog Vocabulary (DCAT) — Version 3. Available at: https://www.w3.org/TR/vocab-dcat-3/.
  3. DataCite Metadata Working Group (2026). DataCite Metadata Schema, Version 4.7. Available at: https://schema.datacite.org/meta/kernel-4/index.html.
  4. DataCite. Connecting to Works. Available at: DataCite relationship guidance.
  5. Crossref. Relationship Metadata. Available at: Crossref relationship guidance.
  6. Wilkinson, M.D. et al. (2016). ‘The FAIR Guiding Principles for scientific data management and stewardship’, Scientific Data, 3, 160018. Available at: https://doi.org/10.1038/sdata.2016.18.
  7. Fielding, R., Nottingham, M. and Reschke, J. (2022). HTTP Semantics. RFC 9110. Available at: https://www.rfc-editor.org/rfc/rfc9110.html.
  8. Nottingham, M., Wilde, E. and Dalal, S. (2023). Problem Details for HTTP APIs. RFC 9457. Available at: https://www.rfc-editor.org/rfc/rfc9457.html.
  9. Python Software Foundation. dataclasses — Data Classes. Available at: Python documentation.
  10. Python Software Foundation. unittest — Unit Testing Framework. Available at: Python documentation.

33. Completion and verification record

Table 8. Research-output handoff troubleshooting completion requirements
Field Required record
Incident identifier Unique handoff case and component owner
Research context Project, scientific purpose, and intended output
Originating project Authoritative Workspace identity and owner
Publication source Exact approved manuscript revision and integrity reference
Package manifest Required research objects and schema version
Scientific dependencies Figures, citations, datasets, methods, and output relationships
Review decisions Version-bound scientific, editorial, rights, and permissions outcomes
Trusted authorization Origin and destination service and project authority
Transfer request Command, request identity, and expected revision
Failure classification Confirmed cause or unresolved hypothesis
Receiver identity Actual receiving project and object references
Receiver persistence Authoritative read-back and reload verification
Duplicate handling Retry and idempotency evidence
Tenant isolation Cross-owner access-denial tests
Private staging Nonpublic receiving state
Public visibility Page, API, index, asset, and graph acceptance
Scientific integrity Assessment of content changes and evidence omissions
Recovery Authorized correction and preserved history
Provenance Traceable source, transfer, and receiving relationships
Implementation identity Repositories, commits, contracts, and deployed builds
Regression evidence Executed tests and implementation revision
Runtime acceptance Authenticated sender, receiver, and public-boundary tests
Scientific reviewer Responsible assessor and decision date
Publication authority Responsible release decision-maker
Outstanding limitations Unresolved scientific, technical, security, or rights issues

Completion criterion: A research-output handoff defect is resolved when the authoritative source, exact approved revision, scientific dependencies, rights, and review decisions have been reconciled; the intended Research workspace has independently accepted and durably preserved the correct versioned package; historical provenance and authorization boundaries remain intact; and no unapproved research output is exposed through public Research Hub interfaces.

Scientific limitation: A complete handoff manifest and correct receiving-state record do not independently prove that the research findings are scientifically valid. Methods, data quality, uncertainty, reproducibility, and interpretation require appropriate scientific examination.

Current implementation status: Reporting Studio research-output handoff troubleshooting methodology, failure-boundary classification, source and destination reconciliation, object-dependency checks, versioned approval requirements, synthetic Python diagnostic, eighteen reference regression tests, safe recovery procedure, receiving-system acceptance, public-visibility negative tests, and proposed governance criteria documented. No production Reporting Studio-to-Research bridge, trusted Workspace identity integration, durable receiving object store, or public Research Hub publication gate is certified without implementation-specific source audit, executed authenticated integration and security tests, scientific review, and independent runtime verification.

Scroll to Top