Troubleshooting

Troubleshoot publication controls — Workspace

Troubleshoot publication controls — Workspace Application: Workspace Status: Useful first draft, not a production-verified procedure. Typical symptoms Publication controls fails when records cannot be resolved, authorization is mi

ProductSustainable Catalyst Platform CoreUpdatedNovember 20, 2026Reading time26 minutes

Application: Workspace
Component: Scientific Publication Studio / Outputs & Publishing; Workspace Backend Research Approvals
Article type: Troubleshooting / technical operations
Source baseline: 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b (GitHub main)
Reference backend version: 3.83.0 (source/local evidence only)
Deployed supported version: Not established; last verified deployed version: Not established
Reading time: approximately 21–25 minutes
Status: Published — verification pending for deployed Workspace/Research, identity, rights and scientific review.

Goal

Diagnose and resolve failures in the Workspace-to-Research publication lifecycle without exposing private research or bypassing scientific, rights, ownership or publication authorization. Identify whether a problem originates in a saved Studio revision, Research article binding, signed Workspace approval, exact-subject validation, rights/lineage constraint, Research publication decision, or the receipt returned to Workspace. Preserve the last known Research-confirmed state and produce a minimal, sanitized incident record suitable for a development ticket or independently reviewed verification receipt.

Requirements

  • Read-only access to the correct Workspace project and an authorized Research article; a known documentId, studioRevision, researchRevision, article slug, and—where available—the exact subjectRef including its SHA-256 suffix.
  • Authorized reviewer or project-owner context for inspecting grants and decisions. Do not borrow another person’s session, paste session cookies or use a shared service credential to simulate human review.
  • For software investigation: a clean checkout of Content-Catalyst-LLC/sustainable-catalyst-workspace at the pinned source commit, Python 3.12, repository requirements and a disposable test directory. PostgreSQL-backed acceptance requires a disposable database and the repository’s documented isolated harness.
  • For staging: written authorization; synthetic projects/identities; actual running image digests, applied migration records and the deployed Workspace and Research interface identities. Do not substitute mock Research tests for a live handoff.
  • Retained public/private visibility observations from a separately authorized observer. A publishing button or a locally stored receipt is not conclusive evidence of the public state.

Safety boundary: The commands below are read-only source inspection or local test commands. Sample JSON and incident records are synthetic. Do not run mutating HTTP commands on live systems as a troubleshooting shortcut.

Symptoms

Observed symptom Likely boundary First safe check Do not do
Publishing controls disabled, or 503 configuration error Workspace-to-Research origin/configuration Inspect authorized service configuration and feature availability, not secret values Set an insecure HTTP override in production
Sign-in or write rejected (401, 403) Browser session, Origin/CSRF, owner scope, step-up or reviewer grant Confirm the actual signed-in identity, active grant and authentication requirements Retry with another person’s cookie or relax authorization
Project, article or approval appears absent (404) Owner isolation, missing object, wrong project or unsupported route Reconcile identifiers with the owning team in a permitted session Infer that a cross-owner object does not exist globally
409 on binding, revision or approval Concurrency, duplicate binding, stale review subject or changed Research head Read the authoritative binding, head revision and submitted subject Alter historical approval data to force a match
422 on approval or release Typed schema, exact-revision confirmation, invalid slug or missing public-release confirmation Compare payload with the relevant source Pydantic model and current subject Delete required fields or manufacture a reviewer attestation
Rights approval exists but release is refused Distinct scientific/rights/ownership/publication approval dimensions or source-rights freshness Check signed decisions for the same submitted revision, cited source rights and area approval Treat a signed record as approval of unrelated revisions
Publish action fails with 502, timeout, or uncertain outcome Workspace ↔ Research transport or receipt persistence Read Research state independently before any retry Blindly repeat a non-idempotent public mutation
Draft seems public, private sibling appears in response, or unlisted page is discoverable Research projection, cache, client or routing boundary Stop change operations; capture authorized/private and anonymous public snapshots, then escalate Publish more data to reproduce the leak
Withdrawn article still serves public content Research public projection, cache, CDN or tombstone contract Confirm exact slug, authoritative withdrawal receipt and anonymous response Assume unlisting means withdrawal

Cause

Find the failing authority boundary before choosing a repair. A control being disabled is a symptom; the underlying cause may be a legitimate policy refusal rather than a software defect. Reconcile the owner’s Workspace binding with Research’s submitted and published revisions before interpreting a recorded approval.

Root-cause class Evidence that distinguishes it Responsible correction
Workspace session, Origin or owner mismatch 401, 403 or owner-scoped 404; wrong active session, Origin or project Use the legitimate user’s supported sign-in and correct project; never broaden access to troubleshoot
Research service not configured or unavailable Publishing controls disabled, 503 or a transport 502; no trustworthy Research response Service owner verifies deployed origin, TLS, network route and service health; do not enable unsafe HTTP in production
Stale Research revision or mismatched approval subject 409, subject-changed, or an approval whose subjectRef differs from the submitted revision Request fresh review for the exact current revision; preserve old signed records as history
Missing, revoked or wrongly scoped authorization Absent approver:scientific, approver:rights, approver:ownership or approver:publication; revoked grant or failed step-up Authorized owner/reviewer resolves the underlying grant or decision; never reuse a signed approval for a changed subject
Source rights or publication eligibility not satisfied Current rights restriction, incomplete evidence lineage, missing area approval or Research refusal to release Rights owner or Research steward documents and resolves the underlying issue; a Workspace receipt cannot override Research
Ambiguous remote commit or missing local receipt Timeout/transport failure after a possible Research mutation; differing Workspace and Research views Read authoritative Research state first and reconcile before any authorized retry
Public projection, cache or withdrawal discrepancy Anonymous content shows private sibling or withdrawn body, or an unlisted article remains accessible by direct link Treat an actual private-data leak as an incident; distinguish unlisting from withdrawal and verify public response independently

Important: Some refusal classes are expected, secure behavior, not defects to bypass. The diagnostic source paths are backend/app/research_outputs.py and backend/app/research_approvals.py at the pinned source baseline. Confirm the deployed build before using these as operational guarantees.

Procedure

  1. Classify the incident: loss of confidentiality, unauthorized public release, missing approval, version mismatch, dependency failure, or unexpected public lifecycle state. A suspected privacy leak or unauthorized publication is an incident requiring immediate escalation and restricted evidence handling.
  2. Freeze risky writes: suspend repeated publish/withdraw/relist attempts until the current Research state has been read. Preserve the approved live revision, current submitted revision and last successful receipt.
  3. Identify the exact object: record the project and document IDs, studioRevision, researchRevision, typed subjectRef, article/area slug and SHA-256 references. Never substitute a mutable head for a reviewed revision.
  4. Check the actor: distinguish owner, requester, editor, dimension approver and area steward; confirm live grants and required step-up evidence through the authorized application, not fabricated payload fields.
  5. Inspect Research first: determine its returned publicationStatus, submittedRevision, publishedRevision and revision-specific approvals; compare with Workspace’s locally stored Research-confirmed receipts.
  6. Apply the diagnostic table: choose the specific failure class, run its read-only evidence checks, and reproduce only in an approved isolated environment.
  7. Resolve only through the documented authority: obtain legitimate rights, renewed exact-revision review, corrected configuration or a separately authorized release/withdrawal action. Do not patch database state, force approvals or forge records.
  8. Retest negative controls: missing rights, stale revision, wrong tenant, revoked grant and anonymous access must still be denied. Verify that private siblings remain private and that a later draft did not replace an older public revision.
  9. Record evidence: retain sanitized error codes, UTC timestamps, commit/image/migration identity, tested scope, Research response and review decision; link the defect to an actual PR or release when known.

1. Authority and state reconciliation

Workspace owns the authored Studio revision, its SHA-256, owner-scoped project binding and authenticated human approval records. Research is authoritative for the editorial and public publication state and is the source of the release receipt. The public Research Hub displays the state Research elects to serve. An internal Workspace status field or disabled/enabled UI control must not replace an independently observed Research response.

State or action What it establishes What it does not establish
Draft or saved Studio revision Authored content and a versioned source object Permission to publish
Bound Research output Project’s document mapped to one article and area Review or public visibility
Submitted Research revision Particular revision placed into review Authorization to release
Approved dimension One signed human decision on a particular subject Other approvals, independent scientific correctness, or release
Published revision Research-confirmed public revision and receipt Automatic publication of subsequent revisions
Unlisted Discovery restrictions, documented noindex behavior Privacy or permanent removal
Withdrawn Research’s explicit withdrawal state and public notice Erasure of private audit provenance

Two-revision trap: studioRevision identifies the saved authored artifact; researchRevision identifies Research’s editorial revision. Approvals attach to a typed research-object:<id>#<64-hex-sha256> subject, not to an abstract topic or the latest revision. An area uses research-area:<id>#<64-hex-sha256> with area-publication.

2. Inspect the pinned implementation and actual route mount

Use GitHub to identify source-level contracts without trusting outdated published descriptions. The following does not connect to any deployment:

gh repo clone Content-Catalyst-LLC/sustainable-catalyst-workspace
cd sustainable-catalyst-workspace
git fetch origin
# Use a disposable worktree so an existing development checkout is not modified.
git worktree add --detach /tmp/sc-workspace-publication-read 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b
cd /tmp/sc-workspace-publication-read
git rev-parse HEAD
rg -n 'def (bind|push_revision|publish|attach|decide_route)|@router\.(get|post)'   backend/app/research_outputs.py backend/app/research_approvals.py
rg -n 'include_router|build_router' backend/app/main.py backend/app/reporting_publication.py
# Exact per-project route prefix depends on this build's mounting context.

Inspect the actual package mount before building any HTTP request: Workspace research_approvals.py declares prefix /v1/research-approvals; research_outputs.py declares relative /projects/{project_id}/outputs handlers mounted through the reporting integration. A reverse proxy may add a separate prefix. Do not assume a route printed in this article is directly reachable in production.

Source anchors: Outputs & Publishing integration; signed human approval implementation; signed identity context; approval desk and CSP; source-rights delivery; publishing lifecycle contract.

3. Failure codes: meaning and first response

HTTP result Possible meaning in inspected source Response
401 Missing or expired authenticated browser session Stop; sign in through supported identity flow, then re-read authoritative state
403 Wrong actor, missing grant, revoked role, invalid Origin, Research refusal or fresh-step-up requirement Inspect sanitized response code; do not conflate CSRF, roles and scientific refusal
404 Absent or cross-owner project/document/approval; may intentionally conceal foreign records Check exact identity and project with owner; preserve privacy
409 Duplicate or conflicting binding; subject changed; request already pending/decided; stale head Read and reconcile latest Research and Workspace views
410 Withdrawal/tombstone response under documented public lifecycle, if deployed Verify anonymous response and retained notice; do not treat as an ordinary transport failure
422 Invalid schema, missing exact-revision confirmation, wrong subject kind, incomplete attestation or unmatched typed slug Correct only source-validated inputs; do not manufacture evidence
502 Transport/backend failure; Research may or may not have committed before Workspace could record the receipt Check authoritative state before retry; store correlation evidence
503 Research publishing not configured; disabled dependency; rights delivery not enabled, or service unavailable Escalate configuration/deployment identity; avoid insecure bypasses

These classifications are based on specific source branches and design contracts, not a guarantee that every deployed proxy returns the same code. Capture the exact sanitized response and relevant component version.

4. Publication controls are disabled

Symptoms: Outputs list appears, but Bind, Submit, Approve or Publish is disabled; an attempt receives 503 with an unconfigured Research message.

Diagnosis: research_outputs.py explicitly disables controls when research_origin() is not valid. It expects a configured SC_WORKSPACE_RESEARCH_API_ORIGIN, appropriate signed-session issuer and an approved HTTPS Research origin. HTTP is allowed only when the isolated staging override has been explicitly configured. A configured origin is not evidence of a reachable or correctly authorized peer.

Resolution: Confirm the intended staging/production configuration against reviewed deployment manifests, inspect running image digests and effective feature flags without exposing credential values, and test a minimal read-only authorized connection. Do not set SC_WORKSPACE_RESEARCH_API_ALLOW_HTTP for public production as a workaround. Do not enable controls by modifying front-end JavaScript.

5. Authentication, origin and reviewer step-up

Symptoms: 401 for a missing session, 403 for an invalid write Origin, or a structured step-up-required refusal at approval time.

Diagnosis: The inspected outputs handler requires a Workspace user session corresponding to the project owner; its write path enforces Origin/CSRF controls. The approval service derives requester and decider identities from authenticated context, not client-provided actor names. When Sustainable Catalyst Identity is enabled, approval requires fresh sign-in and second-factor evidence; the approval desk demands exact subject confirmation after step-up.

Resolution: Use the supported sign-in flow, re-open the correct project and current review packet, and reconfirm the exact revision. Do not disable CSRF or inject a fabricated actor. For a revoked reviewer grant, request a new authorized grant from the owner if policy permits; do not recycle a previous signed decision to cover a new revision.

6. Revision conflicts and stale approval records

Symptoms: 409 after a new draft is pushed, subject-changed on decision, or a signed approval for a prior Research revision is refused.

Diagnosis: A Research revision is submitted with an exact subjectRef; approval attachment compares both subject and project. A content change requires an independently reviewable new subject. A pending decision cannot be repointed to the new hash. Compare:

Studio:    documentId + studioRevision + markdownSHA256
Research:  articleSlug + researchRevision + subjectRef
Approval:  approvalId + projectId + dimension + subjectRef + signed decision

Resolution: Identify whether the earlier revision remains intentionally public. Submit the newly created revision, request its own dimension approvals and verify the exact review packet. Preserve and archive the earlier approval as historical evidence. If a concurrent revision arrived, reload Research’s authoritative head; never edit the original signed record.

7. Missing or revoked rights and incomplete approval dimensions

Symptoms: A public release is refused despite a scientific or publication approval, or source-rights status is stale or restricted.

Diagnosis: Publication is a multi-authority process. The Research article workflow documents four independently checked dimensions—scientific, rights, ownership, publication—plus area-publication authority. Cited objects also have their own provenance/rights requirements. A grant permits an actor to decide one dimension, not to issue all required decisions. A signed rights notice says what an owner asserted; it is not independent legal clearance.

Resolution: Request the correct decision for the exact submitted subject, ask the rights owner to resolve the underlying source permission or revoke/restrict it as appropriate, and confirm the Research system accepts that decision. When an owner has revoked a permission, preserve the restriction and escalate. Do not relabel restricted content as author-owned or public domain merely to pass a gate.

Rights synchronization note: Source file rights_delivery.py contains outbox, retries and reconciliation for owner-signed source-rights notices. A stalled or blocked delivery can mean Research has not received the latest restriction. Investigate its operator-only status on an authorized isolated environment; do not invoke a requeue command in production without rights-owner and release-operational approval.

8. Optional owner self-authorization is not independent review

Symptoms: Project owner attempts to approve their own scientific review, sees owner-self-authorization-disabled, a step-up-required refusal, or an attestation/subject mismatch.

Diagnosis: The baseline source contains a separately gated ownerSelfAuthorization decision route requiring explicit enablement, fresh second-factor sign-in, exact subject and a written declaration. When used, it returns a disclosure of owner-self-authorization with independent=false. It is not ordinary independent human review; the product’s policy and external obligations may prohibit substituting it for independent review.

Resolution: Seek independent approval where required. Do not activate the owner-only path in response to a failed review or strip the nonindependent disclosure. Its deployment support must be verified separately from its presence in source code.

9. Failed or ambiguous Workspace-to-Research mutation

Symptoms: a timeout, 502, lost response or empty Workspace receipt after Bind, Send revision, Submit or Publish.

Diagnosis: Calls cross service boundaries. A Research request might have succeeded before Workspace received a response or before it could save the confirming receipt. The integration deliberately records Research-returned receipts, but that does not imply a distributed transaction spanning the two services.

Resolution: Query the owner-authorized Research article and exact revision; compare its status, approvals and latest event to the stored Workspace binding and receipts. If Research already published, do not issue another Publish request to make the Workspace UI look consistent. Capture a sanitized reconciliation ticket and use only a documented idempotent retry or owner-approved repair. Bind and exact same-revision push have specific replay protections in source; do not assume every publication mutation is idempotent.

10. A published sibling or private source becomes visible

Symptoms: anonymous readers can see a private sibling output, source hashes, owner identifiers, draft sections, restricted figure payloads or unapproved revisions.

Diagnosis: This is a potential confidentiality incident. Workspace supports multiple independently governed outputs within one project; publication of one output must not automatically expose others. Research’s public projection is a separate trust boundary.

Resolution: Stop further publishing actions, preserve only the minimum authorized evidence, notify the platform privacy/security owner, and follow an approved incident/containment procedure. Conduct an anonymous-vs-authorized response comparison with synthetic canary data in staging. Do not create a new public exposure for debugging. Verify any completed containment with sanitized, independently observed public responses.

11. Unlist, relist and withdraw are different operations

Symptoms: an unlisted article remains accessible by direct link, a new draft does not replace the published revision, or a withdrawn article unexpectedly remains discoverable.

Diagnosis: Unlisting is documented as noindex and link-only discovery, not a confidentiality barrier. Withdrawal is an explicit, confirmed operation with a public notice and documented 410 tombstone. Republishing a revised article should not silently replace the previously published revision before review.

Resolution: Identify which state transition was requested and Research actually confirmed. Check the public route anonymously, including caches and index headers, but do not treat an immediate crawler/index update as guaranteed. Preserve withdrawal notices and audit lineage. Any retraction, privacy takedown or legally required deletion is a separate governed process.

12. Read-only evidence collection on macOS or Linux

Inspect source, PR status and CI without hitting live publication APIs. gh, git, and rg are used only for the pinned source checkout:

cd /tmp/sc-workspace-publication-read
git rev-parse HEAD
# Review only the defined HTTP boundaries and their tests.
rg -n 'response\.status_code|status_code|subject-changed|step-up-required'   backend/app/research_outputs.py backend/app/research_approvals.py   backend/tests/test_sc_pub_e2e01_outputs.py
# Relevant draft approval project; source presence is not deployment proof.
gh pr view 24 --repo Content-Catalyst-LLC/sustainable-catalyst-workspace   --json state,isDraft,mergedAt,headRefOid,url
# Inspect actual CI history; choose a known relevant run and verified SHA.
gh run list --repo Content-Catalyst-LLC/sustainable-catalyst-workspace --limit 10

For a real incident, request an approved redacted evidence export. Preserve full records in a restricted incident store, not in a public GitHub issue or Knowledge Base attachment. Do not use curl -v or paste cookies, bearer tokens, personal data, private titles, private body text or signed grant payloads into tickets.

13. Run the existing implementation tests in disposable isolation

The repository includes genuine handler tests, but the Research peer in test_sc_pub_e2e01_outputs.py is an HTTP mock. That is useful contract coverage, not an independent deployed Research test. Run the documented test modules with temporary signing material and no production credentials:

cd /tmp/sc-workspace-publication-read
python3.12 -m venv /tmp/sc-pub-verify-venv
/tmp/sc-pub-verify-venv/bin/python -m pip install -r backend/requirements.txt pytest
SC_TEST_KEY_DIR=$(mktemp -d)
export SC_TEST_KEY_DIR
# Disposable unit / mock-Research tests: some PostgreSQL cases may skip.
(cd backend && /tmp/sc-pub-verify-venv/bin/python -m pytest -q    tests/test_sc_pub_e2e01_outputs.py    tests/test_research_approvals_sc_ed01.py    tests/test_sc_pub_m1_approval_desk.py)
# Save summarized results in an approved location, then dispose of temporary keys.
unset SC_TEST_KEY_DIR

Isolation note: The tests may create synthetic key files and in-memory or temporary state. Some approval cases require a disposable PostgreSQL database and will skip or fail if their explicit test preconditions are unmet. Do not interpret skips as passes. Do not point SC_WORKSPACE_DATABASE_URL to a shared or production database. The example creates temporary key material; remove the temporary directory after retaining any permitted test report.

14. Minimum negative-test matrix

Case Setup in authorized test environment Expected safe behavior
T01 Unknown or foreign owner/project Another synthetic user requests a project output No private data; expected owner-scoped refusal such as 404
T02 Missing/invalid session or Origin No cookie or unapproved Origin for a write Unauthorized; no state change
T03 Reviewer missing dimension grant Rights reviewer attempts scientific approval Refused; no new signed decision
T04 Revoked grant Revoke synthetic reviewer grant before decision New decision refused; earlier audit preserved
T05 Stale subject Approval subject does not match Research submitted revision Conflict; no misattached approval
T06 Wrong area/object type Use area subject for ordinary article approval Typed refusal; no approval object created
T07 Duplicate or conflicting binding Replay identical binding, then change target slug Identical replay safe; changed mapping refused
T08 Missing rights Attach scientific and publication decisions but omit rights Public release denied by Research
T09 Missing publish confirmation Omit or mistype confirmArticleSlug Schema/business refusal; no publish receipt
T10 Lost response after Research succeeds Inject transport failure after a test Research commit State reconciled before retry; no duplicate release
T11 Private sibling Publish one synthetic output beside private sibling Anonymous projection contains only approved output
T12 Withdrawn projection Withdraw approved synthetic article with notice Documented tombstone/notice and no old body exposure
T13 Owner self-authorization Enable only in isolated test and authorize same actor Distinct, nonindependent disclosure; no false peer-review claim
T14 Source restriction after approval Issue newer restrictive rights status Publication held according to current Research rights authority
T15 Migration/restore Restore authorized synthetic staging backup Signed records and restriction history retain integrity, no private leakage

These are acceptance requirements to execute, not claimed test results. Existing repository tests cover selected cases with mocked peers or disposable state; staging and cross-product cases need separate execution receipts, reviewer sign-off and deployed artifact identities.

15. Inspect evidence consistency without publishing

An incident packet should capture only the minimum identifiers and outcomes needed to identify contradictory states. The optional downloadable helper validates a sanitized incident-envelope schema and flags obvious contradictions; it does not call an API or check any cryptographic signature. It can catch missing subject hashes, mismatched approval subjects, invalid disclosures and assertions of public release without a Research-confirmed receipt.

# In the downloaded package only; no network or deployment access.
python3 incident_triage.py examples/synthetic_incident.json
python3 -m unittest discover -s tests -v
# Exit 0 means no obvious packet contradictions, NOT an authorized publish.

For research evidence, compute hashes from the actual immutable source bytes using the approved Library/Workspace retrieval path, not from a preview or mutable display:

# Local example only: file must be an explicitly approved test fixture.
shasum -a 256 /path/to/authorized-fixture.bin   # macOS
sha256sum /path/to/authorized-fixture.bin       # Linux

The resulting digest proves what bytes were hashed, not that the signer had publishing rights or that the scientific interpretation is correct.

16. Evidence packet and resolution acceptance

For each investigated incident, retain an approved, access-controlled record with the fields below. Use UTC for timing and avoid including research text or private identifiers in public copies.

Field What to capture
Incident and scope Opaque ticket ID, environment, authorized owner/team and observed failure category
Software identity Workspace/Research repositories, exact source commits, running API/worker image digests, migration ledger, enabled features
Subject identity Authorized opaque project/document IDs; Studio and Research revisions; typed SHA-256 subject hash; area/article slug where permissible
Authority Reviewer dimension and grant state; independent versus owner-self authorization; rights decision and scope
Observed results Sanitized HTTP status/code, Research-confirmed public state, Workspace receipt record, independent anonymous visibility observation
Reproduction Exact test name, approved isolated commands, JUnit/output artifacts and SHA-256; distinct positive and negative cases
Closure Root cause, authorized correction, follow-up test result, independent reviewer, linked PR/release, outstanding scope limits

Accept an incident as resolved only when the owner of the affected trust boundary has reviewed the fix; the exact relevant version is identified; the intended positive behavior succeeds in the authorized environment; negative confidentiality, rights, stale-subject and role tests remain enforced; and the Research public state matches the approved decision. An internal UI change or one passing CI job is insufficient.

Troubleshooting

Problem Specific diagnostic clue Safe next action
Approved record will not attach 409 for a different project or subjectRef Reload Research’s submitted revision and request a new review for that exact subject
Reviewer sees another actor’s request missing Approver inbox filters by relevant dimension and owner grants Verify assignment and grant; never bypass the privacy filter
Approver directed to reauthenticate step-up-required with same-origin sign-in URL Fresh user sign-in; recheck revision after return
Research origin unavailable Configured endpoint fails, or a 503 path disables controls Validate service deployment and TLS/configuration through the owner
Research accepted but Workspace receipt missing Cross-service timeout after possible commit Reconcile Research state and receipts; do not retry blindly
Direct link shows an unlisted article Expected public link-only state Withdraw if a real removal is required and authorized; do not equate unlist with privacy
New draft seems to overwrite a public version Different headRevision and publishedRevision Read both; verify that older authorized public revision remains intact
Offline helper reports no issues but release fails Helper does not verify real Research state/signature Run real authorized contract and deployment checks

Resolution

  1. Before returning to service: confirm current Research publication state and last authorized public revision; preserve private sibling isolation and any withdrawal/restriction controls.
  2. After correcting a role, subject or right: obtain new exact-revision authorization from the legitimate actor where required; never repurpose old signatures.
  3. After correcting code or configuration: rerun relevant existing Workspace tests, targeted negative tests, and authorized peer/staging checks; retain exact build and migration identities.
  4. After ambiguous remote outcomes: reconcile Research first, then Workspace receipts; do not fabricate a success receipt or replay an unproven mutation.
  5. Before a public KB claim: request independent review of the evidence, separate technical authorization from scientific validity, and publish only a sanitized notice covering the verified scope.

Verification

Verify the specific corrected failure and the controls that must continue to deny unsafe publication. Source inspection and the optional offline triage utility do not themselves satisfy this requirement. Use a disposable test project and approved staging access; never create an unauthorized public article for a test.

Acceptance case Expected observation Evidence to retain
Authorized publish of exact reviewed revision Research accepts only the exact submitted revision with valid dimension approvals and area authorization; a Research-confirmed release receipt is recorded Revision and subject hashes, signed decision references, Research response, source commit and service digests
Missing or revoked rights; wrong approval dimension Publish is refused without exposing draft or restricted source material Sanitized refusal code, current rights/grant state and independent privacy observation
Stale approval, different project or changed revision Approval attachment/decision is refused; a signed record for the previous revision is not rewritten Old and new subject hashes, exact conflict reason, preserved audit record
Wrong owner, anonymous request or missing step-up Operation is denied; no new published state or unauthorized disclosure Relevant authorized/unauthorized request outcomes; identity test fixture only
Research timeout after possible remote success Authoritative remote state is reconciled before retry; no duplicate or invented release receipt Before/after Research views, sanitized transport event and verified receipt history
Private sibling and withdrawn/unlisted public routes Only approved revision appears anonymously; siblings remain private; withdrawal meets the approved tombstone policy, while unlisting is not misrepresented as secret Redacted independent anonymous snapshots, timestamps, route/status and reviewed policy

Existing implementation test entry points: In a pinned, clean Workspace checkout with dependencies installed, execute the listed suites only in an isolated test environment. The first suite uses a mocked Research peer; PostgreSQL-dependent approval tests need a disposable, approved PostgreSQL configuration. Do not interpret a successful mock as a deployed cross-service acceptance result.

# Run in the checked-out Workspace repository, not against production.
cd backend
python -m pytest -q tests/test_sc_pub_e2e01_outputs.py
python -m pytest -q tests/test_sc_pub_m1_approval_desk.py
# PostgreSQL and configured test authentication may be required for:
# python -m pytest -q tests/test_research_approvals_sc_ed01.py

Offline incident-packet check: The accompanying helper accepts a sanitized synthetic envelope and flags obvious inconsistencies; it never validates a signed decision, a real permissions grant, Research’s state or public projection. The package’s 19 helper tests passed locally during its creation; they are not Workspace integration tests.

# Run from the downloadable developer package directory.
python3 -m unittest discover -s tests -v
python3 incident_triage.py --json examples/synthetic_incident.json
# A zero-exit result is not evidence of publishing authorization.

Exit criteria: retain the exact component version and SHA, running image digests, relevant migration state, test output, positive and negative results, Research-confirmed public state and independent reviewer disposition. Mark the outcome source inspected, local integration, staging verified, production verified or scientifically reviewed only for its evidenced scope. Current article status remains deployed integration verification pending.

17. Worked synthetic incident: stale reviewer decision

Assume a synthetic Studio revision 3 generates Research revision 5 and subject research-object:synthetic-results#<sha-A>. A new edit generates revision 6 and sha-B. A signed reviewer decision for sha-A cannot be used to publish revision 6.

  1. Read the Research response and confirm revision 6 is the submitted subject.
  2. Capture the old approval record only as historical evidence.
  3. Request and complete the necessary dimension approvals for sha-B, maintaining the required reviewer and rights controls.
  4. Ask Research to publish revision 6 only after all required checks pass, recording the returned release receipt.
  5. Test anonymous projection to ensure that unreleased sibling outputs and private draft bodies remain inaccessible.

Changing an expected SHA or the signed approval’s subjectRef to silence a 409 would destroy the evidentiary relationship and is explicitly prohibited.

18. Related engineering work and version limits

  • SC-ED-01, Workspace PR #24 — draft work on authenticated, persisted signed approval records. Open/unmerged in the inspected review; do not treat PR status alone as deployed-release confirmation.
  • SC-OUTPUT-01, Workspace PR #77 — additional Publication Studio output insertion work; verify separately if it is in a supported release.
  • SC-KB-VERIFY-01, Documentation PR #36 — draft claim/evidence framework. This article has not been independently mapped to a reviewed, deployed verification receipt.
  • The source baseline is 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b. The locally identified backend version 3.83.0 is an implementation reference only; do not fill a last verified deployed version field without an authorized release receipt and running image/migration evidence.

19. Technical references

  1. Workspace Outputs & Publishing source — project/output binding, revision push, approval attachment, public lifecycle requests and Research receipts.
  2. Workspace Research Approvals source — typed subjects, dimension grants, step-up decisions, signed records and explicit nonindependent owner self-authorization.
  3. Workspace approval desk — same-origin review interface and access restrictions.
  4. Workspace source-rights delivery — restriction priority, retries, operator status and reconciliation.
  5. SC-PUB-ENDTOEND-01 tests — mock-Research contract behavior, private sibling tests, stale decisions, publish/refusal and public lifecycle.
  6. SC-ED-01 approval tests — typed subjects, grants, signed record and refusal cases.
  7. SC-PUB-M1 desk tests — exact-revision and step-up confirmation; tests can require disposable PostgreSQL.
  8. SC-PUB-ENDTOEND-01 lifecycle specification — division of responsibility between Workspace and Research, publication and withdrawal.

Editorial verification note: The exact headings Goal, Requirements, Symptoms, Cause, Procedure, Troubleshooting, Resolution and Verification are included for Knowledge Base quality checks. Assign supported product version, component taxonomy and last verified release through native WordPress metadata only when the relevant evidence exists. A live editorial status of “Published” does not mean that this runbook’s technical or scientific content is verified against production.

Scroll to Top