Worked Examples
Developer reference for application handoffs — Workspace
Developer reference for application handoffs — Workspace Application: Workspace Status: Useful first draft, not a production-verified procedure. Proposed or audited service responsibility Support the following capability: transfer
Application: Workspace
Cross-application systems: Library, Research, Lab, Workspace, identity/authorization, publication governance
Document type: Developer implementation reference and verification procedure
Document ID: SC-WORKSPACE-HANDOFF-DEV-01 (documentation identifier; not a verified release ID)
Audience: Platform engineers, API maintainers, data engineers, security reviewers, scientific leads, release managers
Environment: macOS or Linux, Python 3.10+, Git, optional GitHub CLI (gh)
Estimated reading time: 25–35 minutes
Last technical review: November 19, 2026
Engineering objective. Transfer governed research objects among applications without substituting a new identity for the source, losing rights or ownership decisions, crossing project/tenant boundaries, erasing scientific provenance, or making restricted content public. The receiving application must prove what was accepted, what was refused, and what was actually committed. A software success state is not a scientific endorsement.
1. Proposed or audited service responsibility
Capability: controlled cross-application handoff of versioned datasets, research objects, computational outputs, references and related metadata. This is an evidence-oriented implementation specification; it does not assert that a particular endpoint, table, broker or connector exists.
| Component / owner to locate | Expected responsibility | Evidence to collect |
|---|---|---|
| Source application: Library, Lab, Research or Workspace | Canonical object ID, immutable revision, data and method lineage, read authorization, trustworthy content digest | Repository/commit, object model, retrieval handler, revision storage strategy |
| Shared identity / policy authority | Authenticate service and actor; decide tenant, project, resource and purpose permissions; expose revocation and policy version | Issuer/JWKS or mTLS trust configuration, authorization policy, tests and ownership approval |
| Handoff orchestrator (owner to determine) | Validate versioned envelope, enforce idempotency, handle staging, retries, reconciliation and audit | Entry point, event schema, durable state transition code, failure injection tests |
| Destination application | Authorize destination write, validate schema, preserve source lineage and commit atomically in its own storage | Import handler, unique constraints, query results, rollback tests |
| Research/publication authority | Maintain separate evidence review, editorial rights and approval-to-publish state | Workflow decision record, reviewer role, publication tests and withdrawal semantics |
Use a RACI/ownership decision for each contract: one responsible maintainer and one accountable decision authority. Do not infer ownership from repository names. A WordPress display layer, GitHub repository or front-end request does not automatically own source truth, access policy or scientific review.
2. Discover the actual implementation in Linux/macOS and GitHub
Run read-only discovery before treating this reference as deployed behavior. The organization name below is an example scope; review repository access and select the authoritative repositories that actually implement the service.
# macOS / Linux: prerequisites
git --version
python3 --version
gh --version # optional, install GitHub CLI if unavailable
gh auth status # read-only credential check
# Inventory accessible repositories; do not infer service ownership by name.
gh repo list Content-Catalyst-LLC --limit 100 \
--json name,isPrivate,url \
--jq '.[] | [.name, .isPrivate, .url] | @tsv'
# In each appropriate, authorized local checkout:
git remote -v
git rev-parse HEAD
git status --short
rg -n --hidden -g '!node_modules' -g '!.git' \
'handoff|import|idempotenc|provenance|rights_decision|owner_decision|publication' .
# Where applicable: inspect API, migrations, CI and integration tests.
find . -maxdepth 4 -type f \
\( -name '*openapi*' -o -name '*migration*' -o -name '*handoff*' \) -print
On a minimal installation without rg, use grep -RniE 'handoff|provenance|idempotenc' --exclude-dir=.git .. Install rg with brew install ripgrep (macOS/Homebrew) or the operating system’s package manager (Linux). On GitHub, inspect merged pull requests, release tags, branch protection and action logs. Record a specific commit SHA for each asserted behavior, not only “main” or “latest.”
Required discovery outcome: a source/authority/destination ownership map with actual types, endpoints, migrations, auth mechanisms and a “not found / unverified” marker for anything unsupported by code or staging evidence.
3. Trust boundaries and invariants
| Boundary | Mandatory invariant | Failure disposition |
|---|---|---|
| Caller → handoff service | Authenticated caller is authorized for exact tenant, project, source object, revision and intended use | Deny; never trust caller-supplied roles or policy approvals |
| Handoff service → source | Source object exists at exact immutable revision; bytes and declared schema match trusted metadata | Missing/stale/schema/digest failure; do not fall back to latest |
| Policy authority → sender/receiver | Current rights, ownership, revocation and classification decisions apply to this use | Fail closed if policy cannot be checked or is revoked |
| Sender → receiver | Object identity, source lineage, permissions references, method versions and exclusions survive transfer | Reject or quarantine; never silently drop provenance |
| Receiver → storage | At most one committed logical import per tenant + idempotency key + payload hash | Reused key with different payload is a conflict |
| Internal object → public Research | Explicit publication license, editorial/scientific review and right-to-disclose review are independently satisfied | Remain private even if technical handoff passed |
| Audit/event → visibility | Restricted fields are not echoed through public APIs, CI logs, redirects or support responses | Sanitize; expose minimum outward failure details |
Important distinction: transport integrity proves that the expected bytes were seen; provenance proves the recorded relationship can be inspected; neither independently establishes the truth of a research claim.
4. Versioned handoff contract — illustrative JSON envelope
The following is the exact synthetic fixture used by the runnable example (sc-handoff/1.1-demo). It is a proposed demonstration schema, not a discovered API contract. Reconcile each field with real canonical object models before implementation.
{
"schema_version": "sc-handoff/1.1-demo",
"handoff_id": "urn:sc:synthetic:handoff-001",
"source": {
"application": "Library",
"object_id": "urn:sc:synthetic:library:soil-flux-001",
"revision": "rev-004",
"artifact_path": "soil_flux_synthetic.csv",
"schema_version": "csv/1",
"sha256": "c3e3c4124a68d0f072454a10a258c37baed35db90ff6258ad6751b47ada9e95e",
"parent_object_ids": [
"urn:sc:synthetic:source:batch-005"
],
"method_id": "urn:sc:synthetic:method:csv-import",
"method_version": "1.0.0"
},
"destination": {
"application": "Workspace",
"intended_use": "analysis"
},
"actor": {
"agent_id": "urn:sc:synthetic:agent:operator-01",
"role": "researcher"
},
"governance": {
"owner_id": "urn:sc:synthetic:org:research-team",
"owner_decision_id": "OWN-SYN-003",
"rights_decision_id": "RIGHTS-SYN-004",
"classification": "internal"
},
"scientific_context": {
"observation_type": "synthetic soil flux illustration",
"time_scope": "2026-10-01/2026-10-03",
"intended_inference": "No inference; software validation demonstration only",
"claim_status": "not_assessed",
"limitations": "Fabricated figures; no measurements or carbon-removal evidence."
},
"created_at_utc": "2026-11-19T00:00:00Z",
"tenant_id": "tenant-syn-001",
"project_id": "project-syn-ERW",
"idempotency_key": "hnd-syn-001"
}
Required properties: the source ID must remain unchanged in the destination provenance record; the revision must identify immutable bytes; rights and owner decision references must resolve to an authenticated authority; and the intended use must be narrower than or equal to what policy allows. The receiving system must retain the original time and scientific context without converting “not assessed” into “validated.”
Do not allow the caller to specify an arbitrary file URL, callback destination or redirect. Addressable objects should be resolved through a trusted service registry or explicit destination allowlist. The example rejects nested fields named url, source_url, callback_url, redirect_url or webhook_url; a production schema should reject unknown fields and validate nested structures more comprehensively.
5. Suggested API and asynchronous processing boundary — not deployed
If an HTTP API is appropriate after repository inspection, a possible internal contract is shown below. No claim is made that these paths or headers exist. Protect the service with short-lived service credentials and explicit per-object authorization; do not expose this control plane to anonymous users.
# PROPOSED ONLY — schematic HTTP request (not runnable against production).
POST /internal/v1/handoffs HTTP/1.1
Content-Type: application/json
Authorization: Bearer <service-issued-token>
Idempotency-Key: hnd-syn-001
If-Match: "<trusted-source-revision-etag>"
X-Correlation-ID: <generated-request-id>
{ "schema_version": "sc-handoff/1.1-demo", "...": "see complete fixture" }
# 202 Accepted: durable intent recorded, not evidence of import success.
# 200 OK: a previously committed equivalent request may be replayed.
# 409 Conflict: same idempotency key, different payload / revision conflict.
# 403/404: deny unauthorized access without revealing private existence.
Use an asynchronous state machine if the destination write, external source retrieval or policy check can fail independently. Return a stable operation ID, status location scoped to the caller and a correlation ID. The first response must not mark an object “imported,” “validated scientifically” or “published” merely because the queue accepted it. Do not expose raw exception text or internal object identifiers to unauthenticated clients.
6. Authentication, rights, ownership and tenant isolation
Validate the actual service token (issuer, audience, signature, lifetime, scopes) and the actor’s current project membership. Query the policy owner for the current rights decision, owner decision, classification and allowed purposes. Never accept rights status because it appears in a JSON request. Recheck revocations at the destination commit boundary; a cached positive decision is insufficient for long-running handoffs.
| Check | Source of truth | Minimum negative test |
|---|---|---|
| Tenant and project match | Authenticated tenancy + canonical source record | Request tenant B for an object owned by tenant A; outward 404-like response |
| Actor and service permission | Identity authority + recipient permission rules | Valid actor from wrong project or disabled account |
| Ownership decision | Authoritative owner/provenance system | Mutate owner decision ID in submitted envelope |
| Rights and purpose | Current rights policy / authorization decision | Missing, revoked, expired or analysis-only rights used for publication |
| Classification and visibility | Canonical record + destination visibility policy | Internal source attempts to become public |
| Revision and integrity | Immutable source version + authenticated digest | Stale source, changed content, schema mismatch |
| Publication | Dedicated reviewer/editorial and scientific decisions | Import-only permission cannot publish |
The included authority_snapshot.json simulates these checks only. Because the caller can edit the test snapshot, it cannot authenticate rights or ownership. A production implementation must separate the trusted authorization service from requester-controlled payloads, and must avoid leaking the existence of cross-tenant object IDs through error differences or timing-sensitive diagnostic detail.
7. Provenance, identity, scientific metadata and checksum scope
Represent the source dataset, generated destination artifact, processing activity, and accountable agent separately. Align the model with W3C PROV-DM where practical. A derived artifact must reference exact parent versions and method parameters rather than an ambiguous “latest dataset.” If no transformation occurred, record a faithful copy and preserve the source object’s canonical identity as a reference.
The digest SHA-256(bytes) detects changed bytes only if the expected digest itself came from a trusted immutable revision. Normalize neither CSV line endings nor scientific units silently. Record transformation code commit, dependency/environment lock, unit conversions, treatment of missing observations, material exclusions, geospatial/time scope, uncertainty and intended inference.
# Verify locally on both macOS and Linux using Python.
python3 - <<'PY'
import hashlib
from pathlib import Path
p = Path('fixtures/source/soil_flux_synthetic.csv')
print(hashlib.sha256(p.read_bytes()).hexdigest())
PY
# Native equivalents, depending on installed tools:
shasum -a 256 fixtures/source/soil_flux_synthetic.csv # macOS
sha256sum fixtures/source/soil_flux_synthetic.csv # Linux (GNU coreutils)
File-level hash checks in this example read a normal filesystem path; they are not hardened against every race, filesystem mount or symlink substitution scenario. A production receiver should use safe file-descriptor access or immutable object-store generations and verify the committed bytes after retrieval.
8. Durable states, idempotency and partial-failure recovery
At minimum, persist a durable operation with an immutable request hash, tenant scope and state transitions. A recommended conceptual state flow is:
REQUESTED → AUTHORIZING → SOURCE_PINNED → STAGED → DESTINATION_COMMITTED
↓ ↓ ↓ ↓
REJECTED REJECTED RETRYABLE ACK_PENDING
\ /
RECONCILE
# Cancellation before destination commit: release staging and mark CANCELLED.
# Cancellation after commit: run an explicit compensating/withdrawal workflow;
# never claim a distributed rollback has undone an externally visible write.
Use a destination-side unique constraint for the tenant-scoped idempotency key, storing the canonical payload hash. Replaying the same request should return the previous outcome without creating a second object; using the same key for a different request must fail. An outbox or transactional message pattern can connect a local database commit to downstream delivery; cross-service consistency still needs reconciliation and compensation.
The sample simulate_store.py demonstrates an offline SQLite idempotency journal only. It does not copy the CSV to Workspace or commit to any real app. Its injection point proves a local journal rollback on an exception before commit, not distributed recovery after a remote destination succeeds.
# Extract from the tested local journal implementation:
db.execute('BEGIN IMMEDIATE')
existing = db.execute(
'SELECT payload_sha256, receipt_json FROM synthetic_handoffs '
'WHERE tenant_id=? AND idempotency_key=?', key
).fetchone()
if existing is not None:
if existing[0] != canonical_hash(handoff):
raise HandoffError('HND-090-IDEMPOTENCY-CONFLICT')
db.commit()
return {'delivery': 'REPLAY', **json.loads(existing[1])}
Production-specific questions to resolve: where the idempotency record lives; who owns the eventual commit; how to detect a completed remote write after a timeout; which reverse/compensating action is allowed; how stale policy decisions are invalidated; and how an operator can safely replay or quarantine failed transfers. These must be proven in isolated staging rather than inferred from the sample journal.
9. Typed failures, outward HTTP statuses and redaction
The following error codes are emitted by the local validator. HTTP mappings are proposed design choices for a future API, not deployed responses. Do not vary public 403/404 responses in a way that exposes cross-tenant object existence.
| Local error code | Proposed HTTP treatment | Meaning / recovery |
|---|---|---|
HND-001-FORMAT, HND-091-KEY |
400 Bad Request | Incomplete payload or invalid idempotency key; correct caller request |
HND-010-SCHEMA |
422 Unprocessable Content | Unsupported envelope/source schema; negotiate/migrate with version pinning |
HND-012-UNKNOWN-SOURCE |
404 Not Found | Missing or cross-tenant object; avoid existence disclosure |
HND-013-STALE-REVISION |
409 Conflict | Object changed; request an explicit new revision and reauthorize |
HND-040-GOVERNANCE, HND-041-RIGHTS |
403 Forbidden | Missing/mismatched/revoked/expired governance decision |
HND-042-POLICY, HND-050-ROLE, HND-051-PROJECT |
403 Forbidden | Purpose, destination, role or project not allowed |
HND-031-DIGEST |
412 Precondition Failed | Received bytes or digest mismatch against trusted record |
HND-060-PROVENANCE |
422 Unprocessable Content | Missing/wrong method or parent lineage |
HND-080-UNSAFE-URL |
400 Bad Request | Caller-provided redirect, remote URL or callback forbidden |
HND-090-IDEMPOTENCY-CONFLICT |
409 Conflict | Previously used key supplied with a different canonical payload |
For actual HTTP services, use RFC 9457 Problem Details for consistent error bodies, but return only safe, necessary properties. A public response must not include raw tenant IDs, source hashes, actor identity, internal rights decision payloads, stack traces or private dataset excerpts. Record sensitive diagnostics only in access-controlled logs with retention rules.
10. Reproducible local setup — macOS and Linux
Download and extract the companion ZIP. No dependency installation, network connection, production credential, database service or container is required. The scripts use Python 3.10+ standard library only.
# Start inside the extracted sc-application-handoffs-developer-reference folder.
pwd
python3 --version # requires Python 3.10+
python3 -m unittest discover -s tests -v
# Validate fabricated Library → Workspace analysis data.
python3 scripts/validate_handoff.py \
--handoff fixtures/handoff.json \
--registry fixtures/authority_snapshot.json \
--root fixtures/source \
--out artifacts/receipt.json
# Inspect the synthetic-only receipt.
cat artifacts/receipt.json
# Optional: confirm receipt is NOT a real destination commit.
python3 - <<'PY'
import json
from pathlib import Path
r = json.loads(Path('artifacts/receipt.json').read_text())
assert r['result'] == 'PASS'
assert r['destination_commit'] == 'NOT_PERFORMED'
assert r['scientific_validity'] == 'NOT_ASSESSED'
assert r['publication_authorization'] == 'NOT_GRANTED'
print('PASS: local contract only; no import or publication')
PY
Observed local result (November 19, 2026): Ran 33 tests ... OK and PASS HND-000-SYNTHETIC-VALIDATION (NO IMPORT). This is a local execution result, not GitHub CI or staging evidence. If a negative test fails, stop before adapting the contract to a real service.
11. Core validation logic and authority caveat
The implementation validates the exact source revision, governance decision references, current simulated rights, allowed destination/purpose, actor tenant and project membership, parent lineage, method version and received file bytes. The excerpt below corresponds to the provided, tested validator; review the complete source in scripts/validate_handoff.py.
# Compare claimed governance references with the synthetic registry.
for attr in ('owner_id', 'owner_decision_id',
'rights_decision_id', 'classification'):
require(gov.get(attr) == record.get(attr) and bool(record.get(attr)),
'HND-040-GOVERNANCE')
require(record.get('rights_status') == 'approved', 'HND-041-RIGHTS')
require(parse_utc(record.get('rights_expires_at')) > now, 'HND-041-RIGHTS')
# Cross-tenant objects are masked as unknown; actor must match project.
require(handoff['tenant_id'] == record.get('tenant_id'),
'HND-012-UNKNOWN-SOURCE')
require(handoff['project_id'] == record.get('project_id'),
'HND-051-PROJECT')
The example passes an editable authority_snapshot.json to these checks. For a deployed service, replace that file with authenticated calls to the actual rights, ownership and identity authorities (or verified, short-lived attestations), bind each decision to the object and purpose, and enforce the rule again at destination commit. An unsigned local fixture is never a source of real authority.
12. Executed test matrix — 33 synthetic checks
| Category | Positive / negative cases included | What it establishes locally |
|---|---|---|
| Contract and source | Valid analysis; missing object; incomplete payload; unsupported envelope/artifact schema; wrong target | Unsupported or incomplete synthetic requests fail closed |
| Governance and access | Missing rights decision; changed owner; missing classification; revoked or expired rights; wrong tenant/project; unknown, disabled or wrong-tenant actor | Owner, rights and tenant/project expectations are checked against fixture |
| Scientific lineage | Changed parent; wrong method version; unassessed scientific context | Provenance and scientific-claim boundary survive basic checks |
| Integrity and path | Changed digest; stale revision; path traversal; missing source file; invalid UTC timestamp | Expected version, byte hash and safe local path are verified |
| Request and response safety | Forbidden redirect URL; invalid idempotency key; public receipt redaction; unauthorized destination | Basic URL/input restriction and public allowlist response |
| Retry and transaction | Same-key replay; key collision with changed payload; injected precommit failure; revoked rights on replay | One local SQLite journal row; conflicting replay denied; local rollback |
Positive and negative tests use fabricated identities and scientific values. There are no real tenant tokens, no non-public user records and no remote writes. Follow-up staging tests must independently verify authorization at both source and destination, transactional outbox behavior, broker redelivery, migration compatibility, restore suppression, cancellation and publication boundary enforcement.
13. GitHub setup, pull requests and code review
Keep synthetic fixtures in a private scratch repository initially. Only move the implementation into an existing service repository once ownership is confirmed. The following commands are examples for a developer who deliberately elects to create a new private repository; they do not change GitHub unless executed.
git init
git switch -c docs/sc-workspace-handoff-dev-reference
git add README.md ARTICLE.html fixtures scripts tests .github docs .gitignore
git diff --cached --stat
git diff --cached --check
git status --short
git commit -m "docs: add synthetic Workspace handoff contract and tests"
# OPTIONAL, creates a new private GitHub repository; verify account first.
gh auth status
gh repo create sc-handoff-reference-synthetic \
--private --source=. --remote=origin --push
# On an existing authorized repository instead:
# git push -u origin docs/sc-workspace-handoff-dev-reference
# gh pr create --draft --title 'Document Workspace handoff contract' \
# --body 'Synthetic contract and tests only; staging and owner sign-off pending.'
Require review from the source-object owner, destination owner, authorization/privacy owner, and scientific/editorial owner when publication semantics change. Include a source commit SHA and fixture checksum in the pull request; do not claim a green GitHub test proves a production service is correctly wired. Before public publication, scan tracked files for tokens, actual tenant identifiers, non-public object IDs, private URLs, restricted source data, and secrets in git log, not only the current tree.
14. GitHub Actions — read-only synthetic CI example
The ZIP includes this workflow at .github/workflows/verify-synthetic-handoffs.yml. It has read-only repository permission, uses no application secrets and runs solely against synthetic data. It does not deploy or modify a production database. Pin third-party/first-party actions to audited commit SHAs in environments with stricter supply-chain policy.
name: Verify synthetic scientific handoff contract
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout test-only source
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Python 3.13
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Unit and negative tests
run: python -m unittest discover -s tests -v
- name: Offline sample contract
run: |
python scripts/validate_handoff.py \
--handoff fixtures/handoff.json \
--registry fixtures/authority_snapshot.json \
--root fixtures/source \
--out /tmp/sc-handoff-validation.json
- name: Assert no deployment or publication
run: |
python - <<'PY'
import json
from pathlib import Path
r = json.loads(Path('/tmp/sc-handoff-validation.json').read_text())
assert r['result'] == 'PASS'
assert r['destination_commit'] == 'NOT_PERFORMED'
assert r['scientific_validity'] == 'NOT_ASSESSED'
assert r['publication_authorization'] == 'NOT_GRANTED'
print('Synthetic contract only; no destination writes')
PY
Inspect Actions policy and runner isolation before enabling more extensive tests. On a real integration branch, run service-to-service tests against disposable databases and synthetic identities, isolate network credentials, and block deployment until separate owner-approved acceptance evidence exists.
15. Integration, migrations, retries and disaster-recovery test plan
After identifying actual repositories and deployable services, create a dedicated staging test environment. Do not mount production volumes, connect staging to production networks, or use production credentials merely to reproduce these cases.
| Integration scenario | Required evidence | Release gate |
|---|---|---|
| Create, read and commit | Authenticated source and destination calls; exact object ID/revision/rights persist in destination read-back | No silent loss of lineage or policy references |
| Competing retries and duplicate deliveries | Parallel same-key requests, response-loss retry, broker redelivery and payload conflict | One logical import; deterministic replay/conflict outcomes |
| Revision changes mid-flight | Source revision changes after authorizing but before destination commit | Pinned immutable version or abort; never implicit upgrade |
| Rights revoked mid-flight | Revocation between request acceptance and destination commit | Commit denied or quarantined; no new public visibility |
| Schema migration and downgrade | Old/new source and destination versions; incompatible version rejected | Explicit compatibility window and reversible migration where feasible |
| Transaction failure after remote write | Injected timeout after destination commit but before acknowledgment | Reconciliation detects existing import; no duplicate; compensating plan |
| Restore and retention | Disposable backup/restore, audit replay and deleted/withdrawn object suppression | No resurrection of revoked visibility or denied rights |
| Publication and withdrawal | Draft/approve/publish/unlist/withdraw, restricted content and 404/410 handling when designed | Rights and scientific/editorial gate enforced independently |
Build a migration runbook with application commit/image digests, database migration ID, preflight counts, snapshot/restore proof, backward-compatibility decision, rollback command owner, recovery checkpoint and acceptance receipt. If a migration is not reversible, state the data-restoration strategy rather than claiming an automated rollback exists.
16. Observability, audit events and privacy
Record who requested which action, against what immutable source, under which policy version, and what committed. Do not write unrestricted dataset contents to logs. A minimally useful restricted audit event has an event ID, timestamp UTC, request/correlation ID, authenticated service ID, actor reference, source ID/revision, destination ID, purpose, tenant/project scope, policy decision fingerprints, result, error code and destination transaction reference. Integrity-protect and retain events according to the applicable retention policy.
Expose aggregate counters without personally identifying or restricted data: handoffs requested, rejected, retried, deduplicated, committed, quarantined, published and withdrawn. Alert on revocation bypass attempts, cross-tenant failures, persistent retries, orphaned staging objects, and cases where a destination commit lacks a valid audit link. Keep CI artifacts synthetic and short-lived.
17. Scientific acceptance remains separate
For a scientific object, require independent review of the underlying observation and method before representing a result as validated. Evidence may need measurement uncertainty, calibration and controls, method/code revision, units, source reliability, time and spatial coverage, transformations, missingness, modeling assumptions, counterfactual or baseline, and reproducibility tolerances. A correct rights and checksum handoff is an accountability control, not empirical support for a conclusion.
In the synthetic soil-flux fixture, data are fabricated for engineering tests. They are not Wexford field measurements, enhanced rock weathering evidence, carbon removal rates or certification-grade evidence. A publication approval must be an explicit additional decision that cannot be inferred from a green CI job or an imported file.
18. Required implementation anchors before “verified” status
Use the following evidence checklist for each source → destination relationship. Leave an item unverified until the actual evidence exists; do not insert hypothetical identifiers as if they were observed.
| Anchor | Evidence to attach | Current status for this guide |
|---|---|---|
| Source repository and exact commit | Full accessible repository URL, SHA, file and line/function reference | Not inspected for this guide |
| Authority owner and API | Canonical identity/policy service, issuer/trust, rights decision and revocation contract | Not verified |
| Source and destination models | Versioned schema, migration and read-back data shapes | Illustrative schema only |
| Actual UI/API and error semantics | OpenAPI/API route, auth behavior, request, response, failure mapping | Proposed, not deployed |
| Local reproducible evidence | Exact commands, fixture digests, observed test result | 33/33 synthetic checks passed locally |
| CI | Real workflow run URL, commit, runner, timestamp and result | Included workflow; remote CI not run |
| Staging security and integration | Isolated deployment ID/image digest, source/target auth evidence, tenant leak probes | Not run |
| Rollback and restoration | Migration versions, off-host restore test, idempotency/reconcile evidence | Proposed test plan only |
| Scientific, editorial and privacy review | Named reviewer decisions and evidence packet | Not assessed |
| Production change approval | Approved cutover plan, owner authorization, monitoring and rollback trigger | Not authorized |
Acceptance disposition: PASS for the synthetic offline contract and 33 negative/positive tests; NOT VERIFIED for live integration, actual service ownership and GitHub remote CI; NOT ASSESSED for scientific validity; NOT AUTHORIZED for production release or public publication.
19. Technical references
- W3C PROV-DM — The PROV Data Model, model for entities, activities, agents and derivation relationships.
- RO-Crate Metadata Specification 1.2, packaging research data and related metadata.
- IETF RFC 9457 — Problem Details for HTTP APIs, structured HTTP error responses.
- IETF RFC 9110 — HTTP Semantics, request preconditions, method semantics and idempotency.
- OWASP API Security Top 10 (2023), object-level authorization and SSRF risks.
- GitHub Actions workflow syntax, event triggers, jobs and token permissions.
- GitHub CLI — gh repo create, creating a private repository from a local directory.
- Python unittest, repeatable standard-library test execution.
- Python sqlite3, SQLite transactions for the local demonstration.
- Python hashlib, SHA-256 byte digest calculations.
Document maintenance: on each real interface or authorization change, update the schema, tests, change log, exact code anchors and acceptance evidence together. Retain the distinction between synthetic proof, staging verification, production operation and scientific review.
