Skip to content

[Catalog][CATD-02][P0] Add resumable catalog cases and evidence-linked stage records #2279

Open

Description

@sidneyswift

A finding, submission or receipt must survive a new session without recreating evidence or losing the distinction between a proposal, provider response and verified outcome.

Parent: Catalog diligence and operations epic. Implementation status: progress is in review; the scoped update below distinguishes executable work from remaining acceptance.

Implementation area: skills workspace schema/helpers; database/API extensions to existing Context sources. Priority: P0 within this epic, not a change to company-wide priority. No individual assignee is implied.

Goal

Add resumable catalog cases and evidence-linked stage records.

Implementation progress — 2026-10-22

Skills #223 implements the portable portfolio. Shared persistence is in Database #120 and API #1112; canonical documentation is in Marketing #226.

Portable versioned cases, dependency invalidation, scoped authorization assertions and controlled reports are implemented. Database #120 and API #1112 add hosted immutable persistence, withdrawal redaction and revision checks. Authenticated deployed continuation remains open.

This issue remains open. PR creation and synthetic checks do not satisfy unmerged, deployed, private-account or provider-outcome acceptance criteria.

Scope and deliverables

  • Implement the minimum case/assessment/action records over existing scoped Context subjects and source versions, with compatible portable workspace serialization.
  • Preserve original files or authorized durable references, hashes, source/page/sheet/row/field lineage, parser/rule versions and review history. Source content is untrusted data.
  • Add stable finding/action IDs, parent/child causation, per-stage status, requested scope, exact authorized payload fingerprint, attempts, receipts and outcome evidence.
  • Support source replacement/withdrawal, affected-result invalidation, concurrent resume and import/export without a second identity graph or scheduler.

Acceptance criteria

  • A fresh authorized session retrieves current scope, accepted work, pending provider responses and the next valid action without reading old chat.
  • Cross-workspace users cannot read originals, derived findings, action payloads, exports or logs; public reports use an explicit allowed-field projection.
  • Reimporting an identical source does not duplicate facts/actions; changed evidence preserves history and invalidates only dependent results.
  • User-reported sent, observed sent, acknowledged, accepted, externally corrected and bank received remain distinguishable.
  • Findings with one shared root cause do not duplicate exposure totals; stale concurrent work cannot overwrite a later accepted state.

Dependencies and sequencing

Completion prerequisites: CATD-01 — #2278.

These are completion/integration gates, not a prohibition on parallel fixtures, documentation or independent branches. Use documentation/contract → required database change → API/skill implementation sequencing. Portable file review does not wait for unrelated hosted or provider access. Reuse existing Context/UI ownership linked below; add only missing domain behavior.

Validation and delivery evidence

Portable round-trip and hosted authorization/concurrency tests; fresh-session continuation and source-withdrawal verification. Reuse applicable Context implementations instead of reopening their whole epic.

Link owning-repository PRs and exact tested versions here. Record fixture-tested, implemented, deployed, connected and live-verified separately. Keep private customer originals and derived account details out of public issues/fixtures. This planning ticket does not authorize unrequested provider submissions, messages, payments, merges or deployment.

Source references

Accepted release51 continuation slice

Skills #230 merged as 9b74aa740220c088f698cc3a5cfa94723e6aad49. The normal automatic publisher emitted 2026.1024.51 on October 24, 2026 (America/New_York).

Independent qualification verified all eight release assets/six ZIPs against their manifest and exact merged source: 1,500 full-package skill files and the same 400 customer files across five adapters. The actual emitted customer helper passed fresh-process synthetic first-edit continuation from a history-free hosted-shaped snapshot, preserving its prior revision/records and selectively invalidating dependents. Redacted put/withdraw were denied without changing bytes; redacted status remained readable. This closes the reproduced portable continuation defect and this bounded emitted-artifact acceptance slice.

Still open: approved production catalog migration/activation; intended-account authenticated Context connection and authorized hosted save/reopen/withdrawal/access-denial acceptance; native installed-host/store publication; actual authorized composition and recording registration readbacks, provider case disposition, delivery/UGC observation and receiving-account evidence. The emitted ZIP result does not establish any of those outcomes. No whole-ticket acceptance checkbox or full-lifecycle claim is closed by this update.

Stored snapshot size refusal — merged API source, inactive SQL proposal

API #1267 merged as 1fff6b55b8c1b98826c375f99b4f4f66a5ba201c from independently reviewed head 90997f90; merge tree matches the exact tested candidate. All ten final-head checks/statuses passed and all thirteen review threads were resolved. The paired workflow ran eight cases on each PostgreSQL15/17, including actual API/SQL execution and transport guards.

Compact JSON can fit the API's1MiB preflight yet exceed PostgreSQL JSONB's stored1MiB limit through numeric expansion or the server-assigned revision's extra digit. Database #137, exact 5472d76b, proposes explicit incoming/stored size checks after exact-key replay and before writes. It remains draft, unmerged, unapplied, outside migrations. The API maps only that proposal's exact owned SQL signal to a fixed safe HTTP400/private-no-store or MCP error/text response. Other failures, caps, JSON values, authority, source binding and replay semantics remain unchanged.

Paired tests cover zero-write oversize refusal, revision9→10 and99→100 boundaries, exact stored-limit save/replay, stale CAS and changed-input key refusal. These are disposable synthetic results. API-only deployment does not activate the proposed SQL behavior; original SQL retains generic errors. Normal-main Unit 44217948021, compatibility and strict-type workflows passed on exact merge 1fff6b55. Deployment metadata reports READY production and the canonical alias at that commit; a separate public GET returned HTTP200/Recoup API landing text. That generic text does not independently identify the serving revision or prove authenticated Catalog behavior. Database release, intended-account hosted persistence/continuation and all full acceptance criteria remain open.

Activity

  1. added
    enhancementNew feature or request
    priority:P0Required for the first shared Sites and external Widgets release
    on Oct 21, 2026
  2. sidneyswift commented on Nov 6, 2026

    @sidneyswift
    CollaboratorAuthor

    Since the last update: recoupable/skills#266 (fc7695cb) makes a resumed local preflight recheck the whole dependency and evidence chain before it passes.

    Hosted save/read/list is merged (recoupable/database#120, recoupable/api#1112), but the production migration and a signed-in save/reopen/withdraw/access-denial check are still not verified.

    The saved-assessment → audit case handoff (recoupable/docs#15 → recoupable/api#1173 → #2363) has been open since Oct 26, and recoupable/docs#15 and recoupable/api#1173 now conflict with main.

    Stays open for the hosted acceptance items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codexenhancementNew feature or requestpriority:P0Required for the first shared Sites and external Widgets release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions