Governed Work Run Thread

This page documents the shipped public-safe Work Run governance thread and the proof packet that still gates broader public claims. The shipped API surface can create and inspect governed Work Runs, record human approvals and revocations, record append-only correction decisions, block unsafe exports, and generate a metadata-only Board/Auditor evidence packet after the required approval.

Current status: the public docs may describe the proof thread and owner boundaries for the shipped metadata receipt. retvest-contracts publishes Work Run list, detail, approval, revocation, correction, correction-audit, and export endpoints. The retvest-platform tests verify fail-closed export behavior before approval, unresolved-correction blocking, stale-approval blocking after applied corrections, metadata-only export packet manifests, replay-proof hashes, evaluation-summary hashes, and HMAC-signed export receipts. The replay guarantee shipped today is a metadata replay receipt over the inspected Work Run state and hashed route/policy/scope snapshots; it is not a claim that customer payloads, full browser paths, or production tenant runs have been deterministically replayed in public evidence.

Do not claim customer-ready signed exports, final browser-path coverage, production tenant proof, or end-to-end RIL replay determinism until the named owner repos provide verified evidence and docs/claim-ledger.md is updated.

Verified Shipped Surface

The following behavior is verified by the current contract and platform tests:

  • Admin Work Run routes require authentication and an admin role before the domain path runs.
  • Cross-owner Work Run reads, approvals, corrections, and exports are masked as tenant-safe not-found outcomes instead of exposing another tenant's state.
  • Approval decisions are accepted only from pending review states, record the authenticated admin role, and append an approval event referencing the approval row.
  • Approval can be explicitly revoked before export, returning the Work Run to a pending approval gate; a fresh approval can then approve the remediated state.
  • Approval is blocked while unresolved pending_review or retry follow-up correction history remains.
  • Board/Auditor export generation fails closed unless the Work Run is approved_for_export, has an approved approval state, and has the matching board_auditor_evidence_packet_export approval.
  • Export generation is blocked when unresolved corrections remain or when an applied correction is newer than the latest matching approval.
  • A generated export moves the Work Run to exported, records export.generated, and returns a packet manifest whose content hash is derived from metadata only.
  • The export receipt includes retvest.work_run_replay_proof.v1, retvest.work_run_evaluation_summary.v1, a correction-audit chain head, content_sha256, and an HMAC SHA-256 signature; tampering with replay proof inputs changes the signature.

Evidence And Replay Guarantees

The shipped replay proof is deliberately metadata-only. It binds the export receipt to:

  • Work Run id, version, state, approval state, actor type, actor id, authority_ref, risk level, and evidence completeness counters.
  • The correction audit chain head visible when the export was generated.
  • SHA-256 hashes of model route, deployment route, allowed knowledge, allowed tools, policy binding, policy snapshot, context-authority snapshot, and score snapshot.
  • The metadata_only_no_customer_content privacy boundary.

The evaluation summary is also metadata-only. It records the risk formula version, bounded risk inputs, computed and observed risk levels, whether the formula matched, approval state, Work Run state, and an evaluation_hash.

These hashes support replay and review of the approved metadata envelope. They do not publish raw customer documents, prompts, generated answers, citation bodies, or full tenant payloads. Public docs should describe this as a shipped metadata replay receipt, not as a full deterministic re-execution guarantee.

Public-Safe Thread Map

Thread step Owner evidence Public-safe docs wording today Launch blocker
Work Run create retvest-platform Work Run record contract and API behavior A governed record is seeded from a cited answer, compliance check, or policy review task. Do not imply production tenant proof from synthetic demo records.
Evidence accrual retvest-platform evidence records, receipts, and audit packet material Evidence may be described through counts, timestamps, receipt types, request IDs, and sanitized metadata. Public docs must not publish customer documents, prompts, answers, citation bodies, raw evidence refs, or full UUID-heavy payloads.
Correction review retvest-platform correction records, retvest-app Work Control UI, and retvest-ril packet semantics Pending, applied, rejected, and superseded correction history is append-only and metadata-only in public examples. Final browser-path and cross-repo repair proof remain separate owner evidence.
Submit to awaiting_approval retvest-contracts public approval state naming plus retvest-platform response normalization Submission is not approval; it means the inspected Work Run is at the public awaiting_approval gate and still needs a final authorized decision. A legacy pending approval state is not a public client state; a legacy not_requested transition should stay owner-internal and not appear in buyer docs or examples.
Approval gate retvest-platform approval receipt and fail-closed enforcement; retvest-app reviewer path Approval wording must stay tied to the refreshed correction ledger and the approval version the reviewer inspected. Do not claim approval when unresolved corrections remain or a newer applied correction makes approval stale.
Replay retvest-platform metadata replay receipt; retvest-ril deterministic replay and projection semantics when owner evidence exists Public docs may describe the shipped replay proof hash over metadata snapshots and the correction-audit chain head. Do not claim full deterministic re-execution of customer payloads or RIL projection proof from this receipt alone.
Evaluation retvest-platform metadata evaluation summary; retvest-ril evaluation records when runtime-owned Evaluation may be described as bounded risk inputs, formula version, computed/observed risk levels, match state, and evaluation_hash. Do not publish raw model outputs, metric values, or automated pass/fail claims that are not present in verified owner evidence.
Hash-chain-signed export retvest-platform export packet manifest, receipt digest, correction-audit chain head, and signed receipt Public docs may name content_sha256, correction_audit_chain_head, replay_hash, evaluation_hash, receipt schema, and HMAC signature version. Do not claim customer-ready export distribution or public verification instructions before the export evidence packet exists.
Authority retvest-platform authorization and approval actor evidence; retvest-app admin role UX Public docs may describe reviewer identity, authenticated role, timestamp, approval type, and permission-safe failure handling. Do not claim final role-path browser proof before owner evidence exists.

Operator Proof Checklist

Before a Work Run is described as approved, replayed, evaluated, or export-ready in public copy, the owner evidence should show:

  • The Work Run was created from a bounded source task with tenant and collection scope.
  • Evidence was attached without exposing raw customer content outside the deployment boundary.
  • Correction history was refreshed after the last write.
  • Pending review and retry follow-up gates were resolved, or the Work Run was explicitly blocked.
  • Applied corrections were followed by a fresh approval view tied to the corrected state.
  • Rejected corrections remained visible as metadata-only terminal history.
  • The approval receipt names the reviewer identity, role, timestamp, inspected version, and request ID.
  • Replay proof binds the inspected Work Run metadata, correction-audit chain head, and hashed route/policy/scope snapshots to the export receipt.
  • Evaluation summary was recorded as bounded risk metadata, not raw generated text or citation bodies.
  • The export packet contains only sanitized audit metadata, hash-chain fields, receipt digests, and verification references that are approved for the audience.

ASC-13 Demo Proof Packet

Use this packet checklist for buyer demo preparation and cross-repo handoff. It is not launch proof by itself; every row must point to owner evidence before public copy can describe the behavior as shipped.

Packet row Required owner proof Public-safe evidence shape
create retvest-platform Work Run creation response and request ID Synthetic Work Run label, tenant/collection scope names, timestamp, and source task category
evidence retvest-platform evidence append records, receipt digests, and audit rows Evidence counts, receipt types, timestamps, sanitized proof labels, and no raw source text
approval retvest-platform approval receipt plus retvest-app reviewer path proof Reviewer role, approval version, inspected correction ledger version, timestamp, and request ID
replay retvest-ril replay/projection proof and retvest-platform input custody Replay input version labels, projection version, result status, and bounded reason codes
evaluation retvest-platform or retvest-ril evaluation record, depending on runtime owner Metric names, pass/fail or reason-code state, thresholds if approved, and no generated answer text
authority retvest-platform authorization evidence plus retvest-app role-path proof Actor role, permission result, failure category, and tenant-safe unavailable or forbidden state
signed_export retvest-platform audit packet, hash-chain rows, and receipt digest references seq, prev_hash, row_hash, receipt_digest, export timestamp, and verification reference labels

The packet is complete only when all rows refer to the same resolved Work Run state. If a correction is appended after approval, the packet becomes stale until the owner evidence shows a refreshed correction ledger and fresh approval receipt for the corrected state.

ASC-13 Handoff Template

Use this source-only template when another owner repo reports ASC-13 proof back to public docs or buyer-demo preparation. Keep every evidence_ref pointed at an owner repo artifact, repair packet, or verified run output; do not paste customer content, raw prompts, generated answers, citation bodies, bearer tokens, private evidence refs, or full UUID-heavy payloads into this template.

{
  "schema": "retvest.asc13.demo-proof.v1",
  "objective": "asc13-product-20260625-201126",
  "status": "source_only_owner_evidence_pending",
  "work_run_state": "<synthetic-or-redacted-work-run-state>",
  "inspected_correction_ledger_version": "<owner-ledger-version>",
  "approval_receipt": "<owner-approval-receipt-ref>",
  "rows": [
    {
      "row": "create",
      "owner_repo": "retvest-platform",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["synthetic label", "request id", "source task category"],
      "ready": false
    },
    {
      "row": "evidence",
      "owner_repo": "retvest-platform",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["evidence count", "receipt type", "receipt digest"],
      "ready": false
    },
    {
      "row": "approval",
      "owner_repo": "retvest-app",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["reviewer role", "approval version", "request id"],
      "ready": false
    },
    {
      "row": "replay",
      "owner_repo": "retvest-ril",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["input version", "projection version", "result status"],
      "ready": false
    },
    {
      "row": "evaluation",
      "owner_repo": "retvest-ril",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["metric name", "bounded reason code", "threshold label"],
      "ready": false
    },
    {
      "row": "authority",
      "owner_repo": "retvest-platform",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["actor role", "permission result", "safe failure category"],
      "ready": false
    },
    {
      "row": "signed_export",
      "owner_repo": "retvest-platform",
      "evidence_ref": "<owner-evidence-ref>",
      "public_shape": ["seq", "prev_hash", "row_hash", "receipt_digest"],
      "ready": false
    }
  ],
  "stale_when": [
    "correction_appended_after_approval",
    "owner_evidence_missing_for_any_row",
    "unresolved_pending_or_retry_followup_correction"
  ],
  "public_copy_limit": "Do not describe the thread as shipped until every row is owner-verified for the same resolved Work Run state."
}

Required handoff invariants:

  • The seven rows must stay in create, evidence, approval, replay, evaluation, authority, and signed_export order.
  • ready remains false in source-only docs until the named owner repo has verified the row and the claim ledger is updated.
  • approval_receipt, replay inputs, evaluation output, authority decision, and export hash-chain rows must all refer to the same resolved Work Run state.
  • retvest-site may link to the template and summarize metadata, but it does not own the underlying platform, app, RIL, or SDK proof.

Demo Acceptance Rules

A public-safe demo handoff should answer these questions without exposing customer payloads:

  • Which Work Run state was created, and what source task category seeded it?
  • Which evidence receipts were attached, and which request IDs correlate the write path?
  • Which correction ledger version did the reviewer inspect?
  • Which approval receipt, reviewer role, timestamp, and inspected version gate the downstream replay and export?
  • Which replay input versions and projection version were used?
  • Which evaluation record or reason code was written without publishing raw generated text or citation bodies?
  • Which actor authority decision allowed or blocked approval, replay, and export actions?
  • Which hash-chain rows and receipt digests prove the export came from the same resolved Work Run state?

If any answer is missing, public copy should say the step remains source-only or owner-evidence-pending. Do not fill gaps with screenshots, synthetic UUIDs, or inferred behavior that the owner repo has not verified.

Replay And Evaluation Boundary

Replay and evaluation language is public-safe when it is scoped to the shipped metadata receipt described above. Use "metadata replay receipt" or "evaluation summary hash" for the current platform behavior. Do not use launch-complete wording such as "deterministically replayed in production" or "evaluation passed" unless the platform, RIL, SDK, and app evidence chain is named and verified.

For developer examples, prefer metadata fields over raw payloads:

  • Work Run id labels should be synthetic or redacted.
  • Evidence references should be counts, receipt types, or sanitized proof names.
  • Replay inputs should name version boundaries rather than customer text.
  • Evaluation output should use bounded reason codes, pass/fail states, or metric names without customer payloads.

Export Readiness Boundary

An evidence export is public-safe only when it is tied to the same resolved Work Run state that the reviewer approved. If correction history changes after approval, the export is stale until owner evidence shows a fresh approval view or receipt for the corrected state.

Public examples may show the shape of safe export proof:

  • seq, prev_hash, and row_hash for audit-chain continuity.
  • receipt_digest and receipt_type for support correlation.
  • Request IDs and timestamps for incident review.
  • Metadata-only correction ids, sequences, statuses, and visibility scopes.
  • Legal-significance artifacts marked TEMPLATE - legal review required.

Do not publish customer content, bearer tokens, private evidence refs, raw prompts, generated answers, citation bodies, audit payload dumps, or customer-specific verification packets.

Choose what this site may use. Your choice is kept in this browser only.