Skip to content

feat(adaptors): adopt unified Casework review lifecycle - #11

Closed
jeremi wants to merge 2 commits into
mainfrom
feat/registry-casework-adaptor
Closed

jeremi wants to merge 2 commits into
mainfrom
feat/registry-casework-adaptor

Conversation

@jeremi

@jeremi jeremi commented Sep 19, 2026

Copy link
Copy Markdown
Member

Summary

  • forward optional structured result constraints when creating unified Casework reviews
  • surface structured results from the requester result feed
  • replace the superseded source-owned review workflow with notification-only reconciliation
  • update adaptor documentation, examples, schemas, and tests for the unified lifecycle

Checks

  • adaptor unit, schema, example, CLI, and loopback tests passed before final rebase
  • final independent Astra staff review found no blocking adaptor issues
  • branch rebased onto current origin/main immediately before push

Notes

  • installed native-client tests require the matching Registry Stack unified client release
  • Registry App Kit adoption is deferred and not part of this PR

DCO

  • Every commit includes a Signed-off-by trailer.
  • I reviewed the submitted changes and am responsible for the contribution.

createCaseworkItem forwards an optional resultConstraints object verbatim
for server-side validation and keeps the create request closed when it is
absent; server constraint diagnostics pass through the bounded validation
allowlist. pollCaseworkResults surfaces the structured result on completed
items exactly as returned and tolerates servers that omit it.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-19T22:02:41.769785Z bc3e988 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc3e98830e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

createCaseworkRequest: (options = {}) =>
operation(loadBindings, options, "caseworkCreated", null, (client, auth, input) =>
client.createHostedItem(
client.createOrRecoverReviewRequest(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin a client release that implements unified review methods

With a fresh install from the committed manifest and lockfile, @registrystack/client remains at published version 0.32.0, while native.test.js explicitly detects that this version lacks createOrRecoverReviewRequest and skips the integration tests. Consequently this call is undefined and is converted into a generic operation.failed result before any HTTP request is sent; the other newly introduced review methods have the same compatibility problem. Pin and lock the coordinated client release that supplies these methods rather than masking the incompatibility with skipped tests.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed. The published 0.32.0 package does not implement these methods, so this is blocking rather than a test-only limitation. I am holding this PR from merge. The coordinated immutable client release and repin are tracked in registrystack/registry-stack#1190; once that release exists, this PR must update its manifest/lockfile, remove the native-test skip, and pass the installed-client routes before merge.

@jeremi

jeremi commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Superseded by #12 (merged 1 Oct), which carries this unified Casework review lifecycle work against the published client. The Codex P1 thread here (pin a client release that implements the review methods) is already fixed on main: the client is pinned to a published release that supplies them and the native-test skip is gone.

@jeremi jeremi closed this Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant