Worked Examples
Apply research collaboration exports — Workspace
Share approved Workspace research outputs and supporting evidence while preserving scientific provenance, reproducibility, version history, and access controls.
Research collaboration often requires sharing a defined result without exposing the project that produced it. A useful collaboration export contains the selected artifact, a clear description of what it represents, the relevant versions and sources, and enough provenance to support independent examination. It does not automatically grant access to the originating Workspace, Library, or private research records.
Estimated reading time: 13–17 minutes (excluding validation exercises).
Goal
Prepare a scoped research collaboration export that recipients can inspect and reproduce as permitted, while preserving project boundaries, scientific attribution, version history, and publication rights. The intended result is an identifiable, reviewable evidence package—not a copy of everything stored in a project.
Acceptance criterion: The recipient obtains only approved materials, can identify the exact revisions and methods used, and cannot infer or retrieve unrelated private records through the export.
Requirements
- Project context: Organization or tenant, project identifier, responsible owner, intended recipients, and the purpose of sharing.
- Artifact identification: Exact object IDs and revisions for reports, data extracts, figures, notebooks, models, or supporting files.
- Evidence and provenance: Source identifiers and versions, method/algorithm versions when applicable, measurement units, transformation history, quality limitations, and checksums of the actual exported bytes.
- Rights and permissions: Owner approval, research participant or data use restrictions, third-party licensing, intended audience, and an explicit decision about whether a result may be shared.
- Technical environment: A supported Workspace deployment for actual platform exports, or Python 3 and a local shell to run the independent illustrative validator described later.
Publication approval, review status, and a file’s presence in a downloadable archive are distinct conditions. The recipient’s scope should be determined independently of the sender’s general Workspace privileges.
Procedure
- Define the collaboration boundary. Record who should receive what, for which purpose, for how long, and whether forwarding or redistribution is allowed. For a private collaboration, prefer named recipients to publicly accessible download links.
- Select exact versions. Use stable artifact identifiers and reviewed revisions. If an artifact changed after review, do not treat the later draft as covered by the previous approval.
- Review scientific completeness. Include units, methodological choices, uncertainty, caveats, referenced figures/tables, and a clear distinction between observed, modeled, simulated, and derived results.
- Review rights and sensitivity. Exclude hidden columns, personal data, credentials, internal URLs, private manuscripts, restricted source files, or material that the collaborator is not entitled to see.
- Prepare the package. Preserve a manifest with file paths, artifact and source revisions, byte-level SHA-256 digests, license/rights decisions, and a readable README describing reproduction steps and known limitations.
- Inspect independently. Test a copy of the package in a fresh local directory. Confirm expected files exist, checksums match, and unapproved objects are absent. Do not rely solely on the export button returning success.
- Deliver using an approved channel. Verify recipient authorization, access expiry/revocation where supported, and that no broader project access is created accidentally.
- Record the transfer. Preserve nonsecret evidence of the selected revision, approver, recipient scope, manifest checksum, dispatch time, and any subsequent correction or withdrawal.
Platform note: This procedure specifies evidence requirements. It does not assert that a particular Workspace menu, collaboration-export API, share-link lifetime, or audit endpoint is currently deployed.
Minimum evidence package
| Item | What the recipient should be able to verify |
|---|---|
| README | Research question, purpose of transfer, methods, units, licensing and reproduction instructions |
| Artifact inventory | File name, content type, stable object ID, exact revision and approval state |
| Source and method record | Source identifiers/revisions, algorithm/version and transformation descriptions |
| Checksums | SHA-256 calculated from the actual exported bytes; compare again after transfer |
| Access boundary | Named recipients, rights approval, public/private classification and any expiry/revocation requirement |
| Scientific limitations | Uncertainty, missing inputs, synthetic versus observed evidence and reproducibility constraints |
Example: local manifest for an export review
The following JSON structure is an illustrative offline reference manifest, not a verified Workspace API response or production schema. Its fields are designed to support an independently inspectable research handoff.
{
"schema": "sc.reference.collaboration-export.v1",
"project_id": "synthetic-project",
"intended_recipients": ["reviewer-example"],
"artifacts": [
{
"path": "report.txt",
"artifact_id": "synthetic-report",
"artifact_revision": "3",
"source_id": "synthetic-dataset",
"source_revision": "1",
"sharing_state": "approved_for_named_recipients",
"rights_reviewed": true,
"sha256": "<actual 64-character SHA-256 digest>"
}
]
}
In an actual package, replace the digest placeholder with a checksum calculated from the file bytes. The manifest alone cannot enforce access controls or establish the validity of an approval; those require the relevant authenticated platform and institutional procedures.
Mac Terminal: inspect exported files
On macOS, inspect an approved local export directory without changing source files. Substitute the real local folder path:
EXPORT_DIR="$HOME/Downloads/approved-collaboration-export"
test -d "$EXPORT_DIR" || { echo "Export folder not found"; exit 1; }
find "$EXPORT_DIR" -type f -maxdepth 3 -print
find "$EXPORT_DIR" -type f ! -name 'manifest.json' -exec shasum -a 256 {} +
The hashes are a byte-level transfer check. They do not prove that the research methods or sharing rights are correct.
Linux Terminal: inspect exported files
On a Linux workstation, use equivalent read-only commands. Perform these checks on a disposable export directory, not a production data volume:
EXPORT_DIR="$HOME/Downloads/approved-collaboration-export"
test -d "$EXPORT_DIR" || { echo "Export folder not found"; exit 1; }
find "$EXPORT_DIR" -maxdepth 3 -type f -print
find "$EXPORT_DIR" -type f ! -name 'manifest.json' -exec sha256sum {} +
If an archive is supplied rather than a directory, inspect its file listing before extraction and avoid extracting untrusted archives with elevated privileges. Treat suspicious absolute paths, path traversal, or symlinks as reasons to stop.
Reproducible validation example
A standalone Python reference checker accompanies this article. It reads the illustrative manifest.json, verifies listed file bytes against SHA-256 digests, detects unsafe paths and duplicate names, and rejects missing source revisions, absent recipient records, and unreviewed sharing states. It never contacts Workspace and cannot itself grant or revoke permissions.
Download the Workspace Collaboration Export Reference Validator from the article’s supporting materials. Then use the following commands on either macOS or Linux:
mkdir -p "$HOME/sc-collaboration-export-check"
cd "$HOME/sc-collaboration-export-check"
unzip "$HOME/Downloads/Workspace_Collaboration_Export_Reference_Validator.zip"
python3 -m unittest -v test_verify_export
# Validate a directory ONLY if it follows the illustrative manifest format:
python3 verify_export.py "$HOME/path/to/synthetic-export"
Executed reference result: 12/12 synthetic tests passed, including modified file bytes, path traversal, duplicate entries, missing approval/rights, unrecognized schema, missing data, and symbolic-link rejection. This is not a production acceptance result.
GitHub source and review workflow
The public Sustainable Catalyst Workspace repository is the project’s source-control entry point. For a documentation-backed export capability, the source link should eventually point to the exact reviewed implementation file, test suite, pull request, CI evidence, and immutable commit used for acceptance.
To inspect the repository without modifying the live application:
gh repo view Content-Catalyst-LLC/sustainable-catalyst-workspace --json name,visibility,defaultBranchRef,url
# Clone into a new local directory if needed:
gh repo clone Content-Catalyst-LLC/sustainable-catalyst-workspace
cd sustainable-catalyst-workspace
git rev-parse HEAD
# Look for references to collaboration/export handling:
git grep -n -i -E 'collaboration|export|sharing' -- docs backend tests || true
Paths in the final search command are illustrative; inspect the actual repository tree and adjust them if necessary. The separate reference validator accompanying this article is not claimed to be committed to that repository. Before publishing it, review for secrets and private fixtures, run tests, and use a scoped pull request. Do not substitute an unrelated GitHub script as proof of export integration.
Symptoms
- A collaborator receives a broken archive, missing figure, incomplete evidence package, or a checksum mismatch.
- The export contains restricted files or objects outside the intended project scope.
- A figure, notebook or report refers to a newer method or dataset than the revision used to generate its results.
- The recipient can open the exported document but cannot reproduce the analysis because units, assumptions or supporting inputs are missing.
- A share link unexpectedly exposes an entire project or cannot be revoked using documented controls.
Cause
| Symptom | Likely cause | What to inspect |
|---|---|---|
| Checksum mismatch | Changed, incomplete or replaced file | Compute SHA-256 on sender and recipient copies of the same file |
| Missing artifact | Incorrect export scope or packaging failure | Compare intended inventory with actual archive contents |
| Wrong values or figures | Stale or mismatched revisions | Inspect exact source, method and output revisions |
| Unexpected private records | Authorization or filtering failure | Stop distribution; inspect owner scope and approved recipient access |
| Reproduction fails | Missing dependencies, units or method version | Rebuild in a clean environment with pinned inputs |
| Export returns success but content is wrong | UI/transport success mistaken for scientific acceptance | Use byte checks, artifact inventory and scientific review |
Resolution
- Stop further delivery when an export is incomplete or permissions are uncertain. If a link is already exposed, follow the authorized incident and revocation procedure.
- Preserve the original export package and sanitized evidence; do not silently overwrite previously shared objects.
- Reconcile the approved artifact inventory and exact source revisions, then generate a corrected package using the actual documented export process.
- Verify checksums and recipient access again, independently. Record a correction notice or withdrawal reference where required.
- Close the issue only when the recipient has the agreed materials and no broader access was granted.
Troubleshooting
Terminal says “file not found”: confirm the directory exists and that the archive was downloaded to the path used in the commands. Python reports a missing test module: run the test command inside the extracted validator folder. The reference validator rejects an actual Workspace export: do not change the production export to fit the illustrative schema; use the official platform contract when available. All 12 synthetic tests pass but the collaboration workflow fails: investigate the real UI, authorization, network, file persistence and rights reviews separately.
Independent acceptance checklist
| Control | Evidence required |
|---|---|
| Scope and authorization | Named recipient and exact allowed files; denied access to unrelated project records |
| Identity and revisions | Stable identifiers for the artifact, source, and method versions |
| Byte integrity | Manifest/file checksum matching independently after receipt |
| Scientific reproducibility | Usable method description, inputs, assumptions, units and limitations |
| Rights and consent | Documented permission to share, with any restrictions preserved |
| Auditability | Transfer date, accepted revision, correction history and nonsecret approval reference |
| Production status | Actual Workspace release/version and integration test receipt, not inferred from a synthetic example |
Verification scope and references
The local checker demonstrates manifest and artifact consistency using synthetic research records. It is not a substitute for real Workspace authentication, publication approval, data-rights review, secure delivery or independent scientific assessment. Update the Knowledge Base product component, supported product version and last verified version only when those fields are supported by actual release evidence.
