Troubleshooting

Troubleshoot experiment and run tracking — Workspace

Diagnose experiment and run tracking failures across Workspace, Library, Lab, and Research. Includes integrity checks, reproducible commands, GitHub diagnostics, and safe recovery procedures.

ProductSustainable Catalyst Platform CoreUpdatedNovember 19, 2026Reading time22 minutes

Application: Workspace
Related systems: Library, Lab, Research, identity and authorization, artifact storage
Article type: Developer troubleshooting / incident response
Category: Workspace / Experiment and Run Tracking (editorial category; confirm exact product taxonomy)
Document identifier: SC-KB-WS-RUN-TROUBLESHOOT-01 (editorial identifier, not a release tag)
Supported deployed product version: Not established; do not confuse sc-run-demo/1 with a Workspace release
Locally tested component: Workspace Backend 3.83.0, source commit 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b (not a deployed-version claim)
Last verified product version: Not established
Local demonstration: Python 3.10+; standard library and Bash; macOS/Linux
Estimated reading time: 25–35 minutes
Offline example and local implementation evidence: November 19, 2026; release-specific CI evidence linked below
Article verification state: Published — verification pending
Associated implementation evidence: SC-RUN-VERIFY-01 (draft PR #78) — source-pinned local integration; not an approved production release

Summary: Diagnose failed, missing, stale, duplicated or scientifically unreproducible experiment runs across Workspace and related research services. Use scoped metadata, frozen configuration digests, artifact checksums, audit events and explicit recovery controls to isolate faults without exposing private research or promoting unverified outputs.

Goal

Determine why an experiment or run cannot be registered, executed, resumed, reconciled or independently verified, while preserving its exact scientific inputs, parameters, software revision, output lineage and institutional authorization. Produce a sanitized evidence packet, identify a responsible component, and distinguish a recoverable operational fault from a scientific-integrity problem.

Primary acceptance: Every accepted run retains a unique experiment/run identity, immutable source revision, reproducible configuration digest, method/software version, explicit execution result, signed-off rights/ownership decision where applicable, and verifiable output references. Failed or incomplete runs cannot masquerade as successful scientific or public results.

Requirements

  • Access: authorized membership in the relevant organization and project, approved source use rights, and permission to inspect the specific run. For deployed systems, establish these from trusted server-side identity and policy, not client-supplied IDs.
  • Evidence: experiment ID, run ID, source object ID and immutable revision, parameter snapshot/digest, method and software versions, execution status, UTC timestamps, output references and trace/correlation ID if available.
  • Local lab: macOS or Linux, Python 3.10 or newer, Bash, and the downloadable synthetic troubleshooting kit. No cloud account, service token, or third-party Python dependency is necessary.
  • Optional GitHub review: Git, GitHub CLI (gh), and read-only access to the appropriate actual repository. Commands below require substitution of the audited repository name before use.
  • Safety: never upload production databases, secrets, protected source data, full worker logs, or unpublished results into public tickets, ChatGPT, CI artifacts, or an open repository. Stop mutation and publication when lineage, rights or integrity is in doubt.

Symptoms

Use the following symptoms to select a safe, evidence-based investigation. Treat the authoritative backend record, not a stale browser indicator, as the source of truth. Examples include:

  • Run cannot be found or opened: a missing or incorrect run ID, tenant/project mismatch, revoked session, or inaccessible source revision.
  • Run is blocked, duplicated, or stale: revision conflict, idempotency-key collision, missing approval, or a configuration fingerprint that differs from the original request.
  • Run is queued indefinitely or reports a failed transition: unavailable worker, expired lease, missing heartbeat, dependency outage, or an inconsistent job/event history.
  • Successful run has no usable output: missing or corrupted content-addressed artifact, invalid checksum, incomplete output registration, or a read-model delay.
  • Reproduction shows exact while the artifact is unavailable: registered metadata may match even though fresh artifact bytes were not rehashed. This discrepancy was reproduced in the local Workspace verification and must not be interpreted as byte-verified scientific reproducibility.

For precise failure categories, checks and safe next steps, use the symptom-to-cause diagnostic matrix and read-only diagnostic sequence below. Preserve relevant trace IDs and nonsecret error codes; do not disclose protected research or credentials in public support records.

Resolution

Select recovery only after the failure category is established. Use current authorization, an immutable source/reference snapshot and the last accepted run state; do not automatically retry writes or change registered output digests to make a check pass.

  1. Access or rights failure: stop the operation, confirm the current owner/project and trusted permission decision, and request authorized reaccess; never override tenant isolation.
  2. Stale inputs or duplicate requests: reconcile immutable run IDs, source revisions, parameter fingerprints and idempotency receipts. Use a new versioned run for changed inputs instead of rewriting history.
  3. Stuck or partially completed job: compare worker lease/heartbeat, durable job events, database transaction and artifact registration. Retry only when the documented idempotency and recovery contract permits it.
  4. Missing, altered or unreadable output: quarantine the result, preserve expected and observed SHA-256 values, and block downstream scientific claims or publication. Independently read and rehash the artifact rather than relying on the reproduction exact label.
  5. Numerical mismatch: rerun the pinned inputs and environment in an authorized disposable setting, compare results to predeclared tolerances, document differences and involve a scientific reviewer.

Close the incident only when the authorized operator can demonstrate stable run state, intact and independently verified outputs, consistent provenance, and an approved recovery record. The detailed rollback section below provides additional constraints. Production rollback, migrations and cross-application recovery remain conditional on independently verified staging procedures.

Implementation verification evidence — SC-RUN-VERIFY-01

Scope: The original tutorial and troubleshooting commands in this article operate on a synthetic SQLite example. The later verification performed in Workspace PR #78 is separate, uses the actual backend implementation with disposable PostgreSQL, and establishes a narrower, source-pinned claim. Do not substitute toy CLI commands for supported production APIs.

Claim Observed evidence Limit
Run registration and source pinning Local/backend integration passed for exact dataset, model, parameter and environment revisions; a later head revision did not rewrite the selected run One synthetic local fixture; no deployed service
Jobs, failure and retry Real claim/processing functions demonstrated queued, running, failed, retried and succeeded transitions Worker daemon loop, process crash and concurrency untested
Authorization and lifecycle Anonymous reads denied (401); tested cross-owner access hidden (404); locally revoked session rejected (401); stale/duplicate conflicts handled OIDC, independent policy/rights authority and cross-service revocation untested
Artifacts and provenance Output bytes and SHA-256 verified on normal path; persisted run events, output references and provenance snapshot read across new database connections Live artifact corruption exposes reproduction classification gap
Reproducibility Second synthetic descriptive-statistics run agreed at atol=rtol=1e-12 No scientific finding, alternative runtime, or deployed execution verified
Regressions Nine PostgreSQL input-integrity tests passed (external R/Julia replies stubbed); focused historical suite: 23 passed, 3 failed, 6 skipped Three historical version assertions require disposition; do not silently mark them passed

Primary evidence: Draft PR #78, technical report, machine-readable acceptance receipt, and passing CI run. PR #78 is unmerged; source commit and local backend version must not be relabeled as a production deployment.

1. Define the incident and isolate the affected boundary

A workspace experiment is the persistent research context and design; a run is one execution attempt against a frozen input/configuration snapshot. A result is an artifact produced by that run. Execution state, scientific review state, governance approval and public visibility are separate dimensions. Do not treat a successful HTTP response, status=succeeded, a passing CI build, or a saved draft as proof of scientific validity.

Boundary (illustrative) Evidence to obtain Primary failure questions
Workspace / run registry Experiment/run ID, project scope, frozen configuration, lifecycle events Missing record, wrong run, duplicate ID, stale revision, state-transition conflict?
Library / source authority Object ID, immutable revision, content hash, approved rights and owner Missing, changed, revoked, inaccessible, or superseded source?
Lab / compute executor Job or worker receipt, method/image version, start/end times, exit reason Queued, crashed, timed out, canceled, double-executed, or never scheduled?
Artifact storage Output ID, digest, storage generation, schema and units Artifact absent, wrong path, partial upload, byte mismatch or wrong run?
Research / publication Claim, review decision, rights, editorial approval and public state Output incorrectly shown as reviewed, approved or public?
Platform identity / audit Authenticated principal, scoped role, policy version, trace ID Access revoked, wrong tenant, inconsistent policy, audit gap?

Implementation caveat: these are responsibility boundaries for diagnosis, not verified service names or API routes. Confirm actual ownership in source code and release evidence.

2. Stop conditions and first-response rules

  • Stop publication and exports immediately if a checksum differs, source rights are revoked, ownership is uncertain, the manifest is altered, a run claims success without its output, or public/private boundaries are inconsistent.
  • Do not blindly retry register, submit, execute, cancel, publish or delete operations. First identify the idempotency key, durable operation receipt, current terminal state and whether an external side effect may already have occurred.
  • Preserve the accepted state: record evidence IDs, original error code, event timestamps, repository commit/image digest, configuration revision, and the last authoritative read. Avoid updating the original manifest to fit a new result.
  • Escalate security immediately if cross-tenant data appears, a secret enters a log, or an unauthorized public result is observed. Keep sensitive details in approved private systems.

3. Symptom-to-cause diagnostic matrix

Observed symptom Likely fault category Confirm with Safe next action
Run/experiment not found Wrong scope, deleted/missing object, stale identifier Scoped lookup using trusted tenant/project and immutable IDs Confirm context; do not enumerate other tenants
403, denied, revoked Authentication, role, policy or rights decision Authoritative current role and policy decision Request reauthorization; never bypass controls
409 duplicate/conflict Same run ID, different manifest or concurrent registration Idempotency key and configuration digest Reconcile original receipt; new configuration needs a new run
Stale revision or version Source has advanced; outdated schema/config snapshot Frozen revision versus source authority and schema compatibility Leave old run immutable; register a new revision/run
Queued/running indefinitely Worker outage, stale heartbeat, lost scheduler event Worker lease, heartbeat, queue and operation receipt Quarantine duplicate execution risk before requeueing
Failed/canceled shown as success Bad state mapping, cache, missing terminal event Authoritative state/event history vs UI cache Suppress success claims and reconcile lifecycle
Successful status but no artifact Partial write, missing object, broken commit boundary Artifact generation, storage receipt and digest Pause downstream handoff; reconcile write/outbox
Artifact differs from manifest Wrong source/output, corruption, overwrite Independent SHA-256 of exact bytes Quarantine output; preserve evidence
Reproduction reports exact, but artifact read fails (e.g., 503) Registered output digests match while live bytes are corrupt or unavailable Read artifact using authorized endpoint; independently calculate bytes and SHA-256; inspect comparisonExecuted Do not claim byte-verified reproduction; preserve failure receipt and raise integrity issue
Numbers differ on replay Different data, code, units, seed, ordering or numeric environment Method, libraries, hardware, tolerances, input snapshots Independent scientific reproducibility investigation
Result available publicly unexpectedly Review/rights/publication boundary bypass Governance decisions and actual public response Unlist/withdraw only through approved incident process
Works in one session, missing in another Stale read model, session/tenant context, uncommitted transaction Server-side authoritative read, cache timestamp, project scope Refresh read-only view; avoid re-submitting writes
Some services succeeded, others failed Distributed partial commit / eventual consistency Correlation IDs, outbox, idempotent consumer receipts Reconcile component by component; no blind rollback

4. Read-only diagnostic sequence

  1. Scope: establish authenticated organization, project, experiment, run and actor from the trusted system of record. Compare the request and the last accepted read.
  2. Identity and rights: check actual authorization and current source approval for the requested operation. Do not infer permission from UI visibility or old snapshots.
  3. Manifest: verify frozen parameter set, source object ID and revision, method version, software commit/container image digest, seed and environment lock.
  4. Lifecycle: compare the coordinator state, worker receipt, terminal audit event and idempotency record. Separate request acceptance from worker completion.
  5. Artifacts: validate precise object key, immutable generation, SHA-256, file schema/units and parent run. Avoid downloading restricted data to uncontrolled laptops.
  6. Read model: compare a trusted authoritative record with cached UI/search/index state. An outdated view may be a presentation issue, not a missing run.
  7. Governance: confirm that execution completion, scientific review and permission to publish remain independent.
  8. Receipt: write a sanitized JSON finding with fault code, correlation ID, evidence location, responsible component and next permitted action.

5. Linux and macOS preparation

The companion lab is intentionally offline. Commands below operate on synthetic fixtures only, under a temporary directory unless stated otherwise. Run them in a local shell after extracting the ZIP to preserve its directory structure.

python3 --version                 # require Python >= 3.10
git --version                     # optional, for repository review
command -v gh || true            # optional GitHub CLI

cd sc-workspace-experiment-run-troubleshooting
python3 -m unittest discover -s tests -v
bash scripts/triage_demo.sh
bash scripts/failure_demo.sh

Expected: the test runner reports 66 tests; the clean triage receipt contains "verdict": "integrity_checks_passed"; the negative demo detects OUTPUT_HASH_MISMATCH and exits successfully as a test only because the expected block occurred. No application requests, credential access or real research datasets are involved.

6. Reproduce a run and inspect a sanitized local receipt

For a persistent local demonstration, use the bundled toy manifest with one named experiment, one identified run, a CSV input and a deterministic model (y = scale*x + offset). These identifiers do not exist in a real Workspace tenant.

mkdir -p artifacts/outputs
python3 scripts/tracker.py init-db --db artifacts/runs.sqlite3
python3 scripts/tracker.py register \
  --db artifacts/runs.sqlite3 \
  --manifest fixtures/run_manifest.json \
  --source-root fixtures --actor owner-synthetic-001
python3 scripts/tracker.py execute \
  --db artifacts/runs.sqlite3 --run-id run-synthetic-001 \
  --source-root fixtures --output-dir artifacts/outputs \
  --tenant tenant-synthetic-a --project project-synthetic-001 \
  --actor owner-synthetic-001
python3 scripts/diagnostics.py \
  --db artifacts/runs.sqlite3 --run-id run-synthetic-001 \
  --tenant tenant-synthetic-a --project project-synthetic-001 \
  --source-root fixtures --output-root artifacts/outputs \
  --authority fixtures/authority_snapshot.json \
  --receipt artifacts/triage.json

Read the artifacts/triage.json receipt, which contains finding codes and safe next actions rather than source rows, manifest contents or secret-bearing logs. The local authority JSON is an invented fixture: it is useful for exercising branches such as revoked access, but is not real authorization.

{
  "findings": [],
  "production_integration_verified": false,
  "publication_authorized": false,
  "run_status": "succeeded",
  "scientific_validity_verified": false,
  "scope": "local synthetic SQLite fixture (read only)",
  "verdict": "integrity_checks_passed"
}

7. Understand the diagnostic exit status

CLI exit Verdict What it means
0 integrity_checks_passed Available local integrity tests passed; this does not prove scientific accuracy, current authorization or publication readiness
1 incomplete Nonterminal/informational state without a blocking integrity finding; additional evidence required
2 blocked Integrity, scope, policy, schema or audit issue; do not retry mutation or publish

For example, running a diagnostic against a different tenant produces only RUN_NOT_FOUND, not identifying information about the other tenant’s record. The example never claims that all live identity and rights decisions have been rechecked.

8. Integrity: distinguish parameters, methods, revisions and run IDs

Each stored run must bind a unique run_id to a frozen manifest. Define a canonical encoding, then calculate its SHA-256 digest; independently hash input and result bytes. The toy runner uses sorted-key JSON with fixed separators and disallows NaN/Infinity. This is an example-specific deterministic encoding; verify cross-language canonicalization if other services participate.

# Read-only manifest inspection; this does not authorize a run.
python3 -m json.tool fixtures/run_manifest.json | head -60

# Linux and macOS portable file checksum:
python3 - <<'PY'
import hashlib
from pathlib import Path
p = Path('fixtures/data/input.csv')
print(hashlib.sha256(p.read_bytes()).hexdigest())
PY

# macOS built-in: shasum -a 256 fixtures/data/input.csv
# GNU/Linux, if installed: sha256sum fixtures/data/input.csv

Rule: a changed source, method, seed, dataset or parameter requires a new run or explicitly versioned attempt. Never mutate an old accepted manifest, silently overwrite an output key, or reuse a conflicting idempotency key. An identical retry is safe only when the actual implementation guarantees reuse of the original operation receipt.

9. Demonstrate a blocked output-integrity failure

scripts/failure_demo.sh builds a run entirely under a disposable temporary directory, changes the output bytes, and executes read-only triage. A failing hash must produce OUTPUT_HASH_MISMATCH, severity critical and verdict=blocked.

bash scripts/failure_demo.sh
# Expected: OUTPUT_HASH_MISMATCH and the confirmation
# "EXPECTED NEGATIVE CASE: ... blocked".
# No production data or remote service is accessed.

Quarantine the disputed output and reconcile the immutable object version and parent run. Do not overwrite the expected digest to make the check pass.

Observed Workspace discrepancy (PR #78): The actual artifact-read endpoint returned HTTP 503 after a registered output blob was modified, while the separate reproduction endpoint continued to return classification=exact. Its receipt explicitly set comparisonExecuted=false. The latter compares registered digests and fingerprints; it is a metadata-equivalence result, not a successful independent rehash of stored output bytes. Operational handling: treat a failed artifact read or mismatched digest as an integrity incident regardless of the reproduction label. Do not approve publication or scientific reproducibility on that label alone. The follow-up should clarify response semantics or add a separately fail-closed byte-integrity check, supported by positive and negative tests.

10. Missing records, scope mismatch and revoked access

Use a scoped query and trusted actor context before concluding a run is missing. Wrong-tenant requests should not leak another project’s record, existence, ownership, or metadata. In the educational SQLite inspector, run_id, tenant_id and project_id are combined in a single read-only SQL query. Real tenant and actor identity must be derived from trusted authentication and authorization, not self-reported command flags.

# Synthetic negative case; expects RUN_NOT_FOUND, exit code 2.
python3 scripts/diagnostics.py \
  --db artifacts/runs.sqlite3 --run-id run-synthetic-001 \
  --tenant tenant-synthetic-other --project project-synthetic-001 \
  --source-root fixtures --output-root artifacts/outputs
# Do not replay a mutation after this error.

For revoked access or rights, check effective current policy and the evaluation timestamp. Historical allow-lists stored within a run manifest are provenance, not authority. The synthetic authority_snapshot.json exists only to exercise testing branches such as revoked rights and stale source revisions; it is not an identity service.

11. Source revision changes and stale UI state

Compare the immutable revision referenced by the run against the authoritative source record. A newer source version does not automatically invalidate a properly frozen older version, but changing bytes without changing their recorded revision or lineage is an integrity failure. New work should create a new versioned run; preserve the existing manifest.

When a run appears in one session but not another, compare authoritative storage with cache/index watermarks, pagination, project context and permissions. A delayed read model can create an apparent missing run. Do not resubmit computation merely to refresh a UI card.

12. Timeouts, orphan workers and distributed partial writes

Submission, execution and artifact persistence can succeed or fail independently. Before requeueing an ambiguous run, identify the durable idempotency key, worker lease, heartbeat, terminal event, artifact generation, outbox record and consumed event offset. A timeout does not prove that the job failed or that retrying is safe.

Situation Risk Required gate
Queued without worker receipt Duplicate submission Confirm scheduler reservation and submission identity
Expired heartbeat Orphaned execution or second worker takeover Confirm lease and external side effects before takeover
Artifact committed, event missing Database and artifact store disagree Reconcile immutable object and outbox/consumer receipt
Status succeeded, output absent False successful result Block handoff; inspect storage and worker evidence
Cancel acknowledged but worker still writing Terminal-state race Require authoritative terminal event and compensation plan

Distributed recovery: SQL rollback cannot atomically undo an object-store write or externally executed compute task. A deployed service requires operation receipts, idempotent consumers, explicit state transitions, reconciliation and reviewed compensation logic. The local toy runner does not implement such distributed guarantees.

13. Inspect local SQLite without mutation

The following command inspects only the synthetic SQLite fixture. Do not point it at a production database or an untrusted downloaded SQLite file. Real systems should use their authorized database interface and approved backup/restore processes.

python3 - <<'PY'
import sqlite3
from contextlib import closing
from pathlib import Path
from urllib.parse import quote
p = Path('artifacts/runs.sqlite3').resolve()
uri = 'file:' + quote(str(p), safe='/') + '?mode=ro'
with closing(sqlite3.connect(uri, uri=True)) as c:
    c.execute('PRAGMA query_only=ON')
    print('integrity:', c.execute('PRAGMA integrity_check').fetchone()[0])
    print('statuses:', c.execute(
        'SELECT status, COUNT(*) FROM runs GROUP BY status').fetchall())
PY

Never manually patch a production run record to conceal an audit failure. On real staging, use a separately reviewed recovery/migration procedure, independently checked backups and a rollback acceptance receipt.

14. Investigate scientific replay differences

A matching SHA-256 verifies exact bytes, not valid scientific interpretation. To replay a result, compare source input, preprocessing, parameter values and units, code/container version, numerical library and hardware, random generator/seed, ordering, time-zone/coordinate conventions, missing-data policies and uncertainty assumptions. The toy example computes y = 2.5x + 1.0 for x = 1,2,3, producing 3.5, 6, 8.5; it is not scientific evidence.

When bitwise equality is inappropriate, declare and justify numeric tolerances prior to comparison, such as |y_replayed - y_reference| <= epsilon_abs + epsilon_rel × |y_reference|. Escalate scientifically meaningful divergence to the research owner even if all orchestration and checksum tests pass.

Actual limited replay evidence: PR #78 independently replayed synthetic descriptive statistics (mean, sample standard deviation, median, minimum and maximum) to 1e-12 absolute/relative tolerance. The exercise did not demonstrate general scientific validity. Its result envelopes included runtime metadata, so byte-identical artifact hashes across different Python patch versions were not established; within each environment, the pair of replayed output artifacts matched.

15. Secure logging and sanitized incident receipts

Preserve timestamps (UTC), error code, correlation ID, affected component, code/image revision, current lifecycle state, checksum comparison result and a pointer to restricted evidence. Exclude tokens, cookies, private data rows, complete proprietary paths, personal data and secret-bearing log lines. The sample receipt deliberately does not include the manifest or any data rows.

{
  "incident_class": "OUTPUT_HASH_MISMATCH",
  "environment": "synthetic-local",
  "component": "artifact-integrity-check",
  "run_reference": "synthetic-redacted",
  "observation": "Result bytes disagree with recorded digest",
  "mutation_performed": false,
  "publication_blocked": true,
  "evidence_pointer": "restricted-receipt-location",
  "owner_review_required": true
}

16. Git and GitHub diagnostics

For the verified implementation reference, read the actual Content-Catalyst-LLC/sustainable-catalyst-workspace repository and PR #78. The commands below are read-only and do not require deployment access. They inspect GitHub evidence, not the currently running server.

git status --short
git rev-parse --show-toplevel
git rev-parse HEAD
git log -5 --oneline

# GitHub CLI: read-only workflow review with legitimate access.
gh auth status
gh run list --repo OWNER/REPOSITORY --limit 10
gh run view RUN_ID --repo OWNER/REPOSITORY --log-failed
# Verified example:
gh pr view 78 --repo Content-Catalyst-LLC/sustainable-catalyst-workspace \
  --json state,isDraft,headRefOid,baseRefOid
gh run view 44680727472 \
  --repo Content-Catalyst-LLC/sustainable-catalyst-workspace
# Never paste secret-bearing logs in public issues.

The included workflow (.github/workflows/run-troubleshooting.yml) uses only fabricated fixtures, permissions: contents: read, standard-library tests and a disposable successful run. For organizational adoption, review and pin external GitHub Actions to approved full commit SHAs, require pull-request review and make sure the workflow uses no production secrets.

17. Reproduce a regression with a synthetic pull request

  1. Create a private branch in the audited testing repository. Add a synthetic fixture and a failing assertion for the exact error class; never copy a real protected record into Git.
  2. Run the complete suite and the clean/negative demos locally. Require that an expected negative case actually blocks acceptance.
  3. Open a draft PR with observed versus expected behavior, exact commit, nonsecret trace/correlation ID, affected schema, and a recovery/rollback plan.
  4. Require reviewer approval and CI verification before merging. Exercise actual migrations, restore and cross-service reconciliation separately in authorized staging.
git switch -c fix/experiment-run-reconciliation
python3 -m unittest discover -s tests -v
bash scripts/triage_demo.sh
bash scripts/failure_demo.sh
git status --short
# Review all changes and check for credentials or private data.
# git add <reviewed, nonsecret files>
# git commit -m "test: reproduce synthetic run integrity failure"
# git push -u origin fix/experiment-run-reconciliation
# gh pr create --draft --fill

18. Regression and failure-test matrix

Case Expected behavior Responsible area
Valid run Frozen manifest, source/output digests and audit events agree; still draft Workspace / quality
Unknown run / wrong project or tenant Scoped RUN_NOT_FOUND without foreign metadata Identity / data layer
Revoked actor or rights Block operation and downstream publication Identity / Library
Changed input or output Hash mismatch; quarantine before scientific use Library / artifact storage
Changed manifest or duplicate conflicting run ID Config digest / idempotency conflict without overwrite Coordinator / Workspace
Missing output or canceled run Not represented as a successful scientific result Lab / worker
Missing or extra audit event Audit-sequence mismatch, investigation required Operations
Stale interface cache Authoritative record compared to read model before any retry Frontend / search index
Partial commit after storage failure Reconciliation and idempotent reprocessing, no duplicate effects Storage / operations
Publication without review Separate governance gate blocks unauthorized publication Research / editorial

Executed coverage: 40 tracker tests and 26 new read-only diagnostic tests (66 total) passed locally. Real cross-service behavior, concurrency stress, production recovery, current authorization and independent scientific accuracy have not been tested by this package.

19. Recovery and rollback decisions

  1. Access failure: stop and request current policy evaluation from the authorized identity/rightsholder; do not swap identities to bypass the block.
  2. Integrity failure: quarantine the output; preserve source, expected digest, actual digest, immutable object generation and audit receipt. Never rebaseline a digest without investigation.
  3. Read-model delay: confirm that the authoritative record is intact; use approved index or cache reconciliation instead of reexecuting a run.
  4. Partial execution: compare worker leases, database transitions, artifact commits and outbox events. If ambiguous, leave the run incomplete until the coordinator owner authorizes a recovery operation.
  5. Restore/migration: rehearse in isolated staging with synthetic data, check tenant isolation, time/version consistency and backup restoration, and document rollback evidence.
  6. Numerical mismatch: review the data/model with a domain expert and create a new versioned scientific result if rerun is justified.

20. Production integration and publication verification

A public Knowledge Base article is not verified product documentation until its maintainer can attach concrete evidence for the deployed system:

  • Exact owning repository, commit SHA, module/function and effective Workspace component.
  • Real UI/API operation names, typed error payloads and supported contract/schema releases.
  • Identity/tenant/rights tests executed against trusted authorizers, including negative cases.
  • Actual completed run linking immutable source, method/environment, worker receipt, artifact and current rights decision.
  • GitHub CI run/URL, accepted staging image digest and reproducibility/rollback receipts.
  • Documented partial-failure reconciliation, migrations, independently checked backup/restore and replay safety.
  • Separate technical, scientific and editorial approvals for public release of a research result.

Current evidence disposition: Workspace Backend 3.83.0 is evidenced for the isolated implementation tested at source commit 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b. Do not populate the deployed Workspace product version or last verified deployed release from that source value. Staging requires the authorized endpoint and fixture tenancy, effective scoped credentials, running service/image digests, applied migration ledger, and deployed interface identities for the backend and connected products.

WordPress quality metadata: associate this article with the Workspace execution/run component if that exact component exists in the product taxonomy, and link PR #78 as local integration evidence. A production-supported version and last verified deployment version remain pending authorized staging/release confirmation; do not substitute the toy sc-run-demo/1 schema, the sample software.version=1.0, or a historical feature-profile version. The exact Goal and Requirements headings satisfy body-content structure checks, not deployment certification.

21. Escalation handoff template

Field Include without exposing private research
Symptom Short description and impact
Context Environment, authorized role and appropriately redacted organization/project
References Opaque run/source IDs via approved private channel, source schema and version
Evidence Sanitized error code, trace, timestamp, status sequence, checksum comparison
Reproduction Minimal synthetic fixture and commands, expected vs observed outcome
Containment Current write/publication hold, access and retention boundary
Recovery Responsible maintainer, authorized next action, verification/rollback receipt

22. Acceptance criteria

  • The run resolves within one authenticated tenant/project context and remains distinguishable by run ID, configuration and source revision.
  • Method/software revision, input/output hashes, lifecycle status and audit trail are internally consistent.
  • Current rights/ownership decisions permit the requested action, and no cross-tenant information is disclosed.
  • Reconciliation resolves ambiguous worker/artifact/coordination states without duplicate writes or unapproved overwrites.
  • A second researcher can evaluate reproducibility using documented inputs, code, dependencies, units, tolerances and uncertainty.
  • Successful execution is never interpreted as scientific review, approval or publication permission.
  • Any verification claim is traceable to an exact production release, code location and acceptance evidence.

23. Technical references

  1. Workspace SC-RUN-VERIFY-01, PR #78 — draft integration verification, limitations and evidence.
  2. SC-RUN-VERIFY-01 GitHub Actions — passing isolated integration run.
  3. Pinned Workspace reproduction implementation — registered digest comparison and comparisonExecuted=false.
  4. GitHub Actions secure use — least-privilege tokens and pinned third-party actions.
  5. GitHub: Viewing workflow logs — failure diagnosis and job evidence.
  6. GitHub CLI: gh run view — terminal inspection of CI.
  7. Python sqlite3 — read-only connections, transactions and storage.
  8. W3C PROV Data Model — entity/activity/agent provenance.
  9. RFC 9110 HTTP Semantics — response semantics, with real application error contracts still to be verified.
  10. OWASP Logging Cheat Sheet — trustworthy logs and sensitive-data minimization.

Interpretation: provenance and immutable run records make computational claims inspectable, but do not alone validate their scientific meaning. Retain separate verification for software behavior, data rights, scientific reproducibility and institutional publication approval.

Scroll to Top